Assign OP rights in the dashboard (recommended)
The easiest way to assign OP rights is the Players page of your server's dashboard. You don't need OP rights in the game yourself for this.
-
Open the players page
Open your server's dashboard and click Players in the left sidebar. -
Make the player an operator
Click Add player, enter the Minecraft name, choose Operator under Where to? and click Make op. The player gets level 4. -
Adjust the level (optional)
Open the player's detail page and choose a level from 1 to 4 under Operator level in the Permissions and access box. In the … menu of the player list you can also use Change op level or Remove op.
You can find all features of the page under Manage players. Alternatively, you can still assign OP rights by command or via the ops.json file.
Assign OP rights via the in-game chat
-
Log in
Log in to your Minecraft server. -
Open the chat
Open the chat. By default with thetkey. -
Enter the command
Enter the following command:/op <player name> # Makes the player an operator
Assign OP rights via the server console
-
Open the dashboard
Open your dashboard and select your Minecraft Java Edition server. -
Open the console
Navigate to the server console under the menu item "Overview". -
Enter the command
Enter the following command:op <player name> # Makes the player an operator
Assign OP rights via the ops.json file
-
Open ops.json
Connect to your server via SFTP and open the fileops.json. -
Add the entry
Insert the following entry within the square brackets[]:{ "uuid": "<playeruuid>", "name": "<game name>", "level": 4, "bypassesPlayerLimit": false } -
Restart the server
Save the changes and restart the server.
OP Levels
| Level | Description |
|---|---|
| 1 | Can change protected spawn areas |
| 2 | Can edit command blocks and use basic commands (except level 3-4 commands) |
| 3 | May execute sanctions such as /kick, /ban etc. |
| 4 | Has full administrative control, including server commands such as /stop |
