Class ClientSettings
The client's single owner of GlobalSettings: it creates the store, names every key exactly once, clamps everything read out of it, and owns the one debounced write that puts it back on disk.
public static class ClientSettings
- Inheritance
-
ClientSettings
- Inherited Members
Remarks
Why one owner. The store used to be created lazily by whichever of two
unrelated places asked for it first — LauncherSettings.EnsureLoaded in the launcher
scene, and UITKOptions.EnsureConfigurationLoaded the first time the player opened
the settings panel. In a client started past the launcher, neither ran, so
Configuration.GlobalSettings stayed null through the whole of boot: keybinding
overrides were skipped without a word (PlayerInputController.LoadBindingOverrides
returns early on a null store), panel positions were never restored, and the theme loaded
from nothing. Every one of those failures looked like a setting that had not been saved
rather than one that had never been read.
Why the keys live here. A configuration key is a string shared between the
control that writes it and the code that applies it, and the two are usually in different
files. Naming them in one place is what makes it impossible for a panel to write
"Brightness" while the applier reads "brightness" — and lets a setting be
applied at boot by code that has never heard of the options panel.
Why every read clamps. Configuration.cfg is a plain text file: a player can
edit it, a crash can truncate it mid-write, and a build from a different machine can leave
values this one cannot honour. Values reach RenderSettings.ambientLight,
Screen.fullScreenMode and AudioListener.volume, none of which validate what
they are given. Clamping on the way in is the only place it can be done once.
Why writes are debounced. Save() serialises and rewrites the entire file. A slider bound straight to it rewrites the file once per frame for as long as it is held. Everything here coalesces onto a short quiet period and is flushed on panel close, on quit, and on demand.
And why there is exactly one of them. UITKPanelPositions used to keep a second pending flag and a second deadline over the same file. Both wrote the whole of it, so a player who dragged a window and changed a setting in the same breath got two full serialisations of identical content — and each timer could fire inside the other's quiet period, which is the case a debounce exists to prevent. The two intervals also disagreed, a second against three quarters of one, so which of two simultaneous changes reached the disk first depended on which subsystem had last been touched. Panel positions now request and flush through here like every other setting.
Fields
AnisotropicFilteringKey
Texture filtering. Stored as the ordinal of ClientDisplaySettings.AnisotropicOption.
public const string AnisotropicFilteringKey = "Anisotropic Filtering"
Field Value
AntialiasingKey
Edge smoothing mode. Stored as the ordinal of ClientCameraSettings.AntialiasingOption.
public const string AntialiasingKey = "Antialiasing"
Field Value
AudioMuteUnfocusedKey
Configuration key for muting the client while its window is not focused.
public const string AudioMuteUnfocusedKey = "Audio.MuteWhenUnfocused"
Field Value
AudioVolumePrefix
Configuration key prefix for the per-channel audio volumes.
public const string AudioVolumePrefix = "Audio.Volume."
Field Value
Remarks
The full key is this prefix followed by the AudioChannel name.
BrightnessKey
Configuration key for the brightness setting.
public const string BrightnessKey = "Brightness"
Field Value
CameraFieldOfViewKey
The camera's vertical field of view, degrees (ClientCameraSettings.FieldOfView).
public const string CameraFieldOfViewKey = "Camera.FieldOfView"
Field Value
CameraInvertXKey
Whether sideways look input is reversed.
public const string CameraInvertXKey = "Camera.InvertX"
Field Value
CameraInvertYKey
Whether vertical look input is reversed.
public const string CameraInvertYKey = "Camera.InvertY"
Field Value
CameraMaxZoomKey
Farthest the wheel takes the third-person view, metres (ClientCameraSettings.MaxZoom).
public const string CameraMaxZoomKey = "Camera.MaxZoom"
Field Value
CameraStyleKey
Where the view is taken from. Stored as the value of KCCCameraStyle (ClientCameraSettings.Style).
public const string CameraStyleKey = "Camera Style"
Field Value
CameraZoomStepKey
Metres one notch of the wheel moves the view (ClientCameraSettings.ZoomStep).
public const string CameraZoomStepKey = "Camera.ZoomStep"
Field Value
CarriedLightModeKey
What the player's character carries to see by, as its number (ClientCarriedLightSettings).
public const string CarriedLightModeKey = "CarriedLight.Mode"
Field Value
ChatFontSizeKey
Configuration key for the chat log's message font size, in points.
public const string ChatFontSizeKey = "Chat.FontSize"
Field Value
Remarks
Under a prefix of its own rather than folded into the interface scale, because the two answer different complaints. The interface scale multiplies the panel asset's reference resolution: it resizes every panel and every word in every one of them, and it stops at 1.5x. A player who can read the rest of the HUD and not the chat log has no remedy in it — and 1.5x of a 12px line is 18px whether or not that is the size they needed.
ChatGroupMessagesKey
Configuration key for whether consecutive lines from one sender share one name.
public const string ChatGroupMessagesKey = "Chat.GroupMessages"
Field Value
ChatShowChannelTagsKey
Configuration key for whether a chat line names its channel, e.g. [Tell].
public const string ChatShowChannelTagsKey = "Chat.ShowChannelTags"
Field Value
ChatShowTimestampsKey
Configuration key for whether every chat line starts with the time it arrived.
public const string ChatShowTimestampsKey = "Chat.ShowTimestamps"
Field Value
ChatTimestampFormatKey
Configuration key for the chat timestamp format, a ClientChatSettings.TimestampFormat index.
public const string ChatTimestampFormatKey = "Chat.TimestampFormat"
Field Value
CloudQualityKey
The clouds' march level, as the ordinal of VisualLevel.
public const string CloudQualityKey = "Clouds.Quality"
Field Value
CloudShadowsKey
Whether the clouds shade the ground.
public const string CloudShadowsKey = "Clouds.Shadows"
Field Value
CloudsEnabledKey
Whether the volumetric clouds are drawn (ClientCloudSettings).
public const string CloudsEnabledKey = "Clouds.Enabled"
Field Value
ColorFilterKey
Whether the full-screen colour correction runs when a colour vision is chosen.
public const string ColorFilterKey = "Accessibility.ColorFilter"
Field Value
ColorFilterStrengthKey
The colour correction's strength, 0 to 1.
public const string ColorFilterStrengthKey = "Accessibility.ColorFilterStrength"
Field Value
ColorVisionModeKey
The player's colour vision, as the ordinal of ColorVisionMode.
public const string ColorVisionModeKey = "Accessibility.ColorVision"
Field Value
CrosshairEnabledKey
Configuration key for whether the crosshair is drawn at all.
public const string CrosshairEnabledKey = "Crosshair.Enabled"
Field Value
Remarks
Separate from the mouse-mode rule the crosshair already follows: mouse mode hides it while the cursor is free, and this hides it always. A player who aims from the model rather than from a mark wants the second, and turning it off must not be expressible only as "leave mouse mode on".
CrosshairOpacityKey
Configuration key for the crosshair's opacity, 0 to 1.
public const string CrosshairOpacityKey = "Crosshair.Opacity"
Field Value
CrosshairSizeKey
Configuration key for the crosshair's edge length, in panel points.
public const string CrosshairSizeKey = "Crosshair.Size"
Field Value
CrosshairStyleKey
Configuration key for the crosshair shape, stored as the ordinal of CrosshairStyle.
public const string CrosshairStyleKey = "Crosshair.Style"
Field Value
DefaultUIScale
Interface scale a fresh install uses.
public const float DefaultUIScale = 1
Field Value
Remarks
100%: the interface is laid out for a 1280x960 (4:3) screen and fitted to the window (PanelSettings: reference 1280x960, Expand), so at 100% it is exactly that size on a 4:3 screen and a wider window only adds room at the sides. The old 75% made up for matching the panel's WIDTH, which grew everything with a wide browser window.
FallingLeavesKey
Whether leaves fall under the trees.
public const string FallingLeavesKey = "Weather.FallingLeaves"
Field Value
FloatingDebrisKey
Whether the sea's floating weed, wood and ice are drawn.
public const string FloatingDebrisKey = "Life.FloatingDebris"
Field Value
FrameRateKey
Configuration key for the render frame rate cap, in frames per second.
public const string FrameRateKey = "Frame Rate Limit"
Field Value
FullscreenKey
Configuration key for the fullscreen mode, stored as the UnityEngine.FullScreenMode value.
public const string FullscreenKey = "Fullscreen"
Field Value
GameplayToggles
Every gameplay toggle: its configuration key, the label the options panel shows, and the value a fresh install gets.
public static readonly (string Key, string Label, bool Default, ClientSettings.ToggleSection Section)[] GameplayToggles
Field Value
Remarks
The default belongs here rather than at each call site, because the panel and the code
that acts on a setting have to agree about it. They did not:
ClientCombatDisplay treated a missing key as false while the panel
showed the same missing key as a ticked box, so a fresh install displayed no damage
numbers while its own settings screen said it did — and ticking the box off and on again
was the only way to make the display match the UI.
GodRaysKey
Whether the sun's shafts through the cloud are drawn.
public const string GodRaysKey = "Sky.GodRays"
Field Value
GrassDistanceKey
Grass and small-detail draw distance, metres (ClientGrassSettings).
public const string GrassDistanceKey = "Grass.Distance"
Field Value
HeatHazeKey
Whether the heat shimmer is drawn.
public const string HeatHazeKey = "Weather.HeatHaze"
Field Value
HighlightInteractablesKey
Configuration key for outlining the interactable object the player is aiming at (TargetOutline).
public const string HighlightInteractablesKey = "HighlightInteractables"
Field Value
HotbarLayoutKey
Configuration key for how a game with several hotkey bars shows them.
public const string HotbarLayoutKey = "UI.Hotbar.Layout"
Field Value
HotbarPageKey
Configuration key for the bar a paged hotbar shows when no modifier is held.
public const string HotbarPageKey = "UI.Hotbar.Page"
Field Value
IgnoreGuildInvitesKey
Configuration key for suppressing guild invitations.
public const string IgnoreGuildInvitesKey = "IgnoreGuildInvites"
Field Value
IgnorePartyInvitesKey
Configuration key for suppressing party invitations.
public const string IgnorePartyInvitesKey = "IgnorePartyInvites"
Field Value
InputBindingOverridesKey
Configuration key for the keybinding override blob written by the input system.
public const string InputBindingOverridesKey = "InputBindingOverrides"
Field Value
LegacyLookSensitivityKey
The old sensitivity: degrees turned per mouse count outright. Read once, to carry a saved value over (ClientCameraSettings.LoadSaved), then removed.
public const string LegacyLookSensitivityKey = "Look Sensitivity"
Field Value
LightningFlashesKey
Whether lightning lights the scene.
public const string LightningFlashesKey = "Weather.LightningFlashes"
Field Value
LookSensitivityKey
How far the mouse turns the view (ClientCameraSettings.MouseDegreesPerCount). Only observable while the cursor is locked, which is the state the mouse drives the camera in.
public const string LookSensitivityKey = "Mouse Sensitivity"
Field Value
Remarks
A key of its own because the number changed meaning; see LegacyLookSensitivityKey.
MapShowCoordinatesKey
Configuration key for whether the maps show numeric coordinates.
public const string MapShowCoordinatesKey = "Map.ShowCoordinates"
Field Value
MaximumUIScale
Largest interface scale offered, as a multiplier of the authored size.
public const float MaximumUIScale = 1.5
Field Value
MinimapFrameRateDefault
Default minimap refresh, in frames per second.
public const int MinimapFrameRateDefault = 30
Field Value
MinimapFrameRateKey
Configuration key for how many times a second the minimap is re-rendered.
public const string MinimapFrameRateKey = "Map.MinimapFrameRate"
Field Value
Remarks
Exposed to the player because it is a real, adjustable cost: the minimap is an extra overhead render of the world, and a machine that is struggling gets a meaningful frame back by dropping it to fifteen. Thirty is the default because below that the map visibly stutters as the character moves, and above it nothing looks better.
MinimapFrameRateMaximum
Fastest minimap refresh the player may choose, in frames per second.
public const int MinimapFrameRateMaximum = 60
Field Value
Remarks
Capped rather than left open. Beyond sixty the setting buys nothing — the UI cannot present frames faster than it draws them — and it turns a performance control into a way to spend the frame budget on a two-hundred-pixel square.
MinimapFrameRateMinimum
Slowest minimap refresh the player may choose, in frames per second.
public const int MinimapFrameRateMinimum = 5
Field Value
MinimapRotatesKey
Configuration key for whether the minimap turns with the character.
public const string MinimapRotatesKey = "Map.MinimapRotates"
Field Value
MinimapZoomKey
Configuration key for the minimap's zoom, as the view's half-extent in metres.
public const string MinimapZoomKey = "Map.MinimapZoom"
Field Value
MinimumUIScale
Smallest interface scale offered, as a multiplier of the authored size.
public const float MinimumUIScale = 0.5
Field Value
Remarks
50%: the panel is 1200 reference units wide whatever the screen, so on a wide browser window the interface grows with it, and 75% was still too large for some web resolutions (11-16).
MsaaKey
Multisampling of the 3D view. Stored as the ordinal of ClientDisplaySettings.MsaaOption.
public const string MsaaKey = "MSAA"
Field Value
NameplateBackgroundOpacityKey
Configuration key for how strongly a nameplate's background is painted, 0 to 1, as a multiplier on the style's own opacity. Zero leaves the text over the world.
public const string NameplateBackgroundOpacityKey = "Nameplates.BackgroundOpacity"
Field Value
NameplateMaxVisibleKey
Configuration key for how many nameplates may be drawn at once.
public const string NameplateMaxVisibleKey = "Nameplates.MaxVisible"
Field Value
NameplateOpacityKey
Configuration key for overall nameplate opacity, 0 to 1.
public const string NameplateOpacityKey = "Nameplates.Opacity"
Field Value
NameplateScaleKey
Configuration key for the nameplate size multiplier.
public const string NameplateScaleKey = "Nameplates.Scale"
Field Value
NameplateShowGuildKey
Configuration key for showing the guild row on a nameplate.
public const string NameplateShowGuildKey = "Nameplates.ShowGuild"
Field Value
NameplateShowIconsKey
Configuration key for drawing the optional icon a nameplate's style or owner gives it.
public const string NameplateShowIconsKey = "Nameplates.ShowIcons"
Field Value
NameplateShowTitlesKey
Configuration key for showing the title row — "<Banker>" — on a nameplate.
public const string NameplateShowTitlesKey = "Nameplates.ShowTitles"
Field Value
NetworkStatsEnabledKey
Configuration key for whether the network statistics overlay is drawn.
public const string NetworkStatsEnabledKey = "NetworkStats.Enabled"
Field Value
NetworkStatsGraphKey
Configuration key for whether the overlay draws its traffic graph.
public const string NetworkStatsGraphKey = "NetworkStats.ShowGraph"
Field Value
QualityLevelKey
Configuration key for the quality level, stored as its name rather than its index.
public const string QualityLevelKey = "Quality Level"
Field Value
Remarks
The name and not the index: QualitySettings levels can be reordered or inserted
between builds, and an index saved against the old order silently selects a different
level. A name that no longer exists is simply ignored.
RefreshRateKey
Configuration key for the display refresh rate, in hertz.
public const string RefreshRateKey = "Refresh Rate"
Field Value
ResolutionHeightKey
Configuration key for the resolution height setting.
public const string ResolutionHeightKey = "Resolution Height"
Field Value
ResolutionWidthKey
Configuration key for the resolution width setting.
public const string ResolutionWidthKey = "Resolution Width"
Field Value
SeaLifeKey
Whether the sea's life is drawn.
public const string SeaLifeKey = "Life.SeaLife"
Field Value
ShoulderHeightKey
How far above the follow point the over-the-shoulder view sits, metres.
public const string ShoulderHeightKey = "Camera.Shoulder.Height"
Field Value
ShoulderMaxZoomKey
Farthest the wheel takes the over-the-shoulder view, metres.
public const string ShoulderMaxZoomKey = "Camera.Shoulder.MaxZoom"
Field Value
ShoulderOffsetKey
How far to the side of the character the over-the-shoulder view sits, metres.
public const string ShoulderOffsetKey = "Camera.Shoulder.Offset"
Field Value
ShoulderSideKey
Which shoulder the over-the-shoulder view looks past: 0 right, 1 left.
public const string ShoulderSideKey = "Camera.Shoulder.Side"
Field Value
ShowAchievementsKey
Configuration key for showing achievement completion popups.
public const string ShowAchievementsKey = "ShowAchievementCompletion"
Field Value
Remarks
The key is ShowAchievementCompletion and not ShowAchievements, which is
what the options panel used to write. Nothing read that name: the only consumer,
ClientCombatDisplay, has always read ShowAchievementCompletion, so
the toggle wrote one key and the popups read another and the setting did nothing at all.
Naming it once, here, is what stops that recurring.
ShowDamageKey
Configuration key for showing floating damage numbers.
public const string ShowDamageKey = "ShowDamage"
Field Value
ShowHealsKey
Configuration key for showing floating healing numbers.
public const string ShowHealsKey = "ShowHeals"
Field Value
UIScaleKey
Configuration key for the interface scale multiplier.
public const string UIScaleKey = "UI.Scale"
Field Value
VSyncKey
Configuration key for the VSync setting.
public const string VSyncKey = "VSync"
Field Value
VolumetricFogKey
Whether the froxel fog volume runs.
public const string VolumetricFogKey = "Weather.VolumetricFog"
Field Value
WeatherEffectsKey
The weather's particles, curtains and vortices level, as the ordinal of VisualLevel.
public const string WeatherEffectsKey = "Weather.Effects"
Field Value
WildlifeDensityKey
How much of the ambient-life budget is drawn, as the ordinal of VisualLevel.
public const string WildlifeDensityKey = "Life.WildlifeAmount"
Field Value
WildlifeKey
Whether the land's ambient life is drawn.
public const string WildlifeKey = "Life.Wildlife"
Field Value
WorldLabelDistanceKey
Configuration key for how far world labels are drawn, in metres.
public const string WorldLabelDistanceKey = "WorldLabels.Distance"
Field Value
WorldLabelMaxVisibleKey
Configuration key for how many world labels may be drawn at once.
public const string WorldLabelMaxVisibleKey = "WorldLabels.MaxVisible"
Field Value
WorldLabelNpcNameRangeKey
Configuration key for how close an NPC must be, in metres, for its nameplate to show without being targeted. Zero means nameplates show only on the current target.
public const string WorldLabelNpcNameRangeKey = "WorldLabels.NpcNameRange"
Field Value
WorldLabelOccludeKey
Configuration key for hiding world labels behind scene geometry.
public const string WorldLabelOccludeKey = "WorldLabels.Occlude"
Field Value
WorldLabelOpacityKey
Configuration key for world label opacity, 0 to 1.
public const string WorldLabelOpacityKey = "WorldLabels.Opacity"
Field Value
WorldLabelPlayerNameRangeKey
Configuration key for how close another player must be, in metres, for their nameplate to show without being targeted. Zero means nameplates show only on the current target.
public const string WorldLabelPlayerNameRangeKey = "WorldLabels.PlayerNameRange"
Field Value
WorldLabelScaleKey
Configuration key for the world label size multiplier.
public const string WorldLabelScaleKey = "WorldLabels.Scale"
Field Value
WorldLabelShowOwnNameKey
Configuration key for keeping the player's own nameplate up at all times.
public const string WorldLabelShowOwnNameKey = "WorldLabels.ShowOwnName"
Field Value
Properties
IsLoaded
True when the configuration store has been created and loaded.
public static bool IsLoaded { get; }
Property Value
MapShowCoordinates
Whether the maps show numeric coordinates, subject to the Cartography tier.
public static bool MapShowCoordinates { get; }
Property Value
MinimapFrameRate
How many times a second the minimap is re-rendered, clamped into range.
public static int MinimapFrameRate { get; }
Property Value
MinimapRotates
Whether the minimap turns with the character rather than staying north-up.
public static bool MinimapRotates { get; }
Property Value
UIScale
The interface scale multiplier the player has chosen.
public static float UIScale { get; set; }
Property Value
Methods
ApplyAll()
Applies every setting that has a global effect, from the client's boot phase.
public static void ApplyAll()
Remarks
This is what makes a saved setting take effect without the player opening the options
panel. Before it existed, the panel's own OnStarting was the only code that
applied VSync, brightness or the frame-rate cap — and that panel ships closed, so its
OnStarting did not run until the player opened it. A player who had capped their
frame rate got the bootstrap default every session until they visited the menu.
Each step is isolated. Boot must complete even if one setting cannot be applied on this hardware; a client that fails to start because of a display mode is unrecoverable without hand-editing the file it failed on.
EnsureLoaded()
Creates and loads GlobalSettings if nothing has yet.
public static bool EnsureLoaded()
Returns
- bool
True when a usable store exists afterwards.
Remarks
Safe to call from anywhere, at any point, any number of times — which is the point. Callers that merely need the store to exist should call this rather than constructing one, because a second Configuration pointed at the same file is how two halves of the client end up disagreeing about what the player chose.
A file that is present but unreadable is deliberately not overwritten. Only a genuinely absent file gets defaults written back; a load that failed for any other reason — a locked file, a permissions problem — leaves whatever is on disk alone, so a transient error cannot destroy a player's settings.
Exists(string)
Whether a setting is stored at all, as opposed to falling back to its default.
public static bool Exists(string key)
Parameters
keystring
Returns
Flush()
Writes the configuration to disk immediately, if anything is owed.
public static void Flush()
Remarks
Not in the editor: GetWorkingDirectory() resolves to the repository root there rather than to an install directory, so a play-mode session would rewrite the developer's checked-out configuration. The in-memory values still apply, so settings behave normally while playing in the editor; only the cross-session part is skipped.
WebGL does write. It used to be excluded alongside the editor, which meant a
browser client applied every setting correctly and persisted none of them.
GetWorkingDirectory() already resolves to
Application.persistentDataPath there, which is a real writable filesystem — it is
just backed by IndexedDB rather than by a disk, and reaches IndexedDB only when the mount
is synced. Sync() is what does that, and is an empty
method everywhere else.
GetBool(string, bool)
Reads a boolean setting, or its fallback when the store is unavailable.
public static bool GetBool(string key, bool fallback)
Parameters
Returns
GetFloat(string, float, float, float)
Reads a float setting, clamped into range and with non-finite values rejected.
public static float GetFloat(string key, float fallback, float minimum, float maximum)
Parameters
Returns
Remarks
NaN is checked separately because it compares false against every bound —
Mathf.Clamp passes it straight through, and a NaN reaching a slider or a colour
channel corrupts everything downstream of it.
GetGameplayToggle(string)
Reads a gameplay toggle, using the default declared in GameplayToggles.
public static bool GetGameplayToggle(string key)
Parameters
keystringOne of the keys in GameplayToggles.
Returns
GetInt(string, int)
Reads an integer setting, or its fallback when the store is unavailable.
public static int GetInt(string key, int fallback)
Parameters
Returns
GetString(string, string)
Reads a string setting, or its fallback when the store is unavailable.
public static string GetString(string key, string fallback)
Parameters
Returns
Pump()
Flushes an owed write once its quiet period has elapsed.
public static void Pump()
Remarks
Driven once per frame by FishMMO.Client.ClientSettingsPump. The early-out is a single bool read.
Remove(string)
Deletes a setting and schedules a debounced save.
public static bool Remove(string key)
Parameters
keystringThe setting to remove.
Returns
- bool
True when the setting existed and was removed.
Remarks
A save is scheduled only when something actually changed. Panel positions are cleared one key at a time across every registered panel, and requesting a write for each of the forty that had nothing stored is forty pointless requests — each of which pushes the debounce deadline further out and so delays the write that is actually owed.
RequestSave()
Marks the configuration as owing a write, to be flushed once the player settles.
public static void RequestSave()
Remarks
Each call pushes the deadline out, so a slider held for a minute writes once, when it is released, rather than sixty times a second. The pump that watches that deadline is created here rather than assumed to exist — see FishMMO.Client.ClientSettingsPump — so owing a write is what guarantees something is running to discharge it.
SetGameplayToggle(string, bool)
Writes a gameplay toggle, schedules a save, and notifies consumers.
public static void SetGameplayToggle(string key, bool value)
Parameters
SetString(string, string)
Writes a string setting and schedules a debounced save.
public static void SetString(string key, string value)
Parameters
Set<T>(string, T)
Writes a setting and schedules a debounced save.
public static void Set<T>(string key, T value)
Parameters
keystringvalueT
Type Parameters
T
Remarks
Floats are safe through this generic path: Set<T>(string, T) formats
every value with the invariant culture and gives float and double the
round-trip format specifically. That is load-bearing rather than tidy — the readers
above all parse invariantly, so a value formatted with the machine's own locale came
back as a different number on any comma-decimal system.
Events
OnGameplayChanged
Raised when any gameplay toggle changes.
public static event Action OnGameplayChanged
Event Type
Remarks
Consumers cache these values — they are read on the client's hottest path, once per damage event per character in view — and a cache with nothing to invalidate it is a setting that appears not to work until the client is restarted.