ParticleEffects is a library for particle effects.
- ProtocolLib
ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, double range)
ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, Player... players)
ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, List<Player> players)
@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
ParticleProtocol102.play(ParticleType.SMOKE, player.getLocation(), true, 0.3f, 5, 0.0f, 0.0f, 0.0f, 100);
}