@ogerly Hello, are there any plan that updating the plugin for the noddb's newest version ? And any plan or idea to make it play audio list ? 😸
How can I disable a plugin
-
I need to disable a plugin from the code and not from the GUI. Anyone can show how I can do this?
-
Call toggle active then restart or reload nodebb.
var Plugins = require.main.require('./src/plugins'); var Meta = require.main.require('./src/meta'); var pluginid = 'nodebb-plugin-yourplugin'; Plugins.isActive(pluginid, function (err, isActive) { if (err) return console.log(err); if (isActive) Plugins.toggleActive(pluginid, Meta.restart); // or Meta.reload })