3
Map making help
So when I format a map to post it, how do I make it so people playing it cant use commands? I'm making my first map and I want to do it right, and I dont know how to make it so they cant use commands to cheat
15
Well, commands are disabled by default in adventure/survival mode, but you can't completely stop them from using commands, they can change the gamemode to creative. It doesn't really matter, though, so don't worry too much about it.
adventure and survival mode don't stop people from using commands
They stop people from using cheat commands.
Well, you could set players always on survival...
This is not recommended as:
1. There are ways to workaround this (like MCEdit)
and 2. They might need to skip a part or diagnose (the latter only applies to good command blockers) a map breaking issue if one occurs
1. There are ways to workaround this (like MCEdit)
and 2. They might need to skip a part or diagnose (the latter only applies to good command blockers) a map breaking issue if one occurs
opening LAN can bypass their OP level, making them able to use cheat commands.
Yes, it can, but that was my point, no matter what you do there will always be a bypass.
You can use cheat commands in survival and adventure mode, I've done it before.
Install a program named NBTExplorer. Launch the program, go into your Minecraft world, click on level.dat, find allowCommands: true, and replace it with allowCommands: false.
This is irrelavent. The OP requested something that will restrict the player from using commands, not make their items drop upon death.
Fixed. I have no clue why I wrote that.
Your edit is still wrong/outdated. It is now allowCommands
https://minecraft.gamepedia.com/Level_format#level.dat_format
https://minecraft.gamepedia.com/Level_format#level.dat_format
I'm really questioning my existence now
You need to disable allowcommands in the nbt of level.dat in the save.
Here is an online nbt editor (just drag the level.dat into it): https://irath96.github.io/webNBT/
However I'd advise agaisnt you putting anti cheat measurements as:
1. There are a ton of ways for workarounds
and 2. They might need to skip a part or diagnose (the latter only applies to good command blockers) a map breaking issue if one occurs
Here is an online nbt editor (just drag the level.dat into it): https://irath96.github.io/webNBT/
However I'd advise agaisnt you putting anti cheat measurements as:
1. There are a ton of ways for workarounds
and 2. They might need to skip a part or diagnose (the latter only applies to good command blockers) a map breaking issue if one occurs
No matter the situation, there always a workaround for the player to be able to use commands. But disallowing them to use commands in chat through an NBT editor will normally stop most players.
