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.
Craftbukkit: 1.1-R1 Issue: When I issue the command /booscooldowns, I always receive a message that tells me that it is "NOT WORKING". I allowed booscooldowns to re-generate the .yml with the release of the 1.1-R1 Stable Build. It did appear to still function and it was charging iConomy to players and giving Cooldowns/Warmups. I noticed these types of severe errors in the console.
2012-01-27 10:45:11 [SEVERE] Could not pass event org.bukkit.event.player.PlayerCommandPreprocessEvent to boosCooldown java.lang.NullPointerException at org.bukkit.util.config.ConfigurationNode.removeProperty(ConfigurationNode.java:575) at cz.boosik.boosCooldown.boosCoolDownManager.cancelCooldown(boosCoolDownManager.java:237) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.checkCooldown(boosCoolDownPlayerListener.java:184) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.onPlayerCommandPreprocess(boosCoolDownPlayerListener.java:59) at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:298) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:770) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737) at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:204) at cz.boosik.boosCooldown.boosWarmUpTimer.run(boosWarmUpTimer.java:32) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)
@LordBoos Done it already, posted my Configs now! ^-^
@LordBoos
i have 1.6.3 still dont work.
@Sonorpearl Check your ticket pls.
Don´t seem to me so, that it works. On my Server it didn´t work! ^-^
@twisted420mc Sorry for delay, i was investigating this issue. So this was bug in Factions 1.6.2. Download Factions 1.6.3 and all should work fine.
Using Factions 1.6.3 and boosCooldowns 2.0.1. It works screenshot!
@formmethanal Only warmups in group 2.
If a player has booscooldowns.warmup2 permissions he still has the default warumups or only warmups in group 2?
@LordBoos
i reloaded, and restarted. it still doesnt work
@twisted420mc Have you restarted your server after setting warmup?
commands: warmups: warmup: /give: 60 /home: 20 /f home: 15 /spawn: 15 warmup5:
@twisted420mc Post your config.yml pls.
i have the latest booscooldown, and i have factions, im trying to get /f home to have a 15 second warmup, but its not working i have allownoslashcommand set to false... and it still dont work... any help?
@icheesy It should generate configuration file. Always works for me.
OMG this plugin didnt generate a config or folder? How will it even work??????? Wat the crap!
Thanks LordBoos very greatful :)
And Thanks for the plugin, its very useful (if unpopular with my users lol)
@Sonorpearl Not a big deal, caused by player that started warmup in one world and moved in another world. This will not affect functionality. Will be fixed in next version.
@Yorkforce I will try to add per-world warmups in the next version.
Is there anyway to make this so that the cooldown from the overworld doesnt carry over to the nether? For example if i used /home in the overworld then went to the nether and used /home there it would have seperate cooldowns?
I did try setting .cooldown2 to the overworld and .cooldown3 to the nether but it isnt making any different to the cooldown timer.
20:09:40 [SEVERE] Could not pass event PLAYER_MOVE to boosCooldown java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null at org.bukkit.Location.distanceSquared(Location.java:380) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.hasMoved(boosCoolDownPlayerListener.java:198) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.onPlayerMove(boosCoolDownPlayerListener.java:166) at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:310) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:182) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:715) at net.minecraft.server.Packet10Flying.a(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:586) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
20:09:40 [SEVERE] Could not pass event PLAYER_MOVE to boosCooldown java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null at org.bukkit.Location.distanceSquared(Location.java:380) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.hasMoved(boosCoolDownPlayerListener.java:198) at cz.boosik.boosCooldown.boosCoolDownPlayerListener.onPlayerMove(boosCoolDownPlayerListener.java:166) at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:310) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:182) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:715) at net.minecraft.server.Packet10Flying.a(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:586) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
20:09:43 [INFO] [WorldInventories] Pl ayer v0llk0rn died in world Ethyron_nether, emptying inventory for group: ethyron
Big thanks to x8105 and Switch0r for awesome logos!