SnrSterling
Silver Elite
Standalone Whitelist v1.2.2 is a lightweight, fully standalone FiveM resource designed to control server access through a database-driven whitelist system, without requiring any specific framework (QB, ESX, etc.).
Key Features
- Framework-independent: Works on any FiveM server using only MySQL and native FiveM APIs.
- Automatic player registration: New players are automatically added to the players table on first connection.
- Whitelist enforcement: Players not present in the whitelist table are blocked from joining when the whitelist is enabled.
- Runtime toggle: The whitelist can be enabled or disabled live, without restarting the server.
- Admin commands: Simple commands to add, remove, check, and manage whitelist entries directly in-game or via console.
- Robust logging: All important actions (joins, denials, admin actions) are written to a log file using SaveResourceFile, ensuring compatibility with most hosting environments.
- OxMySQL support: Uses async/await queries for clean, reliable database interaction.
- Configurable behavior: Logging, commands, and general behavior can be adjusted through a clear configuration file.
Included Commands
- /wladd – Add a player to the whitelist
- /wlremove – Remove a player from the whitelist
- /wlcheck – Check if a player is whitelisted
- /wltoggle – Enable or disable the whitelist
- /wlstatus – Show current whitelist status
- /wlreload – Reload configuration without restarting the resource
Use Case
This script is ideal for servers that need a simple, reliable whitelist system without pulling in heavy dependencies. It fits both small private servers and larger projects that want full control over access logic while keeping the stack clean and minimal.Version
- v1.2.2 (Fixed) – Includes stability fixes and improved callback handling.
Aviliable at:Hidden link for visitors, to see Log in or register now.