Skip to content

Get Settings

Stable

Getting settings returns the path values that are explicitly stored in the Daemon's local store, without applying defaults or expanding environment variables.

PropertyValue
Applies toDaemon
TriggerClient requests the current path configuration
PreconditionsNone

Inputs

There are no inputs.

Assertions

AssertionStatus
None — the operation always succeeds

Outputs

SettingsData : An object with three optional string fields: dcsWorkingDir, dcsInstallDir, and dropzoneModsDir. A field is absent when no value has been stored for it, or when a previous update settings call explicitly cleared it.

Effects

None. This is a read-only operation.

Note: The returned values are the raw strings as stored — no environment variable expansion is applied and no platform defaults are substituted. To obtain resolved, validated paths, use validate settings.

Behavior

mermaid
flowchart TD
    Start([getSettings]) --> Read[Read dcsWorkingDir, dcsInstallDir,<br/>dropzoneModsDir from key-value store]
    Read --> Done([Return SettingsData with stored values])

    style Done fill:#4ade80,color:#000

See Also