Mojira Archive
MC-50169

setblock and blockdata cannot set a command block containing a command also including ""

so I tried to use the snapshot server window for 14w08a and change what command was in a command block so I could use the color symbole (§) because you cannot input it directly in minecraft. this is the command I tried to type into the window: setblock -98 9 486 command_block 0 replace {Command:"give @a filled_map 1 3 {display:{Name:"§6§lQuest Map",Lore:["§dLook for the §4§l[§f§l!§4§l]"]}}"}

In the server window, it said that there was a syntax error, and I know why, its because the nbt data tag that is Command:"(insert command here)" looks for the end of the command with an " but, in the command I put in there, it has those ". because of this, the server thinks I am ending the command early. I think it would be usefull to add/change the syntaxing for this tag to something like Command:[(insert command here)] without the ()

thank you so much for the help!

Invalid

Jimmy LeBaron

2014-03-05, 04:21 AM

2017-02-21, 08:52 PM

2014-03-05, 06:23 AM

0

0

Unconfirmed

Minecraft 14w08a

-