Jump to content

Duration Ignored If Cost 0

3.4.12

Sovereign_Skies
Sovereign_Skies

Posted

I have 4 protection levels with varying max durations (3d, 4d, 5d, and 7d). I have found that if I have the cost set to 0, the TC's show "Free forever", despite the max durations set in the config. If I set the base cost to 1.0, then the duration works. Possible to make it so protection duration is used if cost is 0? The usage context is that players get 3d of offline protection for free, but if they're not online within that 3 days, the protection expires.

Mr01sam

Posted

Yes - unfortunately this is a known limitation of RaidProtection. When you set the cost to be free, it cannot have a duration. This is because when you set a duration, it really just sets the max balance on a TC.

I will have to look into if I can make this possible for raid protection - because currently it is not.

Mr01sam

Posted

Changed Status from Pending to Feature Request

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.2k
Total sales
Payments
3.4m
Processed total
×
×
  • 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.