/whitelist on - This command is for Java.
/allowlist on - This command is for Bedrock.
Whitelist Commands
There are various commands that allow you to manage the whitelist either through the console or through in-game commands. Here's a list of the commands:
/whitelist on - This will enable whitelist.
/whitelist off - This will disable whitelist
/whitelist add YourUsername - This will add the player called "YourUsername" to the whitelist.
/whitelist remove YourUsername - This will remove the player called "YourUsername" from whitelist.
/whitelist list - This will list all the whitelisted players.
/whitelist reload - Reloads the list of player profiles in whitelist.json
How to Enable Whitelist?
Head over to the Game Panel and stop your server.
Navigate to the "Properties" tab and locate the "Enforce-Whitelist" and "White-List" options. Toggle these on to enable/disable whitelist.
Done! Your server is now whitelisted. You can now start the server and run the "whitelist add YourUsername" command in the console to add yourself to the whitelist.
whitelist add "Your Username" <- The username needs to be between the "" symbols.
How to Manage Whitelist through the Player Manager?
Head over to the Game Panel and stop your server.
Navigate to the "Console -> Player Manager -> Whitelist" tab and from here you can add/remove players from the whitelist.
🎉 Congratulations, you successfully know how to manage the whitelist on your server. If you have any issues or concerns, please contact us through the ticket system.