Registration

Structure

  • name: Unique name identifier for the global event.

  • type:

  • startup

    shutdown

    record

  • time: Specific time (24-hour format) when the event shall execute.

  • interval: Time interval (in milliseconds) in-between each event execution.

  • script: Lua script file name & location (base directory is data/globalevents/scripts/)

Examples

<globalevent name="something" interval="1000" script="something_event.lua" />

<globalevent time="12:00" script="on_time.lua" />

<globalevent type="startup" script="custom_on_startup.lua" />

Last updated