Commands/whitelist

Whitelist is used to manage server whitelists.
, server operators can always connect when the whitelist is active, even if their profiles do not appear in the whitelist. , players must be whitelisted regardless of operator status. The profiles of the whitelisted players are stored in the whitelist.json or allowlist.json configuration file.
In Minecraft Bedrock version 1.18.10 the whitelist was renamed to allowlist. The old file and command still exist, but have been deprecated.
==Syntax==
:whitelist add <targets> ()
:allowlist add <name: string> ()
:: Adds the player profile(s) to the whitelist. The player does not need to be online.
:whitelist list ()
:allowlist list ()
::Displays all player profiles in the whitelist.
:whitelist off()
:allowlist off ()
::Disables the server's use of a whitelist.
:whitelist on()
:allowlist on ()
::Enables the server's use of a whitelist.
:whitelist reload()
:allowlist reload ()
::Reloads the list of player profiles in whitelist.json from disk (used when whitelist.json has been modified outside of Minecraft).
:whitelist remove <targets> ()
:allowlist remove <name: string> () 
::Removes the player profile(s) from the whitelist. The player does not need to be online.
enable-command-block=true
==Arguments==
: 
:Specifies the player profile(s) to be added to or removed from the whitelist.
:
: 
:Specifies the player name(s) to be added to or removed from the whitelist.
:
== Result==
== Output ==
== History ==
 
de:Befehl/whitelist
ja:コマンド/whitelist
pt:Comandos/whitelist
zh:命令/whitelist