Question: Make armor invisible?

Discussion in 'Plugin Development' started by FireBreath14, Mar 2, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    FireBreath14

    Can i add a potioneffect to a player and make the armor invisible with it? So if the player gets an invisibility potion, can I make the potion make the player's armor invisible too? If so, how? Thanks :)
     
  2. Offline

    Infamous Jeezy

    I don't think you can make the armor invisible but maybe you can make the potion take the armor off for the period of the duration and then put it back on once it ends.
     
  3. Offline

    FireBreath14

    hmmm.... idk. but ok...
     
  4. Offline

    Infamous Jeezy

    Actually, you could just use the hide player function, which would work without taking off the armor.
    The only issue with that though is that you'd have to loop through all the players on the server and hide the player from each one. It might just be more practical to make it take off the armor and put it back on I suppose.
     
  5. Offline

    FireBreath14

    ill find out elsewhere lol :p but thanks for ur help anyways!

    <Thread closed>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
Thread Status:
Not open for further replies.

Share This Page