I am running Minecraft on a linux server using a command like this:

java -Xmx1024M -Xms1024M -jar minecraft_server.1.8.9.jar nogui

I can see how to set gamemode for players and teleport them using this console environment.

But, how do I enable cheats from the console environment so that players have these abilities too?


You have to make players into Operators to allow them to use most commands (see this list). You can do so by running /op <player> either from in game or using the server console.

This command will save these player's data within ops.json, found in your server directory.

Use /deop <player> to remove someone from the list of operators.

| improve this answer | |
  • 1
    @ChrisGuest Make sure to check your op-level before handing it out to everyone, you may want to lower it unless you completely trust the people you're op'ing. Info about op-level here: gaming.stackexchange.com/questions/138602/… – DBS Feb 21 '16 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.