Esempio n. 1
0
 public function CommandHold($player, $command)
 {
     if (ServerList::serverEnabled($command[0])) {
         ServerList::getServer($command[0])->hold();
     }
 }
Esempio n. 2
0
 public function WSMethodRcon($server, $command)
 {
     if (!ServerList::serverEnabled($server)) {
         throw new WebserviceException('Server not found');
     }
     return ServerList::getServerRCon($server)->send($command);
 }