#Help deluxemenus

1 messages · Page 1 of 1 (latest)

crystal gorge
#

error deluxe menus

humble whale
sturdy irisBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

#
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

crystal gorge
#

?paste

sturdy irisBOT
#
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

crystal gorge
#

is menu

sturdy irisBOT
#
Config Error!

BlitzOffline, I found an issue with your config:

- Bad indentation of a sequence entry at line 30, column 86:
     ... onColor:11403519,display:{Name:'[{"text":"","italic":false,"colo ... 
                                         ^```
crystal gorge
#

When I add the command minecraft:give the menu crashes

humble whale
#

yeah. its bcz of the ' characters

#

they break the YAML syntax

#

example:

crystal gorge
#

Look at the menu, it's ok

humble whale
#

yeah it is. except for the give action

#
- 'TEST'``` this is valid
#

but then if you add ```yml

  • 'THIS IS ' A TEST'```
#

this will break

#

bcz it contains a ' inside

#

you can fix this by doubling the ' characters tho

#
- 'THIS IS A '' TEST'```
crystal gorge
#

How do I get items then?

humble whale
crystal gorge
#

give @p potion{CustomPotionColor:11403519,display:{Name:'[{"text":"
","italic":false,"color":"#cc33ff"}]',Lore:['[{"text":"Сила 3 (2:00)","italic":false,"color":"blue"}]','[{"text":"Скорость 3 (2:00)","italic":false,"color":"blue"}]','[{"text":"Огнестойкость (2:00)","italic":false,"color":"blue"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Замедление (0:30)","italic":false,"color":"red"}]','[{"text":"Слепота (0:15)","italic":false,"color":"red"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"При применении:","italic":false,"color":"dark_purple"}]','[{"text":"+ 9 Урон","italic":false,"color":"blue"}]','[{"text":"+ 60% Скорость","italic":false,"color":"blue"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"- 15% Скорость","italic":false,"color":"red"}]']},CustomPotionEffects:[{Id:15,Duration:300,Amplifier:0},{Id:12,Duration:2400,Amplifier:0},{Id:2,Duration:600,Amplifier:0},{Id:1,Duration:2400,Amplifier:2},{Id:5,Duration:2400,Amplifier:2}],HideFlags:34} 1

#

How to issue items when the command is like this?

#

?

#

??

#

@humble whale

humble whale
# crystal gorge give @p potion{CustomPotionColor:11403519,display:{Name:'[{"text":" ","italic":f...
- '[console] give %player_name% potion{CustomPotionColor:11403519,display:{Name:''[{"text":"
","italic":false,"color":"#cc33ff"}]'',Lore:[''[{"text":"Сила 3 (2:00)","italic":false,"color":"blue"}]'',''[{"text":"Скорость 3 (2:00)","italic":false,"color":"blue"}]'',''[{"text":"Огнестойкость (2:00)","italic":false,"color":"blue"},{"text":"","italic":false,"color":"dark_purple"}]'',''[{"text":"Замедление (0:30)","italic":false,"color":"red"}]'',''[{"text":"Слепота (0:15)","italic":false,"color":"red"},{"text":"","italic":false,"color":"dark_purple"}]'',''[{"text":"","italic":false,"color":"dark_purple"}]'',''[{"text":"При применении:","italic":false,"color":"dark_purple"}]'',''[{"text":"+ 9 Урон","italic":false,"color":"blue"}]'',''[{"text":"+ 60% Скорость","italic":false,"color":"blue"},{"text":"","italic":false,"color":"dark_purple"}]'',''[{"text":"- 15% Скорость","italic":false,"color":"red"}]'']},CustomPotionEffects:[{Id:15,Duration:300,Amplifier:0},{Id:12,Duration:2400,Amplifier:0},{Id:2,Duration:600,Amplifier:0},{Id:1,Duration:2400,Amplifier:2},{Id:5,Duration:2400,Amplifier:2}],HideFlags:34} 1'
#

like this.

#

you can see I Doubled all the single quotes

crystal gorge
#

thanks