DeluxeMenu's Help

Status
This thread has been locked.

Claim

Buy me a beer?
Banned
Feedback score
31
Posts
157
Reactions
62
Resources
0
Hey all,

Why isn't this working? It is just showing the "starteron"

Code:
# DeluxeMenus 1.12.0 main configuration file
debug: false
check_updates: true
gui_menus:
  kits:
    menu_title: '&6&lKit Main Menu'
    open_command: kit
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.main.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      '1':
        material: hdb-29481
        slot: 3
        display_name: '&bBasic Kits'
        lore:
        - '&7&oClick me to view basic kits'
        left_click_commands:
        - '[openguimenu] basickits'
        right_click_commands:
        - '[openguimenu] basickits'
      '2':
        material: hdb-26417
        slot: 4
        display_name: '&4Close the menu'
        lore:
        - '&c&oClick me to close the menu'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
      '3':
        material: hdb-15645
        slot: 5
        display_name: '&9Donator Kits'
        lore:
        - '&7&oClick me to view donator kits'
        left_click_commands:
        - '[openguimenu] donatorkits'
        right_click_commands:
        - '[openguimenu] donatorkits'
  basickits:
    menu_title: '&6&lKit Main Menu'
    open_command: basickits
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.basic.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      starteron:
        material: hdb-3025
        slot: 3
        priority: 1
        display_name: '&bStater'
        update: true
        hide_attributes: true
        view_requirement:
           requirements:
        permission:
          type: has permission
          permission: essentials.kits.example
        available:
          type: string equals ignorecase
          input: '%essentials_kit_is_available_example%'
          output: 'no'
        lore:
        - '&7&otools kit'
        left_click_commands:
        - '[player] ekit tools'
        - '[close]'
        right_click_commands:
        - '[player] ekit tools'
        - '[close]'
      starteroff:
        material: hdb-23224
        slot: 3
        priority: 2
        display_name: '&bStarter &c&lUNAVAILABLE'
        update: true
        hide_attributes: true
        lore:
        - '&7&oKit on Cooldown'
        - '&7Please wait &c%essentials_kit_time_until_available_tools%'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Asodey

This title is for sale, dm me
Premium
Feedback score
75
Posts
1,530
Reactions
646
Resources
6
Hey all,

Why isn't this working? It is just showing the "starteron"

Code:
# DeluxeMenus 1.12.0 main configuration file
debug: false
check_updates: true
gui_menus:
  kits:
    menu_title: '&6&lKit Main Menu'
    open_command: kit
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.main.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      '1':
        material: hdb-29481
        slot: 3
        display_name: '&bBasic Kits'
        lore:
        - '&7&oClick me to view basic kits'
        left_click_commands:
        - '[openguimenu] basickits'
        right_click_commands:
        - '[openguimenu] basickits'
      '2':
        material: hdb-26417
        slot: 4
        display_name: '&4Close the menu'
        lore:
        - '&c&oClick me to close the menu'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
      '3':
        material: hdb-15645
        slot: 5
        display_name: '&9Donator Kits'
        lore:
        - '&7&oClick me to view donator kits'
        left_click_commands:
        - '[openguimenu] donatorkits'
        right_click_commands:
        - '[openguimenu] donatorkits'
  basickits:
    menu_title: '&6&lKit Main Menu'
    open_command: basickits
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.basic.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      starteron:
        material: hdb-3025
        slot: 3
        priority: 1
        display_name: '&bStater'
        update: true
        hide_attributes: true
        view_requirement:
           requirements:
        permission:
          type: has permission
          permission: essentials.kits.example
        available:
          type: string equals ignorecase
          input: '%essentials_kit_is_available_example%'
          output: 'no'
        lore:
        - '&7&otools kit'
        left_click_commands:
        - '[player] ekit tools'
        - '[close]'
        right_click_commands:
        - '[player] ekit tools'
        - '[close]'
      starteroff:
        material: hdb-23224
        slot: 3
        priority: 2
        display_name: '&bStarter &c&lUNAVAILABLE'
        update: true
        hide_attributes: true
        lore:
        - '&7&oKit on Cooldown'
        - '&7Please wait &c%essentials_kit_time_until_available_tools%'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
try switching between the priorities
 

Claim

Buy me a beer?
Banned
Feedback score
31
Posts
157
Reactions
62
Resources
0
Banned forever. Reason: Ban Evading (Rooftop, https://builtbybit.com/members/lofi.34798/)

Asodey

This title is for sale, dm me
Premium
Feedback score
75
Posts
1,530
Reactions
646
Resources
6
But surely that will show the wrong one first?
the lower your priority is, the more important it gets.[DOUBLEPOST=1568457976][/DOUBLEPOST]
But surely that will show the wrong one first?
wait, where's your check that checks if the starter is off??
 
Last edited:

Claim

Buy me a beer?
Banned
Feedback score
31
Posts
157
Reactions
62
Resources
0
the lower your priority is, the more important it gets.[DOUBLEPOST=1568457976][/DOUBLEPOST]
wait, where's your check that checks if the starter is off??
Added, but still doesn't work.

Updated:
Code:
# DeluxeMenus 1.12.0 main configuration file
debug: false
check_updates: true
gui_menus:
  kits:
    menu_title: '&6&lKit Main Menu'
    open_command: kit
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.main.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      '1':
        material: hdb-29481
        slot: 3
        display_name: '&bBasic Kits'
        lore:
        - '&7&oClick me to view basic kits'
        left_click_commands:
        - '[openguimenu] basickits'
        right_click_commands:
        - '[openguimenu] basickits'
      '2':
        material: hdb-26417
        slot: 4
        display_name: '&4Close the menu'
        lore:
        - '&c&oClick me to close the menu'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
      '3':
        material: hdb-15645
        slot: 5
        display_name: '&9Donator Kits'
        lore:
        - '&7&oClick me to view donator kits'
        left_click_commands:
        - '[openguimenu] donatorkits'
        right_click_commands:
        - '[openguimenu] donatorkits'
  basickits:
    menu_title: '&6&lKit Main Menu'
    open_command: basickits
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.basic.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      starteron:
        material: hdb-3025
        slot: 3
        priority: 1
        display_name: '&bStater'
        update: true
        hide_attributes: true
        view_requirement: '"%essentials_kit_is_available_tools".equalsIgnoreCase ("yes")'
        lore:
        - '&7&otools kit'
        left_click_commands:
        - '[player] ekit tools'
        - '[close]'
        right_click_commands:
        - '[player] ekit tools'
        - '[close]'
      starteroff:
        material: hdb-23224
        slot: 3
        priority: 2
        display_name: '&bStarter &c&lUNAVAILABLE'
        update: true
        hide_attributes: true
        lore:
        - '&7&oKit on Cooldown'
        - '&7Please wait &c%essentials_kit_time_until_available_tools%'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
 
Banned forever. Reason: Ban Evading (Rooftop, https://builtbybit.com/members/lofi.34798/)

Asodey

This title is for sale, dm me
Premium
Feedback score
75
Posts
1,530
Reactions
646
Resources
6
Added, but still doesn't work.

Updated:
Code:
# DeluxeMenus 1.12.0 main configuration file
debug: false
check_updates: true
gui_menus:
  kits:
    menu_title: '&6&lKit Main Menu'
    open_command: kit
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.main.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      '1':
        material: hdb-29481
        slot: 3
        display_name: '&bBasic Kits'
        lore:
        - '&7&oClick me to view basic kits'
        left_click_commands:
        - '[openguimenu] basickits'
        right_click_commands:
        - '[openguimenu] basickits'
      '2':
        material: hdb-26417
        slot: 4
        display_name: '&4Close the menu'
        lore:
        - '&c&oClick me to close the menu'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
      '3':
        material: hdb-15645
        slot: 5
        display_name: '&9Donator Kits'
        lore:
        - '&7&oClick me to view donator kits'
        left_click_commands:
        - '[openguimenu] donatorkits'
        right_click_commands:
        - '[openguimenu] donatorkits'
  basickits:
    menu_title: '&6&lKit Main Menu'
    open_command: basickits
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.basic.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      starteron:
        material: hdb-3025
        slot: 3
        priority: 1
        display_name: '&bStater'
        update: true
        hide_attributes: true
        view_requirement: '"%essentials_kit_is_available_tools".equalsIgnoreCase ("yes")'
        lore:
        - '&7&otools kit'
        left_click_commands:
        - '[player] ekit tools'
        - '[close]'
        right_click_commands:
        - '[player] ekit tools'
        - '[close]'
      starteroff:
        material: hdb-23224
        slot: 3
        priority: 2
        display_name: '&bStarter &c&lUNAVAILABLE'
        update: true
        hide_attributes: true
        lore:
        - '&7&oKit on Cooldown'
        - '&7Please wait &c%essentials_kit_time_until_available_tools%'
        left_click_commands:
        - '[close]'
        right_click_commands:
        - '[close]'
add the same requirement to starteroff, but instead, change the yes to no
 

Claim

Buy me a beer?
Banned
Feedback score
31
Posts
157
Reactions
62
Resources
0
add the same requirement to starteroff, but instead, change the yes to no
Just been informed by Frosty13 that this menu style was used for liked DM 1.8. That's most likely why it's not working.
 
Banned forever. Reason: Ban Evading (Rooftop, https://builtbybit.com/members/lofi.34798/)

Frosty13

A lonely snowman
Premium
Feedback score
1
Posts
10
Reactions
17
Resources
0
Last edited:

Claim

Buy me a beer?
Banned
Feedback score
31
Posts
157
Reactions
62
Resources
0
UPDATE: Frosty13 fixed it fine.

Code:
  basickits:
    menu_title: '&6&lKit Main Menu'
    open_command: basickits
    size: 9
    open_requirement:
      requirements:
        permission:
          type: has permission
          permission: kitmenu.basic.open
          deny_commands:
          - '[message] You don''t have perms to open this menu'
    items:
      start-kit:
        material: Stone
        slot: 4
        priority: 1
        display_name: '&bStarter Kit'
        view_requirement:
          requirements:
            permission:
              type: has permission
              permission: essentials.kits.tools
            available:
              type: string equals ignorecase
              input: '%essentials_kit_is_available_tools%'
              output: 'yes'
        left_click_commands:
        - '[player] ekit tools'
      start-kit-locked:
        material: Dirt
        slot: 4
        display_name: '&cStarter Kit'
 
Banned forever. Reason: Ban Evading (Rooftop, https://builtbybit.com/members/lofi.34798/)
Status
This thread has been locked.
Top