Solved Question about potion effects

Discussion in 'Plugin Development' started by JaydenKieran, Jun 25, 2015.

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

    JaydenKieran

    Hey. I'm working on a gamemode which requires a certain player to have the Invisibility potion effect until it is cleared. That works fine as it is pretty simple, but I need the particles to be hidden.

    I've looked into various solutions:

    • Use hidePlayer()
      Doesn't work for my purpose. I don't want players hidden from the tab list.
    • Append the boolean true to the potion effect to make it slightly less visible
      It's less visible, but still visible...
    I've came to the conclusion that the only "real" way of doing this would be by manipulating the packets sent to the client for the particles. Unfortunately, the only posts I came across were from 2013 and the methods no longer work.

    Does anyone have any ideas? Cheers :)
     
  2. Offline

    meguy26

    @JaydenKieran
    Solved and no responses? Hmm... Well, for me, just regularly applying a new potion affect to a player does not show particles.
     
Thread Status:
Not open for further replies.

Share This Page