Minecraft Updated April 26, 2026

Essential Minecraft Server Admin Commands

A practical command reference for Minecraft server admins — moderation, world control, gamerules, and more, all in one place.

Minecraftcommandsadminconsolemoderationgamerulebankick

Using Commands

Commands can be run from two places:

  • In-game — Type in chat with a / prefix (requires OP)
  • WISP console — Type without the / prefix

All commands below are shown with the / prefix (in-game format). Drop the / when typing in the WISP console.

Player Management

Command Syntax What It Does
/op /op <player> Grants operator (admin) status
/deop /deop <player> Removes operator status
/kick /kick <player> [reason] Kicks a player from the server
/ban /ban <player> [reason] Permanently bans a player by username
/ban-ip /ban-ip <address> Bans a player by IP address
/pardon /pardon <player> Lifts a username ban
/pardon-ip /pardon-ip <address> Lifts an IP ban
/banlist /banlist [players\|ips] Lists banned players or IPs

Whitelist

Command Syntax What It Does
/whitelist add /whitelist add <player> Adds a player to the whitelist
/whitelist remove /whitelist remove <player> Removes a player from the whitelist
/whitelist on /whitelist on Enables whitelist enforcement
/whitelist off /whitelist off Disables whitelist enforcement
/whitelist list /whitelist list Lists all whitelisted players
/whitelist reload /whitelist reload Reloads whitelist.json from disk

World and Environment

Command Syntax What It Does
/gamemode /gamemode <mode> [player] Sets gamemode. Modes: survival, creative, adventure, spectator
/time set /time set <value> Sets the world time. Values: day (1000), noon (6000), night (13000), midnight (18000), or a tick number
/time add /time add <amount> Advances the time by a number of ticks
/weather /weather <type> [duration] Sets weather. Types: clear, rain, thunder
/tp /tp <player> <target> or /tp <x> <y> <z> Teleports a player
/give /give <player> <item> [amount] Gives an item to a player
/fill /fill <x1> <y1> <z1> <x2> <y2> <z2> <block> Fills a region with a block

Gamerules

Run /gamerule with no arguments to list all gamerules. Here are the most commonly changed ones:

Gamerule Default What It Does
keepInventory false If true, players keep their inventory on death
doDaylightCycle true If false, the sun/moon stop moving
doWeatherCycle true If false, weather is locked to whatever you set with /weather
mobGriefing true If false, mobs can't break blocks or steal items (creepers still explode but don't destroy terrain)
naturalRegeneration true If false, players don't regenerate health from hunger
doFireTick true If false, fire doesn't spread
doMobSpawning true If false, mobs don't spawn naturally
pvp (set in server.properties) In newer versions, can be toggled per-player with /gamerule pvp
announceAdvancements true If false, advancement notifications are hidden from chat

Setting a gamerule:

/gamerule keepInventory true
/gamerule doDaylightCycle false

Utility Commands

Command Syntax What It Does
/list /list Lists online players
/seed /seed Shows the world seed
/save-all /save-all Forces a world save immediately
/save-off /save-off Disables auto-saving (use before manual backups)
/save-on /save-on Re-enables auto-saving
/stop /stop Gracefully shuts down the server (saves world first)
/reload /reload Reloads plugins and some config files (Paper/Spigot only)