Adding parameters to a potioneffect

Discussion in 'Spigot Plugin Development' started by TheGamerPlayz, May 26, 2016.

  1. How would I add parameters to a potion?
  2. What have you tried
    • Funny Funny x 1
  3. I tried looking at the docs, but they didn't say anything about it
  4. Well, what parameters are you trying to add?
  5. Well I'm trying to add the semi-invisible effect to a player.
  6. That's a gamemode... add lore or something to the itemmeta and use some code to check if it's the same item, then change their gamemode

    Sent from my SGH-I747M using Tapatalk
  7. No not spectator. Im trying to implement the /effect @p 14 999 1 0 effect where '0' is the parameter that makes them translucent.
  8. That 0 only changes the visibility of the potion particles.
  9. Oh well i figured it out I need to add all players to a scoreboard team then it will simulate it =)