API
This page is for developers who want to read or modify EcoBits balances from their own plugin. EcoBits is open-source, so you can build against its API directly.
Source code
The full source is on GitHub.
Adding the dependency
Add the Auxilor repository to your
build.gradle.kts:Add EcoBits as a
compileOnlydependency, swapping<version>for the version you target.
repositories {
maven("https://repo.auxilor.io/repository/maven-public/")
}
dependencies {
compileOnly("com.willfp:EcoBits:<version>")
}
The latest version available on the repo can be found here.
Where to go next
Shared APIs: the eco framework, where the common eco APIs live.
Config-side setup: the How to Make a Currency walkthrough for defining the currencies your code reads.