Beispiel #1
0
 def rcon_get_language(self):
     response = self.send_rcon_command(RCON_LANGUAGE)[0]
     return parse_server_var(response)
Beispiel #2
0
 def rcon_get_messageholelimit(self):
     response = self.send_rcon_command(RCON_MESSAGEHOLELIMIT)[0]
     return parse_server_var(response)
Beispiel #3
0
 def rcon_get_playertimeout(self):
     response = self.send_rcon_command(RCON_PLAYERTIMEOUT)[0]
     return parse_server_var(response)
Beispiel #4
0
 def rcon_get_password(self):
     response = self.send_rcon_command(RCON_PASSWORD)[0]
     return parse_server_var(response)
Beispiel #5
0
 def rcon_get_ackslimit(self):
     response = self.send_rcon_command(RCON_ACKSLIMIT)[0]
     return parse_server_var(response)
Beispiel #6
0
 def rcon_get_weburl(self):
     response = self.send_rcon_command(RCON_WEBURL)[0]
     return parse_server_var(response)
Beispiel #7
0
 def rcon_get_mapname(self):
     response = self.send_rcon_command(RCON_MAPNAME)[0]
     return parse_server_var(response)
Beispiel #8
0
 def rcon_get_gamemodetext(self):
     response = self.send_rcon_command(RCON_GAMEMODETEXT)[0]
     return parse_server_var(response)
Beispiel #9
0
 def rcon_get_hostname(self):
     response = self.send_rcon_command(RCON_HOSTNAME)[0]
     return parse_server_var(response)
Beispiel #10
0
 def rcon_varlist(self):
     """ List of server variables """
     vars = self.send_rcon_command(RCON_VARLIST)[1:]
     return [parse_server_var(var) for var in vars]