To maintain a safe, friendly, and controlled environment, it is important to control who can join your Minecraft Spigot server. One effective way to do this is to use a whitelist. In this tutorial, we will explain how to set up a whitelist on a Minecraft Spigot server, enable the whitelist functionality, add players to the whitelist, and remove players from the whitelist.
Enabling the whitelist with the /whitelist command:
The first step in setting up a whitelist on your Spigot server is to enable the whitelist functionality. You can do this by accessing your server console and entering the following command: /whitelist on. This command enables the whitelist and prevents players who are not on the whitelist from joining your server.
Add players to the whitelist using the /whitelist add <name> command:
Once the whitelist is enabled, you can start adding players to it. This allows them to join your server even when the whitelist is active. To whitelist a player, enter the following command in your server console: /whitelist add <player's name>. Replace <player's name> with the Minecraft username of the player you want to allow on your server. For example, if you want to add a player named "Steve", type: /whitelist add Steve.
Remove players from the whitelist using the /whitelist remove <name> command:
If you want to remove a player from the whitelist, simply use the /whitelist remove <player_name> command. Replace <player_name> with the Minecraft username of the player you want to remove from the whitelist. For example, to remove the player "Steve", type: /whitelist remove Steve. This command will prevent the player from joining your server until he is whitelisted again.