How to Set Up a Whitelist on Your Minecraft Server
A whitelist allows you to control which players have access to your Minecraft server. Once you enable the whitelist, only players who have been added to it can join the server. This is useful when you want to keep the server private or prevent unwanted players from joining. In this guide, we explain how to enable and manage a whitelist on your Minecraft server at ConsulHosting.
Enabling the whitelist
- Log in to the game panel and go to your Minecraft server.
- Start the Minecraft server if it is not already running and wait until the server has fully started.
- Open the Console page.
- First, add your own Minecraft username using the following command:
whitelist add PLAYERNAME- Repeat this command for every other player who should have access to the server.
- Then enable the whitelist using the following command:
whitelist onThe whitelist takes effect immediately. You do not need to restart the Minecraft server.
Note ReplacePLAYERNAMEwith the player’s exact Minecraft username. Do not include a/when entering commands in the console.
Tip You can also run these commands in-game. In that case, add a/before the command, for example/whitelist add PLAYERNAME. You need operator permissions to do this.
Managing the whitelist
While the Minecraft server is running, you can manage the whitelist through the console using the commands below.
|
Action |
Command |
|---|---|
|
Enable the whitelist |
|
|
Add a player |
|
|
Remove a player |
|
|
View added players |
|
|
Disable the whitelist |
|