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

Can you add a feature to limit the number of times a command can be triggered? #129

Open
Nothentai opened this issue Jun 27, 2024 · 1 comment

Comments

@Nothentai
Copy link

Nothentai commented Jun 27, 2024

Currently, there is the /npc server_command command, but it seems to lack a feature to limit the number of times it can be triggered. I sincerely hope you can add such a feature so that I can ensure each player can only trigger the command a specified number of times.

If a limit on the number of triggers is added, it would be even better if a corresponding message could be displayed when the player has exhausted their attempts.

PS:
Because my English is not good, the above content was translated using translation software. Please forgive any inaccuracies.

@OliverSchlueter
Copy link
Member

You can already set the interaction cooldown (https://fancyplugins.de/docs/fn-commands.html#npc-interaction-cooldown), where you can specify, how long a player needs to wait between interactions (for example the server_command)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants