I want to remember the status of the item even after restarting of my server.
Now, If i restart my server, all the item state is in OFF state.
Remember item status on OPEN HAB server restart
yogeshwaran
#1
renan
#2
Try to install MapDB persistence in the addons section of paper UI, and create a file in persistence / mapdb.persist with the following syntax:
Strategies {
default = everyUpdate
}
Items {
// persist all items on every change and restore them from the db at startup
* : strategy = everyChange, restoreOnStartup
}