def store_settings_to_db(cls): config = ServerControl.get_config() Db.website_data_set('Game.ini',config['Game.ini']) Db.website_data_set('GameUserSettings.ini',config['GameUserSettings.ini']) data = Rcon.query_server() Db.website_data_set('game_version',data['game_version']) out('Settings uploaded to database.')
def store_settings_to_db(cls): config = ServerControl.get_config() Db.website_data_set('Game.ini', config['Game.ini']) Db.website_data_set('GameUserSettings.ini', config['GameUserSettings.ini']) data = Rcon.query_server() Db.website_data_set('game_version', data['game_version']) out('Settings uploaded to database.')
def upload_to_web_players_online(cls, player_list): Db.website_data_set('players_online', len(Storage.players_online_steam_name))
def upload_to_web_players_online(cls,player_list): Db.website_data_set('players_online', len(Storage.players_online_steam_name))