Repository navigation
Add book page serialization - #4048
Conversation
|
Not all too familiar with this; how is it intended to be used? |
createkit uses AbstractItemDb to serialize data, MetaItemStack parses that data. |
I understand that bit, what I meant was how this actually works. From the code it looks like it's adding a new item meta syntax for |
from what I understand, that was made for making the content of a book match that of a text file on disk, |
|
Ah yeah good point, we'd also need to write into that too and I don't think anything does that currently (also ew, txt). I feel like there's probably still a better way than to literally dump the text wholesale into YML and generate a bunch of messy keys. If we're going into that direction then #3248 is a better solution. |
This also fixes a bug with lore, which didn't escape pipe characters before serializing.
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com> Allows serialization of books in `/createkit`. Closes EssentialsX#31.
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com> Allows serialization of books in `/createkit`. Closes EssentialsX#31.

Closes #31