850 B
850 B
title, type, weight
| title | type | weight |
|---|---|---|
| Advanced | docs | 6 |
Advanced systems for networking, effects, and other specialized functionality.
{{< cards >}} {{< card link="networking" title="Networking" subtitle="Network communication and protocols" icon="wifi" >}} {{< card link="effects" title="Effects" subtitle="Particles, dynamic lights, and entity effects" icon="sparkles" >}} {{< /cards >}}
Networking
Network communication allows plugins to send custom data between server and clients:
// Send custom packet
CustomPacket packet = new CustomPacket(data);
player.sendPacket(packet);
Effects
Create visual effects using particles, lights, and entity animations:
// Spawn particles
world.spawnParticles(ParticleType.SMOKE, position, count);
// Add dynamic light
entity.addComponent(new DynamicLight(Color.YELLOW, 10.0f));