Inactive [MISC] bCoolDown 1.3.1 - CoolDown and WarmUp for every plugins commands [803]

Discussion in 'Inactive/Unsupported Plugins' started by beecub, Apr 30, 2011.

     
  1. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    bCoolDown - CoolDown und WarmUp for every command
    Version: 1.3.1
    Download bCoolDown
    [IMG]



    You want to let your users use commands only every x seconds?
    You want to set a time between typing command and executing?
    This is your plugin.


    Features:
    • set WarmUp time for every command
    • set CoolDown time for every command
    • custom info messages
    • Permissions support (not necessary)

    Examples:

    Explanation:
    If youre typing command /give it will take 60 seconds before you get your items.
    If youre typing command /home it will take 20 seconds before you get home and you have to wait 30 seconds before you can use thecommand again.
    If youre tpying command /spawn youre going to the spawn and you have to wait 60 seconds before you can use the command again.
    Explanation:
    Use &command& to show command in your message.
    Use &seconds& to show seconds in your message (not for already started warm-ups).

    Example-Config:

    #Add your commands in lowercase!
    commands:
    warmup:
    /give: 60
    /home: 20
    cooldown:
    /spawn: 60
    /home: 30
    options:
    message_warmup_alreadystarted: '&6Warm-Up process for&e &command& &6has already started.&f'
    message_warmup: '&6Wait&e &seconds& seconds&6 before command&e &command& &6has warmed up.&f'
    message_cooldown: '&6Wait&e &seconds& seconds&6 before you can use command&e &command& &6again.&f'



    Commands:
    /bCoolDown - reloads config file (use it after changes in your config)


    Permissions:




    Changelog:
    Version 1.3.1
    • lowercase/uppercase - fix

    Version 1.3.0
    • no WarmUp or CoolDown for OPs
    • Permissions support (not necessary)
    Version 1.2.0
    • totally changed Warm-Up management
    Version 1.1.0
    • custom messages
    Version 1.0.1
    • fix: remove done WarmUp procress from hashmap
    Version 1.0.0
    • Initial Release



    (Thanks to DevRW for idea. Thanks to spunkiie for testing, bug-finding and his incredible belief ins this plugin. ;))
    Request?, i wanna do it. Give me Feedback. I want to hear your opinion. Thanks a lot :).

    kahlilnc and Tonysp like this.
  2.  
  3. Offline

    Piedo_bear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So it it possible to cancel on movement/damage taken? That would be awesome :p
  4. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Simple freeze?, no console output?, mh, never had this on my servers up to now.
    Thanks a lot for testing so much, youre great :)
  5. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its on my To-Do list pinned above my desk :D
    Will be in one of the next versions :)
  6. Offline

    Taranis01

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    REQ: more Permissions support: different cooldowns/warmups for each Group :)

    different cooldowns/warmups for commands like "/warp X" and "/warp Y" doesn't work yet, right? would be nice to be added
  7. Offline

    imaxorz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there no way to use commands that contain a space?

    I want /town spawn to have a cool down and a warp up. Also, /home and /home set but different times for each.

    Thanks!

    I also seem to get an error at start up, but it works....


    2011-05-05 12:01:12 [SEVERE] null loading bCoolDown v1.3.1 (Is it up to date?)
    java.lang.NullPointerException
    at java.util.LinkedList.addAll(LinkedList.java:269)
    at java.util.LinkedList.addAll(LinkedList.java:247)
    at com.beecub.bCoolDown.bCoolDownManager.clear(bCoolDownManager.java:67)
    at com.beecub.bCoolDown.bCoolDown.onEnable(bCoolDown.java:43)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259) at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
  8. Offline

    Taranis01

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hm...push :)
    imaxorz likes this.
  9. Offline

    dslip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is this working with b766 as I get errors on startup.
  10. Offline

    Cpt. Wolf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any chance of adding multi world inclusions/exclusions? My group runs a survival and free build world in addition to a normal world and nethers for each. Having a warm up and cool down in survival for things like home and sethome would be awesome, but not so much elsewhere.
  11. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Finally tested it out - works like a dream - thank you.
  12. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    http://pastie.org/1891226

    After about an hour of using the plugin - i'm getting that now - it crashed / timed out our server, thoughts?
  13. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Strange error. Never had this before on my servers. And it seems not to be an error of bCoolDown.
    What is this command doing?
  14. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Was using it with /cast and /warp. - spells and warp.
  15. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    dont think this error comes from my plugin, but to investigate i want to ask you if you can observe if this happens again.
  16. Offline

    dslip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    19:11:17 [INFO] [bCoolDown] version 1.3.1 is enabled!
    19:11:17 [SEVERE] null loading bCoolDown v1.3.1 (Is it up to date?)
    java.lang.NullPointerException
    at java.util.LinkedList.addAll(LinkedList.java:269)
    at java.util.LinkedList.addAll(LinkedList.java:247)
    at com.beecub.bCoolDown.bCoolDownManager.clear(bCoolDownManager.java:76)
    at com.beecub.bCoolDown.bCoolDown.onEnable(bCoolDown.java:43)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Getting this at startup using
    Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks
  17. Offline

    dslip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    21:26:00 [INFO] [bCoolDown] version 1.3.1 is enabled!
    21:26:00 [SEVERE] null loading bCoolDown v1.3.1 (Is it up to date?)
    java.lang.NullPointerException
    at java.util.LinkedList.addAll(LinkedList.java:269)
    at java.util.LinkedList.addAll(LinkedList.java:247)
    at com.beecub.bCoolDown.bCoolDownManager.clear(bCoolDownManager.java:67)
    at com.beecub.bCoolDown.bCoolDown.onEnable(bCoolDown.java:43)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Getting this at startup.

    Also how would I go about putting a cooldown on specific faction commands get '/f home' and not the who '/f' command
  18. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    We're also getting the above errors on startup - I've removed it for now until it can be resolved. I'll give more testing tho.
  19. Offline

    oschaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @beecub
    We're getting the same errors. I think your work is great, and it's very important on our server; please update :D
  20. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sry for wating time.
    Fix for 766.
    Redownload it.
    oschaus likes this.
  21. Offline

    imaxorz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any planned support for commands with spaces in them? I would like to use it for towny, but it has a ton of commands that start with /town
  22. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes, of course, working on it just in this moment ;)
    imaxorz likes this.
  23. Offline

    oschaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I too am getting errors. This one occurs when I try to reload, and it actually blocks the reload! (second try works tho)
    Code:
    17:48:10 [WARNING] Unexpected exception while parsing console command org.bukkit.command.CommandException: Unhandled exception executing 'reload' in org.bukkit.command.SimpleCommandMap$ReloadCommand@ebd257 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:89) 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:270) 	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:396) 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:381) 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287) 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394) Caused by: java.lang.NullPointerException 	at java.util.LinkedList.addAll(LinkedList.java:286) 	at java.util.LinkedList.addAll(LinkedList.java:264) 	at com.beecub.bCoolDown.bCoolDownManager.clear(bCoolDownManager.java:67) 	at com.beecub.bCoolDown.bCoolDown.onDisable(bCoolDown.java:52) 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:129) 	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:690) 	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:261) 	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:255) 	at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:269) 	at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:308) 	at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:201) 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85) 	... 5 more
  24. Offline

    beecub

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Known problem, but solved in the newest version. Please redownload it.
  25. Offline

    GmK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @beecub

    My users continousley run into a problem:

    When I set e.g. /spawn to have a warmup of 5 and cooldown of 30, they do /warp, and it works like intended. But sometimes, and not linked to other things, the cooldown suddenly multiplies to amounts like 15903030 seconds, and i only reset at a server restart.

    This happens to players from all groups, permission levels, and so on. It doesnt happen all the time, but randomly.

    Any idea what would cause the cooldowns to derp like that?
  26. Offline

    dslip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @beecub
    Are we any closer to having commands with spaces in them being accepted ?
  27. Offline

    darkwarriors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how can i add specify command? like /f home or /warp blabla?
  28. Offline

    Taranis01

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @darkwarriors:
  29. Offline

    Mikeambrose3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This doesn't seem to work with WorldEdit/WorldGuard (forgot which)'s /jumpto command.
    When i put /jumpto in the config, and save...

    It says there's a cooldown in-game but they can still use it anyways, is there a problem?
  30. Offline

    elitefroggy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    not working... my users.yml is empty, what do i type in it.
  31. Offline

    elitefroggy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    can you disable the no warm-up and cool-down for OPS
  32. Offline

    Nix0r

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this only work with normal commands? I tried add the faction command /f home to the list but it wasn't working.

Share This Page