What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you need to register or log in to the forum. Becoming a member of the forum is completely free.

Framework
  1. ESX
  2. QBCORE
  3. VRP
  4. STANDALONE

Admin

Legend
Member
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.


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.

🔹 Need more customization? Check out the
Link hidden for visitors, to see Log in or register now.
for additional integrations! 🚀
 
Last edited by a moderator:

Attention please!

Spam comments made to download the file in the subject are prohibited.

Spam comments will cause your account to be banned.

Theme customization

"From this menu, you can customize certain areas of the forum theme to your preference."

Choose the color that reflects your taste.

Wide / Narrow view

You can check a structure that allows you to use your theme in a wide or narrow view.

Grid view forum list

You can control the layout of the forum list in grid or regular listing style.

Image grid mode

You can control the structure that allows you to show or hide images in the grid forum list.

Close the sidebar

By closing the sidebar, you can have a wider view of the forum.

Fixed sidebar

By fixing the sidebar, you can make it more useful and ease your access.

Köşe kıvrımlarını kapat

Blokların köşelerinde bulunan kıvrımları kapatıp/açarak zevkinize göre kullanabilirsiniz.

Back