How to OP Yourself on Your Minecraft Server
Giving yourself operator (OP) status lets you run commands in-game, such as changing the game mode, teleporting, and managing other players. This guide shows you how to do it from your Server Heron control panel.
What is OP?
OP stands for operator. An operator has full command access on the server. You will need OP status to run admin commands in-game without using the console every time.
Steps
1. Log in to your control panel
Head to your Server Heron panel via the 'panel' button in the navbar at the top of your screen.
2. Open your server
Select your Minecraft server from the server list.
3. Go to the Console tab
Click the Console tab at the top of the page. This gives you direct access to your server and lets you run commands on the server itself.
4. Run the OP command
Type the following command into the console input at the bottom and press Enter:
op YourUsername
Replace YourUsername with your exact Minecraft username. Usernames are case sensitive.
5. Confirm it worked
You should see a message in the console that says:
Made YourUsername a server operator
You now have full OP access on your server.
Removing OP
To remove OP from a player, run the following command in the console:
deop YourUsername
Notes
- You do not need to be in-game to run this command. It works from the console even if the server is empty.
- You can also OP other players by replacing
YourUsernamewith their username. - OP players can be managed in the
ops.jsonfile in your server files if you need more control.