feat(rust): TruePVE in the zone step — no PvP protection, or a ruleset (PLAN_REDESIGNS §14.3.2) #45
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/truepve-zone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stage 3 of the §14.3 integration plan (D362, D368), on protocol 14. Spec: docs
rust-link/PROTOCOL.md§20.6 (docs PR alongside); record:modules/rust/PLAN_REDESIGNS.md§14.3.16.rust.zone.open(Open a zone) gainsnoPvpProtection(boolean, "No PvP protection in this zone") andpvpRuleset(string, "or this TruePVE ruleset"). They are sent asworld.zone'struePve:{ exclude: true }or{ ruleset }.truepve-missingandtruepve-rulesetare permanent failures, carrying the plugin's words. Only the call can tell whether a ruleset exists (D368).truePvefrom hello. Server settings' plugin line says whether TruePVE is loaded. The integrations schema documents it (swagger fragment regenerated).Two commits: the first is the feature, pushed as WIP by an earlier session; the second adds the README entry.
Tested: five new tests in
test/zones.test.js. Server 603/603, pluscheck:imports,check:bundle,check:swaggerandcheck:engagement. Client 84/84, the build, andcheck:externals. No core change, socoreApistays^1.14.0. Walk rows wait for the end walk (D331, D359).AI-assisted: written with Claude Code (disclosed per org policy).
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
Stage 3 of the §14.3 integration plan (D362, D368): world.zone's optional truePve ({exclude: true} or {ruleset}), all or nothing, unmapped on every path that erases one of our zones, with truepve.json for erases while TruePVE is away. Docs and PRs still to come. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeYStage 3 of the §14.3 integration plan (D362, D368), on protocol 14 (docs rust-link/PROTOCOL.md §20.6). - rust.zone.open gains noPvpProtection (boolean) and pvpRuleset (string), sent as world.zone's truePve { exclude: true } or { ruleset }. - Both set, a name over 64 characters, or a server whose hello says TruePVE is not loaded is refused for good, at verify too. A server that has not said is left to the plugin, as a dome is. - truepve-missing and truepve-ruleset are permanent failures, with the plugin's words. - The zone servers list carries each server's truePve from hello; Server settings' plugin line says whether TruePVE is loaded; the integrations schema documents it (swagger fragment regenerated). - README lists TruePVE among the optional plugins. Tests: five new in zones.test.js; server 603/603 and all checks, client 84/84 and the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY