Skip to main content

mod.enable

Overview

  • Enables a mod without assets (string tables are allowed) and applies it during play without reloading. The mod must already be validated. Mods with other assets or language mods are rejected.

Metadata

FieldValue
DisplayEnable Mod In Game
Categorymod
AccessUserCheat
ScopeB1Standalone
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
mod_idstringyes—Mod ID (folder name, see mod.list_toggleable)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('mod.enable', {
mod_id: '',
});