From 92b0b926c7d6afb50a162bb3084b94aa9ccebaa2 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sun, 1 Jun 2014 22:55:52 -0400 Subject: [PATCH] instructions on how to reset plugins --- docs/plugins/create.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/plugins/create.rst b/docs/plugins/create.rst index 5f5193b8f8..b4c3e21541 100644 --- a/docs/plugins/create.rst +++ b/docs/plugins/create.rst @@ -118,4 +118,19 @@ Run NodeBB in development mode: ./nodebb dev -This will expose the plugin debug logs, allowing you to see if your plugin is loaded, and its hooks registered. Activate your plugin from the administration panel, and test it out. \ No newline at end of file +This will expose the plugin debug logs, allowing you to see if your plugin is loaded, and its hooks registered. Activate your plugin from the administration panel, and test it out. + +Disabling Plugins +------------------- + +You can disable plugins from the ACP, but if your forum is crashing due to a broken plugin you can reset all plugins by executing + +.. code:: + + ./nodebb reset plugins + +Alternatively, you can disable one plugin by running + +.. code:: + + ./nodebb reset plugin="nodebb-plugin-im-broken" \ No newline at end of file