Jump to content
  • 0

Cooldown


Question

Posted

Trying to figure out how to add a cooldown to commands in the Shop plugin. I know there is a cooldown section and it works for items. I just cannot get it to work for commands. I tried using TimedCommandBlocker, but it also doesn't want to do what I want.

Anyone got any idea's?

TimedCommandBlocker:
"Enable logging": true,
"Chat steamID icon": 0,
"Сommand color": "#FFFF00",
"Remaining blocking time color": "#FFA500",
"Blocked commands (command: seconds)": [
{
"spawnmini.give": "Blocked for two minutes",
"Info.Timed": : 120.0
},

And Cooldowns in the Shop plugn:
{
"rifle.ak": 600,
"rifle.lr300": 600,
"spawnmini.give": 120
}

I'm really bad with coding. So It's probably pretty easy.

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.