Managing incoming connections is a critical aspect of the Game Carrier Server application, and the Server API offers a comprehensive set of events and functions for this purpose.
on_connectevent is called when a new connection is established.
on_disconnectevent is called when a connection is closed.
on_messageevent is called when a message is received from a client.
on_message_sendevent is called for every outcomming message to a client.
on_timerevent is called when a timer is expired for a specific connection.
on_issueis called when connection stats fall outside of the specified limits.