I just made this demo really quick since people kept talking about other people logging in first and taking over as host. It basically works by checking to see which mob connected has a client, but with a null address or an address equal to the world address. For those using it directly in their own code, it's fully customizable... easy to edit, etc. etc. Not hard to understand... have at it. Works with Dream Daemon as well.