Okay, Sorry
You can save anything in XML files that you want to keep even after restart.
There are several functions to create, modify those files.
Pretty simple, you only have to try it.
Check the wiki. If I got you right you will need server side existing xml.