Docs / FiveM / Whitelist Sync
Whitelist Sync
When a whitelist application is approved in Docket, the player is automatically whitelisted on your FiveM server. No manual entry, no spreadsheets, no copy-paste.
How it works
The sync flow works like this:
- A member submits a whitelist application via Discord (
/apply new whitelistor/whitelist apply) - Staff approve the application in Discord or from the dashboard
- Docket looks up the member's Discord ID and passes it to the
docket-fivemresource running on your game server - The resource grants the player whitelist access using your framework's permission system
- The next time that player connects, they are allowed in
Player identification
Docket identifies players by their Discord ID. Your FiveM server must have Discord identifiers enabled in server.cfg. This is on by default for most setups, but verify with:
# In server.cfg set sv_authMaxVariance 1 set sv_authMinTrust 5
When a player connects, FiveM provides their Discord ID (formatted as discord:123456789) which the resource matches against the Docket-approved whitelist.
Framework-specific behavior
Denial sync
When an application is denied, the player's Discord ID is not added to any whitelist. If they were previously whitelisted (from an earlier approved application that was later revoked via the dashboard), their access is removed on the next server restart or when they next attempt to connect.