Minecraft Server Commands
đź”§ Basic Player Management
-
/gamemode [mode] [player]
Change a player’s gamemode. Modes:survival
,creative
,adventure
,spectator
Example:/gamemode creative Steve
-
/tp [target] [destination]
Teleport a player to another player or location.
Example:/tp Steve Alex
or/tp Steve 100 64 -100
-
/give [player] [item] [amount]
Give a player an item.
Example:/give Steve minecraft:diamond 10
-
/kill [target]
Kill a player, entity, or yourself.
Example:/kill @e[type=creeper]
🛡️ Server & Access Control
-
/op [player]
Give operator (admin) privileges. -
/deop [player]
Remove operator status. -
/whitelist on
Enable whitelist. -
/whitelist add [player]
Add player to whitelist. -
/whitelist remove [player]
Remove player from whitelist. -
/ban [player]
Ban a player from the server. -
/pardon [player]
Unban a player. -
/kick [player] [reason]
Kick a player with an optional reason.
đź’ľ World & Performance
-
/save-all
Manually save the world. -
/save-on
Enable automatic world saving. -
/save-off
Disable automatic saving (use with caution). -
/difficulty [peaceful|easy|normal|hard]
Change the server’s difficulty. -
/time set [value]
Set time to day, night, etc.
Example:/time set day
,/time set 18000
-
/weather [clear|rain|thunder]
Set the weather.
đź“‹ Info & Debug
-
/list
Shows online players. -
/seed
Displays the world seed (OP only). -
/locate [structure]
Find the nearest structure (e.g.,/locate village
). -
/scoreboard
Manage objectives, players, and teams (for advanced users).