Thanks Pita. I will try other options.
@andrei-lopatenco You are correct, there is no Flags API at the moment... there never was one for the Write API plugin, and when it got ported into core, we didn't make one either.
But it sounds like a good idea.
No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database.
When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.
Okay, no problem. Might even simplify the code a bit to do it this way.
I'd create a require.js module and define it in the modules section of your plugin.json👍
and in plugin.json: