Commands
What you can type in the console or in chat, and who is allowed to.
Running commands
- In the console, type the command without a slash:
gamemode creative Steve. - In the game, open chat and start with a slash:
/gamemode creative. The game’s own command suggestions work too.
The same commands work in both places. Anything you type in chat without a slash is an ordinary chat message, shown to everyone. Netherrack logs every command a player runs, such as Steve issued command: /gamemode c.
If you type a command that doesn’t exist, you’re told so; if you lack the permission, you’re told that instead.
Command reference
| Command | Usage | Level | What it does |
|---|---|---|---|
helpalias ? | /help [page]/help <command> | 0 | Lists the commands you can use, a page at a time, or explains one command. |
versionalias ver | /version | 0 | Shows the server software, version and git commit, plugin API version, Java and operating system. |
gamemode | /gamemode <mode> [player] | 2 | Changes a player’s game mode. Without a player it changes your own. |
difficulty | /difficulty [peaceful|easy|normal|hard|0-3] | 2 | Shows or changes the world difficulty. The value is saved in server.properties and level.dat and synced to connected players. |
time | /time <query|set|add> <value> | 2 | Queries or changes the world time. set accepts names like day, night, noon, midnight, sunrise, sunset or a tick value; add adds ticks. |
weather | /weather <clear|rain|thunder> [duration] | 2 | Changes the world weather. The duration is accepted for command compatibility, but Netherrack currently keeps the chosen weather until changed again. |
give | /give <player> <item> [amount] | 2 | Gives a player an item, as vanilla’s command does. The item may be written with or without minecraft:; what doesn’t fit in their inventory is thrown out at their feet. |
clear | /clear [player] | 2 | Empties a player’s inventory, armor, offhand, cursor and open crafting grid. /clear or /clear @s clears your own. |
kill | /kill [player] | 2 | Kills a player, death screen and respawn handshake included, just as a killing blow would. Without a player it kills you; it works on creative players too, as vanilla’s does. |
kick | /kick <player> [reason] | 2 | Disconnects an online player. The optional reason appears on their disconnect screen and in the console logout line; the in-game leave message is unchanged. |
ban | /ban <player> [reason...] | 2 | Adds a lasting ban. Offline names work; banning an online player also saves their XUID and UUID and disconnects them with the same message future logins receive. |
pardonalias unban | /pardon <player>/unban <player> | 2 | Removes a ban by name, XUID or UUID. The player doesn’t need to be online. |
banlist | /banlist [ips|players|reload] | 2 | Lists banned players, re-reads banned-players.json after a hand edit, or explains that IP bans aren’t kept. |
tp | /tp <destination>/tp <victim> <destination>/tp <x> <y> <z>/tp <victim> <x> <y> <z> | 2 | Teleports a player, yourself by default, to another player or to a position. Coordinates are where the player’s feet go, as in vanilla, and may be written relative to where they are, e.g. ~ ~5 ~-2. |
op | /op <player> | 3 | Makes an online player an operator. |
deop | /deop <player> | 3 | Takes away a player’s operator status. |
whitelistalias wl | /whitelist <on|off|list|reload>/whitelist <add|remove> <player> | 3 | Controls who may join while white-list is enabled. Operators can always join. |
reloadalias rl | /reload | 4 | Re-reads netherrack.yml logging settings and hot-reloads plugins from plugins/, without a full server restart. |
pluginsalias pl | /plugins | 0 | Lists installed plugins, for example Plugins (1): HelloPlugin. Names are lime green. |
stop | /stop | 4 | Disconnects everyone, saves the world and stops the server. |
Plugins can declare their own commands in plugin.yml. They use the default command level and may require an API permission node; see plugin commands.
The Level column is the permission level needed — see below. Angle brackets <like this> are required; square brackets [like this] are optional.
/gamemode
The mode can be written in full or short:
| Mode | Accepted as |
|---|---|
| Survival | survival, s, 0 |
| Creative | creative, c, 1 |
| Adventure | adventure, a, 2 |
| Spectator | spectator, 6 |
| Server default | default, d |
default uses the server’s default game mode from server.properties. From the console you must name a player, because the console isn’t one.
/op and /deop
The player must be online. /op saves them to permissions.json by Xbox Live ID, so they stay an operator across restarts and name changes. A player who isn’t signed into Xbox Live has no ID to save, so they can’t be made an operator. /deop removes them again; they go back to the default-player-permission-level.
Being an operator doesn’t unlock everything by itself — it depends on the permission level below.
/whitelist
Controls the allowlist in whitelist.json. /whitelist on and /whitelist off also update white-list in server.properties immediately. /whitelist list shows the saved entries, /whitelist reload re-reads the file after a hand edit, and /whitelist add|remove <player> works for offline names too. Adding an online player also saves their XUID and UUID so the entry survives a gamertag change. Level 3 is required, and operators bypass the whitelist.
/clear
Clears everything a player is carrying, including armor, offhand, the cursor and any open crafting grid. Players can clear themselves with /clear or /clear @s; the console must name a target. Level 2 is required.
/kick
Disconnects an online player. A reason can follow the name and is shown on their disconnect screen and in the console logout line, for example SchleroMC logged out due to: Disconnected. In-game leave messages are unchanged. Level 2 is required.
/ban
Adds a player to banned-players.json. The target may be offline, and everything after the name becomes the stored reason, so /ban Griefer griefing the spawn saves griefing the spawn. If the player is online, Netherrack saves their XUID and UUID too and disconnects them immediately with the same message a banned player sees at login. The message comes from messages.server-ban, with the reason appended. Level 2 is required.
/pardon and /unban
Removes a ban by gamertag, XUID or UUID. The player doesn’t need to be online: /pardon Griefer and /unban Griefer do the same thing. Level 2 is required.
/banlist
Lists the names in banned-players.json. /banlist players is the default; /banlist reload re-reads the file after a hand edit. Nukkit’s /banlist ips is accepted, but Netherrack doesn’t keep IP bans. Level 2 is required.
/plugins
Lists installed plugins alphabetically, e.g. Plugins (1): HelloPlugin. Names are lime green for players and in ANSI lime green on a color-capable console. The list includes disabled plugins, so check the startup log for load errors too. Everyone can use this command; see Plugins.
/reload
Re-reads the logs.debug, logging and labels sections of netherrack.yml, then hot-reloads plugins from plugins/. Loaded plugins are disabled, their listeners/commands/tasks/permissions are cleared, and jars are discovered and loaded again without a full server restart. This is best-effort — a restart is still the safest recovery path for complex plugin state. Level 4 is required.
/version
Include its output when you report a bug — it tells us exactly which build you’re running.
Example output of /versionThis server is running Netherrack
Server version: 0.6.0-beta (git commit: cee2419)
Java version: 21.0.4 (Eclipse Adoptium)
Operating system: Linux 6.1.0 (amd64)
Plugin API version: 0.6.0-SNAPSHOT
Permission levels
Every command needs a permission level. Everyone starts at 0, the console is at 4, and operators get the level in op-permission-level (2 by default).
| Level | Adds these commands |
|---|---|
| 0 | help, version, plugins — every player has this |
| 2 | gamemode, difficulty, time, weather, give, clear, kill, kick, ban, pardon, banlist, tp — what operators get by default |
| 3 | op, deop, whitelist |
| 4 | reload, stop — the console always has this |
With the default op-permission-level=2, operators can use the level-2 commands but not op, deop, whitelist, reload or stop. Raise it to 3 to let them manage operators and the whitelist, or 4 to let them reload logging and stop the server. Only give 4 to people you fully trust.

