FiveM Documentation
Discord Whitelist is the largest whitelisting resource for FiveM & RedM and as of version 3.0, Discord Whitelist no longer requires any external scripts or dependencies. The resource is now fully standalone and can operate independently.
This change simplifies installation and setup, allowing server owners and developers to install the script by simply adding it to their server resources.
To operate Discord Whitelist an application must be made with tokens captured on the Discord Developer Portal.
Create a new application from the Discord Developer Portal.
Click on 'Bot' on the left navigation bar and enable the bot. Then copy the Bot Token and have ready for the below.
Now in the 'General Information' tab copy the 'Client ID' and replace CLIENT_ID_HERE in the below template.
https://discord.com/oauth2/authorize?client_id=CLIENT_ID_HERE&scope=bot&permissions=8Now invite your Discord Bot to your guild/server. You can use the link generator tool for this.
Installing the resource is very simple and mainly consists of a drag and drop to your servers resources.
Download and extract Discord Whitelist into your servers resources folder.
Open the server.js file in the resource and edit it to include the settings you want reflected, including the token and Id copied earlier.
Add ensure DiscordWhitelist into your server.cfg.
Discord Whitelist should now boot on server start, if there's an error it will be presented during server start in the servers console.
The Discord Bot will not change to an online status and it will remain offline. However, the bot can still fetch member information.