MyFreeTeamSpeak WebPanel

JetFox

Active Member
Sep 25, 2015
175
76
73
IRC CHAT: http://webchat.esper.net/?channels=#MyFreeTeamSpeak
Github Link: https://github.com/SoulDemon/MyFreeTeamSpeak-Public
Discord?: https://discord.gg/Q58P58V
Features:
Client Side:
Transfer My Server
Generate A Server
Generate new admin tokens
SnapShot Create (backup the server) Only Channels and Ranks
SnapShot Deploy (Restore backup) Only Channels and Ranks

86bbd122828448419a0af20c2f633ef1.png


Server Side: (Admin side of things)
Add servers on the fly, simple database design:
a5855745d3fc1100bb0546ba925d9d94.png



What you add reflects on server selection page:
140f6499862980feaa8959970824849c.png


Easy First Setup... literally install database and website files
modify config.php to match your MySql Port Information

==================================================

Whats new: 8/30/2016
Client kicking

Database update: Set each individual servers max virtual hosts... (Say you have a vps with 2GB of ram and a dedicated server with 64GB of ram, You can set the vps to only allow 100 servers while the dedicated to 1000 etc...)


Still being worked on:
TSDNS Server -> Utilizing my own API/Servers... (Domain names such as myfreeteamspeak.tk, other domains to come soon)...

This will query my own database and be processed in a cron job in an interval of 1 minute to 5 minutes depending on the load it receives.. if choosing to utilize my servers.

Can be customized to utilize your own TSDNS Server.

Server Settings Area: Edit hostname, slots, banner, reserved slots, setup TSDNS maybe more...

Reorganization of index.php, to show how many servers are online...(Not virtual hosts just dedicated boxes online), removed some stupid things.

Sidebar will only show server generation if they have never created a server -> Disappears afterwards

Any other things you want requested?

^^^^^^^^^^^
Of course not happening in that order but yeah.. soon

Special Thanks to:
1nject -> https://r4p3.net/members/1nject.4341/
Bluscream -> https://r4p3.net/members/bluscream.53/
Swarmdeco -> https://r4p3.net/members/swarmdeco.7071/
Asphyxia -> https://r4p3.net/members/asphyxia.1/
Mikkel -> https://r4p3.net/members/mikkel.10534/

Attention: when using the updater it will query an external ip address, just change it to false if you'd like to not be notified of an update.

Tested on:
Noez.de -> $0.80 server confirmed working, php 7.

Arubacloud -> $1.00 best value for your buck, confirmed working. Php 5.5

Ovh vps -> $3.00 confirmed working. Php 5.3 <- not recommended.. use latest if available.
 
Last edited:

Benjo

Active Member
Feb 23, 2016
147
67
73
Hey man, I'm also learning php and the teamspeak framework, could you explain how the transferring server from host to host works?
 

JetFox

Active Member
Sep 25, 2015
175
76
73
Hey man, I'm also learning php and the teamspeak framework, could you explain how the transferring server from host to host works?

We are utilizing teamspeaks serversnapshot, after the snapshot is created we then delete the server and use the snapshot to deploy the new server.
 

Benjo

Active Member
Feb 23, 2016
147
67
73
We are utilising teamspeaks serversnapshot, after the snapshot is created we then delete the server and use the snapshot to deploy the new server.

But I swear snaphshots can only be deployed on virtual servers that are created, although I'm probably wrong.
 

JetFox

Active Member
Sep 25, 2015
175
76
73
But I swear snaphshots can only be deployed on virtual servers that are created, although I'm probably wrong.

Nope, A teamspeak snapshot can be deployed everywhere.

Just make sure the old server isnt up before deploying it.
 

JetFox

Active Member
Sep 25, 2015
175
76
73
so a virtual server cannot be deployed on the same machine instance. but how about if its a different machine?

wasnt that the original question?... Thats how we are transferring servers
 

Benjo

Active Member
Feb 23, 2016
147
67
73
wasnt that the original question?... Thats how we are transferring servers

Oops my bad :(:oops:

One final question relating to ports. What happens if the port on the new machine is already occupied what happens does it switch to a new one or overwrite it?
(Thanks for the help:p)
 

JetFox

Active Member
Sep 25, 2015
175
76
73
Oops my bad :(:oops:

One final question relating to ports. What happens if the port on the new machine is already occupied what happens does it switch to a new one or overwrite it?
(Thanks for the help:p)

I did it a weird way in my panel, where once you have the port say 9914, no one else gets the port on all 3 servers...
It'll be modified in the future but was a quick write up
 

Benjo

Active Member
Feb 23, 2016
147
67
73
That sounds pretty weird, I thought you can't reserve ports without creating a virtual server to fill the capacity. What I do know is if your default port is like 9200 it will start from that number, correct me if I'm wrong.
 

JetFox

Active Member
Sep 25, 2015
175
76
73
That sounds pretty weird, I thought you can't reserve ports without creating a virtual server to fill the capacity. What I do know is if your default port is like 9200 it will start from that number, correct me if I'm wrong.

User choses port in creation which is then compared to all the ports in the MySql Database, if it exists it'll return port already in use forcing the user to chose another port instead, if it doesnt it'll then insert the port into the MySql database and create the server on that port.

The way I have it setup is to compare port to port, instead of IP + PORT to IP + PORT Comparison, easy change just not on the top of my todo list at the moment.
 

mkll11one

ServerGeek
VIP
Apr 26, 2016
262
136
157
Are it's possible for "people" can create server, and control it via the interface?
 

mkll11one

ServerGeek
VIP
Apr 26, 2016
262
136
157
idea could be etc the "SetupServer" where it's automatic "take" the port is available (without to type port)
Example: it's could take from: 9000 > and create automatic. up to 10500 etc. of port.
 

JetFox

Active Member
Sep 25, 2015
175
76
73
idea could be etc the "SetupServer" where it's automatic "take" the port is available (without to type port)
Example: it's could take from: 9000 > and create automatic. up to 10500 etc. of port.

I've thought about it, I might do it that way from now on but during testing I was dinkin around and it just happened to be coded the current way
 

mkll11one

ServerGeek
VIP
Apr 26, 2016
262
136
157
I have an 2 servers if you want to test. :)
- and one idea more: What with "limit" of setupserver, since anyone can bypass/spamming with create 1000x ;) - and it' shit to go in and "delete" manually :(
 
Top