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.
You created the Forum and you donĀ“t look in it. ^^
@formmethanal I am using PEX and all is working well. Permissions are case-sensitive, so booscooldowns.nowarmup will not work, while boosCooldowns.nowarmup will work.
Is there anybody else who has trouble with PEX? No permission is working for me, i have always to wait for warmups/cooldowns. LordBoos? Which Pemission Plugin are you using? Are all permissions working on your server?
@ludo0777 Any idea how to resolve http://pastebin.com/KAjbA26Q?
@LordBoos
Strange. Worked great with towny at 1.8. Anyhow, thank you for the response and the work you put into this. I'll check back later. I'll have to find an alternative, as my server is pretty dependent on Towny.
I'll check in later on updates. :)
Can I contribute anything?
Created forum just few seconds ago. Please post any Feature requests or Bug there.
1.7.0 has a npe crash in it, when not using economy plugin. Fixed in 1.7.2 (download using JAR link)
New version 1.7.0 is here! Read changelog and download it clicking on JAR link at top of the page, before its approved here on BukkitDev.
@user_19822 Unfortunately, I cannot fix this, CommandBook uses Synchronized code, byt my plugin uses asynchronized threads to handle Warmups. I cannot use Synchronized timers, because that will cause this: One player starts 20s warmup, after that, second player starts 10s warmup. First player is unaffected, but second player must wait 20s and then 10s. Synchronized timer can only process timing one by one, so i cannot use it in my plugin.
@tremor77 Thats bug in 1.6.0, download 1.6.1 using link JAR on top of the page.
Getting this error after tryign to install booscooldowns.
03:37:36 [SEVERE] Could not load 'plugins/boosCooldowns.jar' in folder 'plugins': while scanning for the next token found character '\t' that cannot start any token in "<reader>", line 13, column 1:
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:36) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:71) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
@LordBoos
I appreciate you looking into this. I have the same issue and whenever the plugin attempts to apply a cooldown to /spawn from Commandbook, /home from Commandbook, or /town spawn with Towny, it returns the errors in the pastebins below.
http://pastebin.com/KAjbA26Q
When I remove BoosCooldowns, it no longer returns such errors.
@formmethanal You are right. I will investigate it.
@LordBoos
Thanks, now i donn't get any erros but the exception seems to be broken. I'm using PEX, can you verify this? Even if a group has the permission they still have to wait for warmups/cooldowns.
@formmethanal Please try to download latest version from JAR link at top of the page and tell me if that error is gone (also delete you config.yml and users.yml files).
I've tested it on my private server, it woked perfect, but on the public server i get this error everytime a player connects:
http://pastie.org/3085132
@OZ4RK Any errors in console? Can you please provide step-by-step guide how to reproduce this bug? Because i have tested it on my live server with 30-40 players online and this bug did not occured with latest version of my plugin.
My users are constantly com paining that they can't use a command because it says "Warmup has already started" for days, when I only have a 5 second warmup. Is this a bug?
Thanks for the update, was about to give up :D