Set Up a Whitelist on Your Minecraft Server

How to enable whitelist mode and manage allowed players on your Minecraft Java server.

A whitelist restricts your server to only approved players.

Enable the Whitelist

In the Console tab of the XGamingServer Panel:

whitelist on

Or in server.properties:

white-list=true
enforce-whitelist=true

enforce-whitelist=true kicks non-whitelisted players who are already online when you enable it.

Managing the Whitelist

Add a Player

whitelist add PlayerName

Remove a Player

whitelist remove PlayerName

View the Whitelist

whitelist list

Reload After Manual Edits

whitelist reload

Editing whitelist.json Directly

The whitelist is stored in whitelist.json in the server root:

[
  {
    "uuid": "player-uuid",
    "name": "PlayerName"
  }
]

Edit via Files in the panel, then run whitelist reload in the console.

💡 Tip: OPs can always join regardless of whitelist status.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page