#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)
internal error means you should get a huge error in console. put it in a paste bin and send it here
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
Is there nothing more above? This error usually shows when the plugin fails so there should be another error somewhere above this one
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
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
class_menu.yml
The problem seems to be that you use TAB Instead of spaces. YAML Does not support TAB
ah
Indentation
My greatest enemy
Now I get a different error after fixing it
sigh
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
Either put your entire menu thru a yaml parser that will tell you where the problems are or send it here and I can give it a look
all you had were some spacing issues with your click_commands: line
How did you fix the issues?
And how do I know what is the correct spacing next time?
I removed like 3 spaces from there.
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
ah okay
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
So to just standardise it
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.
nothing xD
it was added as a joke. you can add extra keys that mean nothing and they'd just be ignored
no problem
Thanks :D
or you can also right click on the left and edit tags, then mark the answered one
Yeah it just took a while to update
Also
Another random question
Is there a way to bypass the 9-54 slot limit?
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