You can take a look at that nodebb-plugin-imgbed one, that's a pretty good example of saving settings too...
I want to add some custom fields to Category and Topic. For example: Image, Descriptions, Type.
i found ns-custom-field plugin, add-custom-registration-field... but it's not working with 1.5.1 version. Pls help me