Bot for inactivity

gamesbond

Member
Joined
Jul 21, 2015
Messages
103
Reaction score
13
Points
53
How can I create a bot that check the inactivity of a ts server and proceed to stop it?
 

0x0539

Retired Staff
Contributor
Joined
Jan 30, 2016
Messages
1,334
Reaction score
1,146
Points
254
Unless if you have a countless amount of servers you can simply login to the server, click user statistics and click on sort on last visited. (Assuming you use YaTQA)

Use JTS3Mod
I'm not sure if JTS3Mod supports checking inactivity of whole servers, can you confirm?
 

panteL

Restricted
Joined
Mar 17, 2016
Messages
146
Reaction score
44
Points
63
Unless if you have a countless amount of servers you can simply login to the server, click user statistics and click on sort on last visited. (Assuming you use YaTQA)


I'm not sure if JTS3Mod supports checking inactivity of whole servers, can you confirm?
No he didn't... JTS3MOD check only the clients on the server... And kick them for inactivity but If no clients connected the bot can't check everything.
 

BoTz

Member
Joined
Apr 12, 2016
Messages
57
Reaction score
17
Points
43
Oh, i missunderstood the thread. You can do that with php and the TS3 Framework.
 

EscuderoKevin

Well-Known Member
Joined
Jul 2, 2015
Messages
380
Reaction score
181
Points
130
No he didn't... JTS3MOD check only the clients on the server... And kick them for inactivity but If no clients connected the bot can't check everything.

Unless if you have a countless amount of servers you can simply login to the server, click user statistics and click on sort on last visited. (Assuming you use YaTQA)


I'm not sure if JTS3Mod supports checking inactivity of whole servers, can you confirm?


JTS3 servermod have InactiveCheck , and check channles for days check website.
 

Agusanz

Active Member
Joined
Jul 18, 2015
Messages
239
Reaction score
148
Points
88
How can I create a bot that check the inactivity of a ts server and proceed to stop it?
You can create a "bot" (it's more like a script) with php to check if the server is empty each 1 minute, if it is, the initial timestamp logged at the first run will remain the same, if it's not, the actual timestamp will be logged.. if actual timestamp - the timestamp logged is > than 10 days, you shut down the virtual server.
 
Top