Another pufferfish fork
Downloads - wiki (coming soon)
- We recommend using gradle with kotlin dsl as the build system for your plugin.
repositories {
maven("https://repo.activmine.ru/public/")
// Other repositories
}dependencies {
compileOnly("io.sapphiremc.sapphire:sapphire-api:1.20.4-R0.1-SNAPSHOT")
// Other dependencies
}- Also includes all API provided by Pufferfish, Paper, Spigot, and Bukkit.
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.5.15"
// Other plugins
}repositories {
maven("https://repo.activmine.ru/public")
// Other repositories
}dependencies {
paperweight.devBundle("io.sapphiremc.sapphire", "1.20.4-R0.1-SNAPSHOT")
// Other dependencies
}- For more details see paperweight test plugin
- Run
./gradlew applyPatchesin the root directory
- Patches are effectively just commits in either
sapphire-apiorsapphire-server. - To create one, just add a commit to either repo and run
./gradlew rebuildPatches, and a patch will be placed in thepatchesfolder. - Modifying commits will also modify its corresponding patch file.
See CONTRIBUTING.md for more detailed information.
- Use the command
./gradlew buildto build the API and server.
Compiled JARs will be placed under
sapphire-api/build/libsandsapphire-server/build/libs.
- To get a Paperclip jar, run
./gradlew renamedReobfPaperclipJar. - To get a Bundler jar, run
./gradlew createReobfBundlerJar
Compiled JAR (Paperclip or Bundler) will be placed under
build/libs/
- To install the
sapphire-apianddev-bundledependencies to your local Maven repo, run./gradlew publishToMavenLocal