Phoenix616 / Snap

Experimental tool to run BungeeCord plugins on Velocity
https://hangar.papermc.io/Phoenix616/Snap
GNU Lesser General Public License v3.0
118 stars 10 forks source link

Register event listeners with Velocity directly #2

Open Phoenix616 opened 3 years ago

Phoenix616 commented 3 years ago

Currently events are forwarded manually to the Bungee plugin manager by listening on the related events in Snap.

Listeners should (where direct event equivalents exists) be directly registered with Velocity.

This most likely requires #1 be implemented first and will probably not work out for all events.

Phoenix616 commented 2 years ago

There might be a major roadblock with this: Velocity only has 5 PostOrders while BungeeCord uses byte values for its event priorities which provide a potential range of 256 possible ones.