Minecraft Blogs / Tutorial

How to disable cheats for your Minecraft maps 1.6.2

  • 15,179 views, 1 today
  • 9
  • 2
  • 25
xxaetherheavenxx's Avatar xxaetherheavenxx
Level 32 : Artisan Princess
4
Since Minecraft 1.3.1 was released, people have been asking how to disable cheats for their puzzle maps, adventure maps, etc. I found a way to disable cheats that I use for my Minecraft Puzzle maps. First, download this program called NBTEdit. I did NOT make NBTEdit, copyboy did.

DOWNLOAD LINKS AT THE BOTTOM OF THE PAGE.
1. Extract it with winrar.
2. Open NBTEdit and click File > Open
3. On the top, it should have a picture of a folder beside the (<) (>) buttons, double click it and the text beside the folder will be highlighted blue.
4. Delete the blue highlighted text and type in %appdata% and press enter.
5. Click on the .minecraft folder and click saves.
6. Double click the map you want to disable cheats on and click "level.dat"
7. Under root will say Data: __ entries. Double click on that and you should see "allowCommands" and alot of other things like gametype, spawn x y z and other stuff.
8. Click on "allowCommands" and change the value to 0.
9. Save it,Now go to File > Open again and click on your map again and do the same with level.dat_old.
10. Exit NBTEdit and your ready to go!
NOTE: When you change gamemode, make sure that it is not creative mode or else it will stay creative without cheats so change to survival mode (When you go in singleplayer it will still say creative but it's not) and then disable cheats.
GAMETYPES (Ingame with commands only.)
gametype 0: survival
gametype 1: creative
gametype 2: adventure

IN GAME WITH CHEATS: /gamemode 2 = cannot break blocks. Only open chests, activate levers, buttons, etc
You CANNOT change the gamemode through NBTEdit. You will need to enable cheats, change the gamemode ingame, and then disable cheats.
SET SPAWN:
In your map, go to where you want to set your spawn point, press f3 and write down your x y z numbers.
Go to NBTEdit and set the xyz to the xyz you wrote down.

DOWNLOAD LINKS:
NBTEdit : Download

Winrar: Download
Tags

8 Update Logs

Update #8 : by xxaetherheavenxx 07/22/2013 5:25:06 pmJul 22nd, 2013

uploaded the updated nbt edit for 1.6.2
LOAD MORE LOGS

Create an account or sign in to comment.

starMUNCH
01/05/2014 4:45 pm
Level 1 : New Explorer
starMUNCH's Avatar
When I opened the level.dat file, it gave me an error saying "Error when loading the file

Unknown TagId'11'.

For detailed information see error.log'

I tried a ton of times and the error log says:

System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)
System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)
System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)
System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)
System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)
System.Exception: Unknown TagId '11'.
at NBTedit.NBTView.Load(String filename)
at NBTedit.MainForm.Open(Object sender, EventArgs e)

Help please?
1
starMUNCH
01/05/2014 4:46 pm
Level 1 : New Explorer
starMUNCH's Avatar
Oh. and by the way, the version is 1.6.4 and I have the PortalGun mod installed, which is most likely a reason :/
1
TwilightWarlord
07/24/2013 1:42 am
Level 46 : Master Wolf Whisperer
TwilightWarlord's Avatar
THANK YOU SOOOO MUCH!
1
Boss-mode
07/22/2013 5:48 pm
Level 30 : Artisan Lumberjack
Boss-mode's Avatar
this is awsome
1
Boss-mode
07/22/2013 5:47 pm
Level 30 : Artisan Lumberjack
Boss-mode's Avatar
thank you very much
1
xxaetherheavenxx
07/22/2013 11:45 pm
Level 32 : Artisan Princess
xxaetherheavenxx's Avatar
your welcome
1
10karate
06/05/2013 10:32 pm
Level 7 : Apprentice Network
10karate's Avatar
This helped me so much THANK YOU DIAMOND FOR YOU!!!
1
xxaetherheavenxx
07/02/2013 7:09 pm
Level 32 : Artisan Princess
xxaetherheavenxx's Avatar
your welcome
1
cooldud655
05/27/2013 5:08 pm
Level 6 : Apprentice Engineer
cooldud655's Avatar
theres a simple ingame way to do it though. Launch a world with cheats disabled and open it to lan with cheats enabled. Cheats will then be enabled for as long as it is open.
1
rocknsugar
07/02/2013 9:09 pm
Level 16 : Journeyman Mage
rocknsugar's Avatar
and..... that was my way of doing it and it was hidden :(
1

Welcome