If you want your server to only be accessible to certain players, you would need to set up a whitelist. This allows you to keep the server private.

Enabling the whitelist

To set up a whitelist, you would need to run the command whitelist on in console. Then, you would run whitelist add <name> for each player you wish to add.
Adding a player to the whitelist

Listing the whitelisted players

If you want to see who is in your server's whitelist, you can use the command whitelist list
Listing who's in the whitelist

Removing whitelisted players

To remove somebody from the whitelist, you can run whitelist remove <name> and the player will no longer be able to join the server.
Removing from the whitelist

Was this article helpful?
Thank you!