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
Open a menu file (
UHCReloaded/menus/
).Go to an item of your choice.
Find the
trigger
section.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