1.16.5 Creating books from json

Discussion in 'Spigot Plugin Development' started by JoeyPlayzTV, Jul 13, 2021.

  1. Hey, i know how to create custom books with clickable text and so on, but iam to lazy to make a config to read all the pages and that stuff. Now i have the idea of creating a book with this

    Code (Text):
    {pages:['["",{"text":"xyvfdhgfjhgf","clickEvent":{"action":"change_page","value":2}},{"text":"\\nds\\ngsg\\ndfgh\\ndf\\nhd\\nfh\\nd\\nfh\\ndf\\nhd\\nfh\\nfd"}]','{"text":""}'],title:Book,author:"http://minecraft.tools/"}
    Is it possible, to apply that to a book (without nms) so that the pages will be added, defined in that json string?

    Thanks for help