← Back to Command Directory ← Back to Home

/whitelist

Manages the server whitelist — a list of players who are allowed to connect to the server when whitelist enforcement is enabled.

Syntax

/whitelist on
/whitelist off
/whitelist list
/whitelist add <targets>
/whitelist remove <targets>
/whitelist reload

Parameters

NameRequiredDescription
targetsYes (add/remove)The player(s) to add or remove from the whitelist.

Examples

/whitelist on
/whitelist add Steve
/whitelist remove Alex
/whitelist list
/whitelist reload

Notes

Command Block Use

This command is not usable from command blocks. It is a server-operator-only command.

Related Commands