Repository navigation
Client Parity
Design stage. Nothing here is implemented.
Players need mods on their machines that match the server's. Getting this wrong is the difference between a server people can join and one they cannot.
v1 built a bespoke macOS client: a SwiftUI app, a sync engine, manifest verification, a managed Java runtime, a NeoForge installer, a DMG builder, code signing, a self-updater, and a headless soak test to prove the DMG worked. Thousands of lines, and it ran on exactly one operating system.
It solved a real problem. It also meant every Minecraft release, every Java change and every macOS release landed as maintenance work on software that was not the point of the project. Players on Windows and Linux were not served at all.
None of it needs to exist.
Generate a Modrinth-format .mrpack per Minecraft version, derived from the same modset that is deployed to the server.
An .mrpack is a zip containing modrinth.index.json — a list of files with their sizes, SHA-1 and SHA-512 hashes, and download URLs — plus an overrides/ directory for configs and resource packs. Every major launcher imports it directly: Prism, the Modrinth App, ATLauncher, MultiMC.
What that buys:
- Every platform, for free. Windows, macOS, Linux.
- No client code to maintain. No signing, no notarisation, no self-updater, no DMG.
- Launchers already solve Java version management, memory allocation, instance isolation and update prompts — all of which v1 reimplemented.
- Integrity by construction. The index carries hashes; the launcher verifies them.
- One artifact per version, published beside the release, served by the same edge.
The website offers a download per Minecraft version, and joining becomes: import the pack, launch, connect.
Each mod's META-INF/neoforge.mods.toml declares which side it belongs on:
[[dependencies.examplemod]]
side = "BOTH" # BOTH | CLIENT | SERVERSo the client pack is the deployed modset filtered to entries whose side is BOTH or CLIENT, and the server keeps everything except CLIENT-only mods. Both are computed from one source, which means they cannot drift — the failure mode where a server update silently requires a client mod nobody shipped.
Mods declaring nothing default to both sides, which is the safe assumption.
.mrpack references mods by URL rather than embedding them, which suits Modrinth-hosted mods exactly.
CurseForge is more restrictive: its terms limit redistribution, and not every project permits third-party distribution of its files. For those, the pack references the CurseForge download and the launcher fetches it, or the player is prompted — the standard behaviour launchers already implement for CurseForge packs.
Practical consequence: the pack generator must respect each provider's distribution terms rather than embedding everything for convenience. Configs and resource packs the project owns go in overrides/; third-party mods are referenced.
The pack is generated from a specific modset digest and names it. A player's pack and the server's set are then comparable: the server can compare the digest a client reports against what it is running and say plainly "your pack is two releases behind" rather than failing at a registry mismatch with an unreadable error.
That is a far smaller mechanism than v1's sync engine and gets most of the benefit.
Design stage — not implemented
Design
Validation
Trust
Interfaces
Operations
Project
Reference