event
on plot enter:HyperPlotsRuns when a player walks, or is taken, into a plot. player is who came
on plot enter:
if {_owner} is player.name:
send "&aWelcome home."← All of the Docs HyperPlots
on plot enter:HyperPlotsRuns when a player walks, or is taken, into a plot. player is who came
on plot enter:
if {_owner} is player.name:
send "&aWelcome home."on plot leave:HyperPlotsRuns when they go out of one: onto the road, into another plot, or to another world
on plot leave:
send action bar "&7You left plot %{_plot}%" to playeron plot enter:
if {_owner} is player.name:
send "&aWelcome home."
on plot leave:
send action bar "&7You left plot %{_plot}%" to player
| Syntax | Effect |
|---|---|
on plot enter: | Runs when a player walks, or is taken, into a plot. player is who came |
on plot leave: | Runs when they go out of one: onto the road, into another plot, or to another world |
on plot enter: {_plot} is the plot's number as PlotSquared writes it (3;-2), {_owner} the name of its owner, unset for a plot nobody has claimed, and {_owners} all of them as a list. on plot leave: has {_plot}, the one that was left.on plot leave: for the first and then on plot enter: for the second.deny are what keep players out.