What Is the Whitelist?
The Minecraft server whitelist is a list of approved player usernames. When whitelist is enabled, only players on the list can join. Everyone else gets a "Not whitelisted" error.
Enabling the Whitelist
Run this command in your server console or in-game as an op:whitelist on
Or set white-list=true in server.properties and restart.
Managing the Whitelist
whitelist add PlayerName— Add a playerwhitelist remove PlayerName— Remove a playerwhitelist list— See all whitelisted playerswhitelist reload— Reload the whitelist file
Whitelist vs Operator
Being on the whitelist just lets you join. Being an operator (/op) gives you admin commands. These are separate — you can be whitelisted without being an op.
Whitelist File
The whitelist is stored in whitelist.json in your server root directory. You can edit this file directly via the Pterodactyl file manager on CraftNodes if you need to bulk add or remove players.