Commands
You can issue commands to the server by typing in the console. The following commands are available. < > means a parameter is required, [ ] means it's optional and | denotes different allowed values. Strings can be enclosed in double quotes, ", if they contain spaces.
| Command syntax | Description |
|---|---|
| kick <player name or xuid> <reason> | Immediately kicks a player. The reason will be shown on the kicked players screen. |
| stop | Shuts down the server gracefully. |
| save <hold | resume | query> | Used to make atomic backups while the server is running. See the backup section for more information. |
| whitelist <on | off | list | reload> |
See the Whitelist section for more information. |
| whitelist <add | remove> <name> | Adds or removes a player from the whitelist file. The name parameter should be the Xbox Gamertag of the player you want to add or remove. You don't need to specify a XUID here, it will be resolved the first time the player connects. See the Whitelist section for more information. |
| permissions <list | reload> |
See the Permissions section for more information. |
| op <player> |
Promote a player to |
| deop <player> |
Demote a player to |
| changesetting <setting> <value> | Changes a server setting without having to restart the server. Currently only two settings are supported to be changed, allow-cheats (true or false) and difficulty (0, peaceful, 1, easy, 2, normal, 3 or hard). They do not modify the value that's specified in server.properties. |
Running a Bedrock server, or letting Bedrock players join Java? Our Minecraft Server Setup guide walks through the whole server in one place, from server.properties and versions to Paper, Fabric and Forge, plugins, whitelists and Bedrock players, and lists every Minecraft article in this knowledge base by topic.

