Getting Started
Last updated
Last updated
First, please make sure to add HLootChest
as a soft dependency.
You must add a check for HLootChest plugin existence, before initializing the API.
Checking if the plugin exists on the server startup, this check is important, otherwise your plugin won't work properly.
The sample check below will shut down the server, if it doesn't detect the plugin.
The final step is to initialize the API, below shown the method to access it from Bukkit Services Manager.