Discord Jobs | QBCore / ESX | Fivem

A script by Nullvalue

No reviews yet.
Discord Jobs | QBCore / ESX | Fivem main image

Full Description

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