Filled Potion of Invisibility II

Discussion in 'Archived: Plugin Requests' started by Vortextez, Apr 20, 2013.

  1. Offline

    Vortextez

    First off I have no idea if this is possible or not. So please forgive my noobishness.
    Plugin category: Mechanics and Fun?

    Suggested name: Potion of Invisibility II (lame name I know)

    What I want: I'd like this plugin to enable players to brew a potion of invisibility 2. This would be created by adding glowstone dust to potions of invisibility in a brewing stand. This potion would be the same as potions of invisibility only it would also hide the players armour and any item they are holding. The duration of this would be 1:30

    Also I would like there to be a corresponding splash potion. This would be created by adding gunpowder to potions of invisibility 2 in a brewing stand. The duration of this would be 1:07

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions needed for this plugin.

    When I'd like it by: Whenever works
     
  2. Offline

    45zeldafan

    This sounds like a cool idea. I could use it for my server too actually :p
     
    PapiDimmi likes this.
  3. Offline

    Vortextez

    Are you able/going to make it?
     
  4. Offline

    45zeldafan

    I am trying to learn java, but I do not have enough skill to make this plugin. I don't it is an easy plugin to make. Sorry
     
  5. Offline

    jokie666

    Maybe I can use this plugin too on my server,
    also I think I can't make this plugin because I'm also learning java.
     
    PapiDimmi likes this.
  6. Offline

    Garris0n

    Well to do this you would have to vanish the player entirely (just like vanish plugins do). The invis II potion recipe should be doable as I believe you can create brewing recipes(if I'm wrong then you could always make a crafting recipe instead), and if you still wanted the invis pot particle effects you could give a mob an invis potion effect and teleport it to the players location constantly. I'd use a baby villager at their feet level so it doesn't get in their way and makes no noise, though the pot effects would be a bit lower than normal. Anyway, this shouldn't be too hard if anybody wants to make it.

    Note: Extra steps would have to be taken to try and remove conflict with vanish plugins.
     
  7. Offline

    Vortextez

    Garris0n I really don't care about the particles, to be honest I find them quite annoying. Also the only plugin I'm using that has a vanish command is essentials. And I do not believe that essentials vanish hides armor.
     
  8. Offline

    Garris0n

    Well you can't hide the armor client side without removing it, but essentials vanish entirely hides you from other players. They see nothing at all, no sprint particles, potion effects you have, or anything. Essentials vanish is annoying and gives you an invis potion effect so you feel like you're vanished but it's really completely hiding you from people without a certain vanish see permission. As I said, you can't really hide the armor client side, only to other players.
     
  9. Offline

    Vortextez

    But can you hide it from mobs?
     
  10. Offline

    Garris0n

    If you mean make mobs not attack the player, you can do that with real vanish plugins but essentials vanish is extremely primitive :p
     
  11. Offline

    Ryxuma

    Hi again Vortex :p
    I might be able to do this, I imagine it would involve sending data to the clients saying that the invisible person was wearing no armor or something, it might take a while but it's on mt list!
    EDIT: Oh yeah and changing some mob tracking (Dammit)
     
  12. Offline

    Garris0n

    Just cancel entitytargetevent(I think that's it).
     
  13. Offline

    Ryxuma

    Yeah all that stuff can get very messy :)
    EDIT: Wow I'm such an idiot today never mind that I was thinking of the craftbukkit entities
     
  14. Offline

    Vortextez

    Awesome, thanx Ryxuma!

    EDIT: Should I mark this a "Filled" ?
     
  15. Offline

    Ryxuma

    Yeah sure I'm working on it now :D
     
    Vortextez likes this.
  16. Offline

    Ryxuma

    Not going so good, everything i've read says it's nearly impossible to change the brewing system :(
    EDIT: Yeah it looks pretty much impossible since I have to go into the craftbukkit code, meaning that it is all obfuscated so it is impossible to know what's what

    So... what if they were made by tossing a Potion of Invisibility 1 and a glowstone into a cauldron?
     
  17. Offline

    Vortextez

    That would work... but I would rather it be a shapeless recipe in a crafting table.
     
  18. Offline

    nhadobas

    You cant hide the armor because you don't know how. It's all about the packets...
     
  19. Offline

    sebdomsan54

    a temp vanish command could work but the would also say to any one who is not op or the server that that player is not on the server
     
  20. Offline

    Garris0n

    Point taken
     
  21. Offline

    Ryxuma

    Ok that would be alot easier :p
     
  22. Offline

    Mitch_

    Maybe for it to have no swirls, so its completly invisible
     
  23. Offline

    Ryxuma

    Errrmm well turns out the api for potions in crafting recipes isn't added so i'm gonna have to go with throwing them into cauldrons :p
     
  24. Offline

    Vortextez

    Okay that works.
     
  25. Offline

    FlOppy

    This would be cool, indeed and i used the invisibility potion today and saw taht with maximal particles in my option i see some bubbles floating arround me in the air, this is really bad because for a invisibility potion this is really not apropriate do you think a plugin could do something to fix that ?
     
  26. Offline

    Greennose120

    Cant u use this instead of stoppping some packets before sending?

    Code:
    target.hidePlayer(player);
     
  27. Offline

    Ryxuma

    Well if there were no bubbles then it would be impossible to see them whatsoever and would be kinda overpowered (everyone would be invisible)
     
  28. Offline

    Pocketkid2

    I will take this challenge! This looks like something that could be done fairly easily, except for the potion recipe. I will let you know when I have it working. I am good at Java and think I could do this. Let me know if you have any questions.
    EDIT: I would need to know what kind of recipe you would like.
     
  29. Offline

    Mitch_

    Make it so only the players who have the certain permission has that. Everyone else just has the invis II normal one.
     
  30. Offline

    Vortextez

    Hey thanks Pocketkid2 but I think Ryxuma already started this. You should contact him before you start work on this. Thanks again for the offer! :)
     

Share This Page