Lilibeth
Gold Elite
- Joined
- Jul 4, 2021
- Messages
- 186
- Reaction score
- 57,276
- Points
- 316
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
Hidden link for visitors, to see
Log in or register now.
configured and started for this resource to work.This resource was built and designed for
Hidden link for visitors, to see
Log in or register now.
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 - ConfigurableMessage when Job is Selected
Message when Job does not exist in config
Message when user does not have permission to take the job (They don’t have the required Discord role(s))
Download Link:
Hidden link for visitors, to see
Log in or register now.