To enable the whitelist on a Minecraft server, follow these steps:

1. Access the Server Files:

  • If you’re running a Minecraft server on your own computer or hosting it through a provider, you need access to the server’s files.
  • If you’re using a hosting provider, log into your control panel.

2. Edit the server.properties File:

  • In your server’s file directory, locate and open the server.properties file with a text editor (like Notepad or a code editor).
  • Look for the line that says:
    white-list=false
  • Change the value to true:
  • white-list=true

3. Enable the Whitelist in the Console (Optional Step):

  • You can also enable the whitelist directly via the Minecraft server console by typing this command:
  • Edit/whitelist on

4. Add Players to the Whitelist:

  • You can add players by either using the command in the console or editing the whitelist.json file manually.

To add players via commands:

In the server console or in-game (with admin permissions), type

/whitelist add [PlayerName]

Replace [PlayerName] with the Minecraft username of the player.

To add players manually in the whitelist.json file:

  • Open the whitelist.json file in your server directory.
  • Add the player’s username in JSON format. For example:

[

{ “uuid”: “player-uuid-here”, “name”: “PlayerName” }

]

You can get a player’s UUID from a tool like Mojang’s UUID lookup.

5. Restart the Server:

  • Once the whitelist is enabled and players have been added, restart the server for the changes to take effect.

With the whitelist enabled, only players you’ve added will be able to join your server.

Login to Voda

Not a member? Sign up