Warring Nations

Wars and rulesets

Features / Wars

A war is declared under a ruleset: a list of rule blocks that decide who may declare, what scores and how it ends.

Ships in
warring_nations (war, war-rules, war-breach, war-rollback, war-spoils).
See also
War rulesets guide, Diplomacy and peace, Configuration

Article 1Declare, confirm, end

In game

/wn war rulesets
/wn war declare Sparta chunk_capture
/wn war status
/wn war surrender-to Sparta
/wn war ceasefire-with Sparta

1.1Use the word default to pick the configured default ruleset. Turn on confirmDeclarations to make the declaring player repeat the command. Officers (rank 1) can declare by default.

Article 2Rulesets are files

2.1One ruleset, chunk_capture, ships inside the mod. Turn on the rulesets folder and every config/wn/war-rulesets/*.toml becomes a ruleset, reloaded within seconds without a restart. A file with a mistake is skipped and logged, and the others still load. Wars already running keep the rules they were declared with.

config/wn/server.toml

[folders]
war_rulesets = true

2.2Eleven ready-made alternatives (skirmish, attrition, duel, regulated, multifront, occupation, chunk_capture_timed, siege, conquest, objectives and objectives_timed) are available in a separate zip, so you can start from a working file and change it. Rulesets can also define their own rules with a small, sandboxed expression language.

Article 3Breach, rollback and spoils

Breach
Attackers may break and place blocks on enemy land during a war. Interaction and containers are off by default. One master switch turns it all off.
Rollback
Wartime block changes are remembered and restored after the war at a rate you set, so a war does not permanently wreck a world.
Spoils
Winners can take chunks of land and a share of the treasury. Defaults: 3 chunks and 10 percent.

Article 4Presence and occupation

4.1Presence tracking notices who is actually there and who is away, and away players do not count towards occupation scoring. Creative mode and chosen dimensions can be excluded.

Article 5Score becomes leverage

5.1When a war ends, or when both sides are ready to talk, its score decides what each side can demand. See diplomacy and peace.

Type at least two letters. Esc closes.