Commands/whitelist

Manages the server whitelist.

On Java, server ops can always connect when the whitelist is active, even if their names do not appear in the whitelist. On Bedrock, players must be whitelisted regardless of op status. The usernames of the whitelisted players are stored in the whitelist.json configuration file.

Arguments

 * Specifies the player(s) to add or remove from the whitelist. Must be a player name, a target selector or a UUID.
 * Entities other than players are not allowed.

Result
Fails if the arguments are not specified correctly, or if  doesn't exist.

On success:


 * — Adds the player name or UUID 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. If argument is executed on Bedrock, it'll say "Not implemented"
 * — Enables the server's use of a whitelist. If argument is executed on Bedrock, it'll say "Not implemented
 * — 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