lua_module.list
Overview
- List all dynamic Lua modules attached to an entity
Metadata
| Field | Value |
|---|---|
| Display | List Lua Modules |
| Category | lua_module |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | yes | — | Target entity ID |
Returns
Returns a JSON array; each element is an object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Lua module name |
path | string | yes | Lua module path |
Usage
await inzoi.cli.execute('lua_module.list', {
entity_id: 0,
});