Skip to content

Override click actions

divios edited this page Mar 22, 2022 · 3 revisions

You can override the default click actions from config.yml (e.g. left click to sell instead of buy).

Note: It overrides specified actions only. If you want to disable an action from config.yml, you have to set it to none.

Example:

id: blocks
timer: 86400
clickActions:
  LEFT: BUY
  RIGHT: SELL
shop:
  title: blocks
  size: 45
  items:
    'BLACK_STAINED_GLASS_PANE_0':
      name: '&c'
      material: BLACK_STAINED_GLASS_PANE
      slot: 0