luamod.reload
Overview
- Hot-reload Lua script environments. Reloads all mounted Lua mods without restarting. Default reloads both B1+B2.
Metadata
| Field | Value |
|---|---|
| Display | Reload Lua |
| Category | luamod |
| Access | UserCheat |
| Scope | B1Standalone |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| target | string | no | all | Which environment to reload: all (default), b1, or b2 |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('luamod.reload', {
target: 'all', // optional
});