Minecraft · Guide

Minecraft Server Admin Guide: Op, Permissions and Essential Commands

Updated July 27, 2026 5 min read

On this page
  1. Make yourself an operator (op)
  2. The essential admin commands
  3. Whitelisting and op permission levels
  4. Real staff ranks: permissions beyond op
  5. Moderation: kicks, bans and spawn protection
  6. Admin the easy way on hosting
  7. FAQ

Once your server is running, the difference between a smooth community and a chaotic one is knowing the admin tools. This is the practical reference: how to make yourself an operator, the commands you will actually use, how to control who joins, and how to hand out staff powers without giving everyone the keys.

It covers vanilla admin (op and commands, which work on any server) and the step up to real permission ranks on Paper with LuckPerms — plus how a hosting panel turns most of this into a click.

Make yourself an operator (op)

An operator (op) is a full admin — they can run every command. On a fresh server you op yourself first, from the console (which always has admin rights), not from in-game:

  1. Open the server console. Self-hosted, that is the window running the server; on hosting, the web console in your panel.
  2. Op your account. Type op YourUsername. The player is added to ops.json and can now use admin commands in-game.
  3. Remove op when needed. deop YourUsername takes it away again.
Op is all-or-nothing. An operator can do everything, including stop the server and change any player's data. Only op people you fully trust — for graded staff roles, use a permissions plugin (below) instead of handing out op.

The essential admin commands

These are the commands you will reach for constantly. Run them from the console (no slash) or in-game as an op (with the slash):

CommandDoes
/gamemode survival|creative|spectator <player>Change a player's game mode
/tp <player> <target>Teleport a player to another player or coordinates
/give <player> <item> <count>Give items
/time set day|nightSet the time of day
/weather clear|rainChange the weather
/difficulty peaceful|easy|normal|hardSet difficulty
/gamerule <rule> <value>Toggle rules (keepInventory, doDaylightCycle, mobGriefing…)
/whitelist on|add|removeControl who may join (see below)
/save-allForce-save the world (before risky changes)
/stopCleanly shut the server down (console)
keepInventory is the most-requested one: /gamerule keepInventory true stops players dropping their items on death — a popular quality-of-life setting for friendly servers.

Run every command from a live web console — a HytHost Minecraft server makes op, whitelist and backups one click.

See Minecraft plans

Whitelisting and op permission levels

Whitelisting is the single best protection for a private server — only listed players can join:

  1. Turn it on: /whitelist on (or set white-list=true in server.properties).
  2. Add players: /whitelist add TheirUsername; remove with /whitelist remove.
  3. Keep online-mode=true so usernames are verified against real accounts — turning it off lets anyone impersonate your players and admins.

Op itself has four levels, set by op-permission-level in server.properties (default 4):

  • Level 1 — bypass spawn protection.
  • Level 2 — most cheat commands (/gamemode, /give, /tp) and command blocks.
  • Level 3 — player management (/ban, /kick, /op).
  • Level 4 — everything, including /stop.

Real staff ranks: permissions beyond op

For anything public, op is too blunt — you do not want a helper able to /stop the server. The answer is a permissions plugin, which needs a Paper or Spigot server (see best Minecraft server software).

LuckPerms is the standard. It lets you create ranks (Helper, Mod, Admin) and grant each exactly the commands and permissions it should have — nothing more. Install it like any plugin (see installing plugins), then define groups and assign players. Most other plugins hook into it, so a permission you grant in LuckPerms controls protection, chat, homes and the rest from one place.

The rule of thumb: op for yourself, LuckPerms for your staff. That keeps the server safe while still delegating day-to-day moderation.

Moderation: kicks, bans and spawn protection

The tools for keeping order:

  • Kick/kick <player> <reason> removes someone for now; they can rejoin.
  • Ban/ban <player> <reason> blocks the account; /ban-ip blocks the address for ban-evaders. Reverse either with /pardon (and /pardon-ip). Bans live in banned-players.json.
  • Spawn protectionspawn-protection in server.properties sets a radius around spawn that only ops can build in; set it to 0 to disable.
  • Keep an eye on the log. The console and log files record joins, chat and commands — invaluable when working out who did what.

On a public server, pair these with a protection plugin (like a claim or anti-grief plugin) so players can secure their own builds without an admin refereeing every dispute.

Admin the easy way on hosting

A hosting panel turns most of this into point-and-click. On a HytHost Minecraft server you get a live web console to run any command, one-click whitelist and player management, editable server.properties and ops.json, scheduled restarts and one-click backups before you experiment, and sub-user logins so your staff manage the server without your account password. The commands above still work exactly the same — you just have a friendlier way to run them, from anywhere, with the server online at a target of 99.9% uptime.

FAQ

Frequently asked questions

From the server console (self-hosted: the server window; hosted: the panel's web console), type op YourUsername. That adds you to ops.json and gives you full admin commands in-game. Remove op later with deop YourUsername. You op the first admin from the console because the console always has admin rights.

There are four, set by op-permission-level in server.properties (default 4): level 1 bypasses spawn protection; level 2 adds cheat commands and command blocks; level 3 adds player management like /ban and /kick; level 4 grants everything, including /stop.

Op is all-or-nothing — an operator can run every command, including stopping the server. A permissions plugin like LuckPerms (on Paper or Spigot) lets you create ranks and grant each one only the specific commands it needs. Use op for yourself and trusted co-owners; use LuckPerms for staff so a helper cannot do more than moderate.

Turn it on with /whitelist on (or white-list=true in server.properties), then add players with /whitelist add TheirUsername and remove them with /whitelist remove. Keep online-mode=true so usernames are verified — otherwise the whitelist can be bypassed by impersonation.

Kick removes someone temporarily: /kick <player> <reason>. Ban blocks the account: /ban <player> <reason>, or /ban-ip to block the address of a repeat evader. Undo either with /pardon (or /pardon-ip). Bans are stored in banned-players.json.

Run /gamerule keepInventory true. It is the most popular gamerule for friendly servers — players keep their inventory and XP on death. Game rules are toggled the same way for many behaviours (doDaylightCycle, mobGriefing, and more).

Admin your server from one panel

A HytHost Minecraft server gives you a live console, one-click whitelist and backups, editable configs and staff sub-users — every command in this guide, made point-and-click.

Live chat 8 AM – 11 PM (Chișinău time) · tickets answered during business hours