New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Enable the Whitelist on a Minecraft Java Edition Server
Minecraft Java EditionMinecraft Java EditionEnable Whitelist

How to Enable the Whitelist on a Minecraft Java Edition Server

Enable whitelist on a Minecraft Java Edition server

2 min read

A whitelist is a feature in Minecraft that allows server administrators to create a list of players who are allowed to enter the server, while other players are denied. It is used to keep out unwanted players and allow those who have been approved by the server operator.

The easiest way to enable the whitelist is the Players page of your server's dashboard. Every change is sent to the console as a command immediately.

  1. Open the players page
    Open your server's dashboard and click Players in the left sidebar.

  2. Add players
    Click Add player, enter the Minecraft name, choose Allowlist under Where to? and confirm with the button below it. It is best to add yourself first. Players who have been on your server before can also be added via Add to Allowlist in the … menu of the player list.

  3. Turn on the allowlist
    On the Allowlist card, turn on the Allowlist on switch. From now on, only players on the list can join.

To learn how to remove players again and what else the page can do, see Manage players.

Enable the whitelist by command

Alternatively, you can enable the whitelist by command. For this you need access to the server console or OP rights in the in-game chat, as well as the name of the player you want to add to the whitelist.

  1. Open console or chat
    Open the server console if you have direct access, or the in-game chat if you are connected via the game.

  2. Activate whitelist
    In the server console or in-game chat, enter the command to activate the whitelist. The command is:

    /whitelist on
    
  3. Add player
    In the server console or in-game chat, enter the command to add someone to the whitelist. The command is:

    /whitelist add player name
    

    Replace player name with the name of the player you want to add to the whitelist.

  4. Confirm command
    Press "Enter" or click on the button to execute the command.

Written byEmeraldHost Team
Last updated on Oct 20, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Minecraft Java Edition

Ready to get started?

Rent your Minecraft Java Edition Server now

Join our Discord community 1257 members online right now