Closed MAXimized490 closed 1 year ago
It seems to be a YAML syntax error, check it with a syntax validator.
@MAXimized490 if you read the stack trace there is a line that says net.leonardo_dgs.interactivebooks.lib.simplixstorage.shaded.esotericsoftware.yamlbeans.parser.Parser$ParserException: Line 35, column 5: Expected a 'block end' but found: scalar
.
Here there is a StackOverflow post with the same problem, check if you can find the solution there.
Very strange behavior and I'm not sure what's going on. I just installed this plugin on my server and everything worked fine. I created a new book .yml in the books folder, copied the layout of the example book, and started messing with the formatting using MiniMessage syntax. Everything was working fine.
I had used Essentials to /powertool a normal book so I could simply click on the book and have it run the command to open the book. So basically I was making some edits on the .yml and then using the /ibook open command to see the book again.
After doing this a few times, it just stopped working. Now the plugin breaks whenever I change anything on the book. I can still open the example book but I cannot reload the plugin and I can no longer see or use my book. If I restart the server, everything works again and the edits I made that caused the plugin to break are still there.
Interestingly, if I edit the book and cause the plugin to break, I can make it work again by simply changing the .yml file to exactly how it was before it broke (how it was when I started the server). I'm really not sure what's going on here.
Spigot: 1.18.1 (3403-Spigot-f4ff00f-2e61a5f) Plugins: LuckPerms, ImageMaps, PlaceholderAPI, InteractiveBooks, ServerBackup, NoItemFrameDN, Vault, Multiverse-Core, dynmap, WorldEdit, Infiniteannouncements, Essentials, Multiverse-Inventories, BKCommonLib, EssentialsChat, ItemJoin, GriefPrevention, TabList, Train_Carts Java: 17.0.1
This is the error I get when trying to reload the plugin: https://pastebin.com/EHY0RFTT