Set a password for a command

Discussion in 'Archived: Plugin Requests' started by ChumChum, Aug 8, 2012.

  1. Offline

    ChumChum

    Is there a command, where you use a command. For example /stop and then it asks you to put in the password first. I really need it because my friend comes to my house and does it whenever im at the bathroom and such.
     
  2. Offline

    ChumChum

  3. Offline

    Omnitv

    Interesting.
     
  4. Offline

    ChumChum

    Do you think you could make it?
     
  5. Offline

    Omnitv

    Would love to but Ill have to pass, im not too sure if it is at all possible.....
    np98765
    Sushi?
     
  6. Offline

    evilmidget38

    It's perfectly possible, you simply listen for CommandPreprocessEvent, then check if they have said permission for said command.
     
  7. Offline

    Sushi

    Very possible
     
  8. Offline

    ChumChum

    So, can you make it! :)
     

Share This Page