Skip to main content

mod.disable

Overview

  • Disables a mod without assets (string tables are allowed) and removes it during play without reloading. State that used the mod's data (buffs, interactions, objects) is cleaned up.

Metadata

FieldValue
DisplayDisable 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.disable', {
mod_id: '',
});