Publishing
ForgeRelay can deliver your own plugins to your own servers, with the same channels and rollouts.
Gradle
Section titled “Gradle”The Gradle plugin is handed out together with the publisher token; it is not on the Plugin Portal.
plugins { id("me.soknight.forgerelay") version "1.3.2"}
forgeRelay { pluginId.set("my-plugin") channel.set("beta") token.set(providers.environmentVariable("FORGERELAY_PUBLISH_TOKEN"))}./gradlew publishForgeRelay builds the jar, computes the checksum and uploads the release.
Release manifest
Section titled “Release manifest”Each release has a manifest with the version, checksum, minimum Paper version and the channel.
ForgeRelay refuses a jar whose plugin.yml version does not match the manifest.
Promoting
Section titled “Promoting”A release starts on the channel it was published to. Promote it with
./gradlew promoteForgeRelay -Pversion=1.4.0 -Pto=stable; the staged rollout starts from wave 1.