public function getTeamspeak3Status()
 {
     $ts = new Teamspeak3($this->settingManager->get('ts_username'), $this->settingManager->get('ts_password'), $this->settingManager->get('ts_server'), $this->settingManager->get('ts_queryport'));
     try {
         $server = $this->settingManager->get('ts_server');
         $clientPort = $this->settingManager->get('ts_clientport');
         $serverLink = $this->text->make_chatcmd($server, "/start http://ts3server:://{$server}:{$clientPort}");
         $users = $ts->exec('clientlist');
         $count = 0;
         $blob = "Server: {$serverLink}\n";
         $blob .= "Description: <highlight>" . $this->settingManager->get('ts_description') . "<end>\n\n";
         $blob .= "Users:\n";
         foreach ($users as $user) {
             if ($user['client_type'] == 0) {
                 $blob .= "<highlight>{$user['client_nickname']}<end>\n";
                 $count++;
             }
         }
         if ($count == 0) {
             $blob .= "<i>No users connected</i>\n";
         }
         $blob .= "\n\nTeamspeak 3 support by Tshaar (RK2)";
         $msg = $this->text->make_blob("{$count} user(s) on Teamspeak", $blob);
     } catch (Exception $e) {
         $msg = "Error! " . $e->getMessage();
     }
     return $msg;
 }