Skip to main content

API

nexGui exposes a global nexGui object. Most users interact with tabs and Game Options, but the API is available for custom scripts.

Core modules

PropertyDescription
nexGui.tabsTab registry and theme configuration.
nexGui.streamSystem and combat stream buffers.
nexGui.timersTimer registry and helpers.
nexGui.colorsAlly/enemy formatting, gradients, and room text replacements.
nexGui.partyParty management state.
nexGui.statsPlay statistics (instance/session/month).
nexGui.virtualInfinite display and virtual buffer helpers.
nexGui.cdbCharacter database and who list helpers.
nexGui.msgMessage formatting helpers.
nexGui.noticeStyled output helper.

Common snippets

// Add a 30s timer at the top of the timers tab
nexGui.timers.add("sip", "Sip Cooldown", 30, "top");

// Toggle system stream on
nexGui.settings.options.systemStream = true;

// Rebuild tabs (after layout changes)
nexGui.startUp();

Admin-only features

If your character matches the internal auth key, nexGui.mongo is exposed for database operations and nexGui.mongo.updatePlayer can force a CDB refresh.