Admin commands Minecraft servers

Minecraft 26.3

Shut it down, kick it, put it on the white list, give it out, clean up the world and turn off the server, which is the owner's command and the moderator's command with the operator's level.

  • 26 commands
  • checked in 26.3
My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

On page 11 sections

Briefly

Ban, kick, whitelist and opka - level 3; shutdown server - level 4

  • Ban with reason
    /ban Steve Читы
  • Kick
    /kick Steve Перезайди
  • Issue operator
    /op Steve
  • Save and wait for recording
    /save-all flush

Commands are written to chat with a slash or to the server console without it. Operator level required: 0 - any player (2), 2 - Playmaster (10) 3 — Administrator (10) 4 - Owner (4). What Each Level Opens — On a Page "Operator levels".

Rights

How to Surrender an Operator

Makes the player a server operator - he gets access to commands. The permission level is set in server.properties.

/op Steve

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /op

How to Remove Operator

Takes away operator rights from the player.

/deop Steve

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /deop

Punish the player

How to Kick a Player

Disconnects a player from the server with a reason. He can go back right away.

/kick Steve Перезайди

Level 3 is the administrator. Syntax: /kick

How to Bangle a Player

Bans a player by nickname forever; The player himself will see the reason. There are no temporary bans in vanilla - they are provided by plugins.

/ban Steve Читы
/ban Steve

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /ban

How to Shut Up On IP

Bans an address: no account will be able to log in from it. You can specify a nickname - his current address will be banned.

/ban-ip 203.0.113.5 Обход бана

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /ban-ip

List of baths

Shows who is banned: players or addresses.

/banlist
/banlist ips

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /banlist

How to Smash a Player

Removes a ban from a player based on their nickname.

/pardon Steve

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /pardon

How to Break IP

Removes the ban from the address.

/pardon-ip 203.0.113.5

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /pardon-ip

Whitelist

How to Use the White List

Allows only those on the white list to access the server. The list is stored in whitelist.json.

/whitelist on
/whitelist add Steve
/whitelist remove Steve
/whitelist list

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /whitelist

Why is the white list already enabled on the new server and what does a player not from the list see - on the page "Operator levels". Ready-made whitelist.json is collected by nicknames generator.

Order in the world

How to Change Game Mode

Changes the game mode: Survival, Creative, Adventure or Spectator. Without a nickname he changes his own, with a nickname or selector - someone else's.

/gamemode creative
/gamemode survival Steve
/gamemode spectator @a

Level 2 is a game master. Syntax: /gamemode

How to Transport

Teleports to coordinates or to another entity. The short name is /tp. The "~" sign is from the current position.

/tp @s 0 100 0
/tp Steve Alex
/tp @a @s
/tp @s ~ ~10 ~

Level 2 is a game master. Syntax: /teleport

How to Issue an Subject

Puts an item in the player's inventory. Quantity is not necessary, and in square brackets after the object, its components are asked: enchantments, name, strength.

/give @s minecraft:diamond 64
/give @a minecraft:golden_apple 5
/give @s minecraft:diamond_sword[minecraft:enchantments={sharpness:5}]

Level 2 is a game master. Syntax: /give

How to Purify Equipment

Removes items from inventory. Without arguments - your entire inventory, with an item - only that, and with a number - so many pieces.

/clear
/clear @s minecraft:dirt
/clear Steve minecraft:diamond 10

Level 2 is a game master. Syntax: /clear

How to Kill Mobs or Self

Kills entities. Without arguments - yourself; with a selector - anyone, including discarded items.

/kill
/kill @e[type=minecraft:item]
/kill @e[type=!minecraft:player]

Level 2 is a game master. Syntax: /kill

How to Make a Day or Night

Sets and changes the time of the world. It can not only be installed, but also stopped, started again or accelerated.

/time set day
/time set midnight
/time add 1000
/time pause
/time rate 2

Level 2 is a game master. Syntax: /time

How to Remove Rain

Changes the weather: clear, rain or thunderstorm. Without duration, the weather lasts for a random amount of time.

/weather clear
/weather rain 600s
/weather thunder

Level 2 is a game master. Syntax: /weather

How to Change Complexity

Changes the difficulty of the world: peaceful, easy, normal, difficult. Without an argument - shows the current one.

/difficulty hard
/difficulty peaceful
/difficulty

Level 2 is a game master. Syntax: /difficulty

How to Change Game Rule

It changes the game rules of the world: keeping things after death, changing the day and night, fire, spavne mobs. From 1.21.11, the rules are re-emphasized.

/gamerule keep_inventory true
/gamerule advance_time false
/gamerule keep_inventory

Level 2 is a game master. Syntax: /gamerule

Players and chat

How to Find Who's Online

Shows how many players are on the server and who exactly. Available to everyone.

/list
/list uuids

Level 0 is any player. Syntax: /list

How to Write on behalf of the server

Writes a message to all players in the chat with the signature of the person who executed the command: nickname, “Server” or command block name.

/say Рестарт через 5 минут

Level 2 is a game master. Syntax: /say

How to Write in Name

Sends a private message to the player - only two people can see it. The short names are /tell and /w.

/msg Steve Привет!
/w Steve Встречаемся на спавне

Level 0 is any player. Syntax: /msg

How to Scream AFK players

Kicks players who are inactive for longer than a specified number of minutes. Zero - turn off.

/setidletimeout 15

Level 3 is an administrator, only on the server, but it's not in a single game. Syntax: /setidletimeout

Save and shutdown

How to Save Peace

Saves the world to disk right now. “flush” waits until the entire recording is finished - this is what they do before a backup.

/save-all
/save-all flush

Level 4 is the owner, only on the server, but it's not in a single game. Syntax: /save-all

How to turn off autosave

Turns off auto-saving of the world - for the duration of the backup, so that the files do not change during copying.

/save-off

Level 4 is the owner, only on the server, but it's not in a single game. Syntax: /save-off

How to include auto-save

Enables auto-saving the world back after /save-off.

/save-on

Level 4 is the owner, only on the server, but it's not in a single game. Syntax: /save-on

How to turn off the server

Saves the world and shuts down the server.

/stop

Level 4 is the owner, only on the server, but it's not in a single game. Syntax: /stop

Console and chat

In the server console - the window where it is running, or the console in the hosting panel - the commands are written without a slash: op Steve, stop. The console is level 4, everything is available to it. The first option is given from there: in the chat /op can only be performed by a level 3 or higher operator.

The level that a new operator receives specifies op-permission-level in server.properties - default 4. The rest of the server settings are in section «server.properties», and how to raise a server from scratch - in the guide “How to create a server”.

Commands for yourself in a single player game - in Useful commands, how to open them in your world - in "How to include chats", all game commands with syntax are in the section "Comandes".

Plugins

The temporary ban, mutts, carnivores, right groups, and reset of the Grifry are not game commands, but plagins for Paper and Spigot. Their commands are Russian, with rights and syntax:

Files and settings that cannot be made with a command are collected by generators in the “Custom Server” section:

Frequently asked questions

What commands does a Minecraft server admin have?

Ban and Kik (/ban, /ban-ip, /kick, /pardon), White List (/withlist), Op (/op, /deop), Order in the World (/gamemode, /tp, /give, /time, /weather, /gamerule) and the server (/save-all, /stop). What level of operator everyone needs is written on her card.

How to ban a player on a Minecraft server?

There's no reason for this command, e.g. /ban Steve Chita, you need a level of operator 3. Take off the ban - /pardon Steve. There is no time bath in the regular game, it's given by plagins like EscentialsX.

How to give an admin account on a Minecraft server?

In the server's console, write an op and a nick with no oblique features, or /op nick in a chat room at level 3 and above. The level is taken from the op-permission-level to service.projects, default 4 is all commands.

More on the wiki

According to Minecraft 26.3, the rules are from the client's code and file, each command is checked by game.