Jump to content

Cooldowns overlap

Closed 1.2.4 1.2.5

Nomad3211
Nomad3211

Posted

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! 

Nomad3211

Posted (edited)

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
ZEODE

Posted (edited)

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
ZEODE

Posted

Changed Status from Pending to Work in Progress

ZEODE

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to Next Version

ZEODE

Posted

This was fixed in the latest release, I forgot to add to the changelist.

  • Love 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.