Advertisement
Guest User

Untitled

a guest
Nov 1st, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1.  
  2. class Ts3f {
  3.  
  4. /* CONFIG */
  5. private $ts3_ip;
  6. private $ts3_user;
  7. private $ts3_pass;
  8. private $ts3_query;
  9. private $ts3_port;
  10.  
  11. private $ts3;
  12.  
  13. function __cunstruct() {
  14.  
  15. $this->ts3_ip= 'localhost';
  16. $this->ts3_user= 'serveradmin';
  17. $this->ts3_pass= 'xTqAQaij';
  18. $this->ts3_query= '10011';
  19. $this->ts3_port= '9987';
  20. echo "serverquery://$this->ts3_user:$this->ts3_pass@$this->ts3_ip:$this->ts3_query/?server_port=$this->ts3_port";
  21. $this->ts3 = TeamSpeak3::factory("serverquery://$this->ts3_user:$this->ts3_pass@$this->ts3_ip:$this->ts3_query/?server_port=$this->ts3_port");
  22.  
  23. }
  24.  
  25. function showbanlist() {
  26.  
  27. $ts3= $this->ts3;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement