Gamehost

Minecraft admin commands

The commands you actually use to run a Minecraft server: players, permissions, game mode, time and world rules.

Gamehost team·2 min read·Updated:
Minecraft serverPlans from 2 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

These are the commands server owners use every day. Most of them need operator permissions in game, and all of them work in the panel console.

Where to type commands

  • In game: open chat with T, or press / straight away. You need operator permissions.
  • In the panel console: on the Dashboard, without the leading slash. The console has full permissions, so this is where you give yourself OP.

The Tab key in chat completes commands and player names, which saves you from typos in game rules and item names.

Players and permissions

CommandWhat it does
/op Nickgives operator permissions
/deop Nickremoves operator permissions
/kick Nick reasonkicks a player from the server
/ban Nick reasonbans a player permanently
/pardon Nicklifts a ban
/whitelist add Nickadds a player to the whitelist
/listshows who is online

You can also manage the whitelist, operators and bans without commands in the Player list tab, even while the server is off.

Game mode, teleport, time and world

CommandWhat it does
/gamemode creative Nickgame mode: survival, creative, adventure, spectator
/tp Nick1 Nick2teleports one player to another
/tp Nick 100 64 -200teleports to coordinates
/give Nick minecraft:diamond 64gives an item
/time set daysets the time to day (also night, noon)
/weather clearclear sky (also rain, thunder)
/difficulty harddifficulty level
/gamerule keepInventory trueplayers keep their items after death

Instead of a name you can use a selector: @a is all players, @p the nearest one, @s yourself.

Your own Minecraft server

Plans from 3.79 € a month, set up in a few minutes and managed from one panel.

See plans