A v5 install converts a v4 config the first time it starts. Pack data from v4 does not carry over, so every player downloads the pack again on their first v5 join. The mod itself needs no hand upgrade: a v4 client with version syncing on, which is the default, pulls the v5 jar from Modrinth on its own (see clients follow the server).
What migrates automatically
- The config file. On the server, v5 reads
automodpack-server.jsonand thenserver-config.jsonif it finds them. On the client, it readsautomodpack-client.jsonand thenclient-config.json. The values land in the newserver.conforclient.conf, and the old JSON is renamed to end in.backup. - The file rules. The v4
syncedFileslist becomes thefrom-serverlist of the defaultmaingroup, andallowEditsInFilesbecomes that group'seditablelist. Leading slashes are stripped, and!rules survive. The migratedmaingroup lands in a category calledGeneraland is forced to required and selected by default, so every player keeps receiving the core files. - The connection mode. A v4 setup with
requireMagicPackets: falseand an explicitbindPortbecomesHTTP. Every other v4 setup becomesHOLEPUNCH, the v5 default. - The settings that kept their names under a new spelling:
modpackNamebecomesmodpack.name,requireAutoModpackOnClientbecomesrequire-modpack,addressToSendandportToSendbecomeadvertised-endpoint-hostandadvertised-endpoint-port, and the nag, bind, bandwidth, secret, loader-accept, and self-updater settings all carry over. On the client,syncAutoModpackVersionbecomessync-automodpack-version,syncLoaderVersionbecomessync-versions, andplayMusic,updateSelectedModpackOnLaunch, andselfUpdaterfollow the same pattern. - Dropped v4 options, named in the log:
forceCopyFilesToStandardLocation,nonModpackFilesToDelete,updateIpsOnEveryStart,autoExcludeUnnecessaryFileson the server, andselectedModpack,installedModpacks,allowRemoteNonModpackDeletionson the client.
What does not migrate
- Old pack data on clients. v5 reads none of it: not the
automodpack/modpacks/folders, not the v4 metadata caches next to the old config, not the v4selectedModpackname. A v5 client downloads the pack again on its first join and picks the server's pack up there. - The old certificate and pins. v4 kept its TLS pair and the client trust store under
automodpack/.private/; v5 usesautomodpack/credentials/and a per-user pin store, and migrates neither. A fresh v5 server generates a new self-signed certificate, so every player verifies the server once more on their first v5 join, even if they verified it under v4.
Leftovers
On the first v5 boot, the log lists what older versions left behind in the automodpack folder, with sizes:
Leftovers from an older AutoModpack are still using X in ...: This version does not read them and deleting them is safe.
Deleting the listed entries is safe. v5 never reads them again.
Clients follow the server
When you update the server to v5, clients do not need a hand from you. On their next launch or join, a client with version syncing on fetches the v5 build for its Minecraft version and loader from Modrinth and restarts into it. Version syncing is on by default (sync-automodpack-version); a player who turned it off stays on v4 and gets a version mismatch kick that names the version to install. The same rule covers every later AutoModpack update: clients follow the version the server runs. The details, including the per-client self-updater setting, are in AutoModpack's own updates.
Upgrade steps
- Back up the server folder, including
automodpack/. - Replace the AutoModpack jar in the server's
modsfolder with the v5 jar. It is the same mod on the same Modrinth project; do not keep both jars. - Start the server. The old config becomes
server.conf, and the log lists every dropped option and every leftover folder. Readserver.confonce: themodpacksection is the new home of your oldsyncedFilesrules. - Run
/automodpack generateto publish the first v5 generation. - Connect once with a clean client that has only AutoModpack installed. It downloads the pack again in the v5 format and verifies the server's new certificate.
- Players: nothing to hand out by default. Their clients sync themselves to v5 on the next join. Only a player with
sync-automodpack-version: falseneeds the v5 jar by hand.
Commands
| v4 | v5 |
|---|---|
/automodpack host connections | /automodpack host activity |
/automodpack host fingerprint | The same command, now with dns and share subcommands |
/automodpack generate | The same command, now with preview, notes, if-content, history, revert, storage, and export-http subcommands |
| (new) | /automodpack groups |
| (new) | /automodpack host bootstrap pin and /automodpack host bootstrap install |
/automodpack config reload | Unchanged |
What v5 adds
- Groups: split the pack into required and optional parts that players pick in-game, with conflicts resolved on the client.
- Generations: every publish is a numbered generation with patch notes, preview and can be rolled back into.
- Connection modes: the new
HOLEPUNCHmode carries the pack over the Minecraft connection itself, so servers behind Minecraft-only firewalls, lan share mods, proxies, and some hostings now just work with no additional setup. - Hosting rework: the whole pack is three HTTP GET routes, so any static HTTPS host or S3-compatible bucket can serve it.
- New verification methods: published DNSSEC records, pinned join addresses, and bootstrap files for one-file onboarding.
- Human-editable configs:
server.confandclient.confreplace the old jsons. - Swappable waiting music: drop an
.oggin the pack sources and players hear it during downloads. - A sharper editable policy: All editable files copy to client root, player edits survive, until modpack modifies them they get backedup and overwritten, after which players can edit them freely again.
- More reliable in-place loading: v4 often falled back to force-copying mods into the standard
modsfolder, which cost a restart per update. v5 loads more mods straight from the managed projection. - Client-side safety nets: an instance timeline that records every step, offline pack history with restore, detachment, storage repair and cleanup.