Filled Redstone activator cooldown

Discussion in 'Plugin Requests' started by Jamesol1, Oct 6, 2020.

  1. Offline

    Jamesol1

    Minecraft version: 1.12.2

    Suggested name: ActivatorCooldown (feel free to choose your own)

    What I want: For a server im working on, the combat involves fighting other people with vanilla style tnt cannons weilded on ships. At the moment players can spam buttons, pressureplates, levers which fires such weapons off at a ridiclous rates and makes balancing tough.

    I was hoping someone could make me a plugin that would allow one to add a cooldown to redstone activating entities such as buttons, levers, pressure plates. A bonus addition would be a customizable message that would be played upon pressing one of the listed entities while its on cooldown.

    EDIT: I spoke to someone who is familiar with plugins said one could ''make a list of uuids on cooldown, or a map of that and when they went on cooldown then cancel the event if they are on cooldown''. Added note: If this cooldown could be a global one for the player so they cant abuse it through pressing a button, then a lever quickly or something. This whole thing is specifically for the use of tnt dispensers.. if that makes it easier to make/less things to lisiten to, even better. I'm hoping it wont be a resource intensive plugin as i do have quite a few other plugins.

    Ideas for permissions: none. i'd want this to occur by default for all. ideally including ops.


    It would be greatly appreciated!
    Thanks for reading!
     
    Last edited: Oct 7, 2020
  2. Offline

    gochi9

    This is the plugin

    Op's won't get cooldown

    Commands to reload the config: /activatorreload - Permission: activator.reload

    You can modify in the config each message and cooldown
     
    Jamesol1 likes this.
  3. Offline

    Jamesol1

    Thanks a lot! I tested it and it works great. Are you able to add a global cooldown for them any chance? so if you use a lever you cant use a button or pressure plate until that cooldown expires. This is to prevent players from being able to use the 3 different types and activate redstone within the cooldown interval set.
    EDIT: If there was an option to disable the cooldown message that would be really good actually, only if its not much work. The chat can get quite spammy. Sorry for the second added suggestion, its not crucial at all but would be nice.
     
    Last edited: Oct 7, 2020
  4. Offline

    gochi9

    This is the plugin

    Done,even the enable messages part.Delete the old config and generate a new one
     
    Jamesol1 likes this.
  5. Offline

    Jamesol1

    Thanks! Weird error with it though, i tried making the activator cooldown '3' and its seems to be 1600497979750 seconds instead. Not joking. On a positive note the global aspect of them all 3 having a shard cooldown works though :D.
     
  6. Offline

    gochi9

    This is the plugin

    Bug fixed
     
    Jamesol1 likes this.
  7. Offline

    Jamesol1

    Thanks again! works great! Nice one
     
  8. Offline

    AkiraTsubasa

    Hey there @Jamesol1 , I'm glad that the plugin works great for you, if you believe that this request has been totally completed for you, don't forget to mark this thread as filled please.
    Have a great day.
     
    Jamesol1 likes this.

Share This Page