Accept/deny redstone activation

Discussion in 'Archived: Plugin Requests' started by xdeathoreox, Jul 8, 2011.

  1. Offline

    xdeathoreox

    Ok, We all have the experience of you doing something with redstone and your friend comes by and keeps stepping on the pressure plate or pushing the button. What if you could change that?

    The idea of this plugin is simple but making it might be a challenge.

    Basically you have your redstone (or possible a door). You don't want someone always activating it. So, you put a sign somewhere on the current (preferably right next to input source) and it would be something like this:
    <L1> [Authorize]
    <L2> Owners name
    <L3> Line Name

    Authorize would be when the sign is powered, it will send a message to the owner and it would read:
    Someone is trying to use <name>. Allow or deny? (y/n)
    You would press your chat button and you would either type 'y' and the redstone wire would be activated and it would care out it's function. If you entered 'n' nothing will happen.
    When the owner enters 'n' the user trying to use the thing will receive 'Denied' or something like that.

    *If possible, replace 'someone' with the actual username of the person.*
    If it is pushed multiple times (by the same user), you would get this message:
    <username> keeps activating the source, do you want them to always be denied? (y/n)
    Once again, if you type 'y' when ever the user tries to use it, they will receive the message 'denied' or 'you cannot use this'

    IF it is activated by more than one person, after 5 times of activation, the button or input source will always deny input by users (For a set time [Should be configurable]) So, if your friends have friends come and spam the living hell out of the button, after 5 times, nothing will happen and they will all get this message 'denied'.

    If only you want to be able to use it, just simply put this on the sign:

    <L1> [Authorize]
    <L2> Owners name
    <L3> Line name
    <L4> deny [all,users]

    'All' would be only the owner could use it. No one else. 'Users' would mean only OP's could use it.

    If you have questions, ask please. Don't be mean. That would make me sad.
     

Share This Page