UltimateUIDocs
Archived upstream docs · Features depend on the installed plugin version; not all features have been verified.

UltimateUI guide

How to add Keybinds

In this guide, you will learn how to add Keybinds to UI Menu

With keybinds, you can add actions to your pages that can be triggered not only with the cursor, but also by pressing keys on the keyboard.

Available Keys#

Here is a list of the keybinds that are currently available to use on your page:

KeyFrom
W, A, S, DMovement keys
QDrop an item
FSwap an item to the off-hand
LOpen the advancements menu
1-9Select an item from the hotbar

How to Add Keybinds#

To add a keybind to your page, open the .yml file and add a keybinds: section at the very bottom of the page.

Below is an example of how to use it:

ini
keybinds:
  - key: Q
    actions:
      - type: message
        value: '&aYou pressed &e&lQ'

  - key: SHIFT_L
    actions:
      - type: redirect
        value: example_menu
      - type: message
        value: '&aRedirected to &nExample_Menu'