feat: wowmine: remove map

This commit is contained in:
2026-11-21 13:27:36 +00:00
parent 1397324bf3
commit 8c42bef13f
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -19,6 +19,9 @@ Fresh clients hide the minimap. Updates preserve personal minimap, options and D
The separate `wowmine-rules` world datapack enables `mobGriefing` on load and reapplies
`xaerominimap:no_minimap` every second to everyone except Boss UUID
`1c189af5-2713-3fa6-bcc4-893dfadedfa4`. Boss can enable the minimap personally.
The same policy also applies `xaeroworldmap:no_world_map`, blocking the large
map on M for everyone except that UUID. Both restriction effects are cleared
from Boss. This server rule needs no new client archive.
DH cache identities remain `wos` / `wos-w1`.
## Added artifacts
+2 -1
View File
@@ -32,7 +32,8 @@ upstream recipe/loot warnings: [minecraft-delight-v16.md](minecraft-delight-v16.
Fresh clients default to a hidden minimap. Existing personal minimap preferences,
options and DH settings survive updates. The independent `wowmine-rules`
datapack enables `mobGriefing` and restricts the minimap to Boss's UUID. Real
datapack enables `mobGriefing` and restricts both the minimap and World Map on M
to Boss's UUID. Real
private clients verified the ordinary-player restriction, Boss's visible map,
and map hiding when the restriction effect is present.
@@ -1,4 +1,6 @@
# Boss is exempt by UUID; the client may still hide its minimap by preference.
effect give @a[nbt=!{UUID:[I;471374581,655572902,-1127970499,-86057052]}] xaerominimap:no_minimap infinite 0 true
effect give @a[nbt=!{UUID:[I;471374581,655572902,-1127970499,-86057052]}] xaeroworldmap:no_world_map infinite 0 true
execute as @a[nbt={UUID:[I;471374581,655572902,-1127970499,-86057052]}] run effect clear @s xaerominimap:no_minimap
execute as @a[nbt={UUID:[I;471374581,655572902,-1127970499,-86057052]}] run effect clear @s xaeroworldmap:no_world_map
schedule function wowmine_rules:minimap_policy 20t replace