Hello everybody, I was wondering how can I hide players potion glowing effect from other players if it is even possible? Any help will be appreciated. Thank you and have a great day !
You mean the particle effects? If so, just override the effect with a particle-less one. https://hub.spigotmc.org/javadocs/s...ion.PotionEffectType-int-int-boolean-boolean- Code (Text): player.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 100, 1, false, false), true); Also, whats with the colorful text?
Not the particle effects. I mean the lines around the player when you use potions glowing effect. I wanna hide them for some players. How do I do that? P.S Why are you asking about the colors, do they annoy you?
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Entity.html#setGlowing-boolean- Yes. This is a technical section of the site and colors just scream the opposite.
Oke then sorry about the colors.Anyways can I make that some players can see the glowing of the player and other players can't see the glowing?
You need to use packets however it's quite difficult to setup, you should use or take a look here: https://www.spigotmc.org/resources/api-glowapi-1-9-1-10.19422/