Then the skript would be the following, when placing a chest on the floor generate around the chest 4 walls, simulating a square but looking like a house, and above a ceiling, all done in lan, check if the block is air and set the blocks only in places that are air, so as not to conflict with other blocks already placed, when placing the chest the chest disappears and hence the construction appears, which is a castle.
example:
[doublepost=1589548793,1589548702][/doublepost]examples:
example:
[doublepost=1589548793,1589548702][/doublepost]examples: