Minecraft server console commands: op, whitelist, ban, gamerule and more
The server commands admins use most, how to run them from the panel Console without a slash, and what each one does.
You can run any server command from the panel Console. Type it without the leading slash and press Enter. In game, ops type the same commands with a slash.
Players and access #
| Command | What it does |
|---|---|
op Name / deop Name | Give or remove operator (admin) status |
whitelist on / off | Only allow listed players |
whitelist add Name / remove Name | Add or remove a player from the whitelist |
whitelist list | Show who is on it |
kick Name reason | Remove a player for now |
ban Name reason / pardon Name | Ban or unban a player |
ban-ip address / pardon-ip address | Ban or unban an IP address |
list | Who is online |
World and game #
| Command | What it does |
|---|---|
difficulty hard | peaceful, easy, normal or hard |
gamemode survival Name | Set a player's game mode |
defaultgamemode survival | Game mode for new players |
gamerule keepInventory true | Keep items on death (many other gamerules exist) |
gamerule playersSleepingPercentage 50 | How many players must sleep to skip the night |
time set day / weather clear | Change time or weather |
worldborder set 10000 | Limit the world size |
tp Name1 Name2 | Teleport one player to another |
Server #
| Command | What it does |
|---|---|
save-all | Save the world now |
say message | Broadcast a message to everyone |
stop | Save and stop the server (or use the panel's Stop button) |
Tips #
- Bedrock players who join through Floodgate have a prefix on their name (a dot by default). Include it in commands, for example
op .Name. - Run commands automatically, like a daily
save-allor restart warning, with schedules. - Plugin commands (EssentialsX, LuckPerms and others) work in the Console too.
Setting up a private server for friends? See make a server for friends.
FAQ #
Do I need a slash for commands in the console? #
No. In the panel Console type commands without the slash. In game, ops use the slash.
How do I make myself op on my server? #
Type op YourName in the Console.
How do I keep my inventory when I die? #
Run gamerule keepInventory true.
How do I op a Bedrock player? #
Include their Floodgate prefix (a dot by default), for example op .Name.
Still stuck? Use the live chat on the panel or ask in the ESN Systems Discord. Last updated October 31, 2026.