#not working actions

1 messages · Page 1 of 1 (latest)

jade rampart
#

Paper version 1.20.4
AS version 2.0 e350849

These actions don't function without properties:

open - Opens another menu (must be within the Aurelium Skills plugin)
next_page - Moves to the next page of the menu, if applicable
previous_page - Returns to the previous page of the menu, if applicable

    on_click:
      - type: menu
        action: open
        menu: abilities
    on_click:
      - type: menu
        action: next_page
        menu: level_progression

error:
https://pastebin.com/EW1XvsUN

#

For example, only the following works

on_click:
      - type: menu
        action: next_page
        menu: level_progression
        properties:
          skill: Skill:fighting
bold linden
#

Is there anything that adding the properties manually can't do that you need to? Because copying the existing properties by default could have unintended behavior

jade rampart
# bold linden Is there anything that adding the properties manually can't do that you need to?...

I need to create a duplicate of the next_page/previous_page button

  next_page:
    pos: 5,8
    material: structure_void
    display_name: <gold>{{next_page}}
    lore:
    - <yellow>{{next_page_click}}
    amount: 1
    glow: false
  next_page_2:
    material: structure_void
    pos: 5,7
    display_name: <green>{{back}}
    lore:
      - <gray>{{back_click}}
    on_click:
      - type: menu
        action: next_page
        menu: level_progression
  previous_page:
    pos: 5,0
    material: structure_void
    display_name: <gold>{{previous_page}}
    lore:
    - <yellow>{{previous_page_click}}
    amount: 1
    glow: false
  previous_page_2:
    material: structure_void
    pos: 5,1
    display_name: <gold>{{previous_page}}
    lore:
    - <yellow>{{previous_page_click}}
    on_click:
      - type: menu
        action: next_page
        menu: level_progression
bold linden
jade rampart
bold linden
jade rampart
#
    on_click:
      - type: menu
        action: open
        menu: sources
        properties:
          sort_type: sortType:ascending
bold linden
#

You have to capitalize the S in SortType

jade rampart
#

same error

bold linden
#

As of the latest build you can open the sources menu without any properties