Skip to content

Actions

Actions that can be performed when a player clicks on a button in your menus.

Equip particle

left-click:
  id: equip
Equips the particle being clicked on if the player has permission or has it unlocked.


Toggle particles

left-click:
  id: toggle
Toggles the players particle on / off


Close menu

left-click:
  id: close
Closes the menu.


Dummy

left-click:
  id: dummy
Does nothing.


Override

left-click:
  id: override
Behaves similarly to Equip, however, it ignores permission checks.


Clear particles

left-click:
  id: clear
Clears all equipped particles for the player.


Run command

left-click:
  id: command
  argument: <command to run>
Makes the player perform the given command.


Open menu

left-click:
  id: open_menu
  argument: <menu to open>
Makes the player open a new menu with the given name.


Open menu with permission

left-click:
  id: open_menu_permission
  argument: <menu to open>
Similar to Open menu with a permission check before opening.


Mimic

left-click:
  id: equip
right-click:
  id: mimic
Mimics the other click.


Demo

left-click:
  id: demo
Equips the particle for a given amount of time. Duration can be adjusted.


Active particles

left-click:
  id: active_particles
Opens the particle manager, similar to /h particles


Confirm purchase

left-click:
  id: purchase_confirm
Used to indicate that this button will finalize a purchase.


Cancel purchase

left-click:
  id: purchase_deny
Used to indicate that the player has cancelled a pending purchase.


Purchase item placeholder

left-click: purchase_item
Turns the button into a placeholder item that will give the player a preview of the hat they're about to purchase.