any way i can change something in code so i can place deepslate dropper anywhere in and only in the player's plot? (btw i placed deepslate dropper the farthest i can to show where i cant place)
this is part of the code im using (im testing with 1 plot for now):
this is part of the code im using (im testing with 1 plot for now):
code_language.skript:
on place:
set {found} to 0
set {center} to location(3.0, -60.0, 3.0, world "main")
loop all blocks in radius 9 of {center}:
if loop-block is event-block:
set {found} to 1
if player's tool isn't deepslate:
cancel event
else if block below event-block isn't cyan terracotta:
set {canPlace} to 0
cancel event
else if {found} is 0:
cancel event
else:
set {canPlace} to 1