Real-server end-to-end testing for Minecraft plugins, mods and add-ons. Real servers, real clients, and every result checked twice.
Status: pre-1.0 (
0.2.0is on Maven Central,0.2.1is being released). The harness, the Paper family, proxies, Fabric, NeoForge and an experimental Bedrock path run against real servers. What is and is not supported: platforms and limits. How versions and breaking changes work: compatibility.
You need Docker, JDKs 17 and 21 (26 to compile a Paper 26.x plugin) and a Bash shell. Then:
- Gradle: docs/user/quickstart-gradle.md
- Maven: docs/user/quickstart-maven.md
- Something fails: docs/user/troubleshooting.md, FAQ
Proofstone never accepts the Minecraft EULA for you: set PROOFSTONE_ACCEPT_EULA=true in the environment of the command that
runs the tests, after reading https://aka.ms/MinecraftEULA.
Unit-level tools like MockBukkit can't see NMS code, real inventories, packets or what a client actually sees. Proofstone starts a real server (Paper, Folia, Spigot, Purpur, Velocity, Fabric, NeoForge and Bedrock later) with your jar, connects a real protocol client as a player, and checks the outcome through two independent oracles:
- the server's own state, read through an in-server agent;
- what the client actually received.
It runs across every server version you support, from one test written once:
@Proofstone(plugins = "build/libs/MyPlugin-*.jar", acceptEula = true)
@Matrix(platform = PAPER, versions = {"1.8.8", "1.18.2", "1.21.11", "latest"})
class AnvilE2E {
@CellTest
void disenchant(Agent agent, Client player) {
agent.player(player).reset().level(30)
.give(Item.of("diamond_sword").enchant("sharpness", 5))
.give(Item.of("book"));
// ...the client opens a real anvil, clicks real slots, and both oracles are asserted
}
}- Correct beats fast. Every result is checked twice. There are no sleeps and no automatic retries, and a flaky test is treated as a bug.
- The harness proves itself first. Self-tests, control runs and differential runs show that a green result means something.
- Everything is pinned. Upgrades arrive only as automated PRs, gated by self-tests.
- Adding a version or a platform is data or a pack, not a rewrite.
- AI agents can maintain it. The repo has small modules, explicit contracts, task cards and gates that fail loudly.
Proofstone combines proof, meaning verified and bulletproof, with -stone, Minecraft's naming pattern for special blocks: redstone, glowstone, lodestone. It also echoes the touchstone, the stone once used to test whether gold was pure. The name puts robustness first, and it avoids the "Minecraft" trademark. (ADR-0012)
| You want | Go to |
|---|---|
| The big picture | docs/vision.md, docs/architecture.md |
| Why a decision was made | docs/adr/ |
| How risks are covered | docs/robustness.md |
| What will be supported | docs/platforms.md |
| How it gets built | docs/plan/ROADMAP.md, docs/plan/tasks/ |
| Writing tests, topologies, Bedrock, mods | docs/user/ |
| What you can rely on, and the limits | compatibility, limits, FAQ |
| Branches, PRs and releases | contributing flow, releasing, changelog |
| Help, security, conduct | SUPPORT.md, SECURITY.md, CODE_OF_CONDUCT.md |
| How AI agents work here | AGENTS.md, docs/ai/ |
| The founding research and prototype | docs/research/ |
Apache License 2.0. See LICENSE and NOTICE. Contributions use a DCO sign-off, see CONTRIBUTING.md. Decision record: ADR-0011.