You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.95. Please mark this comment with 👍 or 👎 to give our bot feedback!
Hi @Bet1K,
thanks for the feature-request 🙂
In this particular case, this issue is a feature request, as well as a bug report.
Regarding the bug-report:
As far as I know, Bookshelves uses the block's meta-data to store the shelf-inventory. When the server starts, this information is loaded through a scheduled task, which injects the inventory-data into the blocks (were it's kept only during runtime). When reloaded, the meta-data is kept and the plugin restores it's knowledge using the already loaded meta-data from the blocks. The data only gets saved (written to the file), when the plugin is disabled correctly (No crashes and no forced restarts). (Correct me if I'm wrong @InventivetalentDev). Could you please create a separate issue with more details on that using this issue-template for bug-reports so we can try to replicate it and have a closer look at the problem? 🙂
Regarding the feature request:
Actually a database sound like a great idea, however, as I explained before, the data gets loaded once and is then injected into the assigned blocks meta-data. So it don't really get the advantage of using a database instead of a flatfile. The only exception, beeing a scenario, where you have the same world on multiple servers and want to synchronize it. Do you have this scenario?
Please add some sort of DB support. My books have disappeared again (haven't used reload command)
The text was updated successfully, but these errors were encountered: