3

Map making help

Regent_Gaming 10/12/19 1:09 pm
300
10/24/2019 1:52 am
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
Posted by
Regent_Gaming
Level 12 : Journeyman Network
0

  Have something to say?

JoinSign in

15

tomatotownn
10/24/2019 1:52 am
Level 41 : Master Sailor
history
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.
1
HoboMaggot
10/12/2019 8:47 pm
Level 55 : Grandmaster Blob
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
1
Thonck
10/12/2019 3:44 pm
Level 21 : Expert System
history
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.
1
HoboMaggot
10/12/2019 8:48 pm
Level 55 : Grandmaster Blob
history
This is irrelavent. The OP requested something that will restrict the player from using commands, not make their items drop upon death.
1
Thonck
10/13/2019 6:59 am
Level 21 : Expert System
Fixed. I have no clue why I wrote that.
2
HoboMaggot
10/13/2019 7:11 am
Level 55 : Grandmaster Blob
history
Your edit is still wrong/outdated. It is now allowCommands
https://minecraft.gamepedia.com/Level_format#level.dat_format
1
Thonck
10/13/2019 9:03 am
Level 21 : Expert System
I'm really questioning my existence now
1
6_28
10/12/2019 2:56 pm
Level 32 : Artisan Nerd
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.
1
ImYourEnder
10/12/2019 8:59 pm
Level 28 : Expert Skinner
adventure and survival mode don't stop people from using commands
1
6_28
10/13/2019 12:06 am
Level 32 : Artisan Nerd
They stop people from using cheat commands.
1
ImYourEnder
10/14/2019 12:44 am
Level 28 : Expert Skinner
You can use cheat commands in survival and adventure mode, I've done it before.
1
HoboMaggot
10/13/2019 7:13 am
Level 55 : Grandmaster Blob
opening LAN can bypass their OP level, making them able to use cheat commands.
1
6_28
10/13/2019 6:11 pm
Level 32 : Artisan Nerd
Yes, it can, but that was my point, no matter what you do there will always be a bypass.
1
AmericanBagel
10/13/2019 1:10 am
Level 45 : Master System
Well, you could set players always on survival...
1
HoboMaggot
10/13/2019 7:14 am
Level 55 : Grandmaster Blob
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

Welcome