How To OP Yourself In Minecraft

How to OP Yourself

OP gives you full operator permissions on your server. You need it to run admin commands in-game.

From the console

  1. Open your server in the panel
  2. Click the Console tab
  3. Type the following and press Enter:
op YourUsername

Replace YourUsername with your exact Minecraft username. It is case-sensitive.

You will see a confirmation message. You are now OP.

Test it in-game

Join your server and run /gamemode creative. If it works, OP is active.

Give OP to someone else

Run the same command with their username:

op TheirUsername

Remove OP

deop Username

Note

Do not OP players you do not fully trust. OP gives complete control over the server including the ability to run destructive commands.