Jump to content

Cooldowns overlap

Closed 1.2.4 1.2.5

Hi there! 
So far enjoying the plugin but I have been receiving complaints about the cooldowns.

I have it set so that by default, the cooldown is 1 hour. 
If you have a playtime rank , the timer is reduced to half and if you have a purchased rank, the timer is reduced to 10 mins.

However, if the player has both  a playtime rank AND a purchased rank (an overlap), there is no priority system taking place that I can see as it reverts to the playtime time rank.  

Any suggestions on fixing this up would be greatly appreciated! 

Share this comment


Link to comment

UDATE:

Found a solution to this:
The plugin appears to take the first VIP/Cooldown permission it sees. 
So If you want a higher rank to over rule a lower rank, put the highest rank at the top and work down.

Example: 

Rank 1:  60 min cool down
Rank 2: 30 min cool down
Rank 3: 10 min cool down  -> If player has this rank, AND rank # 2,    the plugin will prioritize Rank #2.  

However, If done in this order: 

Rank 3: 10 min  -> This rank will be prioritized (if the player has more than 1 rank) 
Rank 2: 30 min
Rank 1: 60 min

Hope this helps anyone with the same issue! 

Edited by Nomad3211
  • Like 1

Share this comment


Link to comment

Hi, thanks for reaching out. Yes, what you have found is intended behaviour. I should probably add this to the plugin page documentation to make it clearer to everyone.

In fact, I probably should change it so that it just assigns the smallest cooldown time to save this happening in the future. 🙂

Edited by ZEODE
  • Love 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.