Minecraft Java EditionMinecraft Java Edition

How to enable and disable the whitelist on your Minecraft server

Learn how to easily enable and disable the whitelist on your Minecraft server (Java or Bedrock). Simple steps to secure access only to authorized players.

Free 12-hour trialMinecraft Minecraft

Try this guide on a real Minecraft server, free for 12 hours

A Minecraft server ready in minutes to put this tutorial into practice, then you decide.

  • No credit card
  • 12 hours from first launch
  • One trial per person

The whitelist allows you to restrict access to your server to only the players you have chosen. It is an ideal feature for keeping a server private between friends or members of your community.

1️⃣ Enable the whitelist in server.properties

  1. Go to your management panel and log in.
  2. Go to the File Manager tab.
  3. Open the server.properties file.
  4. Find the line:
   white-list=false
  1. Change it to:
   white-list=true
  1. Save and restart your server.

2️⃣ Add players to the whitelist

For Minecraft Java Edition:

  • Use the command in-game or in the console:
/whitelist add player_nickname

For Minecraft Bedrock Edition:

Want to put this guide into practice on your own server? Minecraft server hosting from €3.99/month at LordHosting, online in a few minutes.

  • Use the command:
/whitelist add "player_nickname"

(Note: Bedrock usernames must be enclosed in quotation marks if they contain spaces)

3️⃣ Check the list of whitelisted players

/whitelist list

🔄 Disable the whitelist

If you want to reopen your server to everyone:

/whitelist off

❓ Need help?

If you encounter any issues, please open a ticket via our support: 👉 https://lordhosting.com/support


Don't have a server yet? Discover our Minecraft hosting plans starting at €3.99/month with 1-click setup and 12-hour free trial.

LordHosting

Put this guide into practice on your own server

From €3.99/month. Online in a few minutes, anti-DDoS protection, 7/7 support, no commitment.

Minecraft server hosting from €3.99/month
Back to Minecraft Java Edition
Was this article helpful?
Welcome Offer

Sign up now and enjoy 10% off on your first order by entering the promo code: WELCOME

Copyright © 2026 LordHosting.