Skip to main content

hope.set_config

Overview

  • Sets the GLOBAL hope generation config (units: seconds). Affects all characters. random_select_cooltime controls auto-select cadence; auto_select_hope_limit/max_hope_size control how many hopes fill. (RefreshInterval/RandomSelectRangeSec are non-functional and intentionally not exposed.)

Metadata

FieldValue
DisplaySet Hope Config
Categoryhope
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
max_hope_sizeintno—Max simultaneous hope slots
auto_select_hope_limitintno—Max hopes auto-filled by the system
random_select_cooltimeintno—Seconds between auto-selects (generation cadence)
deselect_cooltimeintno—Default hope lifetime/expiry in seconds
reselect_cooltimeintno—Seconds before a used hope can be re-selected

Usage

await inzoi.cli.execute('hope.set_config', {
max_hope_size: 0, // optional
auto_select_hope_limit: 0, // optional
random_select_cooltime: 0, // optional
deselect_cooltime: 0, // optional
reselect_cooltime: 0, // optional
});