How to Enable/Disable Whitelist
Manage your server whitelist and authorized players.
Manage your server whitelist and authorized players.
A whitelist ensures that only approved players can join your server, protecting your community from griefers and uninvited guests. Alternatively, disabling it opens your server up to the public. Follow this quick guide to manage your server's whitelist status.
Enable or Disable via Console
Instead of editing configuration files, you can toggle the whitelist instantly using your server console or by running the command in-game (if you are an operator):
- To Enable: Type
whitelist onand press Enter. - To Disable Type
whitelist offand press Enter.
Manage Whitelisted Players
Once the whitelist is enabled, you can add or remove players using these commands:
- Add a player:
whitelist add <player_name> - Remove a player:
whitelist remove <player_name> - View all whitelisted players:
whitelist list
Offline Mode Considerations
If your server is running in offline mode, player names may behave differently when using the whitelist. Make sure to enter usernames with the exact capitalization used by the player, as nicknames or capitalization differences can cause whitelist issues.
Apply and Refresh
Changes made via console commands take effect immediately. If needed, you can type whitelist reload to force the server to refresh the whitelist file.
As always, if you are having any type of issue or problem with your server at MCServerHost you can always get in touch with us by joining our Discord server or writing us at support@mcserverhost.com.
Related guides
- How to Migrate your old MCServerHost account.: How to Migrate your old MCServerHost account to the new MCServerHost.
- How to Upload Files to Your MCServerHost Server: Learn how to upload files to your Minecraft server.
- Complete Guide to Server Snapshots on MCServerHost: Learn how MCServerHost Snapshots work, how they differ from backups, and how to create, manage, and restore them safely.
- How to Set Up PL-Hide on Your Minecraft Server: Stop players seeing your plugin list and clean up tab-completion of plugin commands.