Skip to main content

pack-doctor

The IDs in your modpack that silently do nothing

A quest that rewards yourpack:cooked_caned_fish. A diet tag pointing at cooked_canned_rabit_soup. A recipe for an item from a mod you removed last week.

None of these crash. None of them log an error. They quietly give the player nothing, and you find out when someone complains three weeks later.

$ pack-doctor check "MyServer/mods" --against "MyServer/kubejs"

  mods indexed      233
  known IDs         14794  (188 defined by the pack itself)

IDS THAT MATCH NOTHING INSTALLED — 3 ID(s)
------------------------------------------------------------

  yourpack:cooked_caned_fish
      server_scripts/tags/diet.js:45

  yourpack:cooked_canned_rabit_soup
      server_scripts/tags/diet.js:46

  yourpack:stampler
      startup_scripts/removals.js:368

It reads every jar in your mods folder, builds an index of every ID that actually exists, then checks every ID your datapacks, KubeJS scripts, quests and configs reference against it. An ID that matches nothing installed is doing nothing, and you can confirm that yourself in a few seconds.

It also knows that KubeJS startup scripts register new content, so the items your own pack creates are not reported as dead.

It also reports

NAMESPACES WITH NO INSTALLED MOD -- grouped with a reference count rather than listed one by one. Some are genuinely missing mods. Others are group names a mod's own script API invents; KubeJS does this constantly. You judge.

Honest limits

  • IDs come from translation keys. That covers every item, block and entity a player can see, but a registry entry with no lang key cannot be confirmed either way, and lands in UNVERIFIED (--verbose) rather than being called dead.
  • It reads what the files say, not what the game does. It cannot know a recipe is unreachable or a quest unwinnable.
  • forge: and c: are skipped -- those are tag namespaces, and treating them as registries produced nothing but noise.

Install

pip install pack-doctor

One module, Python 3.8+, no dependencies -- it imports nothing outside the standard library.

More

What the paid edition adds: the suggestion engine -- "did you mean cooked_canned_fish?" -- and the confidence tiering that keeps fuzzy-match noise out of the list. On a real 233-mod pack that was the difference between 169 candidates and 63 worth reading. Knowing an ID is dead is worth having for free; being handed the ID you meant, without wading through false positives, is the paid part.

Developed against two real servers: 92 jars / 9,635 IDs and 233 jars / 14,755 IDs. Comparing ID paths rather than whole IDs matters -- a shared namespace inflates every similarity score.

Diagnostic pages for every finding: https://jaakoby.github.io/fix/ Source: https://github.com/jaakoby/pack-doctor Full edition: https://kaiven.gumroad.com/l/pack-doctor


Built by Jakoby Tuckta with Claude. Every claim above is something the tool does on a real log; see the repo's tests.

Metadata

Release files for pack-doctor 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pack-doctor 1.1.0
File Size Uploaded Provenance Actions
pack_doctor-1.1.0.tar.gz 10.0 kB Without provenance Details for pack_doctor-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pack-doctor 1.1.0
File Interpreter ABI Platform Actions
pack_doctor-1.1.0-py3-none-any.whl Python 3 none any Details for pack_doctor-1.1.0-py3-none-any.whl

Total release size: 20.6 kB

Release files / pack_doctor-1.1.0.tar.gz

Download URL pack_doctor-1.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
caa5486ac9d233b26a169753fe0e4d4bd89ea5e00f6ae65caa68dbe7f224bb80
BLAKE2b-256 checksum
How to use checksums
25be9805c5b31732ddaa797b6539186a715d9c64551cd4c8fa1821947108f0aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / pack_doctor-1.1.0-py3-none-any.whl

Download URL pack_doctor-1.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17d71f1981bc1da32eb17cd4a6668943fe9ef3ab27ea3bddac296f3d55a917bd
BLAKE2b-256 checksum
How to use checksums
51d8a06515adc65bfdc1a12a3f06a7c0ecb30727af44580b82d88c9d2b5fbd1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for pack-doctor 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page