Welcome to FiveM Scripts, MLOs & Server Files – Toxic FiveM

Toxic QB V3.2 Server Files

Premium members can download it for free.

Toxic PVP V4 Server Files

Premium members can download it for free.

400+ Unbranded Vehicles 2025

Premium members can download it for free.

Scripts FiveM - Discord Whitelist Script (Standalone) | Free Download

Random threads

Framework
  1. ESX
  2. QBCORE
  3. VRP
  4. STANDALONE
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

Detailed Guide: How to Install the Discord Whitelist Script for FiveM (Standalone)

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
    Link hidden for visitors, to see Log in or register now.
  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.

Final Thoughts

The FiveM Discord Whitelist Script is a must-have for any private or roleplay server looking to automate access control and secure player entry. It ensures that only approved players with a specific Discord role can join, making administration much easier.
 
Last edited by a moderator:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top