> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Minecraft Server Commands: The Admin Commands List

> Minecraft server commands list for admins: op, whitelist, ban, kick, gamemode, tp, give, time, weather, gamerule, save-all, stop, say and tellraw.

The Minecraft server commands admins use most are `op`, `whitelist`, `ban`, `pardon`, `kick`, `gamemode`, `tp`, `give`, `time`, `weather`, `difficulty`, `gamerule`, `list`, `say`, `save-all` and `stop`. On a FREAKHOSTING server you type them in the **Console** without a `/`. In game, put `/` in front, and you need the right operator level.

| Works on | Where to type | Who can use them |
| - | - | - |
| Every Minecraft Java server type | **Console** (no `/`) or in game (with `/`) | The console, and operators with the right level |

***

## How to run a command on your server

**1. Open the console**

Open your server in the [Game Panel](https://games.freakhosting.com). The **Console** page opens first. See [use the server console](https://help.freakhosting.com/portals/game-panel/how-to-use-the-server-console.md).

**2. Type the command**

Type in **Type a command...** without `/`, for example `list`, and press **Enter**.

**3. Read the reply**

The reply shows in the console. Use the history icon to reuse a recent command.

***

## Player management commands

| Command | What it does | Example |
| - | - | - |
| `op <player>` | Makes a player an operator (admin). | `op Steve` |
| `deop <player>` | Removes operator. | `deop Steve` |
| `whitelist add <player>` | Adds a player to the whitelist. | `whitelist add Steve` |
| `whitelist remove <player>` | Removes a player from the whitelist. | `whitelist remove Steve` |
| `whitelist on` / `whitelist off` | Turns the whitelist on or off. | `whitelist on` |
| `whitelist list` | Lists whitelisted players. | `whitelist list` |
| `kick <player> [reason]` | Disconnects a player. | `kick Steve Please read the rules` |
| `ban <player> [reason]` | Bans a player. | `ban Steve Griefing` |
| `ban-ip <player or IP>` | Bans an IP address. | `ban-ip 203.0.113.50` |
| `pardon <player>` | Unbans a player. | `pardon Steve` |
| `pardon-ip <IP>` | Unbans an IP address. | `pardon-ip 203.0.113.50` |
| `banlist` | Lists bans. | `banlist players` |
| `list` | Shows who is online. | `list` |

You can also do most of this on the **Players** page, with op levels and timed bans. See [give and remove op](https://help.freakhosting.com/games/minecraft/how-to-give-and-remove-op-on-your-minecraft-server.md) and [ban players](https://help.freakhosting.com/games/minecraft/how-to-ban-players-on-your-minecraft-server.md).

***

## Gameplay commands

| Command | What it does | Example |
| - | - | - |
| `gamemode <mode> [player]` | Sets `survival`, `creative`, `adventure` or `spectator`. | `gamemode creative Steve` |
| `difficulty <level>` | Sets `peaceful`, `easy`, `normal` or `hard`. | `difficulty hard` |
| `tp <player> <x> <y> <z>` | Teleports a player to coordinates. | `tp Steve 0 100 0` |
| `tp <player> <target>` | Teleports a player to another player. | `tp Steve Alex` |
| `give <player> <item> [amount]` | Gives items. | `give Steve minecraft:diamond 5` |
| `time set <value>` | Sets the time. `day`, `noon`, `night` and `midnight` work. | `time set day` |
| `weather <type> [duration]` | Sets `clear`, `rain` or `thunder`. | `weather clear` |
| `gamerule <rule> [value]` | Shows or changes a game rule. | `gamerule keep_inventory true` |
| `setworldspawn [x y z]` | Sets the world spawn point. | `setworldspawn 0 64 0` |
| `worldborder set <size>` | Sets the world border diameter in blocks. | `worldborder set 10000` |
| `kill <target>` | Removes entities. | `kill @e[type=item]` |
| `seed` | Shows the world seed. | `seed` |

> [!NOTE]
>
> Minecraft 26.1 changed `/time` to work with world clocks. `time set day` and `time set night` still work, and new options `time pause`, `time resume` and `time rate <rate>` control the clock. Game rule names changed in 1.21.11: see the [gamerules list](https://help.freakhosting.com/games/minecraft/minecraft-gamerules-list.md).

***

## Chat commands

| Command | What it does | Example |
| - | - | - |
| `say <message>` | Sends a message to everyone, marked `[Server]` from the console. | `say Restarting in 5 minutes` |
| `tellraw <target> <json>` | Sends formatted text. | `tellraw @a {"text":"Welcome!","color":"gold"}` |
| `msg <player> <message>` | Sends a private message. | `msg Steve Hi` |

***

## Server commands

| Command | What it does | Example |
| - | - | - |
| `save-all` | Saves the world to disk now. | `save-all` |
| `save-off` / `save-on` | Turns automatic saving off or on. | `save-on` |
| `stop` | Saves and stops the server. | `stop` |
| `help` | Lists commands. | `help` |

> [!TIP]
>
> To stop or restart, use the **Stop** and **Restart** buttons in the panel. They save the world safely. **Kill** stops the server at once without saving.

***

## Which operator level does each command need?

| Level | Commands |
| - | - |
| 1 | Build inside spawn protection |
| 2 | `gamemode`, `tp`, `give`, `time`, `weather`, `difficulty`, `gamerule`, command blocks |
| 3 | `kick`, `ban`, `pardon`, `op`, `deop`, `whitelist` |
| 4 | Everything, including `stop` and `save-all` |

The console always has full access. Set levels on **Players** > **Opped**.

***

## Frequently asked questions

### Why does my command say "Unknown command"?

In the console, don't type `/`. Also check the spelling, and that the command exists in your Minecraft version. Plugin commands only work when the plugin is loaded.

### Does /list show operators?

No. `list` shows who is online, not who is an operator. See your operators on **Players** > **Opped**.

### How do I give myself op from the console?

Type `op <your-name>`, or add yourself on **Players** > **Opped** with level 4.

### Do Paper and plugins add more commands?

Yes. Plugins add their own commands, such as `/home` from EssentialsX or `lp` from LuckPerms. Check each plugin's page for its commands.

### How do I clear lag-causing items?

Run `kill @e[type=item]` to remove dropped items. See the [lag checklist](https://help.freakhosting.com/games/minecraft/optimizing-minecraft-server-performance-lag-fixes.md) for more.

***

## Related guides

> **[Minecraft server guide](https://help.freakhosting.com/games/minecraft/minecraft-server-hosting-guide.md)**
>
> Every Minecraft guide in one place.

> **[Gamerules list](https://help.freakhosting.com/games/minecraft/minecraft-gamerules-list.md)**
>
> Every common game rule and its default.

> **[Give and remove op](https://help.freakhosting.com/games/minecraft/how-to-give-and-remove-op-on-your-minecraft-server.md)**
>
> Op levels on the Players page.

> **[Set up a whitelist](https://help.freakhosting.com/games/minecraft/how-to-set-up-a-minecraft-whitelist.md)**
>
> Control who can join.

> **[Server console](https://help.freakhosting.com/portals/game-panel/how-to-use-the-server-console.md)**
>
> Send commands from the panel.

> [!NOTE]
>
> **Checked against the official [Minecraft Java Edition 26.1 release notes](https://www.minecraft.net/en-us/article/minecraft-java-edition-26-1)** on 29 October 2026, and the console steps tested on our Game Panel (Minecraft 26.1, Paper and Fabric). Commands may change in future Minecraft versions.

***

> [!NOTE]
>
> ### Need Extra Help?
>
> If you encounter any issues, our support team is ready to assist:
>
> * **Live Chat:** Quick assistance via our website.
> * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
> * **Discord:** [Join our Community](https://discord.gg/freakhosting)
> * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)

> [!TIP]
>
> ### Save on Your Hosting
>
> Ready to upgrade your hosting? Use code **KB20** at checkout for **20% off** your first order!

***

**Last Updated:** October 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.