Filled Potion Swords Hit Enemys And Gives Them Effects

Discussion in 'Archived: Plugin Requests' started by little_dude187, May 27, 2014.

?

Do You Think This Is A Good Plugin Idea?

  1. Yes

    80.0%
  2. No

    26.7%
Multiple votes are allowed.
  1. Offline

    little_dude187

    Hi! I am trying to find something like this all over the internet so i just came here to see if i can get some help from someone. I would like a plugin that involves hitting a player/mob with a sword and then they will get a potion effect on them but it will not effect you.

    The Command Will Be /potionsword create {Potion} {Potion Level} {Durtation}

    /potionsword list - potion list

    potionsword.create
    potionsword.list

    I would love a plugin like this so I can use this on my server during pvp. Thanks! [cake]

    Note: I have not got the plugin specifically the way i said above so i'm still looking for it.

    The reward for the plugin that is fully developed is 1 diamond sword sharpness 2 with a potion effect of choice and protection 3 diamond armor and 64 notch apples :D
     
  2. Offline

    Fantah

    I can do this! Will try and get this to you ina bit!
     
  3. Offline

    little_dude187

    thanks so much hope to get it soon :D i will give you something in return just go on my server mc,roflpvp.us.to when it is up
     
  4. Hey Little, have you got the plugin yet? If not, I'd be to do your plugin.
     
  5. Offline

    MineTheCube

    Interessant plugin !

    I need that, but can you make it so you can give that sword with essentials kit ?
     
  6. Offline

    lrdemolition

  7. Offline

    little_dude187

    I Have Not Got The Plugin Yet So Whoever Makes It First Will Get The Reward


    I Have Not Got The Plugin Yet

    Use Kit Master Instead I Doubt You Can Use Essentials Kits Sorry :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  8. Offline

    TimJames

    I'll do this one
     
  9. Offline

    ReggieMOL

    little_dude187

    Would you like the effect to be on the sword they are using at the current moment or all swords they use?
     
  10. Offline

    TimJames

    little_dude187
    Here ya go! (Config file is pretty straight forward.)
    Commands:
    /se or /swordeffect help
    /se reload (OP only)
    /se <1-22>
    sorry for the weird way I put it together, but just do /se help to see all the potion effects you can add (Both good and bad ones).
    Just hold the sword in hand and do /se <1-22> and you will receive defined effect with custom time and strength from the config added upon your sword. then just hit ppl :3
    https://drive.google.com/file/d/0B1ya9sTG289ba21uM01DMEhHVW8/edit?usp=sharing
     
  11. Offline

    little_dude187

    let me rephrase what im looking for:

    /swordeffect 1-22 [Seconds] [Amplifier] [SplashEffect True/False]

    And I Want It To Work On Mobs

    cool BUT its not working on mobs or vulnerable npcs

    only the sword there using like your suppose to add the effect to a specific sword

    [edit by JaguarJo: merged posts. Please use the edit button to add to a comment, instead of triple posting. Thanks!
    P.S. If you're having trouble with the edit button showing your comment, use the "more options" button and it'll show everything correctly.]
     
  12. Offline

    MineTheCube

    What do you mean by Splash Effect ?
     
  13. Offline

    little_dude187

    like when the player/mob gets hit it shows the effect of the potion splash. not every time you hit them but whenever they DONT have the current potion effect applied
     
  14. Offline

    little_dude187

  15. Offline

    little_dude187

    BUMP
    SOMEONE HELP ME

    bumppppp

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  16. Online

    timtower Administrator Administrator Moderator

    little_dude187 Please don't bump within 24 hours.
    What kind of reward?
     
  17. Offline

    little_dude187

    i will give them a sharpness 4 diamond sword with any potion of choice + full Prot 4 armor and access to /fly and /chest
     
  18. Offline

    Onlineids

    Wow what a deal!!!!!!!!
     
    Jaaakee224 and Ventality like this.
  19. Offline

    little_dude187

    would you like something else?
     
  20. Offline

    Onlineids

    If someone want's to make it they will do it for free, that's the beauty of this forum
     
  21. Offline

    little_dude187

    so why the heck are you complaining about a reward
     
  22. Offline

    Onlineids

    Didn't complain, I said "Wow what a deal"
     
  23. Hey little, I could do this for you but only with a few effects. List some effects you really need.
     
  24. Offline

    Onlineids

    If you can do it with one, you can do it with all.
     
  25. The way I'm doing it is really bad, but works. k?
    cough arraylist and events cough
     
  26. Offline

    Onlineids

    Copy and paste
     
  27. Offline

    Onlineids

  28. That's the problem. I'm a bad coder or
    wtfisahashmap howthehelldoidothat
     
  29. Offline

    Onlineids

    public Map<String, PotionType> effect = new HashMap<String, PotionType>();


    to add them to it:
    effect.put(p.getName(), PotionType.REGEN)

    to get there effect
    effect.get(p.getName())
     

Share This Page