---
title: "How to give a player OP on a Minecraft server"
icon: lucide/shield-check
description: "How to grant OP or operator access to a Minecraft Java or Bedrock player through the panel console."
---

# How to give a player OP on a Minecraft server

OP (operator) gives a player full access to server commands. Only grant OP access to players you trust, since they can run important commands like changing gamemode, teleporting, giving items, and modifying world configuration.

!!! info "Commands in the console"
    When running a command from the panel console, use `op playername` without a leading `/`.

## Java server

1. Open `https://panel.nexuscloud.id/`.
2. Select your Java server.
3. Open the **Console** menu. The server page usually opens on the **Console** menu by default.
4. Make sure the player you want to OP has joined the server at least once. They do not need to be online when you grant OP.
5. In the console, find the **Execute Command** field.
6. Type the following command, then replace `playername` with the player's Minecraft username:
    ```text
    op playername
    ```
    Example:
    ```text
    op nexusid1
    ```
7. Press **Enter** or click the command send button.
8. Ask the player to try a command that requires OP, such as `/gamemode creative`. If no permission error appears, the OP was granted successfully.

## Bedrock server

!!! warning "Allow Cheats must be on"
    For Bedrock servers, **Allow Cheats** must be enabled before commands can be used by players once they are granted OP. If it is not enabled, follow the guide [How to enable cheats on a Bedrock server](./bedrock/aktivasi-cheats.md).

1. Open `https://panel.nexuscloud.id/`.
2. Select your Bedrock server.
3. Open the **Console** menu. The server page usually opens on the **Console** menu by default.
4. Make sure the player you want to OP is currently online on the server. On Bedrock, the player must be online to be detected when the command is run from the console.
5. In the console, find the **Execute Command** field.
6. Type the following command, then replace `playername` with the player's Minecraft username:
    ```text
    op playername
    ```
    Example:
    ```text
    op nexusid2
    ```
7. Press **Enter** or click the command send button.
8. Ask the player to open the chat or command interface in Minecraft Bedrock. If the `/` icon appears and commands can be used, the OP was granted successfully.

## How to remove OP

If you want to revoke a player's OP access, run the following command from the console:

```text
deop playername
```

Replace `playername` with the username of the player whose OP access you want to revoke.

---

!!! tip "Help us out"
    If you found this tutorial useful, please leave a review on [Trustpilot](https://www.trustpilot.com/evaluate/nexuscloud.id)! Your rating helps us make more useful guides :sparkles:

**Cheers, Team NexusCloud**

---
