@rlkoshak made a great article about persistence. (Whoops, beat me to it)
In summary:
- Install mapdb persistance addon.
- Add a group called
gRestoreOnStartup
(or whatever you want to call it) - Update
mapdb.persist
with the contents:Strategies { default = everyChange } Items { // persist items belonging to the group on every change and restore them from the db at startup gRestoreOnStartup* : strategy = everyChange, restoreOnStartup }
- Add
templinked
to the groupgRestoreOnStarup