Description
This resource uses escrow FiveM protection.
It works as a standalone resource. No ESX, QBCore, or QBox required.
Gate your server with Discord. 22_whitelist checks every connecting player for a required Discord role on your guild. No role? Custom kick message. No database and no framework required. It provides secure and lightweight access control.
Perfect for private communities. Pair it with any server setup: whitelist via Discord roles, staff tiers, VIP access, or closed beta. All of it fits in a few lines of configuration.
Dependencies
Discord bot token
Discord server (guild) ID
Discord role ID to require
Features
Discord role whitelist
Only players with the configured role can join the server.
Custom kick message
Fully editable message shown to rejected players.
Zero framework
No ESX, QBCore, or database needed.
Lightweight
Single server script with minimal performance impact.
Easy setup
Configure guild ID, role ID, and bot token directly in the script file.