PresenceTracker
Tracks proxy-wide player presence and pushes snapshots to Paper servers.
Velocity is the source of truth for presence. Paper servers keep a cache that is replaced wholesale on each PluginMessage.PresenceSnapshot.
Functions
Link copied to clipboard
Registers presence event listeners.
Link copied to clipboard
Broadcasts the current snapshot when a player disconnects, excluding them.
Link copied to clipboard
Broadcasts the current snapshot when a player joins or switches servers.
Link copied to clipboard
Sends the current snapshot to a single server (initial sync on request).