@server_blueprint.route('/status')
@login_required
def status():
    rcon_host = current_app.config['RCON_HOST']
    rcon_password = current_app.config['RCON_PASSWORD']
    (server_state, players) = get_server_status(rcon_host, rcon_password)
    return jsonify(server_state=server_state, online_players=players, server_resources=server_resources())
@server_blueprint.route('/status')
@login_required
def status():
    rcon_host = current_app.config['RCON_HOST']
    rcon_password = current_app.config['RCON_PASSWORD']
    (server_state, players) = get_server_status(rcon_host, rcon_password)
    return jsonify(server_state=server_state, online_players=players, server_resources=server_resources())