#error menu

1 messages · Page 1 of 1 (latest)

pallid coral
#
     - '[console] give %player_name% diamond_sword{AttributeModifiers:[{Amount:10.0d,AttributeName:"minecraft:generic.max_health",Operation:0,Slot:"mainhand",UUID:[I;-698325563,-1756542825,-1761058730,2058475427]}],Damage:0,Enchantments:[{id:"minecraft:fire_aspect",lvl:3},{id:"minecraft:sharpness",lvl:5},{id:"minecraft:vanishing_curse",lvl:1}],display:{Name:'{"italic":false,"extra":[{"text":""},{"text":"Клинок Возрождения"}],"text":""}'}} 1'

what to do if because of this line the plugin writes that the menu is incorrect, I don’t see any errors here, probably because of the length of the command being executed it gives an error

hazy badger
#

it's because of all the '

#

they need to be doubled inside the command

#
     - '[console] give %player_name% diamond_sword{AttributeModifiers:[{Amount:10.0d,AttributeName:"minecraft:generic.max_health",Operation:0,Slot:"mainhand",UUID:[I;-698325563,-1756542825,-1761058730,2058475427]}],Damage:0,Enchantments:[{id:"minecraft:fire_aspect",lvl:3},{id:"minecraft:sharpness",lvl:5},{id:"minecraft:vanishing_curse",lvl:1}],display:{Name:''{"italic":false,"extra":[{"text":""},{"text":"Клинок Возрождения"}],"text":""}''}} 1'