How to make blocks not be able to be placed in single-player?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Fortanono

Well-Known Member
Aug 25, 2015
354
83
54
So, I thought of a modpack that would involve being unable to place blocks in certain areas, but how do I do this without server antigrief? In other words, how do I make it work in single-player?
 
It's possible to do it without mods, using the /setblock command. Just do /setblock x y z minecraft:air
 
It's possible to do it without mods, using the /setblock command. Just do /setblock x y z minecraft:air
Alright... But my pack involves placing any block below a certain height level not working. Besides, I don't want people to lose their blocks!

EDIT: I also don't want to have command blocks out in the open.
 
)
protection zones:
Pneumatic Craft - guarding station
RFTools has some equivalent, but I dont think it will eork likr U need.
 
Would they be allowed to place blocks in those areas?

If not, use a command block setup to change them into adventure mode when they enter the area, and back into survival when they leave. (And perhaps minetweak torches to give them a CanPlaceOn tag)

If you want the command blocks to be hidden, just hide them in a wall in the spawn chunks--after all, if they're hidden in a wall, players shouldn't be able to break blocks to get to it.

If there isn't a preset map, you could always try using a structure generator to put the command blocks (+ a chunk loader) in a small bedrock box several thousand blocks away from spawn.

Disclaimer: I'm not great at redstone/command blocks, but from what I understand of them, the above should be possible.
 
Would they be allowed to place blocks in those areas?

If not, use a command block setup to change them into adventure mode when they enter the area, and back into survival when they leave. (And perhaps minetweak torches to give them a CanPlaceOn tag)

If you want the command blocks to be hidden, just hide them in a wall in the spawn chunks--after all, if they're hidden in a wall, players shouldn't be able to break blocks to get to it.

If there isn't a preset map, you could always try using a structure generator to put the command blocks (+ a chunk loader) in a small bedrock box several thousand blocks away from spawn.

Disclaimer: I'm not great at redstone/command blocks, but from what I understand of them, the above should be possible.
I want them to be able to break blocks...
 
openperipheral has block to connect to user interface... may be try join it with CC command computer?
 
Not working on this mod anyways, but all help is appreciated. Just don't want people getting into ComputerCraft in a magic pack. :P
 
Anti-builder block from Twilight Forest, protected with a ward from a wand of warding from thaumcraft.

You'd need to have them every few blocks, I think 32 blocks apart for full coverage.
 
  • Like
Reactions: Fortanono