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. Offline

    bwfcwalshy Retired Staff

    @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. Offline

    bwfcwalshy Retired Staff

    @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

    bwfcwalshy Retired Staff

  9. Offline

    Tecno_Wizard

    @bwfcwalshy, yes, but i believe it cancels the redstone mechanics which was he was likely trying to do.
     
  10. Offline

    bwfcwalshy Retired Staff

    @Tecno_Wizard It does? Hmm interesting. Well you learn something new every day!
     
  11. Offline

    little_dude187

  12. Offline

    little_dude187

  13. Offline

    little_dude187

  14. Offline

    little_dude187

  15. Offline

    little_dude187

  16. Offline

    fromgate Retired Staff

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

     
  17. Offline

    little_dude187

    Link? i like it
     
  18. Offline

    KingIngot

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

    mrCookieSlime Retired Staff

    fromgate likes this.
  20. Offline

    fromgate Retired Staff

Thread Status:
Not open for further replies.

Share This Page