EVENTS

GetAllEvent

Returns every known server event.

Syntax

local events = ONYX.GetAllEvent()

Parameters

None

Return(s)

events (array of tables) — each entry is { resource = string, event = string }.

Behavior

  • Order matches the internal capture order.
  • Entries are not de-duplicated and strings are returned as captured, case preserved.

Example(s)

local all = ONYX.GetAllEvent()
for _, ev in ipairs(all) do print(string.format("%s: %s", ev.resource, ev.event)) end