From 8c42bef13f0ace32f551d1d4ee3cba83da96d79e Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 21 Nov 2026 13:27:36 +0000 Subject: [PATCH] feat: wowmine: remove map --- docs/minecraft-delight-v16.md | 3 +++ docs/minecraft-prism.md | 3 ++- .../data/wowmine_rules/function/minimap_policy.mcfunction | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/minecraft-delight-v16.md b/docs/minecraft-delight-v16.md index a378be6a..cb2ef59a 100644 --- a/docs/minecraft-delight-v16.md +++ b/docs/minecraft-delight-v16.md @@ -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 diff --git a/docs/minecraft-prism.md b/docs/minecraft-prism.md index 9b239f90..625c03c7 100644 --- a/docs/minecraft-prism.md +++ b/docs/minecraft-prism.md @@ -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. diff --git a/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction index e5d65ef0..58c5394d 100644 --- a/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction +++ b/nixos/system/neuro/minecraft/wowmine-rules/data/wowmine_rules/function/minimap_policy.mcfunction @@ -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