I'm trying to make a Skript where when a player enters a Lands claim, it toggles a visualization effect. Basically, the border of the claim has redstone particles. I am using this plugin. This exact code worked for the GriefPrevention plugin, but will not work with Lands.
Is there a better way to do this, or how do I fix this?
Is there a better way to do this, or how do I fix this?
Code:
on region enter:
wait 2 ticks
if "%region at player%" contains "claim":
make player execute command "/lands view here"
on region exit:
wait 5 ticks
if "%region at player%" contains "claim":
make player execute command "/lands view disable"