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.
@KnightcraftRPGServer
Had the same issue and it was causing memory leaks, it was with having warmups enabled and trying to add warmups to commands, just disable warmups
Almost constant error, starts at bottom http://pastebin.com/nE4mNeQ5
Cooldowns on commands don't support aliases. For instance: If you have essentials and you grant some the essentials.me permission, he can use both /me and /eme. /eme is the alias of /me. Now what I tried is to alias /eme to /me, however your plugin still sees it as I run /eme.
I've by the way used commands.yml to alias and your plugin, with neither options your plugin catches the final command which is executed, and not the command which is sent by the player.
Hi there
I need a little help setting up a limit for a command.
I wan't the user to be able to use /fix twice every 24 hours. So once the user has used /fix twice in the limit of 24 hours he/she won't be able to use it again until the next day.
I have it setup in the config like this but the 'limit' section seems to only allow them to use it twice and then never again.
Config:
commands: groups: hero: /fix: cooldown: 86400 limit: 2
This is by far the buggiest plugin I have on my server. And I can't find a single replacement...
Cooldowns just break, which is the WHOLE point of this plugin. Warmups are working OK, but when cooldowns break, they take everything else with it. reloading the plugin after editing the config almost guarantees it breaking.
NPE's. NPE's everywhere.
Someone PLEASE code a cleaner cooldown plugin.
@LordBoos Ahoj,mám takový problém.. V permissions ex mám nastavené booscooldowns.default A v configu toto commands: groups: default: /spawn: cooldown: 2 warmup: 4 Nastavoval jsem to i příkazem ve hře booscooldowns set cooldown /spawn 7 Nefunguje mi nic.. už si nevim rady,nevim kam to mám psát dál.. Cooldown ani warmup vůbec nejde.. Prosím o radu .
I have made all of these groups and stuff. HOW DO I ASSIGN A PLAYER TO A GROUP (w/ permissions)
Cooldowns aren't working or am I doing something wrong?
[code] groups: default: /fix all: cooldown: '1800' /fix hand: cooldown: '360' /fix: cooldown: '360' /efix: cooldown: '360' /efix hand: cooldown: '360' /efix all: cooldown: '1800'[/code]
I second the guy below; Is it possible to make "/command playername" commands affected by cool down?
Say I would like everyone to be able to whitelist a person once per week.
I am having trouble with /smite I set a 10 cooldown on it and it work but it doest if i do /smite then a players name any know how I can make the cooldown affect both smites?
LordBoos this plugin is amazing. That being said, I do have a suggestion that would make this plugin perfect. Let us define commands that won't be cap blocked in the config.yml
First a section of commands that we're not limiting at all and don't want the plugin to touch. Examples: - /msg - /m - /r - /tell
And second, perhaps a "define:" option for a limited command. Example: /nick warmup: 5 price: 10.0 limit: 5 define: /nick
The plugin would know that /nick was being limited but not to worry about caps in the parameters because you told the plugin to limit /nick and every possible parameter after /nick anyway. This example is something anyone using nicknames with essentials would need for players to set caps in their names. But obviously a command that would need a cooldown so you know who you are talking to from minute to minute.
I'm not sure if it's doable, the more I think about it, the more my mind travels down the case sensitive rabbit hole. Just a suggestion tho. In the meantime, I may just have to remove /nick from my players perms till I can find a good fix. And, I do know there is a /whois (/realname) command in essentials. You just don't want players to be able to freely change their names every few seconds. It's very annoying to everyone on the server.
After upgrading to v3.8.3, whenever a player comes onto the server, the console spams errors till the player leaves.I had to revert back to v3.8.2, and everything seems to work fine without any errors.
Running on Spigot 1.7.9 build #1493
Console Output: http:pastebin.com/tamAGBr9
Hello. It appears limits and /booscooldowns clearcooldowns <name> isn't working for me. Any ideas? I am using 3.8.3
@Sinuce
I have the delay happening, but after they stand there for the 5 seconds i set, it just doesnt do anything.
and if you do the command again, it says
Warm-Up process for /feed has already started.
HELP?
Running: Spigot build 1463 MC: 1.7.9 (1.7.9-R0.1-SNAPSHOT)
@KoroEDM
I have the same setup and same problem, it seems. Can't get cooldowns to work. Running Spigot 1.7.9, plugin v3.8.3, using PEX.
Gah, I really need this plugin to work but it won't. I'm running Spigot 1.7.9 with version 3.8.3 of your plugin. I set some simple cooldowns for /feed and /fix, but none of them work. My players can use the commands freely. Any help?
What are links?
Can two or more commands have a shared cooldown?
I think it doesn't work with GroupManager... help me I want to cooldown commands only for a specified group !!!
@FoxyFullmoon
Agreed. I would want that as well :( I NEED THAT
EDIT: I think u can just use a command alias with commands.yml in the root folder of your server and put homes cmd as a home alias.
The commands.yml is a bypass to all the other command alias plugins. Just a thought.