User ID | Whitelist
First Connection

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:

  1. Copy their assigned user_id (e.g., 1)
  2. Join your Discord server using the provided link
  3. Submit their user_id in the appropriate channel
  4. 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 1

After 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.