Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    April 2016
    Posts
    4

    Question Get client description (or other details such as online_since) from TS3 PHP Framework

    Hello,

    I've been looking and searching but haven't been able to find a method to fetch that information for a client in my server. Could someone point me in the right direction? Thanks.

  2. #2
    Join Date
    April 2016
    Posts
    4

    Solved

    I found a solution!

    Code:
    $client = $this->ts3->clientGetByUid($uid);
    $var = $client->getInfo();
    var_dump($var);
    $var will contain the following keys (for future reference and SEO):
    clid, cid, client_database_id, client_nickname, client_type, client_away, client_away_message, client_flag_talking, client_input_muted, client_output_muted, client_input_hardware, client_output_hardware, client_talk_power, client_is_talker, client_is_priority_speaker, client_is_recording, client_is_channel_commander, client_unique_identifier, client_servergroups, client_channel_group_id, client_channel_group_inherited_channel_id, client_version, client_platform, client_idle_time, client_created, client_lastconnected, client_icon_id, client_country, connection_client_ip, client_badges, client_outputonly_muted, client_default_channel, client_meta_data, client_version_sign, client_security_hash, client_login_name, client_totalconnections, client_flag_avatar, client_talk_request, client_talk_request_msg, client_description, client_month_bytes_uploaded, client_month_bytes_downloaded, client_total_bytes_uploaded, client_total_bytes_downloaded, client_nickname_phonetic, client_needed_serverquery_view_power, client_default_token, client_myteamspeak_id, client_integrations, client_base64HashClientUID, connection_filetransfer_bandwidth_sent, connection_filetransfer_bandwidth_received, connection_packets_sent_total, connection_bytes_sent_total, connection_packets_received_total, connection_bytes_received_total, connection_bandwidth_sent_last_second_total, connection_bandwidth_sent_last_minute_total, connection_bandwidth_received_last_second_total, connection_bandwidth_received_last_minute_total, connection_connected_time

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Client Description updates using TS3 PHP Framework
    By algaeholics in forum Tools / Web Based
    Replies: 3
    Last Post: September 14th, 2015, 10:57 AM
  2. Teamspeak 3 PHP Framework - Channel ID from Client
    By hadshoo12 in forum Server Support
    Replies: 0
    Last Post: October 20th, 2013, 11:20 PM
  3. Client crash when viewing client details
    By PrototypeGR in forum iOS
    Replies: 14
    Last Post: March 31st, 2013, 05:29 PM
  4. Replies: 5
    Last Post: June 27th, 2012, 01:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •