Guide Explorer

CRASHPANEL

Getting Started

Create Content

CrashAdmin

CrashItems

CrashCommand

CrashBlock

CrashMob W.I.P.

Guide > Scripting > Custom Nodes

Custom Nodes

Custom nodes are very similar to groups but can be used in any script.

They are useful if you have parts of scripts that you use often in various places (such as obtaining how much mana the player has, or a value calculated based on the inventory, etc.).

They can also be useful for package compatibility, as custom nodes are unique and cannot be duplicated.

Creating a Custom Node

From your server's CrashPanel, click Generic Scripts (in the Content & Script section) and scroll to the bottom of the page to create a new Custom Node.

Note that once created, you cannot change its inputs, outputs, or name.

Once created, clicking SCRIPT will allow you to access the Custom Node's script.

Using a Custom Node

In the Custom Nodes category, you will find your new Custom Node.