Jump to content

Player-To-Server Connection Detection


jakj

Recommended Posts

I need to do one of the following, whichever ends up being easier/better:

*) On client-side, detect when the player connects to a remote server instead of running the integrated one, and send a packet when the connection has stabilized.

*) On server-side (dedicated or LAN-shared integrated), detect when a player connects, and send a packet when the connection has stabilized.

What are the different methods available for this? I want to do it without any sort of tick handler: I want to respond to actual game or Forge events.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...