Warring Nations

Claims setup

Docs / Claims setup. Warring Nations 5.0, pre-release.

Two kinds of claim system can exist on one server. This page says how they cooperate.

Article 1Two claim systems

1.1WN's own territory claims (written by /wn land claim) are the base mod's authority. One external provider (Open Parties and Claims or FTB Chunks, through wn-claims) can run beside it. WN has no per-player claims of its own.

1.2The active provider is set by claims.provider in config/wn/server.toml. Without a pin the priority is territory, Open Parties and Claims, then FTB Chunks. War, nations and map code read this one provider.

Article 2claimsAuthority

2.1Set in the claims-protection package settings (wn.conform.claims-protection.toml, key claims_authority):

ValueBehaviour
BOTH_DENY_WINS (default)Ask territory and the provider. Denied if either refuses, even if the other allows or does not claim the block.
ANY_ALLOWSAllowed when any system that claims the block grants access. Unclaimed by both stays open.
TERRITORYOnly territory judges. Land only the provider claims is open.
PROVIDEROnly the selected provider judges.

2.2/wn claims status prints the authority and whether territory is active. Wartime breach, grants and allies widen access only after the combined lookup refused.

Article 3Open Parties and Claims sync

3.1With the OPAC package enabled and native territory running, WN territory is the source of truth and OPAC is a mirrored view. Each nation gets one OPAC party, owned by a synthetic id, with members by rank. Players cannot claim a chunk that is nation land in OPAC, and cannot unclaim mirrored land there. Release it with /wn land unclaim.

Sync commands

/wn claims sync status
/wn claims sync dryrun
/wn claims sync repair

Article 4Protection tuning

4.1Use dryRun = true to log protection decisions without enforcing them, failClosed to choose what happens when the provider cannot answer (default deny), and /wn conform recent to see recent denials. The full list of switches is in Configuration.

Type at least two letters. Esc closes.