[PAID] g-discordjob || Discord Perm To Fivem Job Script

Discord - FiveM Job Integration Script

  • This script links Discord roles with jobs in FiveM, automatically updating players’ in-game jobs based on their Discord roles. In simple terms, if a player has a specific role in Discord, their job in-game will be assigned accordingly. It supports both ESX and QBCore frameworks and offers fully customizable notifications and commands.

Features

  • Discord Role Integration: Automatically assigns in-game jobs based on Discord roles.
  • Multi-Framework Support: Works with both ESX and QBCore frameworks.
  • Customizable Notifications: Supports esxdefault, qbdefault, or a custom notification system.
  • Multi-language Support: Available in both English and Turkish.
  • Command Support: Provides commands for job refresh and change (refreshjob and changejob).

Setup and Configuration

  • Framework Setup: Set Config.Framework to either “esx” or “qb” depending on your framework.
  • Notifications: Choose the notification system (esxdefault, qbdefault, or “custom_notify”). Use Config.CustomNotify for a custom notification function.
  • Job Roles: Define job roles in the Config.jobRoles table. Each job role includes job codes, names, and corresponding Discord role IDs. Example:
    {jobCode = "police", menuText = "Police Department", name = "Officer", roleIDs = {"123123123"}, grade = 1, requireAllRoles = false}
    
  • Colors: Choose from preset colors or use a HEX color code (e.g., “orange”, “green”, “red”).
  • Localization: Set Config.Locale to “EN” for English or “TR” for Turkish.

Commands

  • /refreshjob: Refreshes the player’s job assignment.
  • /changejob: Manually changes the player’s job.

Usage Instructions

  1. Ensure Config.Framework is set correctly based on your server’s framework.
  2. Add your Discord role IDs and job roles to the Config.jobRoles table.
  3. Configure the notification system based on your preference.
  4. Use the /refreshjob command to refresh job assignments.
  5. Use the /changejob command to manually change jobs.

This script efficiently links Discord roles with FiveM jobs, automating job assignments and streamlining server management!

Purchase : 9.99$ + Tax
Showcase : Youtube
Config Pages :

Code is accessible Escrow
Subscription-based No
Lines (approximately) 600+
Requirements QBCore - ESX Core
Support Yes
1 Like

Does it work with multichar systems?

Sure,

work for core multijob script ?

Old/New QB and esx,

So do they have to use these commands once in game to get the job

  1. Use the /refreshjob command to refresh job assignments.
  2. Use the /changejob command to manually change jobs.?

The job comes automatically, these commands are for multijob. However, since the player cannot withdraw the job while in the active game, he must set /refreshjob.