Event Triggers

Triggers tell the plugin what an item should do upon being clicked on (for example, open another menu). Some triggers are unique, which means, the plugin needs them in order to determine whether to display an item or not.

Assigning Triggers

  1. Open a menu file (UHCReloaded/menus/).

  2. Go to an item of your choice.

  3. Find the trigger section.

  4. Assign a trigger using this format: trigger: [TRIGGER ID] (e.g., trigger: CLOSE_MENU)

Be careful when modifying unique Triggers, as doing so may cause issues and prevent your menus from functioning correctly.

Trigger ID

OPEN_[MENU ID]

PREVIOUS_PAGE

NEXT_PAGE

CLOSE_MENU

GO_BACK

FILTER_ALL

FILTER_OWNED

FILTER_UNOWNED

Last updated