目次

Developer keys — testing your mod on ordinary servers

MOD 制作ドキュメントは、いまのところ韓国語だけです。

On servers that send no policy (most servers other than ours) only mods approved by 月蝕 (Eklise) run. Unapproved mods are held with "Not approved — off on this server". In singleplayer everything runs.

You can't get every work-in-progress build reviewed, so 月蝕 issues developer key certificates. Mods signed with such a key are treated like approved mods.

Two tiers

Developer key (general)Dev team key (team)
Signed modsTreated as approved (like review kind manual)Approved + gameplay allowed
gameplay group modsStill need review (or a server that allows them)Run on servers without a policy (outside the public-server blocklist only)
mc_caps (movement, hitbox)Local worlds only (as today)Local worlds + servers that send a caps grant (same rule as 月蝕-signed mods)
Mods screen label"In development · name""Dev team · name"
Default certificate validity90 days180 days
How to get oneRequest on the dashboard → an operator approvesIssued by the operator only

What never changes:

  • A server's policy wins. If a server blocks gameplay, a team key is off too. An allowlist-only policy (without "approved mods too") turns them off.
  • On the public-server blocklist gameplay mods never run.
  • Revocation is immediate. When a dev_id is on the 月蝕 revocation list, every mod signed with that key turns off — singleplayer included.

Steps

  1. Make a key: mc189 dev keygen. The secret key stays in your settings folder (~/.config/mc189rs/caps/devkey/dev.key, mode 600); only one public-key line is printed. Running it again never overwrites; mc189 dev pubkey prints it again.
  2. Request: paste your display name and public key into "Request a developer key" (/mods/devkey). Never paste the secret key (dev.key).
  3. Install the certificate once issued: download *.mc189cert from "My developer keys", then mc189 dev cert install <file>. A certificate for a different public key is refused. mc189 dev status shows the state.
  4. Signing is automatic: mc189 mod build, mod install and mod dev write mod.wasm.devsig next to the mod when a certificate is installed (before the wasm, so hot reload never sees a stale signature). Manually: mc189 dev sign mod.wasm [--days 14]; check with mc189 dev verify mod.wasm.
  5. Sharing: give the .wasm together with the .devsig. The .devsig embeds your certificate, so the receiver's game checks the whole 月蝕 → certificate → mod chain.

Signature lifetime

  • A mod signature lasts 14 days by default, 30 at most, and never beyond the certificate. Rebuild (or mc189 dev sign) when it expires.
  • The signature covers the wasm sha256; any change breaks it. mod build re-signs.
  • The signature lists the groups the mod uses (from its imports). A mod using a group not in its signature is not treated as approved.

Don'ts

  • Don't share the secret key or commit it. Mods signed with it run under your name; if it leaks, 月蝕 revokes the certificate (and every mod it signed turns off).
  • Developer keys are for testing. Publicly distributed mods still go through review (../rules.md, "upload a version" on the mod site).
  • Nothing forbidden in the rules opens with a developer key — missing functions stay missing.