Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Guide ESX Job selector with Discord Whitelist

Meta Online

Meta

Admin
Jul 4, 2021
186
13,969
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:
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds