Simple Plugin

Discussion in 'Archived: Plugin Requests' started by PotatoTears, Dec 25, 2013.

  1. Offline

    PotatoTears

    /drug <playername> - command does nothing. if command is repeatedly used three times in a row then the player will die.

    config:
    No-permission: "&4You have no permission to use this command."

    I will use this in collaboration with CraftBook for full effect.
     
  2. Offline

    BartMiner


    Uh so basicly when used

    /drug BartMiner

    He wont get any message or anything and is not losing any hearts? But the 3rd time he would just instantly be died?
     
  3. Offline

    PotatoTears

    BartMiner Yes, if somebody does /drug BartMiner then nothing happens. But if somebody does /drug BartMiner three times in a row (if u wait like 10 seconds between each command) then BartMiner would die instantly.

    No message or no heart loss.

    Btw when someone tries to use /drug and has no access, i want him to get a configurable no acess message
     
  4. Offline

    BartMiner


    Why would you want this? Do you have skype i can develop the three requests if you want it.

    If you have skype, Send me your skype in private conversation.
     
  5. Offline

    PotatoTears

    BartMiner Okay! Btw i want this because i am combining it with CraftBook CommandItems to get a full effect.
     
  6. Offline

    PotatoTears

    Bump still need this. Oh and the command has to be done three times in a row quickly (if u have done it 2 times and wait like 30 sec, then it goes to 0.. get it?)
     
  7. Offline

    nichiatu

  8. Offline

    PotatoTears

  9. Offline

    nichiatu

    PotatoTears Any specifics? Should command be /drugs? Name of plugin? Config???
     
  10. Offline

    20zinnm

    nichiatu PotatoTears
    this seems easy. I'll see how much I can get done, but really all it is is starting a timer for 10s and defining an int with the variable 1 after the command is issued once, and if the command is executed again before the timer is up, the timer is reset and a variable is incremented by 1. When the variable equals 3, the plugin kills the player and resets everything.
     
  11. Offline

    nichiatu

    PotatoTears likes this.

Share This Page