#My menu is not picking up that it is a menu!

1 messages · Page 1 of 1 (latest)

smoky forge
#

With someone with knowledge of deluxe menus help me on figuring out why this profile.yml is not loading at all when the server starts. all other 33 menus load but this one?!? NOOO IT DOESNT.

#

burh

#

this server is so backhanded

#

wtf

#

theres the link

#

for anyone who can help

dire grove
#

have u added it in the config.yml file?

#

the menu itself seems fine to me

#

you can also add register_commands: true so the /profile opens the menu

#

oh wait i think u have an issue with slots:

#

it should be slot: in the single items

smoky forge
dire grove
#
menu_title: 'Profile'
size: 27
open_command: 
- profile
register_commands: true
items:
  'fill1':
    material: GRAY_STAINED_GLASS_PANE
    slots: [0,1,2,3,4,5,6,7,8,9,12,17,18,19,20,21,22,25,26]
  'fill2':
    material: LIME_STAINED_GLASS_PANE
    slot: 11
  'back':
    material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ2OWUwNmU1ZGFkZmQ4NGU1ZjNkMWMyMTA2M2YyNTUzYjJmYTk0NWVlMWQ0ZDcxNTJmZGM1NDI1YmMxMmE5In19fQ==
    slot: 10
    display_name: ' &8● &a&lBACK'
    lore:
    - '&8Back to the main menu'
    - ''
    - '&7If you want to come back'
    - '&7use this item to return'
    - ''
    - '&a▸ Left-Click to return'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] menu'
  'bossbar':
    material: GRAY_DYE
    slot: 13
    display_name: ' &8● &aBossbar &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7bossbar of the server.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] bossbar'
  'sit':
    material: GRAY_DYE
    slot: 14
    display_name: ' &8● &aSit &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7sit option on the chairs.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] chair'
  'trades':
    material: GRAY_DYE
    slot: 15
    display_name: ' &8● &aTrades &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7player trades.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] trade toggle'
  'scoreboard':
    material: GRAY_DYE
    slot: 16
    display_name: ' &8● &aScoreboard &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7server scoreboard.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] sb'
  'chat-announcements':
    material: GRAY_DYE
    slot: 23
    display_name: ' &8● &aChat Announcements &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7server announcements.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] ia toggle announcement'
  'tpa-essentials':
    material: GRAY_DYE
    slot: 24
    display_name: ' &8● &aTpa Requests &7(Toggle)'
    lore:
    - '&8Click to change'
    - ''
    - '&7Enable or disable the'
    - '&7tpa requests.'
    - ''
    - '&e▸ Left-Click to toggle'
    - ''
    click_commands:
    - '[sound] UI_BUTTON_CLICK'
    - '[player] tptoggle'

i optimized it a little give this one a try

#

and fixed some minor issues

smoky forge
#

oh awesome

#

so that worked

dire grove
#

haha i knew it :d

smoky forge
#

also @dire grove i have one more question

dire grove
#

suree

smoky forge
#

so if i wanted like

#

an item to be top right corner of there inventory

#

any time they click it it opens a main menu

#

how would i go about doing that

dire grove
#

oh like stuck in the hotbar in slot 9 and when they click it it opens the menu?

#

well probably u are gonna need a plugin like itemjoin i guess? which would run the /profile command everytime the player clicks on it

smoky forge
#

like in the inventory

#

when you press e

#

and top right

#

so it doesnt take up hotbar space

dire grove
#

oh