Remote Configuration

Manage your game settings remotely without releasing updates, allowing for dynamic adjustments and feature toggling.

Support

Check if remote configuration is supported to manage game settings without releasing updates.

playgama_bridge_remote_config_is_supported()

Load Values

Load configuration settings from the server to dynamically adjust game parameters based on real-time data.

var options
switch playgama_bridge_platform_id() {
    case "yandex":
        options = {
            "clientFeatures": [ // optional parameter
                { name: "levels", value: "5" }
            ]
        }
        break
}

playgama_bridge_remote_config_get(json_stringify(options))

// callback via Async Social Event
if async_load[? "type"] == "playgama_bridge_remote_config_get_callback" {
    if async_load[? "success"] {
        var values = json_parse(async_load[? "success"])
    }
}

// callback via script
function playgama_bridge_remote_config_get_callback(success, data) {
    if success {
        var values = json_parse(data)
    }
}

Last updated