🔱
🔱
🔱
🔱
Crius Docs
Ask or search…
K

Developer API

You will use DropCollectorAPI class to access to the API.
You access DropCollectorPlugin class with DropCollectorAPI#getInstance().
You don't have to use DropCollectorPlugin class to access the managers you can access them via the API class.

Events

Up-to-date event list can be found in here.
CollectorCollectEvent - Called whenever a collector collects an item.
CollectorSellEvent - Called whenever there is a sell process. It can be because of auto-sell.
CollectorUpgradeEvent - Called whenever a player buys a upgrade.
CreatorPlaceEvent - Called whenever a player places a collector.