Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to make a vanilla worldguard using command blocks in Minecraft 1.4. In 1.3, players couldn't do anything while in adventure mode. Is there any way to put players in 1.3-style adventure mode?

share|improve this question
Is there a difference for players in /gamemode 2 between 1.3 and 1.4? Because that's all you really need to do. – MBraedley Nov 19 '12 at 20:09
@MBraedley Blocks can be broken with the correct tool (pickaxe, etc) for them. – BlaXpirit Nov 19 '12 at 20:11
@BlaXpirit: even in gamemode 2? I thought all you could break were torches and a handful of other blocks. – MBraedley Nov 19 '12 at 20:27
@MBraedley Well that's the strange change ONOZ is talking about. I can break wool with shears, stone with a pickaxe... but I can't break a melon... – BlaXpirit Nov 19 '12 at 20:32
@BlaXpirit Have you tried using the 'proper' tool for it (sword) instead of your hand? – Jeffrey Lin Nov 19 '12 at 21:16
up vote 7 down vote accepted

The Mining Fatigue status effect at level 5 will completely prevent breaking blocks. Applying it to all players for a million seconds (12 days) will probably be plenty, and you can do that without mods by using a command block with the command

/effect @a 4 1000000 5

Make that trigger somehow at the beginning of your map, or on a slow timer, and you're good.

This won't prevent block breaking in Creative mode, but any Adventure or Survival mode players will be unable to break anything. (To get a command block type /give @p 137.)

share|improve this answer

The difference between 1.4 and 1.3 is that, as mentioned above, blocks can be broken with their appropriate tools. If you're making your players start out with nothing, then they'll never be able to break blocks. Unless you give them tools from a chest or dispenser or whatnot...

If you are giving your players resources, you'll have to be careful not to give any resources that they can use to make tools. To break stone, they'll need a pickaxe. To break sand, they'll need a shovel, etc. Tools are always made from sticks and either wood, cobble, gold or diamond. So, if you take care, you can make sure your players will never have the tools to make a shovel or pickaxe or sword.

One method you could try is having a chest of, say, shovels in a world of stone, with passages filled with gravel or dirt. Then, the players can interact in the world while still being constrained to the stone construction.

Also, I think this bears warning: players in adventure mode can place any block in the world. This can cause trouble if they can't break it.

If you're truly paranoid about players being able to ruin your world, just make sure that they start with absolutely no tools or tool materials, and that there's no way for them to access those materials.

Depending on your map, it might also be a good idea to look at the /gamerule commands. In particular, /gamerule mobGriefing and /gamerule doTileDrops are useful ones to look at, if a player tries to get a creeper to harvest wood for 'em.

Tl;dr: Good level design will make sure your players will never have the tools to take apart your world.

share|improve this answer

I believe in 1.8, adventure mode makes one unable to place or remove blocks.


share|improve this answer
Have you got any kind of source for this? – Jeeva Jul 25 '15 at 9:56
I'm a source. I play on a server where they put us in adventure mode while at 'spawn' (using a testfor clock). And no matter what tool we have we can't break anything. – ydobonebi Jul 28 '15 at 1:30

protected by Community Jul 28 '15 at 15:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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