We have a video tutorial for giving OP to a player:
An Operator (OP) is someone who has access to commands that are used in managing the server.
Among the commands that an operator has access to are changing a player's game mode, updating server difficulty, giving items, kicking and banning players, whitelisting, and even stopping and restarting a server. You can view a list of operator commands here: https://minecraft.gamepedia.com/Commands#List_of_commands
There are three ways to set a player as OP:
- Through the server console
- In-game command
- Editing the ops.json file
The first two options are preferred as they're simpler and won't cause issues if executed incorrectly.
Giving OP through the Server Console
Making a player an operator through your server's control panel is simple, requiring only a single command. This is the fastest method of opping players if your server doesn't have any operators yet.
- Log in to your control panel and navigate to your server's Console.
- On the textbox of your console, type
op <username>
. Replace<username>
with the Minecraft username you want to OP. - Press enter on your keyboard or click the Send button. You will receive a confirmation message on your console indicating that the player has been made as an operator.
If the username of the player you're trying to OP has a space in their name, you will have to surround their username with quotes, like so:op "Minecraft Fan123"
Giving OP In-Game
Opping a player in-game is more convenient, but requires you to already be opped. If you are not a server operator, you will need to op yourself through the console first.
- Type in the command
/op <username>
in-game, replacing<username>
with the Minecraft player you intend to op. - Press enter on your keyboard. You will receive a confirmation message indicating that the player has now been made as an operator.
Removing a Player as OP:
Removing players' operator roles is similar to opping them and can also be done through your console or in-game commands:
- To remove an operator through your server console, use the command
deop <username>
. - To remove an operator in-game, use the command
/deop <username>
.