Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

Include server switched to/from in all switch events

$
0
0
Include the server from and server to in the events that proceed ServerConnectEvent.
Events: ServerConnectedEvent, ServerSwitchEvent.
It makes it easier to multithread logging to a database otherwise I'm currently hoping for the best in terms of concurrency:

Code (Text):

    ###ServerConnectEvent
    #Called when deciding to connect to a server.
    #At the time when this event is called, no connection has actually been made.
    #Cancelling the event will ensure that the connection does not...
Include server switched to/from in all switch events

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>