I am looking for a way to create a privilege key for a Teamspeak 3 server that my client owns so that upon completion of a users registration, an email is sent welcoming them, but also contains a key for them to use, if they want to, to easily connect to the TS Sever and uptain the needed permissions without an admin needing to be present. Unfortunately, I have no idea where to start. I think this would utilize JavaScript but now that I think about it may be better to use php. I think this would make it more secure. Please help.