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

Npc interaction cooldown issue. #188

Closed
RexSAS opened this issue Oct 26, 2024 · 4 comments
Closed

Npc interaction cooldown issue. #188

RexSAS opened this issue Oct 26, 2024 · 4 comments
Labels
enhancement New feature or request feature request

Comments

@RexSAS
Copy link

RexSAS commented Oct 26, 2024

If you set an action on a npc and a cooldown for it, when the plugin or the server does a reload all the cooldown db will reset... that makes the cooldown impossible to use for a specific time.

@TheZexquex
Copy link

Then don't reload your production server?

@RexSAS
Copy link
Author

RexSAS commented Oct 30, 2024

Bruh... but if i want do add or modify something i can't because the db will reset... it's simpler changing the type of the db to make a file and use it to manage player's data.

@OliverSchlueter
Copy link
Member

Currently the cooldown will reset when the plugin enables (server restart, or reloading the plugin).
I've seen some requests that the cooldown should persist between server restarts. I can't tell when this will be implemented tho.

@Grabsky
Copy link
Contributor

Grabsky commented Nov 7, 2024

Also a duplicate of #117

@github-project-automation github-project-automation bot moved this from Backlog to Done in FancyNpcs Nov 7, 2024
@OliverSchlueter OliverSchlueter closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
Status: Done
Development

No branches or pull requests

4 participants