I've been using the hs.saveinisetting and hs.getinisetting methods however when hs3 crashes or the server crashes, my plugin ini files get corrupt.
I never had this issue with HS2.
So, I'm looking for an alternative to managing the ini file myself via the plugin.
Any suggestions for managing an ini file within the plugin?
What's the best approach?
1. opening and closing the file with each read and write
2. opening the file at the plugin startup, periodically writing, and closing at shutdown
3. something else
I never had this issue with HS2.
So, I'm looking for an alternative to managing the ini file myself via the plugin.
Any suggestions for managing an ini file within the plugin?
What's the best approach?
1. opening and closing the file with each read and write
2. opening the file at the plugin startup, periodically writing, and closing at shutdown
3. something else
Comment