First Connection
When a player joins for the first time without being whitelisted, the system automatically generates a unique user_id and displays a message to the player.
Example Message
⚪ You are not in the whitelist. ⚠️ Your user_id = 1. Send it to Discord.
Project Discord - https://discord.gg/yE8qBjGjD9 (opens in a new tab)
The player should then:
- Copy their assigned
user_id(e.g.,1) - Join your Discord server using the provided link
- Submit their
user_idin the appropriate channel - Wait for admin approval
Admin Approval
Once a player submits their user_id, an admin can add them to the whitelist using the console command:
/addwl [user_id]Example:
/addwl 1After being whitelisted, the player will be able to connect to the server normally.
Customizing the Message
You can customize the first connection message in the config.lua file to match your server's language and branding.