Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => Topic started by: rleite on August 14, 2018, 01:33:28 AM

Title: Slot Checker html
Post by: rleite on August 14, 2018, 01:33:28 AM
Hello friends,
I need to know how the slot checker works, so I can hire a programmer to develop it for me!

Any luck finding the code? or how should I create?
Title: Re: Slot Checker html
Post by: Stefan1200 on August 14, 2018, 07:58:48 PM
Check out the description in the manual:
https://www.stefan1200.de/documentation/jts3servermod_mysql/ConfigHelp.html#JTS3ServerMod_server.cfg (all values starting with "slotchecker_").
Title: Re: Slot Checker html
Post by: rleite on August 15, 2018, 10:43:48 PM
Can you be more precise about what we should do to create?

Can you help me?
Title: Re: Slot Checker html
Post by: Stefan1200 on August 16, 2018, 04:06:32 AM
slotchecker_url
This is required, that script behind this url have to decide, if and how the max clients value should be changed.
Set http URL here! That URL have to return the new slot count / max clients as number or -1 if nothing should be changed! The website has to return a new line (\n) after the number.
You can use the following keywords within the URL, which will be replaced:
%address% - TS3 server address used by the bot!
%port% - TS3 voice port reported by the TS3 server!
%id% - TS3 virtual server id reported by the TS3 server!
%maxclients% - Current TS3 virtual server slot count / max clients!
%clientcount% - Current TS3 client count on that virtual server!


slotchecker_url_confirm
This is optional and just needed, if your script needs a confirmation of a successful max clients change:
Set confirm http URL here! If changing the max client count was successful, the new value will be send. If not, -1 will be send. Set no URL here to disable confirming new values.
You can use the following keywords within the URL, which will be replaced:
%address% - TS3 server address used by the bot!
%port% - TS3 voice port reported by the TS3 server!
%id% - TS3 virtual server id reported by the TS3 server!
%newmaxclients% - New max client count or -1 if nothing was changed!


The scripts behind this urls are very individual and I don't provide examples! Since this is not officially supported by Teamspeak Systems, you should use this carefully.