LilyPad / GoLilyPad

GNU General Public License v3.0
98 stars 58 forks source link

Implement player network join/leave events #37

Open flaminscotsman opened 7 years ago

flaminscotsman commented 7 years ago

Throughout the lifetime of LilyPad, plugins wishing to either track online players or movements throughout the network have (mostly) relies on either polling the connect server, or maintaining local caches, and updating those through message channels.

This PR adds a new event packet to LilyPad which allows any authenticated session to receive network level join and leave events for players.

There's also a corresponding PR for JLilypad to fix handling for the new packet in BukkitConnect