For Creators & Hosts

Minecraft Server Commands: The Admin Commands Every Server Owner Uses (Java and Bedrock)

The few dozen commands you'll actually type, grouped by job, with the permission levels and gamerule names that trip people up.

Most lists of Minecraft server commands dump 100-plus entries in alphabetical order and leave you to guess which ones matter. This one is sorted by what you're trying to do: manage players, change the rules, move people around, save and stop the server. Java first, with the Bedrock differences called out. Version context: Java 26.3 and Bedrock Dedicated Server 1.26.63 as of November 2026.

The short version: type commands in the server console without a slash, type them in game chat with one, and know that most of them only work if you're an operator at a high enough permission level. That last part is why "I'm op but /ban does nothing" happens.

Console vs in-game: the slash rule

In the server console, you type whitelist list, not /whitelist list. In game, you open chat (T, Enter, or the / key, which types the slash for you) and use the slash. Commands run from the console run as the server itself, so the console doesn't need to be op'd.

Not sure of a command's syntax? Run this, in the console or in game:

help <command>

Need to reach the console without sitting at the machine? enable-rcon in server.properties is false by default. RCON gives network access to the console, the password has to be set or it won't start, and the connection isn't encrypted, so keep it on localhost where you can. Any server.properties change needs a restart, which is why the server.properties explainer is worth bookmarking next to this page.

Permission levels: why op doesn't always mean everything

Java commands are gated by permission level, 0 to 4, and the levels stack. A level-3 op can do everything level 0 to 2 can. In server.properties, op-permission-level (default 4) sets the level someone gets when you run /op on them. Leave it at 4 and ops can do everything. Drop it to 2 and they can change the weather but can't ban, kick, whitelist or stop the server.

LevelNameCommands you'll recognize (Java)
0Everyonehelp, list, me, msg / tell / w
1ModeratorBypasses spawn protection
2Gamemastergamemode, defaultgamemode, difficulty, gamerule, give, tp, time, weather, say, tellraw, setworldspawn, spawnpoint, kill, effect, summon, reload, locate, worldborder
3Adminop, deop, ban, ban-ip, banlist, pardon, pardon-ip, kick, whitelist, setidletimeout
4Ownerstop, save-all, save-off, save-on, perf

My rule: leave it at 4 for a small private server of people you trust, and drop it to 2 or 3 for a helper you want changing the time of day but not stopping the server. If you only need to know how to hand yourself op in the first place, that's covered in how to op yourself on a Minecraft server.

Managing players: op, kick, ban and whitelist

Apart from list, these are level 3 on Java, and all of them work from the console. The basic forms:

The old /unban and /banip are gone from Java, so use pardon and ban-ip. The full walkthrough is in how to ban someone on a Minecraft server. On Bedrock, op <player> and deop <player> are level 2, and kick <name> [reason] is level 1 and takes one player.

The whitelist, and why your friends can't join

The whitelist commands are the ones I'd memorize:

Heads up: since Java 26.3, the whitelist is on by default (white-list=true). A fresh server turns away anyone who isn't whitelisted or op'd. If your friends see a refusal on a brand-new server, run whitelist add <name> for each of them, or whitelist off if you want it open. Ops can always join a Java server with the whitelist on. More in how to whitelist a Minecraft server.

World and rules: gamemode, difficulty, gamerule, spawn, time and weather

These are level 2 on Java. Basic forms, with examples:

Want players to fly? That's its own fix: how to enable flying on a Minecraft server.

Gamerules: the names changed

The command is gamerule <rule> [<value>]. Run it with just the rule to see the current value. The trap: on Java 1.21.11 the rule names switched to snake_case, so most guides and videos, which use camelCase, give you names that fail on current Java. Here are the ones owners reach for, with their defaults:

What it doesCurrent Java nameDefault
Keep your items when you diekeep_inventoryfalse
Creepers and endermen wreck terrainmob_griefingtrue
Players can hurt each otherpvptrue
Hostile mobs spawnspawn_monsterstrue
Day-night cycle runs (was doDaylightCycle)advance_timetrue
Weather changes on its own (was doWeatherCycle)advance_weathertrue
Share of sleepers needed to skip the nightplayers_sleeping_percentage100
Crop and plant growth speedrandom_tick_speed3
Command blocks runcommand_blocks_worktrue

Also renamed: doMobSpawning is now spawn_mobs, announceAdvancements is now show_advancement_messages, and doFireTick is gone from Java (fire_spread_radius_around_player replaced it).

Some old server.properties keys moved here as well. If a guide tells you to set these in the file, they no longer exist there. In 1.21.9, four keys became gamerules: allow-nether (now allow_entering_nether_using_portals), enable-command-block (now command_blocks_work), pvp and spawn-monsters (now spawn_monsters). Change them with gamerule instead.

Teleport, give and the other player commands

tp (short for teleport) and give are level 2 on Java. The basic forms:

Bedrock uses the same shapes for the basics: tp <victim> <destination> and give <player> <itemName> [amount]. Other level-2 commands in the same family: kill, effect, clear, summon, xp (short for experience) and locate.

For chat, say sends a message to everyone and tellraw sends a formatted JSON message. msg, tell and w are private messages anyone can use.

Save, back up and stop the server

These are level 4 on Java and dedicated-server only:

The sequence I use for a manual backup: save-off, save-all flush, copy the world folder, then save-on. Forget the last step and the server stops saving, so don't. The whole routine, including automating it, is in how to back up a Minecraft server.

Two more worth knowing: perf (level 4) captures performance info for 10 seconds when you're chasing lag, and reload (level 2) reloads loot tables, advancements and functions from disk. For lag hunting, my server lag guide goes further.

Bedrock Dedicated Server differences

Bedrock servers run most of the same gameplay commands, but admin commands work differently:

JobJavaBedrock Dedicated Server
Whitelistwhitelist (on/off/add/remove/list/reload)allowlist (whitelist still works as an alias), level 4, with no on/off subcommand (the switch is allow-list in server.properties)
Backupssave-off / save-all / save-onsave hold, save query, save resume
Stopstop (level 4)stop (level 4)
Kickkick (level 3)kick (level 1)
Default gamemodedefaultgamemodeNot a command. Set gamemode in server.properties
PermissionsLevels 0-4, ops.jsonpermissions.json, default-player-permission-level (visitor, member, operator)

Bedrock backups work like this: save hold pauses writing and queues changes, save query lists every file and the byte count to truncate it to, and save resume turns writing back on. Copy the files, trimmed to those sizes, between the query and the resume.

Whitelisting differs in an important way. On Bedrock, players must be on the allowlist even if they're operators. Java ops get in regardless. The Bedrock command is allowlist add <name>, and names with spaces go in quotes.

Bedrock's permission model is its own thing too. op, deop and reload are level 2. allowlist, save, stop, permission (alias ops) and changesetting are level 4. Most gameplay commands, including gamemode, gamerule, give, tp, time and weather, are level 1. Run permission reload after editing permissions.json to apply it.

Two more gotchas. Bedrock gamerule names are still lowercase run-together words (keepinventory, mobgriefing, dodaylightcycle), not snake_case. And the "cheats only" commands work from the server console no matter what, but for players they need allow-cheats=true in server.properties. Making someone an operator on a Bedrock world turns cheats on and permanently disables achievements for that world, except on Realms.

Setting up a Bedrock server from scratch? Start with how to make a Minecraft Bedrock server.

Plugin commands (EssentialsX) aren't vanilla

If your server runs Paper or Spigot with plugins, some commands you've seen in guides come from a plugin, not Minecraft. Take EssentialsX: as of version 2.22.0 its command list runs to 163 commands, and it adds things vanilla doesn't have:

EssentialsX also has its own versions of /tp, /give, /ban, /kick, /gamemode, /time, /weather and /list, so on a plugin server those names can behave differently than the vanilla ones in this guide. Plugin picks and install steps live in my roundup of the best Minecraft server plugins. Starting from nothing? How to make a Minecraft server walks through setup.