Disable II Potion's

Discussion in 'Archived: Plugin Requests' started by Keyboard, Jul 26, 2013.

  1. Offline

    Keyboard

    Plugin category: Don't know

    Suggested name: pPotion

    What I want: I want a plugin that disables all potions II's and splash potion II's

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: none

    When I'd like it by: Soon
     
  2. Offline

    IdealIdeas

    There are already plugins that disable the ability to use items that you specify.
    I think one of them is called NoItem
     
  3. Offline

    Awesomeman2

    If that dosnt work then pm me and i can make you a plugin that wont disable it but will notify you when it happeneds so you can jus do /ban if its a rule.
     
  4. Offline

    rsod

    hmm, I don't know if you can remove potion recipes, but definitely you can at least disable placing glowstone in brewing stands and, as well, cancel PotionSplashEvent if effect strength is more then 0
     
  5. Offline

    Awesomeman2

    yea but witrh canceling the splash that will effect I ones and you can still drink the II
     
  6. Offline

    Keyboard

    Still need.
     
  7. Offline

    Awesomeman2

    I can do it.at least i think i might be able to add me on skype Ender9781
     
  8. Offline

    Samthelord1

    OnPlayerConsumeEvent of it equals potion (pot name) give them effect of like speedbost one? Or does OP want no effect?
     
  9. Offline

    rsod

    Well,
    1) disable putting glowstone into brewing stand
    2) PotionSplashEvent: check effect strength and if it's more then 1 then replace it with 1
    3) PlayerItemConsumeEvent: check which potion has been consumed, if it gives effect with strength more then 1 then cancel it and optionally give effect with power 1
    (optional) 4) check InventoryClickEvent and ItemPickupEvent and if it's potion with strength 2, replace it with 1

    I could make this plugin but sadly I don't have any free time right now.
     
  10. Offline

    Keyboard

    Still need
     
  11. Offline

    Keyboard

    Still need.
     
  12. Offline

    AlexHH251997

    So you want the plugin to stop people throwing any potion that is power 2 or above? If so I can do that in about 2 minutes.

    Regards, Alex
     
  13. Offline

    Keyboard

    Stop from use of them + throwing them down with splash :D
     
  14. Offline

    AlexHH251997

    So basically you cant use them.

    Regards, Alex
     
  15. Offline

    Keyboard

    Yep, Still need.
     
  16. Offline

    AlexHH251997

    Ill make it in a sec.

    Regards, Alex
     
  17. Offline

    Keyboard

    Still need, idk if this guy quoted above still is making it
     
  18. Offline

    AlexHH251997

    Yeah sorry I got back tracked with one of my other servers. I will start it now. Sorry about that.

    Regards, Alex

    Sorry Keyboard but my VPS running my whole hub server just went down and I need to get it back up ASAP. Sorry but I am upset to say that I will not be making this plugin for you.

    Best Regards, Alex

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

    Keyboard

    Still need.
     
  20. Offline

    Eikester

    well, i will do this for you :)
     
  21. Offline

    Keyboard

    Please don't flunk out like the other guy + thx

    still need.

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

    Awesomeman2

    I have a suggestion, Rerequest this and make it so you cant make potionII
     
  23. Offline

    Eikester

  24. Offline

    Awesomeman2

    May i ask why u want this? Just wondering whats ur plan?
     
  25. Offline

    AndyMcB1

    You could block the brewing event of glowstone? (BTW I didn't read any of the above so it might of been mentioned)
     
  26. Offline

    Awesomeman2

  27. Offline

    The_Doctor_123

    If your problem is the new way they work in 1.6, I'm releasing a plugin to revert them back to how they were in 1.5. The plugin is currently waiting for approval. ;)
     
  28. Offline

    AndyMcB1

    Oh yeah, potions changed right?
    What were they before? A chance thing or a fixed value?
     
  29. Offline

    The_Doctor_123

    Fixed value. Each level of strength increased your damage by 1.5 Hearts(even with fists). Now, it's +130% damage per level, which makes diamond swords EXTREMELY overpowered.

    What I did in my plugin was undo the operation, then add the old strength on.
     
  30. Offline

    AndyMcB1

    that's why str II on MCMMO servers they could 1 hit crit full diamond players ( I was that guy!) :p

    Cheers
     

Share This Page