6

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?

1 Answer 1

12

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.

2
  • 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, 2016 at 10:57
  • Oh goodie, no need to restart the server!!
    – J-Cake
    Mar 12, 2022 at 10:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .