Skip to content
S3ctor’s S3cret St4sh
settings

Settings

S4V3R's player-backed settings and how to read them.

Settings live in SettingsPlayerS4V3R. PLAYER and MENU scripts can read and write the section directly. S4V3R subscribes to it, so external writes take effect immediately.

---@omw-context player
local Settings = require 'openmw.storage'.playerSection('SettingsPlayerS4V3R')

local combatSavesEnabled = Settings:get('CombatSaveToggle')

Fields

FieldTypeDefaultMeaning
S4V3RActivebooleantrueEnables S4V3R. When off, S4V3R makes no saves at all.
IntervalSaveTogglebooleantrueEnables interval autosaves.
SaveIntervalnumber9Minutes of unpaused play between interval autosaves, from 1 to 60.
MaxSaveSlotsnumber10Number of interval autosaves to keep, from 1 to 100. Once reached, the oldest is overwritten. Lowering it deletes the excess oldest autosaves at the next autosave.
CombatSaveTogglebooleantrueSaves when combat starts and ends.
CombatSaveCooldownnumber1Minimum minutes between combat saves, from 0 to 60. 0 disables the cooldown.
RestSaveTogglebooleanfalseSaves after resting or waiting for at least an hour.
StartSaveTogglebooleantrueSaves once when character creation finishes.
DeleteSavesOnDeathbooleanfalseIronman mode. On death, deletes every save S4V3R made for the current character and quits the game.
SavePrefixstring''Prefix added to S4V3R's save names.
DebugEnablebooleanfalsePrints S4V3R's debug messages to the console.
CellChangeSaveTogglebooleanfalseSaves after the player moves into or out of an interior. Only registered when H3lp Yours3lf.esp is enabled; otherwise it reads as nil.

S4V3R also tracks which save files belong to each character in the S4V3RSaveFiles section. That's an implementation detail. Don't write to it.