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 3, 2013New version 3.6.1 is here!
It uses new config.yml format, so you HAVE to delete it and set again.
-
View User Profile
-
Send Message
Posted Apr 2, 2013@LordBoos How would one go about setting this?
-
View User Profile
-
Send Message
Posted Apr 2, 2013@TheOnlyZaneboy
Yes, it does!
-
View User Profile
-
Send Message
Posted Apr 1, 2013So we have to write out config again?
-
View User Profile
-
Send Message
Posted Apr 1, 2013Does this plugin have per-group support? Ex. If I want one group to wait 1 sec. to re-use the command and another group to wait 2 secs. If not are there any know plugins that can do this.
-
View User Profile
-
Send Message
Posted Apr 1, 2013@LordBoos Apparently someone didn't like the offsite link... I'll try fork from git and compile if your git is up to date, and let you know how it goes (if I can get free, my kids are being god awful brats today)
- Had a chance to test some, doesn't seem like the linking is quite working.
it's registering /tpa trem and /tpa tremor77 as different commands and not creating a link
-
View User Profile
-
Send Message
Posted Apr 1, 2013@deaddude22
Some parts of your config.yml are missing. Delete it and set again.
-
View User Profile
-
Send Message
Posted Apr 1, 2013Is there a way to have this plugin assign a permission to someone for a defined period, and then take it away for a defined cooldown period? If not, that might really expand the possibilities of what you can do.
-
View User Profile
-
Send Message
Posted Mar 31, 201301.04 03:22:59 [Server] INFO ... 16 more 01.04 03:22:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 01.04 03:22:59 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 01.04 03:22:59 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 01.04 03:22:59 [Server] INFO at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) 01.04 03:22:59 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:202) 01.04 03:22:59 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.prePriceCheck(boosCoolDownListener.java:314) 01.04 03:22:59 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getPrice(boosConfigManager.java:229) 01.04 03:22:59 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getPriceGrp(boosConfigManager.java:237) 01.04 03:22:59 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getPriceGroups(boosConfigManager.java:247) 01.04 03:22:59 [Server] INFO Caused by: java.lang.NullPointerException 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 01.04 03:22:59 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 01.04 03:22:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 01.04 03:22:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 01.04 03:22:59 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 01.04 03:22:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 01.04 03:22:59 [Server] INFO org.bukkit.event.EventException 01.04 03:22:59 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.5.0 01.04 03:22:59 [Multicraft] Skipped 5 lines due to rate limit (30/s) 01.04 03:22:57 [Server] INFO at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source) 01.04 03:22:57 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:231) 01.04 03:22:57 [Server] INFO at cz.boosik.boosCooldown.boosCoolDownListener.blocked(boosCoolDownListener.java:37) 01.04 03:22:57 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getLimit(boosConfigManager.java:171) 01.04 03:22:57 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getLimGrp(boosConfigManager.java:155) 01.04 03:22:57 [Server] INFO at cz.boosik.boosCooldown.boosConfigManager.getLimitGroups(boosConfigManager.java:165) 01.04 03:22:57 [Server] INFO Caused by: java.lang.NullPointerException 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 01.04 03:22:57 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) 01.04 03:22:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 01.04 03:22:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 01.04 03:22:57 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 01.04 03:22:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 01.04 03:22:57 [Server] INFO org.bukkit.event.EventException 01.04 03:22:57 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.5.0
-
View User Profile
-
Send Message
Posted Mar 31, 2013If anybody wants to help me with testing, please download version 3.6.0 BETA from following link. I tested it on my server without problems. If you find any bug, please post it here (if you get error in console, please also post that error, your config.yml, your users.yml and also your permissions.yml. Please use pastebin or something for posting it.). Thanks for your help!
-
View User Profile
-
Send Message
Posted Mar 31, 2013Omg I did it! I finally did it! :-D I just added regex! I'm so happy! Just a little more testing before I release it, but everything seems to be working so far. Finally '*' wildcard will be possible!
-
View User Profile
-
Send Message
Posted Mar 31, 2013@tremor77
Yep, existing configs will work.
-
View User Profile
-
Send Message
Posted Mar 31, 2013@LordBoos
Will existing configs work for 3.5 without editing?
Also, maybe next week if I get some free time I'll take a peek at your source and make some suggestions where you could add that regex in.
-
View User Profile
-
Send Message
Posted Mar 30, 2013Woot?! A new version again?
boosCooldowns 3.5.0
-
View User Profile
-
Send Message
Posted Mar 30, 2013@tremor77 I really, really, really want to implement regex to make * wildcard usable, but I'm begginer developer and really don't know hot to do it. Tried it many times but no success. Maybe you can help me? :-)
@Gunnerrrrr That is not yet possible. Hope that tremor77 helps me with regex and it'll be possible.
-
View User Profile
-
Send Message
Posted Mar 30, 2013A way to make global cooldowns would be cool. So every command has a cooldown of a second or two.
-
View User Profile
-
Send Message
Posted Mar 30, 2013-
View User Profile
-
Send Message
Posted Mar 30, 2013@ms0244412 Hate to advertise on another plugin but if you can't find a way to make boos do that try my plugin PwnFilter. You can create custom commands with its alias feature.
@LordBoosYa I figured it was probably SC2 with the way they take care of their own warmup timer... even when its set to 0, sucks because I am trying really hard to lump all my teleporting commands into one linked group. Is it possible for you to add regex to your warmups and cooldowns.. I'd like to cooldown on /warp .+ or /warp * but ignore /warp by itself.
-
View User Profile
-
Send Message
Posted Mar 30, 2013How would I make it so the aliases can execute a console command. I want it so when players type in /vote the console whispers the site to them
-
View User Profile
-
Send Message
Posted Mar 30, 2013@tremor77
This must be problem with SC2, other plugins works fine with boosCooldowns.