Setting Up Your Project

Before you can start developing your Sponge plugin, you need to set up the SpongeAPI dependency in your project. If you’re already experienced with your build system, below is the Maven dependency you need to add. Otherwise, there is a more detailed explanation at the Gradle and Maven page.

SpongeAPI dependency

Maven repository

Navn

sponge

Nettadresse

https://repo.spongepowered.org/maven

Maven dependency

Gruppe-ID

org.spongepowered

Artifact ID

spongeapi

Versjon

For example: 5.0.0 (stable), or 6.0.0-SNAPSHOT (dev build, unstable)

Setting Up Your Project