Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Location location = null; // your location
- PPlayer pplayer = PlayerParticlesAPI.getInstance().getPPlayer(Bukkit.getConsoleSender());
- ParticlePair particlePair = new ParticlePair(pplayer.getUniqueId(), 1 /* this is always 1 */, ParticleEffect.DUST, ParticleStyle.ORBIT, null, null, OrdinaryColor.RAINBOW, null);
- FixedParticleEffect fixedEffect = new FixedParticleEffect(pplayer.getUniqueId(), pplayer.getNextFixedEffectId(), location, particlePair);
- pplayer.addFixedEffect(fixedEffect); // added to the pplayer but not saved to the database, will be reset when the server reloads/restarts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement