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

Is there a way to have the cooldown per chest? #8

Open
galexrt opened this issue Jul 24, 2022 · 2 comments
Open

Is there a way to have the cooldown per chest? #8

galexrt opened this issue Jul 24, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@galexrt
Copy link

galexrt commented Jul 24, 2022

We are currently trying to move from PhatLoots to RoseLoot and are wondering if cooldowns can be applied per each chest?

Our scenario is as follows:

We have hundreds of empty chests on a map, when a player opens a chest the contents are "rolled" by RoseLoot, till the chest contents are either taken all out or expired (~5-10 minutes). The chest "expiration" is done on a per chest but server wide level.

Is that something we can achieve with RoseLoot?

@galexrt galexrt changed the title Is there a way to the cooldown per chest? Is there a way to have the cooldown per chest? Jul 24, 2022
@Esophose
Copy link
Member

As per #5 something like that isn't really possible right now. It's something I want to add in the future though, the only issue in your case if I added it would be that you'd have to run a command on every chest to be able to set the contents refresh cooldown for it. I don't really have an ETA for that feature but I could prioritize it for one of the next things to add if you need it

@galexrt
Copy link
Author

galexrt commented Jul 24, 2022

@Esophose Got it, no worries!

if I added it would be that you'd have to run a command on every chest to be able to set the contents refresh cooldown for it.

Even if every chest would have the same refresh cooldown? Right now with PhatLoots, I can basically set a "default loot table" for the different types of chests. So every chest is "auto-magically" added to the "in-memory list" when it is opened by an user.

If there is an API in RoseLoot, to, e.g., generate a new inventory, that another plugin could use to then take care of handling cooldowns and opening the inv / getting the loot from RoseLoot.

@Esophose Esophose added the enhancement New feature or request label Jul 10, 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
Projects
None yet
Development

No branches or pull requests

2 participants