Jump to content

Stack with Cooldown

Not a Bug 1.2.72

Caroleenje
Caroleenje

Posted

Hi,

I'm trying to let players purchase a stack of items with a cooldown after their purchase; however, I don't seem to be able to do so. I can either only let them purchase a single item and apply a cooldown afterwards or let them purchase a stack with no cooldown at all.

As an example: I'd like them to be able to purchase a stack of 25 ammo with a cooldown of X minutes to prevent them from purchasing larger quantities and recycling them for fast resources. As long as the ammo is listed in ItemCooldowns, I'll get the message "This item is cooldown restricted, you can buy only one"

Is that intentional, or am I missing something?

Thank you.

David

Posted

Hey, you can achieve this buy setting "DefaultAmount" and then putting "BlockAmountChange" to false, that's only way to do it. Each items have both of these options.

David

Posted

Changed Status from Pending to Not a Bug

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.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
157.1k
Marketplace 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.