# 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](https://lodestone-technologies.gitbook.io/knowledgebase/grant-operator-privileges) 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="https://2854797996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiwHf4GxqK0xQzfQ69yGH%2Fuploads%2Fdbdv6lbnobdOgsYbZOT5%2Fimage.png?alt=media&#x26;token=09eafc75-f566-4e97-8a8d-2e56afe7503a" 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="https://2854797996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiwHf4GxqK0xQzfQ69yGH%2Fuploads%2Fc8TJgUWIqv40ekPRL5yD%2Fimage.png?alt=media&#x26;token=981ed841-68f1-48fa-a557-2f06fff5e56b" 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="https://2854797996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiwHf4GxqK0xQzfQ69yGH%2Fuploads%2FT71CBODnazhZm1GuiS30%2Fimage.png?alt=media&#x26;token=1cecef51-9e3f-4681-b829-e7f6d7bff186" alt=""><figcaption></figcaption></figure>

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