Add a player to the whitelist

How to add players to your Minecraft server's whitelist.

Whitelisting is a feature that allows you to limit the players who can access your server, increasing its security. When enabled, only whitelisted players can join your server.

circle-info

This guide only works on Java Edition. We have a separate guide for Bedrock Edition.

Using the server console

Head over to the Game Panelarrow-up-right and select "Console" on the sidebar menu.

Make sure your server is online. You can now type "whitelist add <username>" in the console. Make sure you replace "username" with the username of the player you wish to whitelist.

You can use "whitelist remove <username>" to unwhitelist the player. You can also use "whitelist list" to list all currently whitelisted players.

Use "whitelist on" or "whitelist off" to enable/disable the whitelist.

Through in-game commands

Alternatively, you can whitelist players in-game. You'll need to be an operator for this to work.

Use the command "/whitelist add <username>" in the server chat. Make sure you replace "username" with the username of the player you wish to whitelist.

You can use "/whitelist remove <username>" to unwhitelist the player. You can also use "whitelist list" to list all currently whitelisted players.

Use "/whitelist on" or "/whitelist off" to enable/disable the whitelist.

Last updated