New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Add an Admin to Your Minecraft PocketMine Edition Server

How to Add an Admin to Your Minecraft PocketMine Edition Server

Add an admin to a Minecraft PocketMine Edition server

3 min read
Jul 30, 2026

In PocketMine-MP admin rights are called operator rights (short: "OP"). They are granted with the op command. What you enter is the player's Minecraft or Xbox player name – not a UUID and not an XUID.

Add an admin via the console

This is the usual way if you do not have operator rights yourself yet.

  1. Open the console
    Open the dashboard of your server and switch to the console.

  2. Enter the command
    Enter the following command with the player name:

    op <PlayerName>
    
  3. Wait for the confirmation
    The server confirms the change. If the player is online at that moment, they receive their operator rights immediately.

Add an admin in the game

  1. Join the server
    Connect to your server.

  2. Open the chat
    Open the chat with the key matching your device or through the chat icon.

  3. Enter the command
    Enter the following command:

    /op <PlayerName>
    

Remove admin rights

/deop <PlayerName>

This removes the player's operator rights again and takes them out of ops.txt.

Command overview

Command Description
/op <PlayerName> Gives the specified player operator status
/deop <PlayerName> Takes the specified player's operator status

Edit ops.txt directly

Alternatively you can edit the file yourself.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP or use the file browser in the dashboard.

  3. Open ops.txt
    In the main folder of your server, open the file:

    ops.txt
    
  4. Enter the player names
    Enter exactly one player name per line:

    steve
    alex
    
  5. Start the server
    Save the file and start your server.

Fine-grained permissions

Operators receive all admin permissions in one bundle through the permission group pocketmine.group.operator, for example the pocketmine.command.op.give permission for granting operator rights to others.

Written byEmeraldHost Team
Last updated on Jul 30, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Minecraft PocketMine Edition

Ready to get started?

Rent your Minecraft PocketMine Edition Server now

Join our Discord community 1257 members online right now