Skip to content


Haylee Schäfer edited this page Jan 10, 2019 · 8 revisions

onLoad, onEnable, onDisable

and onCommand & onTabComplete are special methods of the JavaPlugin class.
To utilize them, simply add a JavaPlugin node, enable the respective outputs and add the method nodes. They do not require a EXEC input connection and will be executed automatically.

Handling Commands

Logs the first argument of a command to the console. Requires the command to be configured in Project > Edit Project Information (Bigger Image)

Handling Events

Sends *break* to the player when they break a block


(bigger image)

Generic Examples

Spawn a HEART particle at 100,100,100

(bigger image)

Send Message with Player's name on join