→ You can add the langauge name (js) to the backquotes to add colors in discord (like in github) . Making things easier to read ![]()
→ You have 2 options
- Create your own content-type for the settings
- Use the core-store that store them (this is much simpler but less flexible)
await strapi.store.set({
type: 'plugin',
name: 'pluginName',
key: 'settings',
value: settingsObject,
});
await strapi.store.get({
type: 'plugin',
name: 'pluginName',
key: 'settings',
})
the value will be stored as json in the DB