🖍️
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
  • Accessing the API
  • API Methods

Was this helpful?

  1. Cloud Collectors

Developer API

The documentation for the developer api

Accessing the API

To access the API, use the following method:

CollectorsAPI.getAPI()

API Methods

Map<Chunk, CollectorLocation> getLocations() //Get all collector location

boolean hasCollector(String name) //Check if a collector type exists

Collector getCollector(String name) //Get a collector by name

TeamProvider getTeamProvider() //Get the team access provider

ValueProvider getValueProvider() //Get the sell value provider

BoosterProvider getBoosterProvider() //Get the sell booster provider

StackerProvider getStackerProvider() //Get the item stacker provider

boolean hasLocation(Chunk chunk)

CollectorLocation getLocation(Chunk chunk)
PreviousCreating Collectors

Last updated 3 years ago

Was this helpful?