Discord Roles
Sets a player's in-game group based on their Discord role
md_discord sets a player's in-game group based on their Discord role. It works standalone
using FiveM's built-in ACE permission system, or hooks directly into ESX, QBCore, or
QBox if one of those is detected on the server.
How it works
When a player connects (or their character loads, depending on framework), the resource looks
up their linked Discord account, asks the Discord API which roles they have in your server, and
matches those roles against Config.RoleGroups to decide their in-game group. Online players
are also periodically re-checked so role changes on Discord apply without needing a reconnect.
Installation
Create a Discord bot, get your IDs, and get the resource running.
Configuration
Every option in config.lua, explained.
FAQs
Commands, gotchas, and the things that trip people up.
Source and issue tracker: github.com/mdnightdevv/md_discord