Limited button presses with a time limit

Discussion in 'Plugin Requests' started by little_dude187, Jun 30, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    little_dude187

    I would like a plugin that only gives players a certain amount of time every time they click a specific button.

    makes more sense in the command:

    /limitedbutton give [amount] [delay in seconds]

    ex.

    /limitedbutton give 1 4000

    every 4000 seconds, every player is able to click the button, or activate it. kind of like a kit.

    When a player tries to click the button: &3Sorry, you can click this button again in [amount of seconds ex. 4000] seconds

    Good for food dispensers, or food farms etc. :D
     
    Last edited by a moderator: Jun 30, 2015
  2. @little_dude187 Not sure you can block them from clicking it. You can send them messages or do certain things like cooldowns. But I don't think you can stop the redstone signal or the pressing ofmthr button.
     
  3. Offline

    little_dude187

    cooldown? isnt this the main part of this? is it possible?
     
  4. @little_dude187 Well we could do the Cooldown messages and things but not block the red stone signal.
     
  5. Offline

    little_dude187

    well, whatever gets them to not press it until cooldown is done.
     
  6. Offline

    Tecno_Wizard

    @bwfcwalshy, couldn't you cancel the player interact event?
     
  7. Offline

    nverdier

    This will work
    @little_dude187

    Just check that the event is right clicking a block, and that a button is being pressed.
     
  8. Offline

    Tecno_Wizard

    @bwfcwalshy, yes, but i believe it cancels the redstone mechanics which was he was likely trying to do.
     
  9. @Tecno_Wizard It does? Hmm interesting. Well you learn something new every day!
     
  10. Offline

    little_dude187

  11. Offline

    little_dude187

  12. Offline

    little_dude187

  13. Offline

    little_dude187

  14. Offline

    little_dude187

  15. Offline

    fromgate

    I can suggest my plugin ReActions.
    Here is example how to use it.

     
  16. Offline

    little_dude187

    Link? i like it
     
  17. Offline

    KingIngot

    Just use the plugin that I believe is called ButtonCooldowns.
    @little_dude187
     
  18. Offline

    mrCookieSlime

    fromgate likes this.
  19. Offline

    fromgate

Thread Status:
Not open for further replies.

Share This Page