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.
Nice plugin! Something that would be very useful is a feature where you can limit the time intervals that a command can be used (in minecraft time). IE: /v bloodlust (from massivecraft Vampires) to be used only at night. Or a command thatcan be used only at dusk and dawn...
@DfieldMark
Cooldown has to be in seconds, instead of 1d, use 86400.
@TWSSYesterday
@emre24807
Thank you :-)
Hey there, I am running a Factions server w/ the MCMMO Plugin. I've tried the command "/booscooldowns set cooldown /FIX_ALL 1d [Mygroup]" and the case sensitivity is not working. Players are still able to use that command without a cooldown because of the case sensitivity of the command. can you please advise me on what to do. Need this problem fixed ASAP.
this is very good plugin thanks :)
can i link command so that they share ther cooldowns so when i use /home i get cooldown on /spawn too?
@Neradonier
There is nothing I can do right now, since combatTracker does not have any API. Try using CombatTag instead.
@LordBoos If someone is in combat and he uses /home with cooldown then the warmup says 10 seconds and then he gets ported. It should say he is in combat and can't use the command.
New version will include following changes (when it's approved by bukkit dev staff):
@Exician @SnugSites @bananana11
Fixed in 3.8.2
@999Mockingjay999
It's problem with your config. Instead of your "seconds" word, write &unit&. Like "§eYou can use &command& again in &seconds& &unit&."
@Socoolluke
You should post your permissions and config.yml, please use paste2.org or similar service.
@Nerad0n
I'm not sure what you mean. Does combatTracker has any API?
@therennon
This error tells me nothing. You should post whole error, not just starting line (try scrolling some lines up or down in your server log and I'm sure you'll find it.
Error in console: Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.8.1
Could you add combatTracker support?
For certain groups the cool down does not work. Does anybody know how to fix this? I'm using group manager
Having a couple of issues in 3.8.x "price:" not working. "xpcost:" not working - but acts as "price:" instead - so this is a work-around for "price:" not working.
Using Latest Spigot
Hi, love the plugin and appreciate you making it simple and the time you put into it. Everything is working just fine except the potion effect. I'm not getting any errors or anything and I doubt its conflicting with any other plugins since I'm just now starting my server from scatch and only have a few basic ones such as worldedit/guard and essentials. As I said everything is working just fine and I'm not getting any console errors, but cant seem to get a potion effect to work. I even tried using your example commands that have SLOW and WEAKNESS on them but the potion effect doesn't work. Either way still works fine even w/o the potion effect working and thanks again!
@999Mockingjay999
I'll check it.
@bananana11
Please post your config.yml using paste2.org or something like that.
@Melonking
That's logical. ReMap executes command "like" player. But My plugin uses PlayerCommandPreprocess event, which is nothing more than Chat listener, that catches messages starting with "/" (Bukkit implementation). Looks like ReMap uses CommandExecutor that does not fire PlayerCommandPreprocess event.
Commands that have been remaped with ReMap seem to skip the warmup sequence. The "Warming up" message shows, but then the command instantly executes.
I do /booscooldowns set warmup /spawn 5 member and it never changes the time. It just stays at 1 second. And when i try it with cooldown it has no cooldown. What am i doing wrong :o
@LordBoos
Hey, I have been having a bug with the cooldowns. When I use a message "§eYou can use &command& again in &seconds& seconds." if the seconds are more than 60, the time switches to minutes, so a cooldown of 120 seconds would say that the player only has to wait 2 seconds, rather than 120 seconds.
@YepImRobbie
I have no idea, what's wrong, I'll test it.
@guruserver
As long as command is run like if player send it to chat himself.
@LiteCheese
I haven't tested XP_costs, so it is possible it's broken. I'll test it.
@kjly
Post you config here, using paste2 or something like that.
whenever i type the ingame commands such as /booscooldowns set it gives me an invalid command or acces denied error, and the plugin doesn't seem to working :S I changed the config and followed the format and reloaded/restarted the server and nothing seems to be working.