I'm creating a Minecraft map that I want players to not have permissions to use cheats so they cant use the setblock command and set blocks as air and break the map. Is there any way I can turn off cheats after creating the world with cheats on? (to get command blocks)



Use a NBT editor such as NBTEdit and somewhere in the tags, there should be a tag with cheats equaling "1." Change that to 0 and cheats will be disabled. The tag is near the hardcore tag.


You can do this a easier way, create a world with no cheats and then open the world to LAN and enable cheats, this will activate cheats as long as the world is open with cheats. Then simply close the world and there will be no cheats enabled.

If you have a current world that was created with cheats then create a brand new world without cheats, then duplicate the previous world and use the world.dat folder to replace the brand new worlds world.dat folder and this will make it so there are no cheats, then use the trick listed above to enable cheats in the new world.

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