Skip to main content

event.list

Overview

  • Returns all registered game events with their payload schemas

Metadata

FieldValue
DisplayList Game Events
Categoryevent
AccessPublic
ScopeB1Standalone
Tags—
Aliases—

Parameters

  • This command takes no parameters.

Returns

Returns a JSON array; each element is an object with the following fields:

FieldTypeRequiredDescription
namestringyesEvent id
descriptionstringyesEvent description
fieldsarray<object>yesPayload field schema
fields[].namestringyesField name
fields[].typestringyesField type
fields[].descriptionstringyesField description

Usage

await inzoi.cli.execute('event.list');