Skip to content

Actions

Jacob edited this page Sep 8, 2019 · 1 revision

Actions tell the plugin what to do when a player clicks an item in your menus

Equip

Equips this particle for the player if they have permission and or have unlocked the particle

left/right-click:
  id: equip

Toggle

Toggles the players particles on/off

left/right-click:
  id: toggle

Close

Closes the menu

left/right-click:
  id: close

Dummy

Do nothing

left/right-click:
  id: dummy

Override

Similar to equip except it doesn't do any permission or economy checks, it simply equips the particle

left/right-click:
  id: override

Clear

Clears the players active particles

left/right-click:
  id: clear

Command

Makes the player run a command

left/right-click:
  id: command
  argument: [command here]

Open Menu

Open a new menu

left/right-click:
  id: open_menu
  argument: menuName

Open Menu (with permission)

Open a menu if the player has permission

left/right-click:
  id: open_menu_permission
  argument: menuName.yml

Mimic

Copies the left-click action

left/right-click:
  id: mimic

Demo

Equips this hat for a fixed amount of time

left/right-click:
  id: demo

Active Particles

Opens the particle manager, letting players manage their active particles

left/right-click:
  id: active_particles

Confirm Purchase

Let's the plugin know the player wants to purchase this particle

left/right-click:
  id: purchase_confirm

Cancel Purchase

Let's the plugin know this player wants to cancel their purchase

left/right-click:
  id: purchase_deny

Purchase Item

This action doesn't do anything directly. Instead, it acts as a placeholder

left/right-click:
  id: purchase_item
Clone this wiki locally