Discord Jobs | QBCore / ESX | Fivem

Preview - https://youtu.be/DAtoc7T2E3Y
Buy - https://moon-scriptsstore.tebex.io/package/5991267

images -

NOW SUPPORTS ESX / QBCore Frameworks

This script is a Lua script designed for QBCore framework. It provides functionality related to job assignment based on Discord roles. Below is a detailed description with bullet points that you can use for your script description:

  • Job Assignment System:
    • Allows players to obtain in-game jobs based on their Discord roles.
    • Ensures a connection between Discord roles and in-game job access.
  • Command Functionality:
    • Introduces a custom command /getjob for players to request a specific job.
    • Players can specify the target job using the command, and the script checks their Discord roles for eligibility.
  • Discord Role Verification:
    • Verifies if the player possesses the required Discord role for the requested job.
    • If the player lacks the necessary role, they receive an error notification.
  • Grade Handling:
    • Implements a grading system for jobs, allowing players to have different ranks within a job.
    • Discord roles are assigned specific grades, determining the in-game job rank.
  • Notification System:
    • Utilizes the QBCore notification system to inform players of the outcome of their job request.
    • Success notifications are displayed when the job assignment is successful.
    • Error notifications are shown when the player lacks the required Discord role or if there’s an issue retrieving Discord roles.
  • Configuration:
    • Allows server administrators to configure jobs in the Config.Jobs table.
    • Each job entry includes a name, the Discord role ID required for access, and a grade structure.
  • Warnings for Server Configuration:
    • Includes a thread that checks for potential configuration issues.
    • Warns administrators in the server console if a job is defined in Config.lua but not found in jobs.lua.
    • Warns if grade role IDs specified in Config.lua are not found in jobs.lua.
  • Reusability:
    • Designed to be easily extendable with additional jobs. Server administrators can add more jobs as needed by following the established structure in the Config.Jobs table.
  • Robust Error Handling:
    • Provides detailed error messages to players if issues arise, such as the inability to retrieve Discord roles or specifying an invalid job.
  • Community Engagement:
    • Fosters community engagement by connecting in-game roles to Discord roles, promoting a sense of identity and progression within the server.
  • Compatibility:
    • Developed with the QBCore framework, ensuring compatibility with the specified core functions and systems.

This script enhances the server experience by creating a seamless integration between Discord and in-game roles, allowing for a dynamic and engaging player progression system.

Code is accessible No
Subscription-based No
Lines (approximately) 65
Requirements discordroles
Support Yes
1 Like

esx would be great!

1 Like

can be done if want

Yes pls

:crossed_fingers: hoping for esx

Added ESX as a Supported Framework

you can now buy, supports ESX

Done, you can now Buy

1 Like

Can this work the opposite way so if Discord was to be abused. IF they have the role In City tyhey will get in Discord

Would be great when they get the discord role when they have the job ingame, but you did it the other way

can also be done haha

i will look in to it after i finish working on my corrent script

1 Like

Will you do it?

ich komme nicht in den server

Sit, I cant understand This language :frowning_face:


image

I have an ESX server, but its trying to work off QBcore? Its even set to ESX in the config

remove the dependancy from fxmanifest

The server.lua file is encrypted; there’s possibly a typo in the file. The script isn’t working right