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 Apr 29, 2013Hey, not to be a bother but in the next update can you add an option in the config where if it is true it will disable performing another command during a warmup. Thanks!
-
View User Profile
-
Send Message
Posted Apr 29, 2013im still using the old version i cant understand the new one!! update the video for crying out loud!
-
View User Profile
-
Send Message
Posted Apr 29, 2013Hey Everyone, I was wondering if anyone could help me out with this problem, only some of the cooldowns work that I put on the commands. For instance, /near has a cooldown but most other things have no cooldown. Maybe im missing something simple. Heres my configuration. commands: groups: default: /enear: 5,10000,0.0,-1 /near: 5,10000,0.0,-1 /shout: 5,1000,0.0,-1 /eshout: 5,1000,0.0,-1 /broadcast: 5,1000,0.0,-1 /ebroadcast: 5,1000,0.0,-1 /fix: 10,10000,0.0,-1 /efix: 10,300,0.0,-1 /repair: 10,300,0.0,-1 /erepair: 10,300,0.0,-1 /tnt: 5,300,0.0,-1 /etnt: 5,300,0.0,-1 /fireball: 5,300,0.0,-1 /efireball: 5,300,0.0,-1 /antioch: 5,300,0.0,-1 /eantioch: 5,300,0.0,-1 /break: 5,3000,0.0,-1 /ebreak: 5,300,0.0,-1
-
View User Profile
-
Send Message
Posted Apr 27, 2013I have a problem, I have a cooldown on /fly, however whenever someone does /fly <random letters here> It bypasses the cooldown. Is there a way to make sure that something like that doesn't happen?
Thanks!
-
View User Profile
-
Send Message
Posted Apr 27, 2013@LordBoos
I set periodic saving to 0 and it appears that it caused my server to constantly save booscooldowns because my log was filled with the saving message.
-
View User Profile
-
Send Message
Posted Apr 26, 2013sorry about that my English is not good. Also, there are no video which up-to-date. I don't know how to set config with the new version.
--------------- can some one help me ?I want to set a group called VIP.
commands: groups: VIP: /tpa /home /spawn
I want the people after using the command then need to wait the cooldown time ( 5mins ) How can i set ?
Thankyou so much
-
View User Profile
-
Send Message
Posted Apr 25, 2013What would I use for an alias for "[playername]" is it {username} or what
-
View User Profile
-
Send Message
Posted Apr 24, 2013Update video please, I can't quite understand everything.
-
View User Profile
-
Send Message
Posted Apr 23, 2013@LordBoos
Yes, cooldowns in WorldGuard regions. :). It would be great to delay commands in certain PvP arenas, without affecting the whole world.
-
View User Profile
-
Send Message
Posted Apr 23, 2013Why it is giving me error? 23.04 15:56:20 [Server] INFO Players: baggis, Bowl, CharlieKilduff, DragonVenom07, Honli123, Mikket, REINISKASPARS, roberts123, skb, wade1, Zhunduks2012, ZhurkaLV 23.04 15:56:20 [Server] INFO ... 16 more 23.04 15:56:20 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 23.04 15:56:20 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 23.04 15:56:20 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23.04 15:56:20 [Server] INFO at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) 23.04 15:56:20 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:88) 23.04 15:56:20 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getCommands(boosConfigManager.java:261) 23.04 15:56:20 [Server] INFO Caused by: java.lang.NullPointerException 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 23.04 15:56:20 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 23.04 15:56:20 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 23.04 15:56:20 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 23.04 15:56:20 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 23.04 15:56:20 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 23.04 15:56:20 [Server] INFO org.bukkit.event.EventException 23.04 15:56:20 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.6.3 23.04 15:56:16 [Server] INFO skb: /f home 23.04 15:56:16 [Server] INFO ... 16 more 23.04 15:56:16 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 23.04 15:56:16 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 23.04 15:56:16 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23.04 15:56:16 [Server] INFO at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) 23.04 15:56:16 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:88) 23.04 15:56:16 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getCommands(boosConfigManager.java:261) 23.04 15:56:16 [Server] INFO Caused by: java.lang.NullPointerException 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 23.04 15:56:16 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 23.04 15:56:16 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 23.04 15:56:16 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 23.04 15:56:16 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 23.04 15:56:16 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 23.04 15:56:16 [Server] INFO org.bukkit.event.EventException 23.04 15:56:16 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.6.3 23.04 15:56:14 [Server] INFO ... 16 more 23.04 15:56:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 23.04 15:56:14 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 23.04 15:56:14 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23.04 15:56:14 [Server] INFO at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) 23.04 15:56:14 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:88) 23.04 15:56:14 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getCommands(boosConfigManager.java:261) 23.04 15:56:14 [Server] INFO Caused by: java.lang.NullPointerException 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 23.04 15:56:14 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 23.04 15:56:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 23.04 15:56:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 23.04 15:56:14 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 23.04 15:56:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 23.04 15:56:14 [Server] INFO org.bukkit.event.EventException 23.04 15:56:14 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.6.3 23.04 15:56:13 [Server] INFO ... 16 more 23.04 15:56:13 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 23.04 15:56:13 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 23.04 15:56:13 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23.04 15:56:13 [Server] INFO at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) 23.04 15:56:13 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:88) 23.04 15:56:13 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getCommands(boosConfigManager.java:261) 23.04 15:56:13 [Server] INFO Caused by: java.lang.NullPointerException 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 23.04 15:56:13 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 23.04 15:56:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 23.04 15:56:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 23.04 15:56:13 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 23.04 15:56:13 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 23.04 15:56:13 [Server] INFO org.bukkit.event.EventException 23.04 15:56:13 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.6.3
-
View User Profile
-
Send Message
Posted Apr 22, 2013Hey boos did u see my post below?
For some reason I am getting payment error instead of insufficient funds message, any ideas?
Thanks
-
View User Profile
-
Send Message
Posted Apr 22, 2013@beastlike56
Just disable periodic saving by setting save interval to 0.
Also it is possible by setting "/setwarp *:" in config.yml.
-
View User Profile
-
Send Message
Posted Apr 22, 2013+1 Booscooldowns seems to be causing "schedule" lag on my servers timings report, its at the top of my lag report. Also is there anyway of making /setwarp ANYWARPNAME have a cooldown? atm this is not possible
-
View User Profile
-
Send Message
Posted Apr 22, 2013@LordBoos
I will PM you the link to the report. booscooldowns uses much more than you think. My tps is at 3.8, and the plugin at the top of the lag list is booscooldowns :(
Please take a look at it yourself.
Thanks
-
View User Profile
-
Send Message
Posted Apr 21, 2013Hey Boos, small problem here, I am hoping you can shed some insight. I am using booscooldowns with Essentials Eco, and Vault. (All latest approved versions)
I want it to charge $5 when a command is used, the problem occurs a player doesn't have enough funds. Instead of immediately denying the command, it still allows the warmup, and after the warmup, I am getting "An error has occured: Loan was not permitted" message, rather then the "insufficient_funds" message configured in Booscooldowns.
P.S. I have fully disabled loans in essentials config.
Thanks for looking.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@saxons12
8 seconds out of 300 is not major lag. It's about 2% of server time. 1ms per tick is no lag at all.
-
View User Profile
-
Send Message
Posted Apr 21, 2013Please do some performance improvements. The Major lag is caused by booscooldowns on my server.
This is from NoLagg examine with Spigot and 400 online:
Total duration: 8479.291 ms / 6000 ticks Average duration: 1.413 ms/tick Selected task: Task #37 Plugin: boosCooldowns Location: cz.boosik.boosCooldown.boosWarmUpTimer$boosWarmUpRunnable
-
View User Profile
-
Send Message
Posted Apr 21, 2013@RulingKyle1496
You can set save interval to some very big number or to 0. Doing this will disable periodic saving and data will be saved only on server restarts.
Also if you are not using latest version, update it. Latest version is better optimised.
-
View User Profile
-
Send Message
Posted Apr 21, 2013the plugin does not seem to be very useful on larger servers, I had 200 people on and it seemed like I just had to upgrade the hardware to fix this stupid lag. But I say a pattern growing, every time it has to save player data it causes a massive lag spike up to 10,000ms. So after disabling this plugin it has never done that again... Weird...?
-
View User Profile
-
Send Message
Posted Apr 21, 2013@LordBoos
please make a version which works with old config