#settings menu trouble

1 messages · Page 1 of 1 (latest)

lament marlin
#

so I am making a new menu for settings with essentials but its not working for some reason anyone know why?

#
open_command: settings
register_command: true
size: 27
update_interval: 1
open_commands:
  - '[sound] entity_experience_orb_pickup 0.5 5'

items:
  tpa_enabled:
    update: true
    slot: 13
    material: ENDER_PEARL
    display_name: "&e&lTPA REQUESTS"
    lore:
      - ""
      - "&fClick to toggle TPA requests"
      - ""
      - "Status: &a&lENABLED"
    left_click_commands:
      - "[player] tpatoggle"
      - "[player] settings"
    conditions:
      teleport_enabled:
        type: placeholder equals
        placeholder: "%essentials_is_teleport_enabled%"
        value: "yes"

  tpa_disabled:
    update: true
    slot: 13
    material: ENDER_PEARL
    display_name: "&e&lTPA REQUESTS"
    lore:
      - ""
      - "&fClick to toggle TPA requests"
      - ""
      - "Status: &c&lDISABLED"
    left_click_commands:
      - "[player] tpatoggle"
      - "[player] settings"
    conditions:
      teleport_disabled:
        type: placeholder equals
        placeholder: "%essentials_is_teleport_enabled%"
        value: "no"```
lament marlin
#
open_command: settings
register_command: true
size: 27
update_interval: 5
open_commands:
  - '[sound] entity_experience_orb_pickup 0.5 5'

items:
  tpa_toggle:
    slot: 13
    update: true
    material: ENDER_PEARL
    display_name: "&e&lTPA REQUESTS"
    lore:
      - ""
      - "&fClick to toggle TPA requests"
      - ""
      - "Status: %tpa_status%"
    left_click_commands:
      - "[player] tpatoggle"
      - "[close]"
      - "[delay] 5"
      - "[openguimenu] settings"
    conditional_placeholders:
      tpa_material:
        conditions:
          - condition: '%essentials_is_teleport_enabled% == yes'
            output: "ENDER_PEARL"
          - condition: '%essentials_is_teleport_enabled% == no'
            output: "BARRIER"
      tpa_status:
        conditions:
          - condition: '%essentials_is_teleport_enabled% == yes'
            output: "&a&lON"
          - condition: '%essentials_is_teleport_enabled% == no'
            output: "&c&lOFF"

This also doesn't work

sweet sigil
lament marlin
#

like this?

open_command: settings
register_command: true
size: 27
update_interval: 1
open_commands:
  - '[sound] entity_experience_orb_pickup 0.5 5'

items:
  tpa_enabled:
    update: true
    slot: 13
    material: ENDER_PEARL
    display_name: "&e&lTPA REQUESTS"
    lore:
      - ""
      - "&fClick to toggle TPA requests"
      - ""
      - "Status: &a&lENABLED"
    left_click_commands:
      - "[player] tpatoggle"
      - "[player] settings"
    left_click_requirement:
      requirements:
        teleport_enabled:
          type: string equals ignorecase
          input: "%essentials_is_teleport_enabled%"
          output: "yes"
  tpa_disabled:
    update: true
    slot: 13
    material: ENDER_PEARL
    display_name: "&e&lTPA REQUESTS"
    lore:
      - ""
      - "&fClick to toggle TPA requests"
      - ""
      - "Status: &c&lDISABLED"
    left_click_commands:
      - "[player] tpatoggle"
      - "[player] settings"
    left_click_requirement:
      requirements:
        teleport_enabled:
          type: string equals ignorecase
          input: "%essentials_is_teleport_enabled%"
          output: "yes"```
#

or would I remove the click commands

#

because it still doesn't change the lore

safe jetty
#

set priority