Skip to content

Discord Allowlist

Drag, drop and configure! Utilized by our free Discord API. This script allows you to define member roles which will be able and unable to join your server. Easy installation and configuration.

Discord Allowlist is a streamlined access control system that integrates with your Discord server to manage who can join your FiveM server. By utilizing Discord roles, you can easily define which members are allowed or blocked from accessing your server, providing a simple yet powerful way to control server access.

  • Drag, Drop & Configure - Simple installation and setup process
  • Discord API Integration - Utilizes our free Discord API
  • Role-Based Access Control - Define member roles for allowlist/blocklist
  • Easy Configuration - Simple setup and management
  • Flexible Permissions - Allow or block specific Discord roles
  • Seamless Integration - Works directly with Discord server roles
  • Discord API - Required for Discord integration
  • Universal - Works with any FiveM server setup
  • Role-Based - Integrates with Discord server roles
  1. Install night_discordapi first
    • Download and install the Discord API resource
    • Configure the Discord API resource completely
    • Ensure it’s working properly before proceeding
  1. Access CFX Portal
    • Go to CFX Portal Assets
    • Find “Discord Allowlist” in your granted assets
    • Download the ZIP package
  1. Extract the ZIP file

    • Unpack the downloaded ZIP package to a local folder
    • Ensure all files are properly extracted
  2. Transfer to Server

    • Set your FTP client to binary transfer mode
    • Upload the night_discordallowlist folder to your server’s resources directory
    • Maintain the original folder structure

Add the following line to your server.cfg file:

ensure night_discordallowlist
  1. Navigate to Config File

    • Open night_discordallowlist/config/config.lua
    • Review all configuration options
  2. Configure Role Permissions

    • Set the roles you desire allowlisted or blacklisted
    • Configure Discord role integration
    • Adjust access control settings
  • Role-Based Permissions: Use Discord roles to control server access
  • Allowlist/Blacklist: Define which roles can or cannot join
  • Real-Time Verification: Check Discord roles when players connect
  • Automatic Enforcement: Block or allow access based on role status
  • Free Discord API: Utilizes our included Discord API
  • Seamless Role Checking: Verify Discord roles automatically
  • Easy Management: Control access through Discord role management
  • Flexible Configuration: Allow or block specific role types
  • Access Control: Prevent unauthorized players from joining
  • Role Verification: Ensure only approved Discord members can access
  • Easy Administration: Manage access through Discord role system
  • Reliable Security: Consistent role-based access enforcement
  • Discord API Integration: Seamless role-based access control
  • Universal Compatibility: Works with all FiveM server setups
  • Role-Based Security: Integrates with Discord server roles
  • Private Communities: Control access to exclusive servers
  • Whitelist Servers: Ensure only approved members can join
  • Role-Based Access: Different access levels for different roles
  • Security-Focused Servers: Enhanced protection against unauthorized access
Error Solution
“Resource not found” Check resource folder name and ensure line
“Discord API not found” Install and configure night_discordapi first
“Role verification failed” Check Discord bot permissions and roles
“Access denied” Verify role configuration in allowlist/blacklist
  • Install Discord API first and ensure it’s working properly
  • Test role permissions with different Discord roles
  • Configure clear allowlist/blacklist rules for your server
  • Regularly review role assignments for security
  • Coordinate with Discord server for role management
  • Set up clear role hierarchy for access control
  • Test access permissions with different user types
  • Monitor access logs for security and troubleshooting
  • Use specific roles for different access levels
  • Regularly update role permissions as needed
  • Monitor unauthorized access attempts
  • Keep Discord API credentials secure

If you’re having trouble with Discord Allowlist:

  1. Review this documentation thoroughly
  2. Check server console for error messages
  3. Join our Discord for community support

Join our Discord community for:

  • Technical support
  • Configuration help
  • Best practices sharing
  • Community discussions

Nights Software Discord