Whitelist (Enable & Disable)
Restrict the server to registered players.
A whitelist restricts the server to registered players only. When enabled, players not on the list cannot join. It is useful for private servers or during maintenance.
Enable the Whitelist#
- Open the Console in the panel.
- Type the following command:
whitelist on - Add the players allowed to join:
whitelist add <playername> - Verify:
whitelist list
Tip
Run `whitelist reload` to reload the list from the file without a restart.
Disable the Whitelist#
Type in the Console:
txt
whitelist off
Manage Players#
| Command | Purpose |
|---|---|
whitelist add <player> | Add a player to the list. |
whitelist remove <player> | Remove a player from the list. |
whitelist list | View the list contents. |
whitelist reload | Reload the list. |
Via server.properties#
Alternatively, set white-list=true (on) or false (off) in server.properties, then Restart the server. The name list is stored in whitelist.json.
