Top Minecraft Servers

Minecraft Server Commands Every Player (and Owner) Should Know

How toReference

Every Minecraft server runs on commands, and the difference between a smooth session and a support ticket is usually knowing about six of them. This is the working list: what players can use day to day, and what operators need to run a server without googling mid-crisis.

Commands marked "op" require operator permission. On public servers, many are replaced or extended by plugins (Essentials-style /spawn, /home, /tpa), so /help in-game is always worth a look.

Player commands you will actually use

  • /rules: most public servers bind this to their rulebook. Read it before the moderators quote it at you.
  • /spawn: return to the server spawn (plugin-provided, near-universal).
  • /home and /sethome: personal teleport points on most survival servers.
  • /tpa <player>: request a teleport to a friend, politely, instead of walking 4,000 blocks.
  • /msg <player> <text> and /r <text>: private messages, and quick reply.
  • /list: who is online.
  • /vote: many servers link their voting rewards here. Voting also lifts the server up our rankings, so everyone wins.

Operator basics: op and whitelist

The commands the server console (or an existing op) uses to manage people:

  • /op <player>: grant operator status. /deop <player> removes it. Give op sparingly; it is the keys to everything.
  • /whitelist on: only listed players can join. /whitelist add <player> and /whitelist remove <player> manage the list, /whitelist list shows it.
  • /kick <player> [reason]: remove them for now. /ban <player> [reason] removes them until /pardon <player>.
  • /ban-ip <address> and /pardon-ip: the heavier hammer for repeat visitors with fresh accounts.

Whitelisting is how small SMPs stay pleasant; the trade-offs are covered in our SMP guide.

World and gameplay control (op)

  • /gamemode survival|creative|adventure|spectator <player>: switch modes.
  • /difficulty peaceful|easy|normal|hard: server-wide difficulty.
  • /gamerule keepInventory true: the most-requested rule on casual servers; no more death-pit item scrambles.
  • /gamerule mobGriefing false: creepers stop editing your builds.
  • /time set day and /weather clear: the two commands responsible for most "thank you" messages in chat.
  • /tp <player> <target|x y z>: teleport anyone anywhere.
  • /locate structure <name> and /seed: find structures, and reveal the world seed (ops only, since seed knowledge enables serious cheating).
  • /setworldspawn: move where new players arrive.

The save-your-bacon set (op)

  • /save-all: force a world save. Run it before anything risky.
  • /stop: shut the server down cleanly, saving everything. Killing the process instead is how worlds corrupt.
  • /say <text> or /broadcast (plugin): warn everyone before restarts.

Target selectors, briefly

Vanilla commands accept selectors instead of names: @a (all players), @p (nearest), @r (random), @e (all entities), @s (yourself). So /tp @a ~ 200 ~ teleports everyone 200 blocks up, which is also a lesson in why op access should be rare.

Frequently asked questions

How do I op myself on my own server?

You cannot op from in-game without already being op. Type op YourUsername (no slash) in the server console or your host's web console; that is the bootstrap.

How do I whitelist my Minecraft server?

From console or as an op: /whitelist add <player> for each player, then /whitelist on. Only added players can join from then on.

What is the command to find your seed?

/seed, as an operator. On single player it always works; public servers usually keep it locked down.

Why do commands say "Unknown command" or "You do not have permission"?

Either the command is plugin-provided and that plugin is not installed, or it needs a permission level you do not have. On servers with permission plugins, ranks decide exactly which commands each player gets.

Commands make more sense with a server to practice on. Pick a survival server to play on, or if you are running your own and drowning in setup questions, the busiest servers on our list are living proof the learning curve flattens out.