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.
@Photonlance Fixed in version 2.1.4 beta... Strange that nobody except you noticed :O, It was bugged few versions back...
@Robert107 I will implement it in n ext version.
@LordBoos
Exactly! Some plugins don't have enough permissions nodes to deny some commands, it will be nice to have this feature, remmember to allow the block of commands with arguments, like "/town kick" for ie.
dont save cooldowns (( after restart commands again avalable
@Robert107 You mean to block players form using command?
@LordBoos
Hey! Can you add a feature to directy block commands like commandLimiter does?
Thanks!
@Sonorpearl
No, really don't know whats wrong, but maybe I fixed it and didn't noticed it... can you test it please?
@tremor77
Then download CommandHelper, set alias "/warp list" for command "/warp" and continue as if it was real command.
@LordBoos
Thanks for looking into it, sadly with my warp plugin.. "/warp" alone IS the warp list command.
http://dev.bukkit.org/server-mods/booscooldowns/forum/problems/30081-warmup-bug/ ???? You still not fixxed that issue? xD
New version is here!
Use Download link in description until it gets approved here on bukkit dev.
Please see configuration page to see how to use new features.
@tremor77
I figured out that this is not possible with the way plugin is written and would require major changes. So I changed the way in which commands are handled. So it will now be possible to keep warmup/cooldown/price for /warp, while disabling it for chosen sub-commands like /warp list. I'm in testing phase right now and will upload new version, updated configuration page and manual how to disable warmup/cooldown/price for chosen sub-commands when I fix all remaining bugs.
With this change, you can make much more than in previous versions.
@TheCuddler For prices, I'm using Vault, and I think that Vault is compatible with some economy plugins which uses items as currency.
@tremor77 Working on it right now.
Is it possible to check for and charge specific items before executing a command? Or is only currency supported?
@LordBoos
I have a similar issue but it involves /warp by itself (which lists warps). I would like /warp alone to have no warmup or cooldown, but /warp * to have warmups and cooldowns. Any change of implementing some type of conditional statements into it? like /warp *
@Buttercake_
Adding /warp should work for all it's sub commands. It surely worked when I last tried it. EDIT: I tested it, and it definitely work as I said. See this screens: Screen-1Screen-2Screen-3
Would it be possible to make sure the /warp <any warp that has been made> have a warmup? Because if I add "/warp" to the list, it just adds /warp, and not /warp arena (for example)
I want to make sure that ALL warps have cooldowns, player-made etc. And it's impossible to add all player-made warps to the config file of course.
Hope to hear from you.
ok i used my old config from 1.1 and now it works :)
@loopy5476 Link should be OK now.
Download link is broken, but i guess by the time you get this message your 2.1.2 will be submitted in.
Just uploaded new version containing some bug fixes, fix for reseting config.yml and finally fix for reload command.
Use Download link in description, before it gets approved here on bukkit dev.
@lbb601 Fixed in new version, uploading it now.