Skip to content
BDX edited this page Jun 1, 2023 · 4 revisions

Welcome to the Nhplugin wiki!

What Does the Wiki Cover?

Basics on how the Plugin Works

  • 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.

What events can be listened for?

  • 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)

Clone this wiki locally