Minecraft Server Commands for Owners and Moderators

A command is an immediate administrative change. Use explicit targets, least privilege, backups, and edition-specific references.

Published by PortalMine Operations & DocumentationReviewed 2026-07-1316 min read
Minecraft Server Commands for Owners and Moderators workflow diagram

PortalMine workflow diagram. Verify software-specific values against the current official documentation before changing a production server.

Use the console deliberately

Commands can change permissions, player data, world rules, inventories, and server state immediately. Copy the command from a trusted reference, understand the target selector, and test destructive operations on a backup. Console commands normally omit the leading slash; in-game chat commands use it.

Access and operator commands

PurposeJava-style exampleOwner note
List playerslistConfirm who is online before maintenance
Add to whitelistwhitelist add PlayerNameUse the exact account name and keep whitelist enabled
Remove from whitelistwhitelist remove PlayerNameDoes not necessarily ban the account
Grant operatorop PlayerNameGive only to trusted administrators
Remove operatordeop PlayerNameReview other permission plugins too
Kick playerkick PlayerName reasonUse a clear reason and document moderation actions

Moderation commands

Ban, pardon, whitelist, kick, and operator commands are only part of a moderation system. Keep a written rule, evidence, staff notes, and appeal process. Permission plugins can provide narrower roles than full operator access.

World and gameplay commands

TaskExampleCaution
Set difficultydifficulty hardHardcore and plugin behavior may impose additional rules
Set default game modedefaultgamemode survivalExisting players can retain individual modes
Set a player modegamemode creative PlayerNameUse explicit player targets
Set world spawnsetworldspawnTest safe arrival and protection
Change timetime set dayCan affect farms and gameplay
Change weatherweather clearPlugins may override it
Teleporttp PlayerName x y zCheck destination safety and dimension syntax

Saving and shutdown

Use a controlled shutdown rather than killing the process. A save command can request world data to be written, but it is not a substitute for a separate backup. Before maintenance, announce the stop, confirm players have disconnected, save, and use the supported stop control.

Java and Bedrock syntax can differ

Do not assume every Java command, selector, permission level, or argument works on Bedrock/Nukkit. Use the command help available in the server and the official Bedrock command reference for the active version.

Command-change checklist

  1. Confirm which edition and server software you are running.
  2. Check whether the command runs from console or requires an in-game player.
  3. Use an explicit player name when a broad selector is unnecessary.
  4. Back up before commands that modify large areas or persistent data.
  5. Record staff and moderation commands.
  6. Verify the result with a non-operator player.

Frequently asked questions

Do console commands need a slash?

Many server consoles accept commands without the leading slash, while in-game chat uses a slash. Follow the panel’s console behavior.

Why does a command work in Java but not Bedrock?

The editions have different command implementations, syntax, and permission models.

Is OP the same as a permission plugin role?

No. OP grants broad built-in power. A permission plugin can create narrower roles on compatible software.

Does save-all create a backup?

No. It writes world state but does not create an independent restore copy.

Can I undo a command?

Many commands have no automatic undo. Use backups and explicit targets before destructive operations.

Why does the console say unknown command?

Check software, edition, spelling, plugin availability, permission, and version-specific syntax.

Should staff share one operator account?

No. Use individual accounts so actions can be traced and access can be removed separately.

Where can I verify Bedrock syntax?

Use Microsoft’s current Minecraft Creator command reference and the server’s built-in help.

Official references and further reading

Related guides