#Using the command with ' ' and " "

1 messages · Page 1 of 1 (latest)

echo inlet
#

1: material: DRIED_KELP lore: - '' - ' &fClick to buy' - ' &fPrice: &6&l5$' - '' slots: - 13 display_name: '&fRENAMED' click_requirement: requirements: money: type: has money amount: 5 click_commands: - '[console] minecraft:give %player_name% dried_kelp{display:{Name:'["",{"text":"RENAMED","italic":false}]'}}' - '[takemoney] 5' deny_commands: - "[message] &7You don't have enough money."

Because of the quotation marks in the command to issue a named item, the entire menu breaks, because the quotation marks start and end the command and should not be inside another one, how can I fix this?

untold stump
#

You can escape quotation marks in YAML. For example, to escape single quotation marks, you need to put 2 of them