Plugins should be able to inject methods and objects into scripts so your plugin is a possibility to extend my plugin via user written scripts. It’s like the javascript plugin that already exists.
Edit: [Discontinued] ✏ Create a plugin in JavaScript [v2.0.2] https://github.com/djxy/SpongeJavaScript/wiki/How-to-interact-with-the-scripts