Whitelisting is quite important if you would like to run a private server (such as a SMP). Whitelisting your server will allow you to set a list of players that are allowed to join your server.
Before you start
Make sure you are logged into the game panel and make sure you select the server you would like to add the whitelist to. Please also make sure that the server has been started and is marked as online.
For this tutorial you will be using your server's console. The console will allow you to run commands on your server but you can also type these commands in-game if you have OP (or permission to do so via a permission manager plugin).
Enable Whitelisting
To make sure your whitelist is enabled, type following command into your server's console and press enter:
whitelist on
Adding a player to your whitelist
To allow a specific player to join your server, type following command into your server's console and press enter:
whitelist add USERNAME
Make sure to replace USERNAME
with the exact Minecraft username or UUID of the player you want to whitelist.
In the example below we'll be whitelisting Steve:
Removing a player from your whitelist
To remove someone from your whitelist, type following command into your server's console and press enter:
whitelist remove USERNAME
Make sure to replace USERNAME
with the exact Minecraft username or UUID of the player you want to remove.
In the example below we'll be removing Steve from the whitelist:
View whitelisted players
To view your current whitelist, type following command into your server's console and press enter:
whitelist list
This will show a list of players that are whitelisted in your server's console.
As you can see, we currently only have Steve whitelisted. This means that the only player that can join is Steve, unless you whitelist more people or disable your whitelist.
Disable Whitelisting
To disable your server's whitelist, type following command into your server's console and press enter:
whitelist off
Once you turn the whitelist off it will allow anyone to join your server.