API Access and Methods

Accessing The API

Access the APIs class with the following, this will give you access to all API methods.

CloudCratesAPI.getAPI();

This is not the page for a guide for custom spin types.

Once you have access to the API, here are some methods you can use.

Access Crate Storage
CloudCratesAPI.getAPI().getCrateStorage();
Get Crate By Name [Returns Crate Object]
CloudCratesAPI.getAPI().getCrateByName(String name);
Get Profile By UUID [Returns CratesProfile Object]
CloudCratesAPI.getAPI().getPlayerProfile(UUID uuid);

Last updated