This guide walks through your first push. By the end you’ll have a Paper plugin running on managed infrastructure, reachable at a publicDocumentation Index
Fetch the complete documentation index at: https://docs.grounds.gg/llms.txt
Use this file to discover all available pages before exploring further.
*.mc.grnds.io address.
Prerequisites
- A Grounds Account (talk to your org admin if you don’t have one yet)
- Java 21+ and Gradle (a Gradle wrapper in your project is fine)
- macOS, Linux, or Windows (WSL2 works)
Install the CLI
- macOS / Linux (Homebrew)
- Linux (curl)
- Windows (Scoop)
Sign in
auth, api, and gradle wrapper (if run from a project root).
Set up the Gradle plugin
Grounds builds straight from Gradle. Add the plugin to yourbuild.gradle.kts:
grounds.yaml next to build.gradle.kts:
The
baseImage field selects the runtime: paper, velocity, minestom, or service. Each maps to a vetted image we keep up to date.Your first push
- The Gradle plugin assembles your JAR and uploads it + the manifest to the Grounds API.
- Forge runs a Kaniko build inside the cluster, pushes the resulting OCI image to the internal registry, and signs it with cosign.
- Forge applies a Deployment + Service to your personal namespace (
user-<your-handle>). - Once the pod is Ready, the CLI prints the public URL.
Ephemeral preview env
For sharing a build with playtesters without polluting your dev environment:preview-<id> namespace with a 7-day TTL. Hostname pattern: <name>-pr<id>.mc.grnds.io. Grounds garbage-collects the env automatically once the TTL expires — pin it to keep it longer:
Next steps
CLI reference
Every subcommand and flag.
Concepts
Projects, dev clusters, preview envs — what they are and how they relate.
Troubleshooting
Common errors and how to fix them.
API reference
Forge HTTP API for custom integrations.
