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 Sep 23, 2013I get this error a lot now. How do I fix it? My config @ http://pastebin.com/JZQAzFQj
2013-09-23 15:04:45 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.7.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:946) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:872) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:829) at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:535) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at cz.boosik.boosCooldown.BoosConfigManager.getCommands(BoosConfigManager.java:276) at cz.boosik.boosCooldown.BoosCoolDownListener.onPlayerCommandPreprocess(BoosCoolDownListener.java:122) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 17 more
-
View User Profile
-
Send Message
Posted Sep 22, 2013every command as a 1 second warmup what is wrong!!!1
-
View User Profile
-
Send Message
Posted Sep 21, 2013Thanks! I appreciate it.
-
View User Profile
-
Send Message
Posted Sep 17, 2013@Nekuroi
I'll look into it when I find some free time.
-
View User Profile
-
Send Message
Posted Sep 17, 2013They have an API to allow others plugins to check that and cancel it but Towny will not cancel it by themselves.
-
View User Profile
-
Send Message
Posted Sep 17, 2013@Nekuroi
I think that Towny supports that.
-
View User Profile
-
Send Message
Posted Sep 16, 2013@LordBoos Can you add towny support to deny a command execution between an enemy land?
-
View User Profile
-
Send Message
Posted Sep 16, 2013@tateschroeder13
Please post your configuration file using some paste service.
-
View User Profile
-
Send Message
Posted Sep 15, 2013So I have all my warmups working correctly but I keep getting this error. Also now that I added this I cannot use the command /f home (Its not configured In anyway with bc)
Everytime I type a command It generates this error. But the commands work just perfect..
Log:
15.09 17:23:20 [Server] INFO Factor[m:820327[m, mrbuddy13[m 15.09 17:23:20 [Server] INFO list 15.09 17:23:04 [Server] INFO Factor[m:820327[m, mrbuddy13[m 15.09 17:23:04 [Server] INFO list 15.09 17:22:47 [Server] INFO Factor[m:820327[m, mrbuddy13[m 15.09 17:22:47 [Server] INFO list 15.09 17:22:47 [Multicraft] Skipped 71 lines due to rate limit (30/s) 15.09 17:22:40 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to Factions v1.6.9.5 15.09 17:22:40 [Server] INFO ... 16 more 15.09 17:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 15.09 17:22:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 15.09 17:22:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 15.09 17:22:40 [Server] INFO at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) 15.09 17:22:40 [Server] INFO at cz.boosik.boosCooldown.BoosCoolDownListener.onPlayerCommandPreprocess(BoosCoolDownListener.java:122) 15.09 17:22:40 [Server] INFO at cz.boosik.boosCooldown.BoosConfigManager.getCommands(BoosConfigManager.java:276) 15.09 17:22:40 [Server] INFO Caused by: java.lang.NullPointerException 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:829) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:872) 15.09 17:22:40 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:946) 15.09 17:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 15.09 17:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 15.09 17:22:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 15.09 17:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 15.09 17:22:40 [Server] INFO org.bukkit.event.EventException 15.09 17:22:40 [Server] SEVERE Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.7.2 15.09 17:22:40 [Multicraft] Skipped 7 lines due to rate limit (30/s)
-
View User Profile
-
Send Message
Posted Sep 15, 2013@LordBoos
I set in config file but it still not working
-
View User Profile
-
Send Message
Posted Sep 15, 2013@TessT322
Set command is broken right now. Edit file directly.
-
View User Profile
-
Send Message
Posted Sep 15, 2013http://drtshock.net/yERi
-
View User Profile
-
Send Message
Posted Sep 14, 2013@LordBoos
Could you please add that ASAP
-
View User Profile
-
Send Message
Posted Sep 14, 2013@deleted_11277867
Aliases currently doesn't support * wildcards.
-
View User Profile
-
Send Message
Posted Sep 14, 2013with the aliases would it be possible to add something like this?
/tnt *: /tnt: /warp *: /spawn
-
View User Profile
-
Send Message
Posted Sep 11, 2013Hey LordBoos - just wondering, if it is possible to make a cancel on the warmups not count toward using the command? For example /spawn has a 5 second warmup, if i accidentally move my mouse (with warmup cancel enabled).. i think i should be able to try /spawn again without the cooldown. Can you set that up and/or make it configurable?
edit
ok wierd.. it seems to be working fine now.. and i dont think i changed anything.
-
View User Profile
-
Send Message
Posted Sep 9, 2013VIP: /feed *: cooldown: 900 VIP: permissions: - essentials.feed - booscooldowns.vip
no works cooldown
-
View User Profile
-
Send Message
Posted Sep 8, 2013@tateschroeder13
Just remove *: in configuration file. * means all commands.
-
View User Profile
-
Send Message
Posted Sep 8, 2013@MrMime22
Configuration format was changed between 3.6 and 3.7, because ppl complained about 3.6 configuration format. Please delete your config.yml and see new simplified format.
-
View User Profile
-
Send Message
Posted Sep 8, 2013@LordBoos
Im using the latest build.