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 have been trying to get rid of the cooldown for one of my groups. I have /feed set to a 1 min cooldown. but when i put "booscooldowns.nocooldown./feed" in the permission for the group that shouldnt have it, the permission doesnt work. any suggestions?
sorry this is sloppy but im in a rush
how do you add a wild card in to the no pay command perm? booscooldowns.noprice./nick
That's what I want to use but it doesn't work since the command can be anything like /nick newname
I tried booscooldowns.noprice./nick.* but that doesn't seem to work
any help?
@LordBoos
I can't find the resource on spigot and this version gives me errors: [12:55:12] [Server thread/INFO]: hetjoshi issued server command: /fix all [12:55:12] [Server thread/ERROR]: Could not pass event PlayerCommandPreprocessEvent to boosCooldowns v3.8.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1107) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_25] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_25] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.NullPointerException at cz.boosik.boosCooldown.BoosConfigManager.getCommands(BoosConfigManager.java:283) [?:?] at cz.boosik.boosCooldown.BoosCoolDownListener.onPlayerCommandPreprocess(BoosCoolDownListener.java:197) [?:?] at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot.jar:git-Spigot-d0d1d87-15e81cf] ... 15 more
@LordBoos
So are you no longer maintaining your BukkitDev version?
Update: Just saw a thread regarding your "migration" experience. :/
@The_PC_Tech_Guy
New documented version is available on spigotmc site.
It'd be nice if you could provide explanations/comments for some of your configuration nodes, like block_interact_during_warmup
Update: figured it out by going through the messages in the config...
Is it possible to run commands as console (without using signs)?
Where can I change the message for syntax command?
@LordBoos
Thanks, I hadn't tested the new version yet since I'm still on 1.7.10 but I'm using it now. My config is much longer now XD http://paste2.org/mXC6v6Fy
@LordBoos How i can make that the cooldown from the command /test for VIP 5 is and for default 10? ;) Sry for my bad english...
@LordBoos
Please check out this issue: http://dev.bukkit.org/bukkit-plugins/booscooldowns/tickets/93-warmup-problem/
@godgodgodgo
Links are now removed and shared_cooldowns took it's place. See changelog of 3.8.6.
I managed to find some information on the links section through a very old changelog but my links are not causing other cooldowns to be started.
Here's my config: http://paste2.org/akNvyYgx Any guidance on how to get this working would be great.
I want all the tpa alias commands e.g. /tpa, /call, /tpahere to run on the same cooldown.
@maxlehot1234
Looks like your Java is a bit outdated. Try updating to Java 8.
I use Spigot 1.8, but when a player try to reload the plugin and doesnt have the permission to do it, I see:http:pastebin.com/UL0c9JCu
Is it normal?
Is it possible to use the Nausea potion effect for certain commands? I'd like my players to get Nausea when they teleport etc.
Could someone please add an explanation of the "links" section to the How To Setup page?
How stop commands if something can be added on the end and bypassed? Like /fireball 1 ?
@maxlehot1234
Looks like invalid configuration. Post your config.yml using pastebin.
Everytime a player enter a command that was inside the config, he see this error: http:pastebin.com/uaH1idtB
boosCooldowns 3.8.6 has just been uploaded with following changes and it now waiting for approval.