ESN Docs

Docs › Minecraft

Minecraft server console commands: op, whitelist, ban, gamerule and more

2 min readUpdated Oct 31, 2026

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 #

CommandWhat it does
op Name / deop NameGive or remove operator (admin) status
whitelist on / offOnly allow listed players
whitelist add Name / remove NameAdd or remove a player from the whitelist
whitelist listShow who is on it
kick Name reasonRemove a player for now
ban Name reason / pardon NameBan or unban a player
ban-ip address / pardon-ip addressBan or unban an IP address
listWho is online

World and game #

CommandWhat it does
difficulty hardpeaceful, easy, normal or hard
gamemode survival NameSet a player's game mode
defaultgamemode survivalGame mode for new players
gamerule keepInventory trueKeep items on death (many other gamerules exist)
gamerule playersSleepingPercentage 50How many players must sleep to skip the night
time set day / weather clearChange time or weather
worldborder set 10000Limit the world size
tp Name1 Name2Teleport one player to another

Server #

CommandWhat it does
save-allSave the world now
say messageBroadcast a message to everyone
stopSave 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-all or 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.