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

  1. Login to Command Center.
  2. From the server list, find the server you want to modify, and click the Manage button on the right.
  3. From the server you selected, you should already be on the Console tab, but if not, select it.
  4. Type: op yourplayername in the console and press enter. The command is case sensitive, so make sure to type it as op and not OP or Op.

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

  1. Login to Commmand Center.
  2. From the server list, find the server you want to modify, and click the Manage button on the right.
  3. Click on the Files tab.
  4. Click on the server.properties file.
  5. Find the line that contains allow-cheats=false change it to allow-cheats=true
  6. Save your server.properties and restart your server.
  7. Click on the Console tab.
  8. Type: op yourplayername in the console and press enter.