Theme editor

Free Scripts Discord Whitelist Script

Admin

FiveM Pro
Joined
Oct 11, 2024
Messages
153
Reaction score
8,916
Points
93
Thread owner
Download the free Discord Whitelist script for FiveM (Standalone) to automatically grant access to players with a specific Discord role. Follow our step-by-step guide to set up a Discord bot and config.lua the script.

whitelist script.webp


What is the Discord Whitelist Script?

The Discord Whitelist script automatically allows only players with a specific Discord role to join your FiveM server. Once a player gets the designated role in your Discord server, they are whitelisted and can join the game without needing extra verification.

Fully automatic whitelisting
Standalone – works with any FiveM framework (QB-Core, ESX, etc.)
No manual approvals needed
Improves server security and access control

How to Download & Install the FiveM Discord Whitelist Script?

Step 1: Click the Download Link


This file includes the latest standalone whitelist script.


Step 2: Move the Script to Your FiveM Server

  1. Extract the [Whitelist].zip file.
  2. Move the [Whitelist] folder to your FiveM server’s resources directory:
  3. Code:
    resources/[standalone]/[Whitelist]


Step 3: Add the Script to server.cfg

To activate the script, open your server.cfg file and add the following line:
Code:
ensure [Whitelist]


Step 4: Create a Discord Bot for Whitelist Verification

Since this script relies on Discord roles, you must create a Discord bot that can check user roles before allowing them to connect.

How to Create a Discord Bot:

  1. Go to the Discord Developer Portal
  2. Click “New Application” and enter a bot name.
  3. Navigate to the Bot tab and click “Add Bot”.
  4. Copy the Bot Token (you’ll need this for configuration).
  5. Enable "SERVER MEMBERS INTENT" in the bot settings.
  6. Go to the OAuth2 tab → Select bot and Administrator permissions.
  7. Copy the generated invite link and add the bot to your Discord server.

Step 5: Configure the Whitelist Script

  1. Open the config.lua inside [Whitelist].
  2. Paste your Discord Bot Token in the designated area.
  3. Set the Whitelist Role ID (this is the role that allows users to join the server).
  4. Save and close the file.

Step 6: Restart Your FiveM Server

Once everything is set up, restart your FiveM server. The whitelist system should now work automatically.


How the Discord Whitelist Script Works

  • When a player tries to connect, the script checks their Discord roles.
  • If they have the required role, they are granted access to the FiveM server.
  • If they don’t have the role, they are denied entry and see a message prompting them to join the Discord server for verification.
  • No manual approvals are needed—everything is automated.
 
Last edited by a moderator:
Thread 'New Ox QBCore Full Server file'
All scripts are open source - no licensed scripts Framework: QBCore - Newest QBCore Version...
Thread 'New V3.2 EN QBCore Best FiveM RP Base Newest'
Toxic V3.2 EN QBCore RP Base – FiveM Server Files Download the newest Toxic V3.2 EN QBCore RP...
Thread 'LB PHONE 🎉 ALL BUGS FIXED - ESX & QBCORE TESTED ✅'
Instagram, TikTok, Tinder, banking apps, and all other applications have been fixed, and the...
Thread 'Toxic V3.1 QBCore RP Base – Ready-to-Play Open Source Server Files'
Download The Toxic V3.1 QBCore RP Server Base is a fully open-source, pre-configured roleplay...
Thread 'V4 PvP Server Files –Esx Legacy  Fully Optimized Arenas, Game Mode'
The V4 ESX PvP Server Files package is the ultimate choice for FiveM server owners who want to...
Thread 'FiveM 430+ Car Pack | Unbranded Vehicles for RP Servers'
The FiveM Unbranded Vehicle Pack (430 Cars) is a massive collection of optimized and...
Thread 'Brutal Script Pack'
Download the Brutal Script Pack for FiveM. A rare open-source collection for ESX & QBCore...
Thread 'New Toxic QBCore OX Basic Pack - Fivem Esx Server files'
The New QBCore OX Basic Pack is a lightweight, optimized, and fully open-source FiveM RP base...
Thread 'Toxic Community Service Script – ESX & QBCore - Open Source'
The Toxic Community Service Script is a FiveM resource for ESX Legacy and QBCore servers...
Thread 'Toxic New ESX Legacy Basic Pack – Free FiveM RP Base (Open Source)'
Download the Toxic New ESX Legacy Basic Pack, a clean and fully functional FiveM RP base...
Thread 'Fivem esx & qbcore Farmer job'
Fivem esx & qbcore Farmer job *** Hidden text: You do not have sufficient rights to view the...
Thread 'Unclejust Doomsday – FiveM custom secret base'
UncleJust Doomsday MLO – FiveM custom secret base maps with detailed interiors and roleplay...
Thread 'Toxic QBCore Server files'
Toxic QBCore Latest Server files - Fivem rp base - Download fivem server Open source・No...
Thread 'QBCore Basic RP Base'
QBCore Basic RP Base QBCore Version : '1.3.0' Latest Open Source...
Thread 'LB Tablet Edited Version for QBCore'
LB Tablet Edited Version for QBCore All bugs have been fixed. *** Hidden text: You do not...
Thread 'Molo Alcatraz Mlo - Tested ✔️'
Molo Alcatraz Mlo - Tested ✔️ Open Sources ✔️ *** Hidden text: You do not have sufficient...
Thread 'Toxic ESX Legacy Server File | Basic rp base'
Experience the power of the Toxic ESX Legacy Server File, the most stable and optimized base for...
Thread 'QBCore V2 FiveM RP base'
The Toxic QBCore V2 RP Server is a fully open-source, ready-to-use FiveM RP server base, built...
Thread 'Toxic V3 pvp Server File'
Download the Toxic V3 PVP Server File, a fully configured and battle-tested FiveM base built on...
Thread 'Kingmaps All in One MLO Pack'
Enhance your FiveM server with the Kingmaps MLO Pack! 🚀 The package includes: 🏪 kingmaps_247...
Thread 'Energy Fast customs Mlo ( clothes + vehicles )'
Energy Fast Customs MLO – FiveM maps for clothes shops and vehicle garages. *** Hidden text...

Members online

Back
Top Bottom