Summary
Add ProxyUserConnectedEvent which is dispatched once the user has successfully connected to the proxy and has been connected to a server.
Rename ProxyUserSwitchEvent to ProxyUserServerConnectedEvent, as the new naming makes a lot more sense in the context of how the proxy works and when the event is dispatched.
Changes
Add ProxyUserConnectedEvent
Refactor ProxyUserSwitchEvent into ProxyUserServerConnectedEvent (#getFrom() -> #getPreviousServer(), #getTo() -> #getServer())
Summary Add
ProxyUserConnectedEvent
which is dispatched once the user has successfully connected to the proxy and has been connected to a server.Rename
ProxyUserSwitchEvent
toProxyUserServerConnectedEvent
, as the new naming makes a lot more sense in the context of how the proxy works and when the event is dispatched.Changes
ProxyUserConnectedEvent
ProxyUserSwitchEvent
intoProxyUserServerConnectedEvent
(#getFrom()
->#getPreviousServer()
,#getTo()
->#getServer()
)UserConnectEvent
Checklist
This pull request contains breaking changes.