Plugins
Make sure you trust the plugin as they have access to your database. Read below on a way around this.
1. Create a file with the plugins you wish to use
my_plugins.js
2. Load the file
You must run the loadFromFile()
method before the plugin can be used.
update_plugins.js
Be sure to run this! You can check if the plugin is registered by checking PluginManager.activePlugins
. If you updated Dubnium, the plugins may have been reset.
3. Use the Plugin
Allow access to all data
index.js
Customize Plugin's access
If you do not want to give access to your data through Dubnium, you can also access the plugins
property.
index.js
Plugins may ask for database & record (calling the usePlugin
method automatically passes them both, if possible). You can set either to null
if you do not wish to give access.
Last updated