Skip to content
← Blog
·4 min read

Minecraft Server Whitelist Setup and Troubleshooting

Learn how to enable a Minecraft server whitelist, add players safely, fix common join errors, and verify access on Paper and compatible servers.

minecraftserverwhitelistsecurity

Fabricio Souza

Founder, GeneX Plugins · 7+ years building Minecraft plugins

About →

A Minecraft server whitelist lets you limit joining to players you have approved. It is useful for private survival worlds, test servers, and small communities that want to control access without making the server public to everyone.

Paper's server setup guidance recommends whitelisting as a basic security measure. The server stores approved player entries in whitelist.json, and the white-list property controls whether the allowlist is active. Use the server console or the built-in commands to manage entries rather than hand editing the data file.

Enable the whitelist from the console

Start with the server console or an account that has permission to manage the whitelist. Run:

whitelist on

Add a player by their current Minecraft username:

whitelist add PlayerName

Then check the current list:

whitelist list

Console commands do not need a leading slash. In game, use /whitelist on, /whitelist add PlayerName, and /whitelist list if your account has the required command access. Paper documents the permission node for its whitelist command in the permissions reference.

The server's server.properties file also has a white-list setting. Paper's server properties reference describes it as the switch that enables the whitelist. If you prefer a file-based setup, stop the server cleanly, set white-list=true, save the file, and start the server again. Avoid editing whitelist.json directly. Paper's vanilla data files guide specifically recommends using the command to manage it.

Verify the intended access behavior

Use two accounts for a meaningful check: one that is on the list and one that is not. Confirm the approved account can connect, then confirm the unlisted account is rejected. If you only test with an operator, remember that operator status and whitelist access are separate settings. A mistaken test account may already be listed or may be allowed by a proxy or another plugin.

To remove access, run whitelist remove PlayerName. Use whitelist off only when you intend to let any otherwise-valid player connect. Turning off the list for troubleshooting and forgetting to turn it back on is an easy way to reopen a private server.

For a small group, a checklist helps prevent accidental lockouts:

  1. Add the owner and at least one trusted recovery account.
  2. Enable the whitelist and inspect the list from the console.
  3. Test a listed account and an unlisted account.
  4. Record who can change the allowlist and where the server console is managed.

Fix common whitelist join problems

A listed player is still rejected

Check the exact Java Edition username and confirm the add command succeeded in the console. Then run whitelist list and look for the player. If the server recently changed online mode, authentication settings, or proxy configuration, confirm the account is resolving to the identity the server expects. For a proxy network, test through the normal public entry point and verify the backend configuration as well. Our Velocity security checklist covers the separate proxy and backend trust boundary.

If you changed server.properties, make sure the file was saved in the directory used by the running server. Hosting panels can expose multiple server instances or configuration folders. Check the startup directory and restart only the intended instance after a property change.

An unlisted player can still join

Check white-list in the active server.properties, then verify the server reports whitelist protection as enabled. If this is a network behind a proxy, ensure the public connection is reaching the server you inspected. Review plugins that alter joins and make sure there is no second public server or fallback route with different settings.

The command is unavailable

Run whitelist management from the server console, which does not require in-game operator permissions. In game, an administrator needs the relevant command permission. If you use a permissions plugin, inspect the user's effective access and avoid giving broad operator privileges just to make one command available. Our Paper plugin installation guide explains how to check the server platform and plugin setup when admin commands do not behave as expected.

Use the whitelist as one access control

An allowlist limits which player accounts can enter. It does not replace account security, backups, staff procedures, or network protections for a proxy network. Keep server software updated, grant admin permissions carefully, and keep a recent backup before changing configuration. Our server backup and restore guide covers a recovery plan for configuration and world files.

After every change, test from a normal player account. A successful server startup proves that the configuration parsed, but only a connection test confirms that the right people can enter and everyone else is blocked.

Last updated . Spotted a mistake? Let us know.