Docs / FiveM
FiveM Integration
One resource install connects your whole server to Docket: whitelist, in-game bans, player linking, live status, remote commands and playtime — with no open ports and nothing else to host.
Requirements
- An active Docket Pro plan or higher
- A FiveM server with txAdmin or direct file access
- Any framework — QB-Core, ESX, vMenu or fully custom. The resource hooks at connection level, so it does not touch gameplay systems.
Install (once, ~3 minutes)
- Go to Dashboard > Integrations and click Generate API key — copy it, it is shown once
- Click Download resource and drop the
docket_whitelistfolder into your server'sresourcesdirectory - Add to
server.cfgand restart:
ensure docket_whitelist set docket_api_key "YOUR_KEY_FROM_THE_INTEGRATIONS_PAGE" set docket_whitelist_mode "1" # 1 = whitelisted players only, 0 = open joins (bans still enforced) set docket_fail_open "0" # if Docket is unreachable: 0 = deny joins, 1 = allow joins
Within a minute the Integrations page shows Live, and Members → FiveM lights up with your server.
What that one install does
Automated roles
- Player role — a Discord role granted the first time someone joins your server (Integrations → Automated player role)
- Playtime binds — "10 hours → Regular, 50 hours → Veteran" — configured on Integrations, granted automatically every 15 minutes
Members can check their own link with /link me; staff can look anyone up with /link lookup.
Failure behaviour
- Joins never wait on Docket for more than 10 seconds —
docket_fail_opendecides what happens if Docket is unreachable - The whitelist cache pre-warms at startup and refreshes every 5 minutes, so most joins never touch the network
- Remote commands not picked up within 10 minutes expire instead of executing late