Live Config

Retrieve real-time configuration and feature flags for your game

Last updated: 12/20/2024

Live Configuration System

Fetch dynamic configuration values, feature flags, and server-side settings without requiring a game update. Perfect for A/B testing, seasonal events, and emergency maintenance mode.

✨ Feature Flags

Toggle features on/off without deploying new code

🛍️ Dynamic Content

Update shop items, prices, and availability in real-time

🔧 Maintenance Mode

Control server maintenance and display custom messages

🎯 A/B Testing

Run experiments and test new features with subsets of players

Get Live Configuration
GET

Retrieve current configuration and feature flags

Request

Response

Caching: Configuration is cached for 5 minutes to reduce API calls. Use force: true in the SDK to bypass cache if needed.

Rate Limits: 60 requests per minute per API key. View all limits →

Common Use Cases

How to implement common configuration patterns

🚧 Maintenance Mode Check

Check if the game is in maintenance mode before allowing gameplay

🎮 Feature Flag Usage

Conditionally show features based on server-side flags

🛒 Dynamic Shop Loading

Load shop items and prices from live configuration

SDK Usage

Simple configuration fetching with built-in caching

Configuration Management

Best Practice: Fetch configuration at game startup and cache locally. The SDK automatically handles caching and provides fallback values for offline play.