Controller: Plugins

API Controller /nodeworx/plugins
Required Permissions ["PLUGINS"]
Action Description
edit Edit a plugin.
listPlugins Get list of plugins.

Action: edit

Edit a plugin.

Input Parameters

Name Type Notes Required?
plugin_name string
Example Values
simplescripts, auto-enable-shell-account, eventhooks, softaculous, autoset-spamprefs, catchall-account-option, cloudflare, disable-local-delivery, external-nfs-quota, hello, history, r1soft
Yes
status integer
Example Values
1, 0
Example Default Value
1
No*
* indicates that it's actually required, but probably already has a valid default value

Action: listPlugins (Added in version 4.8.0-393)

Get list of plugins.

Example Output

array (
  'status' => 0,
  'payload' => 
  array (
    0 => 
    array (
      'name' => 'simplescripts',
      'label' => 'Simple Scripts',
      'desc' => 'SimpleScripts enables one-click management (installs, upgrades, imports of manual installations, uninstalls, and backup restorations) of the Web\'s top applications, including WordPress, Joomla, Roundcube, and lots more.',
      'status' => true,
      'cat' => '##LG_SCRIPT_INSTALLERS##',
      'qh' => 'SimpleScripts provides all of the Web\'s top applications to your customers with absolutely no maintenance required on your part.  What\'s more, you can offer SimpleScripts to your customers free of charge! Visit www.simplescripts.com to learn more.',
      'error' => '',
    ),
    1 => 
    array (
      'name' => 'softaculous',
      'label' => 'Softaculous',
      'desc' => 'Softaculous is a fast, well designed auto installer, and it installs all scripts in just one step',
      'status' => false,
      'cat' => '##LG_SCRIPT_INSTALLERS##',
      'qh' => 'From softaculous.com
Softaculous is a great Auto Installer having 104 great scripts and we are still adding more. Softaculous is ideal for Web Hosting companies and it could give a significant boost to your sales. These scripts cover most of the uses a customer could ever have. We have covered a wide array of Categories so that everyone could find the required script one would need to power their Web Site. The best part is we keep on adding new scripts which we know will satisfy the needs of a User. ', 'error' => '', ), 2 => array ( 'name' => 'r1soft', 'label' => 'R1Soft CDP Access', 'desc' => 'R1Soft Backup Siteworx Integration', 'status' => false, 'cat' => '##LG_BACKUP_RESTORE##', 'qh' => 'This plugin allows the SiteWorx user to automatically login to their account on an R1Soft CDP Server. By default, all SiteWorx users have access. Access can be revoked on a per SiteWorx account basis by editing the SiteWorx package of the account in question, or at SiteWorx account creation time. This plugin requires the R1Soft Agent installed on the interworx server.', 'error' => '', ), ), )