20 Best Minecraft Commands for Your Server

If you run a Minecraft server, you need the right commands to manage it easily. We’ve put together a list of the best 20 Minecraft server commands to help you control players, manage worlds, and customize gameplay.

Arnau FalconArnau Falcon
Feb 21, 20251 min read
Hero image for 20 Best Minecraft Commands for Your Server

To enable cheats and use commands on your Minecraft server, you'll need to make yourself an (admin) first. Here's how:

  • Navigate to your server Console.
  • Type the command: op yourMinecraftUsername (replace with your actual Minecraft username).


minecraft sunset environment


Basic Server Commands

  • /help – Shows a list of commands.
  • /list – Displays all online players.
  • /msg <player> <message> – Sends a private message to a player.
  • /tp <player1> <player2> – Teleports one player to another.

Admin & Moderation Commands

  • /op <player> – Gives a player operator (admin) rights.
  • /deop <player> – Removes operator rights from a player.
  • /kick <player> – Kicks a player from the server.
  • /ban <player> – Bans a player permanently.
  • /pardon <player> – Unbans a player.
  • /gamemode <mode> <player> – Changes a player's game mode.

World & Gameplay Commands

  • /time set <day/night/noon/midnight> – Changes the time of day.
  • /weather <clear/rain/thunder> – Changes the weather.
  • /difficulty <peaceful/easy/normal/hard> – Changes the game difficulty.
  • /gamerule <rule> <true/false> – Toggles specific game rules.

Server Management Commands

  • /save-all – Saves the world data.
  • /stop – Shuts down the server safely.
  • /reload – Reloads the server settings.
  • /whitelist add <player> – Adds a player to the whitelist.
  • /whitelist remove <player> – Removes a player from the whitelist.
  • /tpall – Teleports all players to your location.

Frequently Asked Questions

Yes, most Minecraft hosting services support server commands. However, for the best experience, it's recommended to choose a reliable hosting provider.

Minecraft server commands are special instructions you type in to control your server. They let you manage players, change the game’s settings, and fix things easily.

To start using server commands, you first need to make yourself an admin by typing /op <your username> in your server console. Once you have admin rights, you can begin using commands to manage players, customize the world, and control gameplay.

You can use the /tp command to teleport players wherever you want. To teleport one player to another’s location, type: /tp player1 player2.