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.

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

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.

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.

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

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.

Published on: 19 / 08 / 2019