[Packets?] Do not show certain particles

Discussion in 'Spigot Plugin Development' started by XxFroggyKnightxX, Jul 5, 2018.

  1. Hello everyone. I was thinking of a future plugin and I need to some how stop 'some' players from seeing 'some' particles. So how would I go about this? I know it's probably going to be in packets some how. So would I use protocollib for this?

  2. Yes, or you could just use NMS reflection. Much easier.
    Or even TinyProtocol which is a more lightweight version
  3. FrostedSnowman

    Resource Staff

    yes, you would use protocollib for this. you intercept the particle packets.
  4. ScarabCoder

    ScarabCoder Retired Resource Staff

    If the particles are coming from your plugin, use either NMS or ProtocolLib (I believe they have a version-independent solution) to send the particles to specific players. If another source is sending them that you can't modify, cancel the sent packets using ProtocolLib.
  5. Ok I will try these methods. Thanks everyone.