Let /iris std update force=true give a pack the built-in modules back

A pack without modules.json could not use the update command, and a pack that
dropped a built-in had no way to get it back but writing the file by hand. With
force=true the command adds every module Iris ships that modules.json does not
list, at the version Iris ships, writes the file for a pack without one, and then
updates as usual. What the file already lists and pins stays.

The plain command and the console warning for a pack without modules.json now
point at the flag. On modded it is the same words: /iris std update <pack> force=true.
This commit is contained in:
piexel committed 2026-11-11 14:06:40 +01:00
1 parent 9cc45b41d0
commit f98b6dc548
30 files changed
+173 -26

No files matched your search

@@ -21,6 +21,7 @@
"iris.pack.update.header": "§a{pack}:",
"iris.pack.update.written": "§f {change}",
"iris.pack.update.restart": "§aRestart the server to load the updated modules.",
"iris.pack.update.how_to_restore": "§eRun /iris std update {pack} force=true to give it every module Iris ships.",
"iris.pack.updates.waiting": "§e{pack} kept module updates back:",
"iris.pack.updates.how_to_take": "§eRun /iris std update {pack} to take them, then check the pack's settings against the new versions.",
"iris.command.reload.success": "Hotloaded settings and locale {locale}.",
@@ -763,6 +764,7 @@
"iris.director.commandstudio.director.teleport_active_studio_world": "Teleport to the active studio world",
"iris.director.commandstudio.director.update_pack_modules": "Update a pack's modules to the versions this Iris ships",
"iris.director.commandstudio.param.dimension_update_modules": "The pack to update",
"iris.director.commandstudio.param.force_restore_shipped_modules": "Also add every module Iris ships that the pack does not list",
"iris.director.commandstudio.director.capture_igendata_chunk_report_nearby_chunks": "Capture an IGenData chunk report for nearby chunks",
"iris.director.commandwhat.director.iris_what": "Iris What?",
"iris.director.commandwhat.director.what_is_my_hand": "What is in my hand?",