nl_tokens: Add a new plugin to the configuration file . The configuration file is written in JSON . It adds an entry to the plugins field . Name display name version and description are required .
pl_tokens: function ( plugin , manifest ) { if ( config . plugins === undefined ) { config . plugins = { } ; } config . plugins [ plugin ] = { name : manifest . <mask> , displayName : manifest . displayName , version : manifest . version , description : manifest . description } ; configHelpers . saveConfig ( ) ; }