Chat #77

Claude Haiku 3.5

2 messages
3 chunks
6044 in
621 out
$0.0073
Me
What happens if a User Group and an Override both apply to the same setting?
Enki
**Source:** [Game Settings Configuration](https://tripledotstudios.atlassian.net/wiki/spaces/KB/pages/2580021328) # Game Settings Configuration: Priority and Overrides ## Understanding Configuration Priorities When configuring game settings, the Game Server uses a sophisticated prioritization mechanism to determine which values a player receives. The key principles are: ### Priority Hierarchy - Base Config has the lowest priority (0) - Overrides and A/B Experiments are sorted by their assigned priority - Higher priority configurations overwrite lower priority configurations - Configurations are applied from lowest to highest priority ### Priority Rules 1. Game Server determines matching configurations for a user 2. Sorts configurations from lowest to highest priority 3. Applies enabled attributes sequentially 4. Higher priority configurations can override or disable lower priority settings ![Priority Sorting Diagram](https://tripledotstudios.atlassian.net/wiki/download/thumbnails/2580021328/65d487d3-218e-44b0-809c-a3082d3335da.png) ## Example Scenario Consider this configuration matrix: | Configuration | Priority | Attribute 1 | Attribute 2 | Attribute 3 | |--------------|----------|-------------|-------------|-------------| | Base Config | 0 | 10 | "test" | 5.5 | | Override #1 | 1 | 20 | "hello" | 6.5 | | A/B Experiment #1 | 1* | 40 | "world" | Disabled | | A/B Experiment #2 | 2* | 50 | Not Set | Disabled | **Resulting Player Configuration:** - Attribute 1: 50 (from A/B Experiment #2) - Attribute 2: "world" (from A/B Experiment #1) - Attribute 3: 6.5 (from Override #1) ## Key Takeaways - Priorities are crucial in determining final configuration - Multiple configurations can apply to the same user - Higher priority always wins - Disabled attributes can fall back to lower priority configurations ### Important Notes - A/B Experiments and Overrides have slightly different priority mechanisms - Users can belong to multiple configuration groups - Game Server intelligently merges and prioritizes settings ## Best Practices 1. Carefully assign priorities 2. Use the minimum number of configurations needed 3. Understand how overlapping configurations interact 4. Test configurations thoroughly **Pro Tip:** The `Override A/B Experiments` checkbox allows you to create emergency overrides that bypass existing A/B experiments, providing ultimate flexibility in game configuration.