How to Set Up a Whitelist
The Whitelist is a useful feature that Minecraft provides to restrict access to a server.
Whitelist Commands
/whitelist on
- enables the whitelist/whitelist off
- disables the whitelist/whitelist add [player name]
- adds a player to the whitelist/whitelist remove [player name]
- removes a player from the whitelist/whitelist list
- shows the names of players added to the whitelist/whitelist reload
- if the whitelist file has been manually changed, this command reloads the list to reflect the changes
Whitelist File
The whitelist file, i.e., whitelist.json
, contains the names of players added to the list. It is in JSON format, making it challenging to edit without knowledge of the format's specifics.
The Minecraft Server Tools website has an option to generate text to be placed in the whitelist file.
Caution
We do not support piracy! Servers with the online-mode=false
option do not work correctly with Whitelist features!