Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Guide ESX Job selector with Discord Whitelist

Lilibeth

Gold Elite
Joined
Jul 4, 2021
Messages
186
Reaction score
57,276
Points
316
✌️ Hello VAG Forum Family ✌️



1631170977090.png



An ESX Job Selector with Discord Whitelist​

A configurable FiveM ESX script that allows players to take jobs, using Discord roles to whitelist these jobs.

I intend to make something better (and probably paid) in the future that has a UI and designated job selection locations, but this is what I accomplished today and it works quite well! Enjoy.

Configuration Options​

You define “Job Names” with associated ESX jobs and grades in config.lua along with a list of Discord roles. You can also define if you want the user to have all of the roles in your list or only one of the roles in the list. Note: You must list all jobs (including unemployed) here if you want the user to be able to select them using this script. The command (/takejob in the screenshots) is also configurable.

Prerequisites​

You must have configured and started for this resource to work.

This resource was built and designed for

Use​

  • Place esx_discordjobs in your server resources.
  • Edit config.lua with your desired jobs and roles.
  • Add start esx_discordjobs to your server.cfg.

Screenshots​

Take Job Command - Configurable

1631171090647.png


Message when Job is Selected

1631171123459.png


Message when Job does not exist in config

1631171173559.png


Message when user does not have permission to take the job (They don’t have the required Discord role(s))

1631171301580.png


Download Link:
 
Top