Cluster deployments
One generated plugin, many Minecraft servers. This page is the operational path from a compiled JAR to a network of nodes that all run it — without editing sources by hand on each machine.
Compile once, distribute many
The .sirc bundle is a portable project artifact. Compile it once to produce the JAR, then distribute that single build to every node in the cluster. Never rebuild per node — a rebuild is a second source of truth, and the two will drift.
# on any server with the compiler installed
plugins/BukkitCode/project/Leaderboard.sirc
/bukkitcode compiler Leaderboard.sirc
# output: plugins/Leaderboard-.jar
Three topologies
Single server
One Paper server, one plugins directory. Copy the JAR, restart, verify the command. The simplest case and the correct baseline for testing.
Proxy network — BungeeCord / Velocity
A network of backend servers behind a proxy. Decide which side owns the state before you deploy: global state (balance, ranks, cooldowns) belongs in a shared store, not in a per-server YAML file, otherwise nodes will disagree after the first restart.
- Shared state: run the same build everywhere, point it at one MySQL/Redis instance.
- Local state: keep per-node configs in
config.ymland never let the plugin write player data locally. - Commands that must run once: route them through the proxy or guard them with a lock, not by hoping only one node gets the event.
Fleet — many independent servers
For hosting providers or networks with dozens of nodes, treat the JAR as an immutable release: version it, checksum it, and push it with the same tooling you use for any other binary.
sha256sum Leaderboard-1.4.0.jar > Leaderboard-1.4.0.jar.sha256
# copy to each node's plugins/ directory, then roll restart one node at a time
Configuration per node
Keep everything that differs between nodes in config.yml — server id, displayed messages, thresholds. The build stays identical across the cluster, which is what makes a rollback a one-line change instead of a merge.
Release checklist
- Staging first — deploy to one low-traffic node, run every command and permission once.
- Data compatibility — if the schema changed, confirm the plugin migrates old data instead of ignoring it.
- Rollback plan — keep the previous JAR on disk; rolling back is copying a file back and restarting.
- Observability — the plugin should log its version and config source on enable; that one line saves hours during an incident.
- Version pinning — a cluster that runs three plugin versions is not a cluster, it is three servers that share a name.
Source control as the distribution channel
From Starter upwards you can push the session project to GitHub. Tag the release commit, let CI build the JAR, and let each node pull the released artifact. The generated source, the reviewed diff and the deployed binary then share one history.
Scope
BukkitCode produces the plugin and the project you can reproduce. It does not provision servers, manage proxies or deploy on your behalf — the steps above are yours to automate with your existing tooling.