OGTOOLS

Minecraft /whitelist command

Lets only the players on the list join the server.

🛡️ Server management Server admin (level 3) Needs cheats enabled Java Edition 26.3

Syntax

/whitelist on
/whitelist off
/whitelist add <targets>
/whitelist remove <targets>
/whitelist list
/whitelist reload

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
on / off Turns the whitelist on or off.

Examples

/whitelist on

Closes the server to everyone but the list: Only allowed players can join.

/whitelist add Faruk

Adds the player to the list.

Good to know

  • The easiest way to stop unwanted logins on a server for friends.
  • Operators can join even if they are not on the whitelist.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (server admin (level 3)).

Related commands

🛡️ More Server management

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.