Skip to content

How to Add an Admin to Your Minecraft Endstone Edition Server ​

Endstone does not come with an admin system of its own, it uses the operator levels of the Bedrock Dedicated Server. All Endstone admin commands – such as /ban or /reload – are tied to the operator level.

Permission levels at a glance ​

LevelMeaning
visitorCan only look at the world – no building and no interaction
memberDefault level – can build, mine and craft
operatorFull admin rights including all admin commands

Important

For commands to be usable in the in-game chat, the following entry has to be set in the server.properties file in the main folder of your server:

allow-cheats=true

If it is set to false, even a player with the operator level cannot run commands in the chat. In the console of your server the commands are available regardless of this setting.

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, they receive their operator rights immediately.

Note

In the console of your server you enter commands without a leading /. In the in-game chat you write them with /.

Add an admin in the game ​

Caution

To use this method you have to be an operator yourself already. Otherwise use the console.

  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>

Revoke admin rights ​

/deop <playername>

This removes the operator rights from the player again.

Commands at a glance ​

CommandDescription
/op <playername>Grants operator rights to the given player
/deop <playername>Removes the operator rights from the given player

Add an admin through permissions.json ​

Alternatively you can add a player to the permission file directly. That file uses the player's XUID, not their name.

Tip

The XUID of a player is shown in the console of your server as soon as the player joins.

  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 permissions.json
    In the main folder of your server, open the file:

    permissions.json
  4. Add the entry
    Add the following entry inside the square brackets:

    json
    [
        {
            "permission": "operator",
            "xuid": "2535413418839840"
        }
    ]

    Note

    If you want to add several players, separate the entries with a comma:

    json
    [
        {
            "permission": "operator",
            "xuid": "2535413418839840"
        },
        {
            "permission": "member",
            "xuid": "2535413418839841"
        }
    ]
  5. Start the server
    Save the file and start your server.

Caution

Make sure the JSON stays valid: every entry sits in curly brackets, entries are separated by commas, and there is no comma after the last entry. If the file is malformed, the server cannot read it.

Tip

To learn how to remove players from your server as an admin, see Kick & Ban Players.