Solved Only let 1 player see particles?

Discussion in 'Plugin Development' started by Blockhead7360, Sep 22, 2015.

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

    Blockhead7360

    Hey! I was wondering if there was any way to let only one player see the particles that I spawn?

    Like I think in Factions, when you do /f sc, only the player who did the command can see the particles.

    How do they do this?

    Please help, thanks ;D
     
    Orange Tabby likes this.
  2. Offline

    BrickBoy55

    @Blockhead7360 Just don't use all the players in the constructor, only use one.
     
  3. Offline

    Blockhead7360

    @BrickBoy55 Does p.playEffect work? Will that only show the player the particle?
     
  4. Offline

    rbrick

  5. Offline

    Blockhead7360

    @rbrick I couldn't find anything on there...
     
  6. Offline

    rbrick

  7. Offline

    Blockhead7360

    @rbrick okay. Which packet would this be? Sorry, I have never worked with packets
     
  8. Offline

    DevilBaby

  9. Offline

    Blockhead7360

    @DevilBaby @rbrick I still couldn't find it! I searched the repository for see chunk, looked at it, and I didn't find it:confused:
     
  10. Offline

    BrickBoy55

  11. Offline

    Blockhead7360

    @BrickBoy55 Okay thanks! Now, I have 1 more question. What are all the arguments for? What do each of them mean?

    I know the first one (enumparticle) is for the particle, but what about the others?
     
  12. Offline

    BrickBoy55

    @Blockhead7360 I'm pretty sure its

    EnumParticle, Boolean, float, float, float, float, float, float, int, int

    Or something like that. I don't know off the top of my head.
     
  13. I think he's asking what each variables represent i.e EnumParticle is the particle.

    If you look at http://wiki.vg/Protocol#Particle , there is a table informing you on what each variable does
     
    Blockhead7360 likes this.
Thread Status:
Not open for further replies.

Share This Page