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 14, 2012I use a command from the console at certain points to teleport players places, and using the current version of boosCooldowns, when something like this is run from the console:
/spawn <player>
/warp market <player>
boosCooldowns will block that command as if the player had executed it on themselves, and the warp will not take place. As such, I cannot update even though I would love to fix the exploit where people can bypass the cooldown with extra arguments. Perhaps simply ignoring commands run from the console would solve the problem.
-
View User Profile
-
Send Message
Posted May 14, 2012Hi,
My users are able to spawn unlimited kits. Every other command cooldown works... spawnmob, feed, heal, etc., but somehow boosCooldowns doesn't register just plain old Essentials kits. I updated the plugin, reloaded the config.yml and the users.yml, and it still happens.
The only thing that it says is "You can't use this kit again for 8 seconds!" (in red letters), then let's the user spawn the kit again and again.
Any help? If needed I can post the config, but there are no errors and the cooldowns that work are formatted the same way as the kits.
Thanks!
-
View User Profile
-
Send Message
Posted May 14, 2012@LordBoos
Posting my config: http:pastie.org/3910761
-
View User Profile
-
Send Message
Posted May 14, 2012@FatFreeSMP Its not critical, plugin will work normally even if you get this error. This will be fixed in the upcoming version.
-
View User Profile
-
Send Message
Posted May 13, 2012I am showing this error using booscooldowns 2.6.7
http://pastebin.com/eiHt5Zbm
Please note I am using the latest BETA build of bukkit.
-
View User Profile
-
Send Message
Posted May 13, 2012@tremor77
Please post your configuration file using paste2.org This is strange, because it looks like my plugin is trying to set number of command used for no command, not even for /. Just for absolutely empty string. But it's impossible to send command which is absolutely empty string.
-
View User Profile
-
Send Message
Posted May 12, 2012@LordBoos
Haven't checked on the lag yet but still getting this alot:
-
View User Profile
-
Send Message
Posted May 12, 2012@BeastsMC I'm not using sleep anywhere, it looks like it conflicts with some other plugin, that you are using. Can you try it without other plugins? (only keep booscooldowns, vault and economy plugin enabled).
-
View User Profile
-
Send Message
Posted May 12, 2012The lag has gotten better, but it's still there. The first command you use when you log in still causes severe lag for everybody on the server. Using NolaggExamine, I still see that PlayerCommandPreprocessEvent[LOWEST] takes up roughly 50% of the time that the entire plugin uses. To me, this seems like you're using a sleep in the main server thread when you shouldn't be.
-
View User Profile
-
Send Message
Posted May 12, 2012Lag should be fixed in latest version (2. 6.7). Please test it and let me know.
I tested it only on my 10 player server with great results.
-
View User Profile
-
Send Message
Posted May 11, 2012Latest version does generate a config for me, thanks. :)
-
View User Profile
-
Send Message
Posted May 11, 2012Greetings,
I would like to be able to set a command to be usable a certain number of times in a certain time period. For example, 3 times a day. Any time.
Thanks
-
View User Profile
-
Send Message
Posted May 11, 2012I also believe this plugin is causing me lag,
check out the errors it is causing for my server.
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.IllegalArgumentException: Cannot set to an empty path
at org.apache.commons.lang.Validate.notEmpty(Validate.java:363)
at org.bukkit.configuration.MemorySection.set(MemorySection.java:156)
at org.bukkit.configuration.MemorySection.set(MemorySection.java:186)
at cz.boosik.boosCooldown.boosCoolDownManager.setUses(boosCoolDownManager.java:340)
at cz.boosik.boosCooldown.boosCoolDownListener.checkCooldown(boosCoolDownListener.java:355)
at cz.boosik.boosCooldown.boosCoolDownListener.onPlayerCommandPreprocess(boosCoolDownListener.java:129)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 14 more
03:16:22 [INFO] ?9?6Lighterzz?e?e ?1-?2-?3-?4> ?fMe: .
-
View User Profile
-
Send Message
Posted May 10, 2012@BeastsMC
Ditto. Still major laggage with boos :(
-
View User Profile
-
Send Message
Posted May 10, 2012Causes a ton of lag for me. The first time a player uses a command after he logs in, the entire server just locks up for 3-5 seconds. I've tested this and it keeps occurring right when the warmup starts. No errors in console. NoLaggExamine shows this plugin to be the laggiest plugin on the server, surpassing Orebfuscator by 150%. PlayerCommandPreProcessEvent seems to take up the most time.
I hope this gets fixed soon.
-
View User Profile
-
Send Message
Posted May 8, 2012Any way to disable the command logging?
Generates a huge file for me after a few days of players using commands :p
Other then that i would love to go back to using this plugin
-
View User Profile
-
Send Message
Posted May 6, 2012It's not generating a config file for me. Maybe that's because I'm using Java 7?
-
View User Profile
-
Send Message
Posted May 5, 2012Can i use variables?? so put a cooldown on /command <variable> but not on /command itself?
-
View User Profile
-
Send Message
Posted May 2, 2012Alright,
Every time I set a warmup, it repeats the message in-game like 5 times. It's probably because I set it up wrong.
Someone, make a video, or tell me how to set up this thing. (sorry I make it sound hard)
-
View User Profile
-
Send Message
Posted May 2, 2012@lucky___13
@Blake380
Iam working on optimization right now, it's almost complete. Just some bug fixes and it can be ready in max one week.