> For the complete documentation index, see [llms.txt](https://lodestone-technologies.gitbook.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lodestone-technologies.gitbook.io/knowledgebase/minecraft-java/make-a-player-an-operator.md).

# Make a player an operator

One of the most essential commands for server admins is /op, which grants a player operator (admin) privileges, allowing them to use commands like game mode changes, teleportation, and more.

{% hint style="info" %}
This guide only works on Java Edition. We have a [separate guide](/knowledgebase/grant-operator-privileges.md) for Bedrock Edition.
{% endhint %}

## Using the server console

Head over to the [Game Panel](https://game.lodestone.host) and select "Console" on the sidebar menu.

<figure><img src="/files/6jahRNsSFaFGfYBuQdhr" alt=""><figcaption></figcaption></figure>

Make sure your server is online. You can now type "op \<username>" in the console. Make sure you replace "username" with the username of the player you wish to op.&#x20;

<figure><img src="/files/ZaGkV8xGV0kUz8AS9abJ" alt=""><figcaption></figcaption></figure>

You can use "deop \<username>" to deop the player.&#x20;

## Using in-game commands

Alternatively, you can op players in-game. You'll need to be an operator for this to work.

Use the command "/op \<username>" in the server chat. Make sure you replace "username" with the username of the player you wish to op.

<figure><img src="/files/iUIlvRkMmznSCTAtuNFm" alt=""><figcaption></figcaption></figure>

You can use "/deop \<username>" to deop the player.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lodestone-technologies.gitbook.io/knowledgebase/minecraft-java/make-a-player-an-operator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
