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_idstringyes—Mod identifier
sectionstringyes—Section (subdirectory)
keystringyes—Key (filename without extension)
valuestringyes—Value to store

Usage

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