Working on the Sponge API¶
Overview¶
The Sponge API is a community-developed API that allows developers to create plugins for Minecraft servers that run Sponge or an implementation of the Sponge API.
Prerequisites¶
Prior to working on the Sponge API, please review the contributor guidelines and become familiar with them.
Clone¶
The following commands will clone Sponge API from its Git repository.
git clone git@github.com:SpongePowered/SpongeAPI.git
cd Sponge
cp scripts/pre-commit .git/hooks
Building¶
The only step required to build Sponge API is running gradle from the Terminal or Command Prompt - whichever one applies to your operating system.
Note
If you do not have Gradle installed, use ./gradlew on Unix systems and gradlew.bat on Windows systems in lieu of any gradle command.
You can find the compiled .jar file in ./build/libs. It will be labeled similarly to spongeapi-x.x.x-SNAPSHOT.jar.
Contributing¶
After reviewing the contributor guidelines, sign up for a GitHub account and fork the SpongePowered/SpongeAPI repository to get started.