Commands/whitelist

Manages the server whitelist.

Server ops can always connect when the whitelist is active, even if their names do not appear in the whitelist. The usernames of the whitelisted players are stored in the whitelist.json configuration file.


 * Syntax


 * The command has six variations.




 * Arguments


 * player ( and   mode only)
 * Specifies the player(s) to add or remove from the whitelist.


 * Result


 * Fails if the arguments are not specified correctly, or if player doesn't exist


 * On success:
 * — Adds the player name to the whitelist. The player does not need to be online.
 * — Displays all player names in the whitelist.
 * — Disables the server's use of a whitelist.
 * — Enables the server's use of a whitelist.
 * — Reloads the list of player names in  (1.7.5 or earlier) or   (1.7.6 or later) from disk (used when   or   has been modified outside of Minecraft).
 * — Removes the player name from the whitelist. The player does not need to be online.

History
Befehl/whitelist 命令/whitelist