Default Minecraft Server Commands
The built-in Minecraft commands you'll use most on a server, and how to run them from Beacon's Console or in game.
Updated 2 min read
These commands come with Minecraft itself, so they work on Vanilla, Paper, Fabric, Forge and NeoForge. Plugins and mods add more.
Where to run them
- From the panel: open your server, go to Console, type the command in the box at the bottom and press Enter. Leave out the
/. - In game: you need to be an operator. Type
/and the command.
To make yourself an operator, run op YourName in Console.
Players and permissions
| Command | What it does |
|---|---|
op <player> / deop <player> |
Give or take operator rights |
kick <player> [reason] |
Remove a player from the server |
ban <player> [reason] / pardon <player> |
Ban or unban a player |
ban-ip <address> / pardon-ip <address> |
Ban or unban an IP address |
whitelist on / whitelist off |
Only let listed players join |
whitelist add <player> / whitelist remove <player> |
Edit the whitelist |
list |
Show who's online |
Game settings
| Command | What it does |
|---|---|
gamemode <survival|creative|adventure|spectator> [player] |
Change game mode |
difficulty <peaceful|easy|normal|hard> |
Change difficulty |
gamerule <rule> <value> |
Change a game rule, e.g. gamerule keep_inventory true (keepInventory before 1.21.11) |
time set <day|night|noon|midnight> |
Set the time |
weather <clear|rain|thunder> |
Set the weather |
setworldspawn |
Set the world spawn to where you're standing |
Players and items
| Command | What it does |
|---|---|
tp <player> <target> |
Teleport a player to another player or coordinates |
give <player> <item> [count] |
Give an item, e.g. give Steve diamond 64 |
effect give <player> <effect> |
Apply a potion effect |
xp add <player> <amount> levels |
Give experience levels |
Server
| Command | What it does |
|---|---|
save-all |
Save the world now |
say <message> |
Broadcast a message to everyone |
stop |
Save and stop the server |
seed |
Show the world seed |
Tip
Prefer the panel's Start, Restart and Stop buttons over typing stop. They also handle the server coming back up.
For a full list on your version, run help in Console.
More in Minecraft
Still stuck?
Ask the community on Discord, or open a ticket and we'll reply within 4 hours on business days.