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.
I suppose it isn't possible to do a proper cooldown for /tpa. I assume whether or not the players teleport is accepted they wont be able to use the command again until the cooldown is over. I am using Essentials for teleports.
@TheStriker095
"booscooldown.exception" completely disables this plugin for user, who has it (even command logging).
@LordBoos
Hmm odd i was just wondering because people (myself) with booscooldowns.* do not get logged =/
EDIT: Yea people with booscooldown.* And/Or Op do not get logged.
@TheStriker095 Not at this time, but I can add it in next version if you really need it.
@LordBoos: IS there a permissions node so certain players wont be logged by the command logger?
@Zombiemold Ah I see, but that's not possible atm. It was like that before, but it breaks disabling cds for child commands.
@LordBoos
OH, I see what is going on! It only blocks ONE word after "/tell zombiemold WORD1" but it doesn't block stuff like "/tell Zombiemold word1 WORD2"
If I type "/tell zombiemold test" it gets blocked. If I type "/tell zombiemold test test" it gets sent! I think booscooldowns needs to block any commands, no matter how many additional strings are added. If you make that change, then it will be fixed! :D
@Zombiemold Please try to enable command_logging in my plugin. It will tell you what command player exactly used in console. And then you can block it too.
Please tell me results.
@LordBoos
Yeah, that is what I am doing. If you find that area of the config, I have been doing that, adding every shortage I can. I don't use command book.
Is there something wrong in my config?
@Zombiemold
This is, because commandbook. You can use just /msg zombie to send message to you. You will need to block all shortages. Eg /msg zombie, /msg zomb, /msg zom...
I am having an odd issue with limiting commands.
It would appear as if they are not 100% effective.
I'll explain my situation, and show you my config file.
Basically, I am trying to block any and all ways one can send messages to me. As an owner, I gets tons of tells, and I honestly can't stand it. I use Vanish no packet to stay invisible, but messages can still be sent to me, so I wanted to use Booscooldowns to stop all "/tell zombiemold" and "/msg zombiemold" commands etc. When I try to type the command myself, it seems to work as expected, but when others do it, sometimes it works and sometimes it doesn't. For instance, "/tell zombiemold message" is blocked when I type it, and others have confirmed that it is indeed blocked, but I still get messages from time to time from players, and if I check the log, it says they typed "/tell zombiemold message" which is normally blocked. I am stumped by this. Is this a known caveat? Is it possible that another plugin can get in the way of Booscooldowns? ie, a plugin that has lots of aliases. I am using MChat.
http://pastebin.com/qBFybZLx
I'll try to add new commands to purge cooldowns/limits for players in next version.
New version is here! Read Changelog!
@Kartus I'll investigate it.
command-blocking doesn't work on "/pl" or "/plugins"? on other commands it works ;)
Changed interact blocking to block only access to containers in version 2.4.2.
@LordBoos
thanks man ;D i love you!
New version is here!
boosCooldowns 2.4.1
Check changelog before downloading!
@Robert107
It was not intend, I'll fix it in next version.
@levisn1
OK I see that problem now. I'll add it in next version.
@LordBoos
Hey, i got a little question:
I got this config:
blocked: blocked: /town kick: true /t kick: true /plugins: true
When i use "/t kick" or "/town kick" the command it's blocked, but when i use "/t kick someone" i can kick someone out of the town.
It was made to work like that?
If it was, can you add an option to block children commands?
@LordBoos
try to add in the list of warmup this command /gm.. im my server i setted it at 5 seconds..o creative players cant escape from die or from fight in easy way...than i discovered that they use this time to open chest..so they put in creative inventory all things they needs, diamonds,tnt and others(in the 9 boxes)than return in survival..now they do /gm to start the warm-up..in this time of 5 seconds they are still in survival mode so they can open chest ok? than, now they open the chest inventory and attend until the warmup switch from survival to creative, always looking chest's inventory ok? and when warm-up is finished their inventory switch from surv to creative and they are still looking chest inventory without closing it!! and now the magic xD In the chest invetory appear the 9 boxes of the creative's inventory and now they can put all things that they had prepared after in creative mode in the chest..than they return in survival and take all xD...for me it's a big problem...because i cant use your plugin with Creative Control... ps : sry for my ugly english..