Become admin/operator in Minecraft

In the game you need to be able to manage your server. For this you can assign operator rights with different levels.

Written on Aug 29, 2021

Become an operator on your server

To become an operator on your server, you must have access to the console. If your server is rented, your hoster must offer this console. If you installed the server yourself, you already have the console at hand.

If you have access to the console, you can assign operator rights to a specific player with /op <player name>. If you mistyped a player name or want to remove operator rights from a player, you can use /deop <player name> to remove operator rights from the player.

Operator Level

Since version 1.7.9 it is possible to assign different operator levels. These are divided into 4 levels in total:

LevelRights
Level 1Ignore spawn-protection
Level 2Rights to /clear, /difficulty, /effect, /gamemode, /gamerule, /give, /tp and use of command blocks
level 3rights to /ban, /deop, /kick and /op
Level 4Rights to all commands incl. /stop

The operator levels cannot be set with the /op command, it have to be configured manually in the ops.json file.

You can find this file in the root directory of your Minecraft server. If you have a rented Minecraft server, you can connect to it via FTP to it.

Three pieces of information are needed in the file: The UUID, the username and the level you want.

Level example

[
  {
    "uuid": "17965c49-b8ad-479f-8d2d-591afc6c62e0",
    }, "name": "Notch",
    ``"level": 4
  },
  {
    "uuid": "68465432-f8a9-4f1e-b58a-8dbe9e5281c4",
    }, { "name": "Jeb",
    }, "level": 1
  }
]

FileZilla ops.json

In this example the player Notch gets full rights and can use all commands. The player Jeb on the other hand has no access to admin command, but is allowed to build in the protected area of the spawn area.

Minecraft UUID

The UUID is automatically created by Mojang with each purchase of Minecraft to give each user a unique identifier in addition to the username/nickname.

This ID can be found out via UUID finders. Based on the player name, the tool determines the corresponding UUID. One possible tool is mcuuid.net.

Minecraft Logo

Overview

Developer

Mojang

Studio

Mojang

Release

May 17, 2009

Genres

Adventure, Open-World, Survival, Sandbox

Platforms

Linux, Windows, Mac OS X

More topics about Minecraft