Skip to content

Custom Items

Custom Items are stored in the server using an Enum. Similar to the vanilla Material enum, custom items are stored like this:

BLUE_CAP(String name, int stars, List<String> lore, List<Statistic> stats, int customModelData)

Statistic Object

Statistic Objects are a simple object containing a Stat name, and an int value. List used in enum declarations might contain one with "health" and 30, and one with "defense" and 5. This means the item adds 30 health and 5 defense while equipped.

Item Functionality

Item Functionality is managed by the Core plugin by checking the items enum.