JDB-NET Multijob

JDB-NET Multijob

GBP 0.00

Screenshots

JDB-NET Multijob is a streamlined job management system for FiveM (Qbox). It allows players to maintain a history of previously held roles, switch between them on the fly, and manage their duty status through a clean ox_lib interface. All job history is persistent and tied to the player's citizen id.

💼 Key Features

  • Historical Job List: Automatically tracks and saves every job a player has held. Switch between roles instantly via the /multijob command.
  • Smart Context Menu: Uses ox_lib to display friendly job and grade labels (e.g. "LSPD - Captain") rather than raw internal names.
  • Duty Toggle: Quickly go "On Duty" or "Off Duty" for your current role directly from the management menu.
  • Admin Controls: Includes a /removejob command for staff to fire players or wipe specific roles from their history.
  • Automatic Initialisation: No manual SQL required; the system creates and manages its own database tables on the first launch.
  • Seamless Transitions: If an admin removes a player's active job, they are automatically reassigned to the configured "Unemployed" role.

⚙️ Configuration

  • shared/config.lua: * AdminPermission: Define the ACE permission or group required for administrative commands.
    • UnemployedJobName: Set the fallback job name for players who have their active role removed.
    • Debug: Toggle detailed logging for troubleshooting.

📦 Dependencies

  • qbx_core
  • ox_lib
  • oxmysql

🚀 Usage

For Players

  • Command: /multijob
  • Actions: Toggle duty status or select a previous job from the list to switch roles. Your active job is highlighted and disabled for clarity.

For Admins

  • Command: /removejob [playerId] [jobName]
  • Effect: Removes the specified job from the target player's history. If it was their active job, they are set to "Unemployed" and taken off duty.