Peace Treaties - CryptoMorin/KingdomsX GitHub Wiki

Peace treaties are proposals sent from one kingdom to another that are enemies (/k enemy) to establish peace under certain conditions. The kingdom who sends the proposal can define these conditions known as terms. The other kingdom can either accept or deny this proposal. Denying a proposal doesn’t affect anything at all.

These proposals can be sent by using the /k neutral command.

Terms

  • Take Resource Points: Simply requires the kingdom to pay the specified amount of rp.
  • War Reparations: Requires the kingdom to pay the specified amount of money from the kingdom’s bank.
  • Vassalize: Long-term restrictions on the kingdom. Read below for more info.
  • Leave/Disband Nation: Requires the kingdom to disband their nation if they’re the capital or leave otherwise.
  • Keep Lands: Every captured land from the attacker since the war started will be listed on a GUI for the proposing kingdom to keep individually. Any other land that wasn’t selected will be given back to the invaded kingdom. You might not want to invade a land just to take it, but to threaten the defenders, gain some ground, capture strategic natural points on the map, humiliate the defender or show your strength for them to accept the treaty.

A peace treaty that doesn’t impose any terms on the other kingdoms is called white peace. These conditions are then sent to the other kingdom by mail to review and accept. Each of these terms requires a certain amount of war points to be chosen.

After a treaty is agreed upon, a public announcement will be made about the details of the contract, and the two kingdoms can no longer enemy each other for a certain duration. This is to prevent the stronger kingdom from looting weak kingdoms over and over again. Note that this duration is separate for each kingdom and the treaties between them. This is also the duration of long-term terms (aka vassalizations) which is explained below.

War Points

War points can be gained by a kingdom when they:

  • Every enemy you kill
  • Every invasion won
  • Every turret you break from an enemy kingdom
  • Every structure you break from an enemy kingdom

Kingdoms keep a separate point for each enemy they have. This prevents kingdoms from creating fake kingdoms /k enemying them, gaining war points and disbanding them. Meaning if you invaded kingdom A multiple times, but didn’t do anything to kingdom B you can’t use your war points gained from kingdom A to specify any terms for kingdom B.

Vassalization

Is a long-term relationship between the kingdom that imposes restrictions on another kingdom. The kingdom imposing the restrictions is called the overlord kingdom and the kingdom that’s restricted is called the vassal kingdom.

  • Scutage: The overlord kingdom takes a percentage of the vassal kingdom’s kingdom bank, which is collected during taxes. This percentage is specified as a config option.
  • Annul Treaties: Requires the kingdom to revoke their relationship with all kingdoms. When enabled, the vassal kingdom will automatically always inherit the relationships of the overlord kingdom and they cannot change their relationships in any way themselves.
  • Limits the overall amount of lands the kingdom can claim.
  • Limits the total amount of turrets and structures a kingdom can place.
  • The overlord kingdom can modify the vassal kingdom’s relationship attributes.
  • The overlord kingdom can disable certain misc upgrades of the vassal.

Requirements

  • You cannot vassalize a kingdom that has a certain amount of members (configurable in config)
  • You cannot vassalize a kingdom that has a certain amount of lands (configurable in the config) A kingdom can be under several peace treaty contracts (which prevents them from enemy’ing those kingdoms), but only vassal of one kingdom.

A kingdom can be freed from vassalization if either another kingdom (other than their overlord) or if they themselves, enemy their overlord and send a peace treaty to their overlord kingdom and requires them to free vassal kingdoms (through annul term) and the overlord kingdom accepts this treaty All the terms specified above are the default layout for the concept, however, server owners can define their own grouped terms, customize war points and their condition.

For new placeholders please check out placeholders page.

Commands

/k pt review

Used for viewing all the sent/received peace treaties.

/k pt resume

Resumes an unfinished peace treaty contract within the editor GUI.

/k pt accept

Accepts a peace treaty from a kingdom.

/k pt reject

Rejects a peace treaty from a kingdom.

/k pt miscUpgrades

Opens a vassal's misc upgrades GUI so you (the overlord kingdom) can enable and disable them

⚠️ **GitHub.com Fallback** ⚠️