Extracting Commands

Started by LueLusten on Wed, 08/23/2017 - 12:33

Topic category: Help with MCreator software

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Extracting Commands
Wed, 08/23/2017 - 12:33

I am trying to extract 

/give @p written_book 1 0 {pages:["{\"text\":\"Test\"}"],title:"Test Book",author:"Test Author",display:{Lore:["This is a test"]}}

I know we need to comment out the \ and " but I not doing it right I am sure.

"give @p written_book 1 0 {pages:[\"{\\\"text\\\":\\\"Test\"}\"],title:\"Test Book\",author:\"Test Author\",display:{Lore:[\"This is a test\"]}}"

But when I do this I get a MC error

Client thread/INFO]: [CHAT] Data tag parsing failed: Unbalanced curly brackets {}: {pages:["{\"text\":\"Test"}"],title:"Test Book",author:"Test Author",display:{Lore:["This is a test"]}}

 

What have I over looked

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Unbalanced curly brackets...
Wed, 08/23/2017 - 14:03

Unbalanced curly brackets...

I've looked through your commnad and I have not seen any bracket errors.

Go to this website, paste in your command and check it:

https://mrgarretto.com/checkbrackets

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There is no error with the
Wed, 08/23/2017 - 14:39

There is no error with the code it's self its to do with JAVA and rapping the command

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yes that just happens
Wed, 08/23/2017 - 14:59

Yes that just happens sometimes with commands, try just writing the command for hand and putting other text in it. Redoing the command always works for me in these situations.