Op a Player on a Minecraft Server
Read this tutorial to make yourself a server admin by giving yourself op or a player on a Minecraft server. Giving a player op privilege is giving them access to run admin commands or "cheats" commands directly in game. As op’ed players have great power, it’s critical that you only op players who you absolutely trust as your server admin. They'll be able to change game modes to creative for themselves and others as well as run in game commands. Op’ing a player is different than giving someone in Command Center Administrator Permission, which allows them to access our website to control your server. For a full list of all of the Minecraft Commands click here for some common Minecraft commands click here. For some of the more common gamerule changes you might want to put on your server click here.
Java
- Login to Command Center.
- From the server list, find the server you want to modify, and click the Manage button on the right.
- From the server you selected, you should already be on the Console tab, but if not, select it.
- Type:
op yourplayername
in the console and pressenter
. The command is case sensitive, so make sure to type it asop
and notOP
orOp
.
The changes should take effect right away, and you don’t need to restart or log back in.
The deop Command
If you need to remove Op from someone, you can use this command in the console:
deop yourplayername
You may see an
ops.json
file on your server. Starting in Minecraft 1.7, Minecraft uses a special JSON file format to store the UUIDs of players. Unless you’re an expert who understands JSON, editing the file and listing player names one per line will no longer work.
Bedrock
- Login to Commmand Center.
- From the server list, find the server you want to modify, and click the Manage button on the right.
- Click on the Files tab.
- Click on the
server.properties
file. - Find the line that contains
allow-cheats=false
change it toallow-cheats=true
- Save your server.properties and restart your server.
- Log into your server.
- Back in Command Center, click on the Console tab.
- Type:
op yourplayername
in the console and press enter.
Updated 5 months ago