PlugHub module API ( require “plughub” )
Edit
- Subscribe a script for PlugHub events. After subscribing the script will be launched for each event happens on a PlugHub addon and information about this event will be passed as a parameter.