Minecraft – Remove permissions lock on a Minecraft save

macosminecraft-java-edition

I downloaded a pre-made Minecraft save-file to explore, and it worked really well. However, when I tried using the time set, gamemode, or any other console command, I get the error You do not have permission to use this command.

So there is obviously some sort of permission lock in the save file that doesn't allow me to use console commands. How can I disable this lock and enable commands?

Best Answer

You need to enable cheats. You can either do this by using the Open to LAN menu, or an external NBT editor.