Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please put delay after crossing area #6

Open
janiiik opened this issue Sep 29, 2020 · 2 comments
Open

Please put delay after crossing area #6

janiiik opened this issue Sep 29, 2020 · 2 comments
Labels
enhancement New feature or request low priority

Comments

@janiiik
Copy link

janiiik commented Sep 29, 2020

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.

@janiiik
Copy link
Author

janiiik commented Sep 29, 2020

or basically maybe would be enought if you execute command when you cross the area not when you actually standing in it.

@janiiik
Copy link
Author

janiiik commented Sep 30, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants