How to Make Yourself OP on a Minecraft Server

Give a Minecraft Java player operator access from Console. Check the username, test an admin command and remove OP without editing server data files.

Operator access, usually called OP, lets a player use Minecraft admin commands in game. It is separate from access to the Konnect game panel. Give it only to people you trust.

Visual guide: give access in the right place. See the steps for the exact settings used by this game.

Give a player OP

  1. Start your Minecraft Java server and open Console.
  2. Enter op PlayerName, replacing PlayerName with the player’s current Java username. Do not use a Microsoft email or a leading slash.
  3. Check the Console confirmation. Have the player join and test an admin command, such as /time query daytime. This checks the time without changing the world.
Panel Console — replace PlayerName
op PlayerName

To remove operator access:
deop PlayerName

Remove operator access

Enter deop PlayerName in Console. The player keeps normal server access, but loses permissions provided by OP.

If a command is still denied

Check the username and Console response. The op-permission-level setting controls vanilla operator permissions. Plugins can use their own permission rules. Check that plugin’s guide rather than giving every player OP.

Use commands to manage operators instead of editing ops.json directly. The Paper operator reference explains this file.

Troubleshooting checks

If the result is not what you expected
What you seeWhat to check
Account cannot be foundUse the player’s current Java username; do not enter a Microsoft email address.
Access was intended for one taskAfter testing, remove temporary operator access and use narrower plugin permissions where appropriate.

Related: Change Minecraft game rules · Set up a whitelist.

Was this article helpful?

Your feedback helps us improve our guides.

Written by Konnect HostingUpdated 2 min read