[STANDALONE] USER_ID | Whitelist
Steam & Discord Integration
This is a FiveM whitelist system with Steam and Discord integration. The system checks for the player's Steam and Discord identifiers and adds them to a whitelist in the database. Players not on the whitelist will be prompted to provide their user_id to be added manually.
✨ Features
- ✔ Steam ID Check – players must have a valid Steam account to connect.
- ✔ Discord ID Check – players must link Discord to be whitelisted.
- ✔ Automatic Whitelist Entry – generates a
user_idand prompts player to send it to Discord. - ✔ Manual Addition – admins can add players via console command
addwl <user_id>. - ✔ Multi-language Support – messages can be configured in
config.lua.
📣 First Connection Message
⚪ You are not in the whitelist. ⚠️ Your user_id = 1. Send it to Discord.
Project Discord: https://discord.gg/yE8qBjGjD9/addwl [user_id]
⚙️ Technical Specifications
Optimized for oxmysql to ensure minimal server load. Real-time checks with minimal latency.
📥 Installation
- Download the script and place it in your server’s
resourcesfolder. - Set up the database (SQL script for creating the whitelist table is included).
- Configure localization messages in the
config.luafile. - Add the resource to your
server.cfg:ensure cu_user_id
Fully compliant with FiveM Releases. For questions or support, reach out via Discord.