Skip to main content

uimod.cfg_save

Overview

  • Saves a value to a file under the mod's cfg directory.

Metadata

FieldValue
DisplaySave Config Value
Categoryuimod
AccessPublic
ScopeB1Standalone
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
mod_idstringyesMod identifier
sectionstringyesSection (subdirectory)
keystringyesKey (filename without extension)
valuestringyesValue to store

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('uimod.cfg_save', {
mod_id: '',
section: '',
key: '',
value: '',
});