/> />

How to Enable and Manage a Minecraft Whitelist

Managing your Server

·

Sep 24, 2024

Whitelisting is a feature that allows you to limit the players who can access your Minecraft server. When enabled, only whitelisted players can join your server. This is a good way to prevent unwanted players from joining and making changes to your server. This functionality is built into every Java Edition Minecraft server out of the box.

Please Note

Whitelists are a specific feature to Minecraft Java Edition servers, the Bedrock equivalent is called an Allowlist.


Setting Up a Whitelist

One way you can enable whitelisting on your Minecraft server by configuring it in your server.properties file and restarting server. However, we will cover how to set up whitelisting using console commands, as it does not require you to restart or turn off your server at any point.

You can also send these commands in-game if you have OP permissions. Please refer to this guide for more information on how to become an OP.

Step 1:

Open your server's control panel

Open your server's control panel
Step 2:

In the Server Console window, enter the whitelist on command

You can enable or disable whitelist on your server using one of the following commands:

  • whitelist on - This command enables whitelisting. Once enabled, only players on your whitelist can join.

  • whitelist off - This command disables whitelist. All players can join the server like normal.

Use the command whitelist on or whitelist off to turn on or off whitelist

Managing a Whitelist

After enabling whitelist, only players who are specifically added to the whitelist and players with OP permissions will be able to connect to the server.

You can add or remove players from the whitelist using one of the following console commands. Keep in mind, players with OP permission can also use these commands in-game:

  • whitelist add <Username> - After replacing <Username> with the name of the player you'd like to whitelist, this will add them to the whitelist immediately.

  • whitelist remove <Username> - After replacing <Username> with the name of the player you'd like to remove from the whitelist, this will immediately remove them from the whitelist if they were on it before.

Run either the whitelist add or whitelist remove command to add or remove a player from your Minecraft server's whitelist

That's it! You have successfully learned how to use a whitelist to secure your server.


Kobe Plane

Game Experience Engineer