#So I'm trying to make a menu where whenever a player clicks one of the options they get a rank

1 messages · Page 1 of 1 (latest)

shrewd wolf
#

But I can't seem to be able to do it since it returns and internal error

rigid coyote
#

internal error means you should get a huge error in console. put it in a paste bin and send it here

fair boneBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

shrewd wolf
rigid coyote
shrewd wolf
#

Ah okay

fair boneBOT
rigid coyote
#

Yeah. That's more like it. One of your menus has broken yaml syntax

#

not sure which one but if you read right above it might mention it

shrewd wolf
#

class_menu.yml

rigid coyote
shrewd wolf
#

ah

#

Indentation

#

My greatest enemy

#

Now I get a different error after fixing it

#

sigh

fair boneBOT
rigid coyote
shrewd wolf
#

Aight

#

Just tried the thing it sent and it just makes different problems

rigid coyote
#

all you had were some spacing issues with your click_commands: line

shrewd wolf
#

How did you fix the issues?

#

And how do I know what is the correct spacing next time?

rigid coyote
#

basically. your keys have to be at the same indentation

#

so your click_commands, is a key and enchantments is another key

#

they need to have the same indentation

#

same with lore, display name, etc.

#

those are sub keys to the item name key

#

the item names also have to be at their own indentation and be the same

shrewd wolf
#

ah okay

rigid coyote
#
items:
  item-name:
    lore:
    click_commands:
  item-name2:
    enchantments:
    lore:

this is a simplification but I hope it helps

#

the sapcing doesn't have to be 2 for item names. it could be 4. but all item names should have it 4 then

shrewd wolf
#

So to just standardise it

rigid coyote
#

well the way yaml files are read is based on keys

#

so in this case, I want all the items, well what I do is I go to the items key that is a forced key

#

and then I look at all the subkeys

#

item-name, item-name2, etc.

#

then I go at items.item-name, and items.item-name2, etc. and get all the standardized keys like enchantments, lore, etc.

shrewd wolf
#

Also

#

What does the "sweet: true" at the end does?

rigid coyote
#

nothing xD

#

it was added as a joke. you can add extra keys that mean nothing and they'd just be ignored

shrewd wolf
#

ah okay

#

Thanks a lot!

rigid coyote
#

no problem

shrewd wolf
#

How do I put the answered tag

#

!answered

#

ah

#

There we go

rigid coyote
shrewd wolf
#

Thanks :D

rigid coyote
#

or you can also right click on the left and edit tags, then mark the answered one

shrewd wolf
#

Yeah it just took a while to update

#

Also

#

Another random question

#

Is there a way to bypass the 9-54 slot limit?

rigid coyote
#

I don't think so. It might be possible to actually go over 54 but the ui will always remain 54 so you'll have floating items and it will be very buggy. but that's not possible within deluxemenus itself

shrewd wolf
#

Okay thanks!

#

Because I've seen servers that made holes in the GUI like there is a slot in the first row, no slots in the second and then a slot in the third

#

So I wondered if that was using deluxe menus

rigid coyote
#

It could also just be normal guis with texture packs

#

so it's made to look like a custom gui but in reality is just a chest

#

with an image slapped on it