EN
Add server

Minecraft Commands for Players and Server Owners

Nov 13, 2026

Minecraft commands are typed into the chat and start with a slash, for example /tp or /gamemode creative. In singleplayer you need cheats turned on, and on a server you need operator rights for most of them. Below are the commands people use most, grouped by who needs them, with examples you can copy.

How to type a command

Commands every player can use

These work on most servers without any special rights:

Most public servers add their own commands through plugins, often EssentialsX. Typical ones are /spawn, /sethome and /home, /tpa Steve to ask a player for a teleport, /warp, /balance and /pay. They differ from server to server, so type /help or read the rules at spawn.

Teleport commands

The teleport command needs operator rights on Java and Bedrock.

On servers with plugins, regular players usually use /tpa instead, which asks the other player to accept.

Game mode, time and weather

Game rules worth knowing

Game rules change how the world behaves. The most popular ones are:

Type /gamerule and press Tab to see the exact names in your version. They can be written differently in the newest releases, and Tab always shows the correct form.

Commands for server owners

These are the commands you use to run a server. They need operator rights or the console.

Bedrock Dedicated Server uses allowlist instead of whitelist, for example allowlist add Steve, and is managed mostly from its console.

Permission levels and moderators

Operators on Java have a level from 1 to 4, set by op-permission-level in server.properties. Level 4, the default, allows everything including /stop. Level 2 allows cheats such as /gamemode and /tp, and level 3 adds /kick, /ban and /op.

Do not make every moderator an operator. A permissions plugin such as LuckPerms lets you give each rank exactly the commands it needs. Our guide how to start your own Minecraft server lists the plugins a public server should have.

Items and building

Target selectors

Instead of a player name you can use a selector:

For example, /give @a minecraft:bread 5 gives everyone five pieces of bread. Be careful with @e in commands like /kill, because it also removes items and pets.

Frequently asked questions

Why does the game say I do not have permission?

You are not an operator on that server, or the server's permissions plugin does not allow the command for your rank. On public servers only staff can use commands like /tp or /gamemode.

What is the teleport command in Minecraft?

/tp followed by a player name or coordinates, for example /tp @s 100 70 -250. It needs operator rights. On many servers players use /tpa instead.

Do commands work the same on Bedrock?

Most of them do, including /tp, /give, /gamemode and /gamerule. The differences are in a few names, such as allowlist on Bedrock Dedicated Server, and in some options. Tab completion shows what your edition accepts.

Find a server to try them on

You will not be able to use operator commands on public servers, but you can on your own. When you are looking for a place to play, browse the survival or SMP categories, and support your favourite server with a vote. See how to vote for details.