boosCooldowns


Latest version: v3.9.8c
Ever wanted to set cooldowns to your warps? Ever wanted to put that /warp arena to 5 minutes cooldown while putting /warp market to 1 minute cooldown? Ever wanted to have commands for which users must pay? Or you don't want your users to teleport from pvp using /home? Then this plugin is for you! This plugin allows you to set warmups and cooldowns for every single command (even with parameters!) on your server! Configuration is extremely easy! Localization is even much easier!
For Economy and Permissions features, you need to have [Vault] on your server. You can download [Vault] HERE If you use Factions, you must set ""allowNoSlashCommand": true" to "false"! Or users will be able to use "f home" without "/" with no warmup or cooldown!
Features:
- NEW: XP costs! Charge players XP for using command (like /spawn for 10 XP levels.).
- Item costs! Charge players in items for using command (like /spawn for 20 stone etc.).
- Send player message, after using command.
- Per-permissions group warmups, cooldowns, prices, limits!
- Potion effects during command warmup!
- Command signs!
- Command aliases (player uses "/home" and command "/warp home" will be used instead - configurable!)!
- Per-life cooldowns/limits!
- Command to show limits!
- Permissions support!
- Per-command permissions!
- Command limiting! (can be used to block them too!)
- Command logging to console
- Block interaction when warming-up (can be turned on/off)
- Set warmups for commands you wish (even with parameters like /warp arena!).
- Set cooldowns for commands you wish (even with parameters like /warp arena!) .
- Set prices for commands you wish (even with parameters like /warp arena!) .
- Warmups can be canceled on damage, on move, on sneak, on sprint and on any combinations of it!
- Cooldowns/warmups are not case sensitive! So if user uses /warp arena and then /warp ARena, he will still have cooldown!
- Cooldowns can be cleared on server restart/reload
- Cooldowns can be saved on server restart, to ensure that kits with 24 hours Cooldown will be used only once per 24 hours and not after every restart!
- Easiest configuration EVER!
- Easiest localization EVER!
- Lightweight!
Commands:
- /booscooldowns reload
- Reloads config.yml.
- User needs to be OP when not using permissions, or have "booscooldowns.reload" if using permissions.
- /booscooldowns clearcooldowns <player>
- Clears all active cooldowns of given player.
- User needs to be OP when not using permissions, or have "booscooldowns.clearcooldowns" if using permissions.
- /booscooldowns clearuses <player>
- Clears how many given player used commands.
- User needs to be OP when not using permissions, or have "booscooldowns.clearuses" if using permissions.
- /booscooldowns clearwarmups <player>
- Clears all active warmups of given player.
- User needs to be OP when not using permissions, or have "booscooldowns.clearwarmups" if using permissions.
- /booscooldowns limits
- Players can use this to show their limits and how many times they still can use limited commands
- /booscooldowns set <category> <command> <value> [group]
- <category> can be cooldown, warmup, price, itemcost, xpcost, limit
- <command> can be * or any command starting with / (to add command with parameters, replace spaces with _ like /home_set)
- <value> can be number (for warmup, cooldown, price, xpcost, limit), ITEM,number (for itemcost)
- [group] can be any group, if not specified, will be set for default group
- Users with "booscooldowns.set" or OPs can use this command to set many things.
Video:
Please make some :(
Thanks to:
- Big thanks to "x8105 of SMPMinecraft.com" and "Switch0r" for awesome logos!
- phrsbrn for his helpfull and awsome pull requests on github.
- VariationVault for his video tutorial.
- All for their donations!
Please Donate:
If you like my work, please buy me a coffee or beer by clicking DONATE button at top or bottom of this page. Even 1$ is great help for me!

This plugin uses MCStats.org to collect anonymous data. Data are sent to mcstats.org where they are processed to create informative graphs for developer. MCStats is free, open source and anonymous. All data is public and freely available for every plugin. To disable data collection, set "opt-out:" to true in /plugins/PluginMetrics/config.yml.






-
View User Profile
-
Send Message
Posted May 20, 2012@vJuggerz
I have the same problem (on 2.7.1 as well). I think my config is correct, and there are even warm-ups for everything (5).
Example:
/spawnmob sheep "Wait 5 seconds before command /spawnmob sheep has warmed up." "Sheep Spawned" /spawnmob sheep "Wait 5 seconds before command /spawnmob sheep has warmed up." "Sheep Spawned"
etc. I have a price attached ($500), a warmup attached (5), and a cooldown attached (14400).
I have a lot of angry donors on my hand... I've had to remove their donor rank, because otherwise mobs, kits, etc. could be freely spawned and used...
Please fix as soon as you can :( :)
-
View User Profile
-
Send Message
Posted May 19, 2012I just downloaded 2.7.1 and the warmups are still now working. I deleted the booscooldowns folder and it created a new one including the config file.
This is my config file. http://pastebin.com/a6KQxJtU
What's wrong with it?
-
View User Profile
-
Send Message
Posted May 19, 2012After further investigation: the lag is caused by economy plugins (especially while not using MySQL). iConomy6 without MySQL causes about 2-4s lag when using priced command.
-
View User Profile
-
Send Message
Posted May 18, 2012@vJuggerz Try 2.7.1.
-
View User Profile
-
Send Message
Posted May 18, 2012I have figured out, what causes lags on some servers. Lag is caused by Prices. I tried to fix it, but it looks like its bug in Vault. That Vault methods used in Prices, takes about 2s each to go through (2x2s).
-
View User Profile
-
Send Message
Posted May 18, 2012Okay, so i'm not sure what's going on here. I have had this plugin installed for a while but suddenly it's stopped working. All i have configured to work is the warm ups. (/home is not a command on my server)
Here's the config file: http://pastebin.com/DQpCLqXb
-
View User Profile
-
Send Message
Posted May 17, 2012Sorry for the double post...
But I'm having issues... Again.
It seems that users now have to follow the warmup for all commands, BUT the cooldown doesn't work for ANY commands.
I pasted an example config with a few of the lines:
commands: cooldowns: /spawn: 60 /spawnmob pig: 14400 /spawnmob sheep: 14400 /spawnmob chow: 14400 /spawnmob chicken: 14400 /kit sign: 21600 /kit snow: 21600 /thru: 21600 warmups: warmup: /heal: 10 /spawn: 5 /spawnmob pig: 5 /spawnmob sheep: 5 /spawnmob chow: 5 /spawnmob chicken: 5 /kit sign: 5 /kit snow: 5 /thru: 5
So, I de-op'd myself and gave myself a donor rank. I use /spawnmob cow (which has price '/spawnmob cow: 500'). I waited for 5 seconds, and a cow spawned and I wasn't charged. I then used '/spawnmob cow' again, and it worked. It didn't charge me money, and didn't register a cooldown, but the 5 second warmup worked...
-
View User Profile
-
Send Message
Posted May 17, 2012@LordBoos
Ah ok, good to know!
-
View User Profile
-
Send Message
Posted May 17, 2012@np98765 In fact it should not require warmup for cooldown to work. It was typo in my code, will be fixed in version 2.7.1.
-
View User Profile
-
Send Message
Posted May 17, 2012Aha!
Figured it out. It is REQUIRED to have a warm-up of kits! I tried:
cooldowns: /kit diamond: 86400
Then defined it in essentials (I added both delay: 0, and even removed the delay altogether).
That didn't work, and I tried to reproduce your config. It worked. So I added a warmup, and BAM!
Thanks! :)
(Although I personally don't think that it should require a warp-up :P Just saying. But, if they don't want it, they can just set it to 0. Thanks!)
-
View User Profile
-
Send Message
Posted May 17, 2012@np98765
Config of boosCooldowns:
Config of essentials:
This way works for me.
-
View User Profile
-
Send Message
Posted May 16, 2012Hi,
I still can't figure out how to get kits to cool down and warm up :(
I searched the Essentials config for 'kit', 'cooldown', and 'warmup'. None of the settings seemed to affect it.
Is there a certain setting I need to change, or something I'm missing? I checked both the Essentials and this config... Kits properly defined, no clashing settings (so far as I can tell).
I've had to remove all donor ranks because they can now spawn unlimited kits... :(
Thanks :)
-
View User Profile
-
Send Message
Posted May 16, 2012@LordBoos
This plugin is AMAZING. Even with very LOW tickrate the plugin can count the seconds exactly as in the config. Pretty cool.
I'm running your plugin on a 300+ server with no noticeable impact on performance.
I'm still testing it, but spect a donation soon. TY!
-
View User Profile
-
Send Message
Posted May 16, 2012@Archonea New update just came out. I made some more optimizations, so CPU usage should be lower than in previous version.
-
View User Profile
-
Send Message
Posted May 16, 2012Can anyone else verify that the updates of this plugin significantly reduce lag?
I will be very glad if it does when the next update comes out and I can actually update the plugin.
-
View User Profile
-
Send Message
Posted May 15, 2012How about group cool downs? Everyone must wait to do a command until the cooldown is over (minus ops of course!)
-
View User Profile
-
Send Message
Posted May 15, 2012@LordBoos
Really? I looked through the whole thing...
Actually, do you happen to know what it's called? (or one of the words in it, so I can search for it)
-
View User Profile
-
Send Message
Posted May 15, 2012@np98765 Yes, I thing there is single option in essentials config.
-
View User Profile
-
Send Message
Posted May 15, 2012@LordBoos
Umm... Like removing the 'delay' from kits, removing tp warmups, and heal cooldowns?
Is there a single global option or something I'm missing?
-
View User Profile
-
Send Message
Posted May 15, 2012@np98765
You have to disable cooldowns and warmup support in essentials.
@Archonea
Hmm strange. Looks like command from console triggers onPlayerCommandPreprocesEvent. I will fix it in next version.