> For the complete documentation index, see [llms.txt](https://renovax-scripts.gitbook.io/renovax-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renovax-scripts.gitbook.io/renovax-scripts-docs/goldenmeow/multijob.md).

# Multijob

Allows players to seamlessly manage and switch between multiple saved jobs, toggle duty status, view live salaries, and search positions via a modern NUI interface.

### — FEATURES LIST —

#### Core Features

**Multijob Management & Real-Time Switching**

* Allows players to save and switch between multiple jobs seamlessly without server latency.
  * Automatic slot tracking with configurable limits per player (e.g. 5/5 slots).
  * Instant live search bar for filtering positions, job names, and grades.

**Advanced Duty System**

* Full support for On-Duty / Off-Duty toggling for both ESX Legacy (`off_` job prefix system) and QBCore (`SetJobDuty` native).
  * Smart job normalization that prevents duplicate off-duty jobs from bloating the database.

#### Customization & Compatibility

**Framework & Database Support**

* Out-of-the-box auto-detection for both ESX Legacy and QBCore.
  * Built-in database auto-table creation supporting `oxmysql` and `mysql-async`.

**Notification System**

* Fully compatible with `ox_lib`, `esx`, `qb`, and custom notifications.

#### Additional Features

**Security & Administration**

* Switch cooldown system to prevent abuse during active roleplay.
  * Whitelist & Blacklist job restrictions.
  * In-game admin commands (`/addmultijob`, `/removemultijob`, `/listmultijobs`) with Ace, ESX group, and QBCore permission integration.
  * Discord Webhook logging for job changes, removals, and admin actions.

**UI & Design**

* NUI interface built with HTML, CSS, and JS for modern in-game presentation.
  * Customizable FontAwesome 6 job icons, grade labels, and payday salary formatting.

### Admin Commands

<table><thead><tr><th>Command</th><th>Usage</th><th width="239">Description</th></tr></thead><tbody><tr><td><code>/addmultijob</code></td><td><code>/addmultijob [id] [job] [grade]</code></td><td>Gives a job to a player</td></tr><tr><td><code>/removemultijob</code></td><td><code>/removemultijob [id] [job]</code></td><td>Removes a job from a player</td></tr><tr><td><code>/listmultijobs</code></td><td><code>/listmultijobs [id]</code></td><td>Lists all saved jobs of a player</td></tr></tbody></table>
