Bring back /iris std hotload and let studio commands find the studio you are in

- /iris std hotload (aliases reload, h) hotloads the studio you stand in, else
  the open studio. A pack file that does not parse stops it, the same way it
  stops the file watcher, and the sender sees which file.
- modules, version, update, pkg, profile and importvanilla take an optional
  dim=<pack>. Without it they use the Iris world you stand in, else the open
  studio. The silent fall back to the "default" pack is gone.
- map and imagemap fall back to the open studio's world from the console or a
  vanilla world.
- The studio map link is printed only when the Studio window could not open.
This commit is contained in:
piexel committed 2026-11-11 15:00:34 +01:00
1 parent e51f1b8c62
commit 1b08857bb8
8 files changed
+167 -39

No files matched your search

+5 -1
View File
@@ -65,6 +65,10 @@
"iris.bukkit.commandstudio.importvanilla_complete_objects_structures_written_failed": "§aimportvanilla complete: §f{imported}§a objects written, §f{failed}§a failed.",
"iris.bukkit.commandstudio.trees_objects_are_under_objects_vanilla_reference_them_from_biome": "§7Trees/objects are under objects/vanilla/...; reference them from biome object placements.",
"iris.bukkit.commandstudio.no_open_studio_projects": "§cNo open studio projects.",
"iris.bukkit.commandstudio.name_pack_outside_studio": "§cNot in a studio. Name a pack: dim=<pack>",
"iris.bukkit.commandstudio.hotloading": "§aHotloading §f{value}§a...",
"iris.bukkit.commandstudio.hotloaded": "§aHotloaded §f{value}",
"iris.bukkit.commandstudio.hotload_failed": "§cHotload failed: {value}",
"iris.bukkit.commandstudio.closing_studio": "§eClosing studio...",
"iris.bukkit.commandstudio.studio_close_failed": "§cStudio close failed: {value}",
"iris.bukkit.commandstudio.studio_close_failed_2": "§cStudio close failed: {value}",
@@ -233,7 +237,6 @@
"iris.bukkit.commandstructure.could_not_resolve_pack_dimension_3": "§cCould not resolve the pack for dimension {value}",
"iris.bukkit.commandstructure.captured_structures_place_them_from_structures_list_regenerate_chunks_delete": "§7Captured {value} structures. Place them from a 'structures' list and regenerate chunks. Delete a structures/*.json to re-capture it.",
"iris.bukkit.commandstudio.opening_studio_pack_seed": "§aOpening studio for the \"{value}\" pack (seed: {seed})",
"iris.bukkit.commandstudio.provide_dimension_pack_iris_std_importvanilla_pack_dimension": "§cProvide a dimension pack: /iris std importvanilla pack=<dimension>",
"iris.bukkit.commandstudio.could_not_resolve_pack_dimension": "§cCould not resolve the pack for dimension {value}",
"iris.bukkit.commandstudio.opening_editor_pack": "§aOpening {editor} for the \"{value}\" pack",
"iris.bukkit.commandstudio.pack_has_version": "§aThe \"{value}\" pack has version: {value2}",
@@ -745,6 +748,7 @@
"iris.director.commandstudio.director.get_version_pack": "Get the version of a pack",
"iris.director.commandstudio.param.dimension_get_version": "The dimension get the version of",
"iris.director.commandstudio.director.list_pack_modules": "List the modules a pack loads",
"iris.director.commandstudio.director.hotload_studio": "Hotload the studio you are in",
"iris.director.commandstudio.param.dimension_list_modules": "The pack to list the modules of",
"iris.director.commandstudio.director.show_loot_if_chest_were_right_here": "Show loot if a chest were right here",
"iris.director.commandstudio.param.fast_insertion_items_virtual_inventory_may_cause_performance_drop": "Fast insertion of items in virtual inventory (may cause performance drop)",