Unless you create your channel with the persistent flag 'true', the channel will be closed when the last player leaves.
I can't help you much with SQL. That's outside the kit's functionality. Sending a custom packet is easy, but what happens after the server receives that packet is entirely up to you.
Where about do I set the channel to persistent if I'm using the standalone server?
What I'm asking though is, if I want to add in mySQL communication code, can I:
Send a custom packet with say username and password to the server; then
have inside the server code the mySQL communication code which after that executes sends a response back to the client?
Or would the mySQL code have to go outside of the server files?
Also is there an easy way to add a child object to an object that was created via TNManager.Create?
What about make another object the parent of the one you created?