OP gives a Minecraft player operator permissions, which lets them run server commands in game. Only give OP to players you trust, as operators can use powerful commands such as changing gamemodes, teleporting players, giving items, or managing other players.
Use Console
- Start the server, then open Console in the control panel.
- To make a player OP, enter the command below. Replace
PlayerNamewith the player's exact Minecraft username:op PlayerName
- To remove OP permissions from a player, enter:
deop PlayerName
You can also edit ops.json while the server is stopped, but using Console is usually quicker and avoids formatting mistakes.

