Closed waigel closed 7 years ago
From what I know of the server query commands, there is no way to get license information.
This framework's set of functionality is a subset of the TS3 Server Query functionality, so if there is no way to check license information via Server Query, then there won't be a way to check it using this framework.
It may be easier to simply write a (PHP) script to read your license.dat
, this should have all relevant details you might need. Here is an example of how it is formatted:
Company name : name here
address : street here
zipcode : zipcode here
city : City here
country : country here
phone : phone number here
.
.
type : Nonprofit
start date : Wed Jan 6 00:00:00 2010
end date : Thu Jan 6 00:00:00 2011
max. virtual servers: 10
max. slots : 512
description : TeamSpeak 3 Non-Profit License (http://www.teamspeak.com/)
.
.
==key==
ghg5j9wwg441cw4f83t484zgb595f92r7/7rf4...........
Closing for now, but please comment if you need further assistance!
Yes I know that. However, I have seen this function in the software "YaTQA". (see image). And those can read the license types via query from the log.Which someone how exactly does this work?
I think that YaTQA reads from first lines of server log. There's this kind of info written. :)
Yeah, the logs are the only place that I know where that would be accessible via query.
To access logs, the framework has this functionality:
Ref: https://docs.planetteamspeak.com/ts3/php/framework/class_team_speak3___node___server.html#a9631a325e4190606c74cde1a1fbd91fa
TeamSpeak3_Node_Server::logView()
logView($lines = 30, $begin_pos = null, $reverse = null, $instance = null)
Displays a specified number of entries (1-100) from the servers log.
Hello,
i have a problem, how can i get with this bot the Licens info from the virtualserver ? I dont hav found lots of information in the query doku.
Please help.