Enable a Minecraft whitelist and manage access
Understand account UUIDs, online-mode and operator permissions.
Enable the allowlist
On Java servers, use whitelist on and whitelist add PlayerName from the console. The white-list=true setting also enables access control. Back up whitelist.json before replacing it.
Match UUIDs to authentication mode
Online-mode requires the UUID of the authenticated account. Offline UUIDs are derived from player names and differ from account UUIDs. Our tool supports supplied UUIDs or offline UUID generation; these are separate modes.
Keep operator permissions separate
A whitelist permits a player to join; it does not grant operator powers. Give OP only to trusted administrators. Permission plugins can grant specific capabilities instead of full administration rights.
Verify the result
If you edit the file while the server is running, use whitelist reload where supported. Test with an allowed and a disallowed account. Do not disable account authentication just to work around a UUID mismatch.