Commit Graph

17 Commits

Author SHA1 Message Date
Samuel
0c9527118a
Add unstable API for custom Login Plugin Messages (#2074)
* Add LoginPluginMessageBox to allow sending custom login plugin messages

* throw in ConnectionManager because AsyncUtils has a try catch

* Stack requests in AsyncPlayerPreLoginEvent so the user-facing API is scoped to the login stage

* Fix addPluginRequest javadoc

* feat: encapsulate velocityproxy logic, other minor tweaks

* fix: revert velocityproxy changes

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
2024-04-01 16:36:13 -04:00
mworzala
d6470594ae feat: handle ping request packet to make f3+3 ping graph functional
(cherry picked from commit 9fa936af0c298150a0d657415bea632b73f78048)
2024-02-09 14:27:43 -05:00
Ryan Jones
0bef1b37fc More safely handle offline authentication servers. (#124)
(cherry picked from commit 002dcc2745)
2024-02-09 14:27:43 -05:00
mworzala
d544c8776a fix: fakeplayer can spawn once again (#94)
(cherry picked from commit 5347c0b11f)
2024-02-09 14:27:43 -05:00
mworzala
f4cb5272f9 fix: re-merge connection states, remove OptifineSupport
(cherry picked from commit a0ca4895b1)
2024-02-09 14:27:43 -05:00
mworzala
e6e16a7a08 fix: do not send login disconnect packet before switching to login state
(cherry picked from commit 6d5b1ea77e)
2024-02-09 14:27:43 -05:00
mworzala
c9ee2b56b2 chore: revert (mostly) ConnectionManager#getOnlinePlayers change
(cherry picked from commit 8859af87ba)
2024-02-09 14:27:43 -05:00
mworzala
d72e56b4be fix: begin join game sequence only after client acks configuration finish
(cherry picked from commit 197daae608)
2024-02-09 14:27:43 -05:00
mworzala
1ffb46c3b2 fix: correct display pos/rot interpolation metadata index, minor cleanup
(cherry picked from commit ccdc5535e3)
2024-02-09 14:27:43 -05:00
mworzala
bd58b1b9f6 feat: cleanup, remove ConnectionManager#getOnlinePlayers
(cherry picked from commit 8a75e9e986)
2024-02-09 14:27:43 -05:00
mworzala
b9c2d42696 feat: start reentry of config phase
(cherry picked from commit e702c09f06)
2024-02-09 14:27:43 -05:00
mworzala
d324d47cab chore: remove some unnecessary logging
(cherry picked from commit b04fca8e7f)
2024-02-09 14:27:43 -05:00
mworzala
5caffb134c feat: add AsyncPlayerConfigurationEvent, remove PlayerLoginEvent
(cherry picked from commit 1161fbf1b1)
2024-02-09 14:27:43 -05:00
mworzala
d0ace48220 feat: use nextState on packet write to change states to ensure proper synchronization
(cherry picked from commit d502a4fa62)
2024-02-09 14:27:43 -05:00
mworzala
89f9b0d513 first join
(cherry picked from commit 47042abf12)
2024-02-09 14:27:43 -05:00
mworzala
183159c85d finish configuration phase, ish
(cherry picked from commit 13edf5f863)
2024-02-09 14:27:43 -05:00
mworzala
2f85ce0231 stable configuration state join
(cherry picked from commit 465af0e051)
2024-02-09 14:27:43 -05:00