-
Notifications
You must be signed in to change notification settings - Fork 0
Home
BDX edited this page Jun 1, 2023
·
4 revisions
- The Wiki outlines how to use the plugin for Javascript command creation and event listeners
- The plugin works by loading Javascript code into Java and using the Nashorn Script engine to parse the JS into code that can be run within Java.
- The plugin supports all builtin Nashorn functionality and allows for interactions to be done with both the Bukkit/Spigot apis.
- Any event registered in the server can be listened for using the plugin. It dynamically generates event listeners based off the JS code provided in the plugin install (By default in plugins/Nhplugin/scripts)
Thanks for using Nhplugin!