Don't want your server to be accessible to everyone? There are several ways to restrict a server's visibility and accessibility. One of them is using a whitelist, which we'll explain below.
A whitelist is a list that allows you to admit only a specific group of people. This means that only people on the whitelist can connect. People who aren't on the whitelist won't be accepted and will receive a message during the connection process saying they aren't on the whitelist.
To manage the whitelist feature for FiveM, open the txAdmin interface. Then navigate to Settings and open the Whitelist tab.
Select the whitelist mode you want to use. The following options are available in the settings:
- Admin Only (Maintenance Mode)
- Discord Server Member
- Discord Server Roles
- Approved License
In this example, the Approved License option is selected and enabled, allowing players to be approved using their license.
A txAdmin administrator must add the player's license identifier to the whitelist. This can be done on the Whitelist page or with the /whitelist command.
