How to become OP in Minecraft?

From Nitradopedia EN
Jump to: navigation, search
Minecraft wiki.jpg
Rent your own prepaid Minecraft server on nitrado.net


OP-rights (Operator-rights) are the absolute access to everything on a Minecraft server. With OP-rights you can execute every available command independent of installed permission plugins. OP users can be assigned levels that restrict some of their power. How ou set levels depend on your installed Minecraft version. In version 1.7.8 and lower the level is set in the Server.properties file. All versions above 1.7.8 use the ops.json to handle the levels.

The ops.json/server.properties is located in the games main directory of your "File Browser".


OP-Level

The levels of all operators are assigned here, ascending from 1 to 4.

1 = Ignore spawn-protection
2 = Rights for /clear, /difficulty, /effect, /gamemode, /gamerule, /give, /tp and the use of commandblocks
3 = Rights foru /ban, /deop, /kick and /op
4 = Rights to all commands (including /stop)


Version 1.7.8 and below

To become operator on your server, you need to add your username to the ops.txt (only one name per line) located in your games main directory.

Further administrators can be assigned ingame via the /op USERNAME command. In order to do so, you need to be op yourself.

Operators can also be assigned via the server console with the same command (without the prefixing slash) like this op USERNAME.

Example ops.txt:

Nitrado
Peter



Versions above 1.7.8

All version above 1.7.8 use a ops.json for handling the game operators. The ops.txt is ignored by now.

Example ops.json:

[
  {
    "uuid": "5c27674c-bad8-45e0-9f3e-82bc3ec39200",
    "name": "Nitrado",
    "level": 4
  },
  {
    "uuid": "5c27674c-bad8-45e0-9f3e-82bc3ec39200",
    "name": "Peter",
    "level": 4
  }
]


Hint: Only add operators via the console/ingame command because otherwise you may break your JSON file.

uuid: Unique user identifier
name: Username displayed ingame
level: Operator level as explained above.

Note that the uuid is a static value on online-mode=true servers, but changes with every login if you've set your online-mode to false.