Open janiiik opened 3 years ago
or basically maybe would be enought if you execute command when you cross the area not when you actually standing in it.
i was trying to do it myself in RepeatingTask.php, but just not enought experience... would be great if you can add option to fire event only once per area entry.
When you stand in area and execute command for example (give player something) it will be executed as long as player stands in this area. Would be great if you can put delay (probably configurable) so you get your reward only once in a 10 seconds or so, not sure how this will act when multiple players cross area in same time.