Prerequisites
Before integrating the Server API into your plugin, ensure you have:- Java 8 or higher installed
- A Bukkit/Spigot server (1.8.8 or compatible)
- Maven or Gradle for dependency management
- The Ember Client Server API plugin installed on your server
Add Maven Repository
Add the Ember Client Maven repository
Add the following repository to your For Gradle users, add to your
pom.xml:pom.xml
build.gradle:build.gradle
Add the Server API dependency
Add the dependency to your For Gradle users:
pom.xml:pom.xml
build.gradle
Use
compileOnly (Gradle) or provided scope (Maven) since the Server API plugin will be available at runtime on your server.Add softdepend to plugin.yml
Declare the Server API as a soft dependency so your plugin loads after it:
plugin.yml
Next Steps
Now that you’ve installed the API, you’re ready to start building:Quick Start
Build your first integration with code examples
Core Concepts
Learn about packets, events, and the API architecture