When a player places a block, you can set that location to a
SAVE variable called
%default blocks (
%default changes to whatever the player's username is. It would be read to the game as "
<player's name> blocks". Ex. "
JustSticky blocks" would be the variable for my blocks)
If you want other players to not be able to break any other player's blocks, you could do:
(Each paragraph is a block of code. Lines that end with "{" are telling you that the code inside of it would go inside that code block's pistons.)
Player Action >
On Break
If Variable >
Contains > (put your
SAVE variable "
%default blocks" inside the chest)
Target Block (from location values) {
Game Action > Destroy Block > (inside of chest) Target Block (from location values)
}
Else {
Game Action > Cancel Event
}