Skip to content

About

Single-jar NeoForge modpack updater for supported Minecraft versions. Updates Packwiz packs before mods load; config-file setup, no JVM arguments.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

YouTube video

PackUpdater

A single-jar NeoForge modpack updater that runs before Minecraft starts.

Configured through a file in the instance, so players never need JVM arguments.

GitHub Release · Wiki · Report an issue · PackWiz


What it does

Drop the jar in a modpack and it takes care of itself. On every launch, before mods load, PackUpdater syncs the instance against your pack's pack.toml: new mods arrive, changed files are replaced, removed files are cleaned up, and everything is verified against PackWiz's content hashes. PackUpdater's desktop experience includes:

  • A purple-themed progress window that closes automatically after updating.
  • Your modpack's name and custom artwork in the updater.
  • Searchable optional mods, with collapsible groups and group-wide selection.
  • An expandable activity log and download-error details.

These are standard PackUpdater features, delivered through its maintained companion installer. Replacing the installer remains an advanced configuration option; the Packwiz tool and existing pack format are unchanged.

See the author guides below or the release changelog.

Minecraft compatibility

PackUpdater is a general NeoForge updater, with loader integrations for both older ModLauncher-based releases and newer NeoForge. The current source supports NeoForge for Minecraft 1.20.1 through 26.3 with one jar and no JVM arguments. If you encounter a compatibility problem, open a GitHub issue with your Minecraft and NeoForge versions and launch log.

See Compatibility and test details for loader integration, test coverage, and environment limitations. Expanded compatibility is included in 1.7.0 and later; the 1.6.3 jar does not include it.

For modpack authors

Two files, nothing else:

1. mods/packupdater.pw.toml and 2. config/packupdater.properties — both are attached to the release assets. Drop each one in as-is; the only edit you need is the pack URL, which PackUpdater cannot discover on its own:

packupdater.url=https://raw.githubusercontent.com/you/pack/main/pack.toml

On GitHub the URL must use the raw.githubusercontent.com host with the branch in the path. A github.com blob link returns HTML, and the update fails with a 404 that looks like a missing pack. See Configuration.

Optional mods on Android. Restricted platforms such as Android launchers get no optional mods at all, because there is no window there to decline them and an optional mod is often desktop-only. A pack author opts one in, in that mod's own metadata:

[option]
optional = true
packupdater-allow-restricted = true

Desktop is unaffected — the installer's window still appears and the player chooses.

Dedicated servers. Set packupdater.server-side=true in the server's config. It changes nothing about how the update runs; it only tells the installer to install server-side mods and to skip the window, since a server has neither.

Then:

packwiz refresh

That override is universal: releases publish the jar as a version-less packupdater.jar and the file carries an [update.github] block, so one copy keeps working forever and packwiz update handles new releases. No CI changes needed — if your pack already runs packwiz update --all, PackUpdater is picked up automatically.

Optional-mod groups

Download optional-groups.toml from a release, or copy the example, and place it beside your hosted pack.toml—not in the client's config/ folder:

version = 1

[[groups]]
id = "vr"
name = "VR Support"
description = "Enable these mods when playing with a VR headset."
mods = [
    "mods/vivecraft.pw.toml",
    "mods/vivecraft-compat.pw.toml",
]

Replace the paths with your own optional mods' .pw.toml paths. Players can expand groups, select entire groups, or change individual mods. Ungrouped optional mods remain available, and existing selections/defaults are preserved. No Packwiz tool changes or index entry are needed for this config.

See the full optional-group guide for all fields, fallbacks, and examples.

Pack branding and existing configurations

PackUpdater uses your pack.toml name automatically. Add one icon.png, icon.webp, icon.jpg, icon.jpeg, icon.gif, or icon.bmp beside it for custom artwork. Multiple matching icons keep the default PackUpdater logo.

Existing explicit installer URLs are not replaced automatically. If your pack still points at the original installer, update its configuration to:

packupdater.installer-url=https://api.github.com/repos/Jammersmurph/packwiz-installer/releases/latest

See installer source, artwork, and migration.

Documentation

github.com/Jammersmurph/PackUpdater/wiki

Publishing releases

Push a v<mod_version> tag matching gradle.properties to publish a GitHub release. If the tagged commit is on main and GitHub marks the release as the latest stable release, CI also uploads packupdater.jar to Modrinth using the repository secret MODRINTH_TOKEN. The token must have permission to create versions on that project. Minecraft compatibility comes from supported_minecraft_versions in gradle.properties; the loader is NeoForge, and release notes are copied from GitHub.

Credits

PackUpdater is a heavily modified fork of BrassUpdater by swzo, the auto-updater for the Brassworks SMP. That mod is where the transformation-service approach, the bootstrap-then-installer hand-off, and the loading-screen progress reporting all come from.

The fork rebranded it to a neutral identity, replaced JVM-argument-only configuration with a config file, made every URL configurable instead of pinned to a fork, fixed a build that could not compile, turned the embedded bootstrap from an opaque binary into readable source, and added install paths that work on platforms that cannot start a second JVM or show a window.

Thanks to swzo for the original work, and to the upstream PackWiz project. PackUpdater's maintained companion installer builds on their installation engine.

License

MIT — see LICENSE.

About

Single-jar NeoForge modpack updater for supported Minecraft versions. Updates Packwiz packs before mods load; config-file setup, no JVM arguments.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages