Chat #78

Claude Haiku 3.5

2 messages
3 chunks
3978 in
785 out
$0.0063
Me
If two overrides target the same setting with different priorities, which applies?
Enki
**Source:** [Game Settings Configuration](https://tripledotstudios.atlassian.net/wiki/spaces/KB/pages/2580021328) # How Game Server Resolves Conflicting Game Settings Game Server has a specific mechanism for resolving settings when multiple configurations exist. Here's a detailed breakdown of how settings are prioritized and applied: ## Priority Determination Process Game Server follows a clear hierarchy when determining which settings to apply: 1. **Sorting Priority**: Configurations are sorted from lowest to highest priority 2. **Base Config**: Always has a default priority of 0 3. **Overrides and A/B Experiments**: Can have custom priority levels ![Game Settings Prioritization](https://tripledotstudios.atlassian.net/wiki/download/thumbnails/2580021328/tabs%20guide.png?version=1&modificationDate=1658919047865&cacheVersion=1&api=v2&width=442&height=200) ## Practical Example of Setting Resolution Let's break down how Game Server determines the final settings when multiple configurations exist: ### Scenario 1: Overlapping Overrides | Configuration | Priority | Attribute 1 | Attribute 2 | Attribute 3 | |--------------|----------|-------------|-------------|--------------| | Base Config | 0 | 10 | Disabled | 5.5 | | Override #1 | 1 | 20 | 50 | 6.5 | | Override #2 | 2 | 30 | 60 | Disabled | **Result for Player:** - Attribute 1 = 30 (from Override #2, highest priority) - Attribute 2 = 60 (from Override #2, highest priority) - Attribute 3 = 6.5 (from Override #1, as Override #2 is disabled) ### Scenario 2: Multiple Configurations with Same Value | Configuration | Priority | Attribute 1 | Attribute 2 | Attribute 3 | |--------------|----------|-------------|-------------|--------------| | Base Config | 0 | 20 | Disabled | 5.5 | | Override #1 | 1 | 20 | 50 | Disabled | | Override #2 | 2 | 20 | 60 | Disabled | | Override #3 | 3 | 20 | Disabled | Disabled | **Result for Player:** - Attribute 1 = 20 (from Override #3, highest priority) - Attribute 2 = 60 (from Override #2) - Attribute 3 = 5.5 (from Base Config, as all overrides are disabled) ## Key Principles - Higher priority configurations override lower priority ones - If an attribute is disabled in a higher-priority configuration, Game Server falls back to the next applicable configuration - Base Config serves as the default configuration with the lowest priority ## Important Considerations - A user can receive settings from multiple sources (Base Config, Overrides, A/B Experiments) - A/B Experiments have a similar priority mechanism, but they are applied before Overrides - Priority order: A/B Experiments > Overrides > Base Config By understanding these rules, you can precisely control game settings for different user segments and experiment configurations.