🖍️
Crates
  • Cloud Development
  • Cloud Plugins
    • Cloud Crates
      • Crate Spin Settings
      • API Access and Methods
  • Cloud Collectors
    • Pricing Providers
    • Item Collection Settings
    • Creating Collectors
    • Developer API
Powered by GitBook
On this page

Was this helpful?

  1. Cloud Plugins
  2. Cloud Crates

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);
PreviousCrate Spin SettingsNextCloud Collectors

Last updated 4 years ago

Was this helpful?