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?
Best Answer
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.