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
| Field | Value |
|---|---|
| Display | Enable Mod In Game |
| Category | mod |
| Access | UserCheat |
| Scope | B1Standalone |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| mod_id | string | yes | — | 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: '',
});