Files
hearth/docs/minecraft-player-visibility.md

83 lines
3.8 KiB
Markdown

# wowmine player visibility
Applied on neuro on November 22, 2026. Scope: hide overhead player names and
ordinary world-coordinate displays. Names in Tab, chat and Jade's targeted
entity tooltip remain available.
## Server rules
`wowmine-rules` sets `reducedDebugInfo=true` on load. This removes absolute
XYZ, block and chunk location lines from vanilla F3. Reduced F3 still shows
chunk-relative offsets; it does not remove every diagnostic value.
The datapack creates `wowmine_hidden` with `nametagVisibility=never`.
`player_visibility.mcfunction` assigns unteamed online players every tick,
including players joining later. There were no existing teams before rollout.
Existing team members are never moved. If administrators later introduce
custom teams, those teams need their own hidden-name setting.
Friendly fire stays enabled and friendly invisible players stay hidden.
The team has no custom prefix, suffix or color.
## Xaero profiles
The installed Xaero Minimap 26.4.2 renders coordinates independently of
`reducedDebugInfo`. Server profiles therefore also enforce:
- Minimap `coords`, `overworld_coords` and `chunk_coords` displays: false.
- World Map `display_coordinates`: false.
- Waypoint coordinate fields: hidden by default.
Source files live under
`nixos/system/neuro/minecraft/wowmine-server-config/xaero/`.
Minecraft's NixOS `preStart` copies them into its configuration directory.
The large `info_display_config` value has its own
`server_profiles/info_display_config/default.cfg.txt` file.
Both profiles enforce `ignore_enforcement_if_edit_permission=false`.
Other client HUD preferences remain local. Boss retains the existing minimap
and World Map access exception, with coordinate displays suppressed too.
These are display controls for the installed clients, not position secrecy.
Clients still receive positions to render the world. Xaero's waypoint editor
also offers a manual show/hide button for coordinate fields. No new client
archive or mod download is needed.
## Verification and operations
Native system:
`/nix/store/7rpz3mij1c049i8risqy1mxmaz6hpps1-nixos-system-neuro-26.05.20261006.b253099`.
Build, transfer, dry activation and native activation succeeded. Only Minecraft
was selected for restart. It reached readiness at 09:11:47 UTC with the same
18443 recipes.
Two actual matching clients were connected to an isolated server. A positive
control showed the other player's overhead name and absolute F3 coordinates.
Applying the real load function removed both. A separate normal HUD capture
showed the visible player without a name or coordinate HUD. Boss's large map
still opened without its coordinate readout. Reapplying the load function
worked with the existing team.
Screenshots under `/tmp/wowmine-visibility/`:
- `origin-human.png`: positive overhead-name control.
- `visible-control-f3.png`: absolute F3 coordinate control.
- `hidden-names-reduced-f3.png`: reduced F3 after policy application.
- `hidden-name-hud.png`: hidden overhead name and minimap coordinate HUD.
- `worldmap-no-coordinates.png`: Boss map access retained.
The live check reads persisted gamerules and scoreboard properties, checks
both server profiles and all three HUD display states, and compares previous
recipe/map rules against their snapshot. The modpack archive remains
`v16-survival-r1` with unchanged SHA-256
`a74f1b121d888247ce0fb8951d21a8c389eecd138f7b1e078430f27c6034261b`.
Previous settings and the old system reference are preserved in neuro's
private `/var/tmp/wowmine-visibility/`; the result is recorded in
`live-integrity.json` there. World identity and previous recipe/map rule files
are preserved. No player inventory, experience, class or game-mode records
were manually rewritten.
Gamerules and teams persist in world data. Reverting service files alone does
not undo those stored values. No project Git commit was created.