Discord rich presence with included job's
- Go to https://discord.com/developers/applications
- Create a Application and a Bot (tuto : https://discordpy.readthedocs.io/en/stable/discord.html)
- Click on your App.
- Here you can see your CLIENT ID copy and paste it into your config.lua file.
- On the left menu clic on Rich Presence and select Art Assets.
- Here you have to add the images for the jobs. ⚠ The name of the icon needs to be the same as the job in the database ⚠
- Its fine !
- ESX Legacy
- esx_identity
- mysql-async
- Discord Bot
- 1.0.0 Initial Release
- 1.0.1 Added Config File
- 1.0.2 Fixed not getting player count
- 1.0.3 Added esx_identity support for players firstname and lastname
- 1.0.4 Added additional checks
- 1.0.5 Added buttons thanks to https://forum.cfx.re/t/free-discord-action-buttons-simple-script/2329755
- 1.0.6 Fixed issues and rewriten the code
- 1.0.7 Make it compatible with ESX Legacy