You are viewing a potentially older version of this package. View all versions.
Radamanto-Reign_Of_Kings-1.0.2 icon

Reign Of Kings

A unique castle, a single king. Claim the throne, collect taxes, grant blessings and defend the crown in duels and revolts.

Date uploaded 2 weeks ago
Version 1.0.2
Download link Radamanto-Reign_Of_Kings-1.0.2.zip
Downloads 25
Dependency string Radamanto-Reign_Of_Kings-1.0.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

Buy Me a Coffee at Ko-fi

Reign of Kings

One unique castle in the world, a single king and an entire realm to rule. Whoever sits on the throne collects taxes, grants blessings, builds on the royal lands, issues royal decrees, hides treasures for the realm and must defend the crown against duels and revolts.

  • Required on the server and on every client.
  • Settings are synchronized by the server.
  • Languages: English and Portuguese (Brazil).
  • Optional integrations: Guilds and BiomeLock.

For Players

The Castle

  • There is only one castle per world, with its own map icon.
  • The castle area and the royal lands are painted on the map.
  • Inside the castle, nothing can be built, broken, mined or gathered.
  • Around it lie the royal lands, reserved for the king and his guild.

Becoming King

  • Sit on the throne and stay seated until the bar fills up.
  • Standing up, leaving the area or taking damage cancels the claim.
  • The new king is announced to everyone.

Taxes

  • While there is a king, part of what you gather (ores, wood, coins and common materials) goes straight to the royal vault.
  • The tax rate is set by the king, up to the server limit.
  • The Tax status effect shows how much you pay.

Realm Window

  • A button pinned to the left side of the screen.
  • Realm: who the king is, his guild, protection, tax rate, active blessing, decrees and treasure hunt.
  • Taxes: which items are taxed and how much you pay.
  • Dethrone: challenge the king to a duel, or start or vote in a revolt.
  • Chronicle: the history of every king, how long they reigned and how they fell.

Duel

  • Challenge the king at the Duel Stone or in the Dethrone tab of the Realm window.
  • There is an entry fee, and both duelists must reach the royal lands in time.
  • Nobody dies: whoever falls loses. Staying outside the area for too long also loses the duel.

Royal Blessings

  • The king can grant a blessing to every online player (vigor, carry weight, armor, swiftness, experience, health or eitr).

Royal Treasure Hunt

  • The king hides a treasure somewhere in a chosen biome and the whole server is told.
  • A search area is marked on the map. The chest only appears when someone gets close.
  • The first to open the chest claims the treasure. The hunt ends when the chest is emptied or time runs out.
  • The king can never open it; his guild only if the server allows it.

Royal Decrees

  • Double Drop: one item drops twice as much from trees, rocks, ores, creatures and pickables.
  • King's Peace: PvP is forced off for everyone. Royal duels still happen.
  • Bountiful Harvest: crops and pickables grow faster.
  • Heaven's Grace: no rain, storms or blizzards in the Meadows, Black Forest, Mountain and Plains.

For the King

Royal Treasury (castle chest)

  • Reign: information about your reign and abdication.
  • Tax: adjust the tax rate.
  • Vault: check the vault and withdraw resources.
  • Deposit: put taxable resources from your inventory into the vault.
  • Blessings: grant blessings to the realm (one active at a time).
  • Decrees: issue royal decrees for the realm.
  • Hunt: choose biome, duration and prize, and launch a treasure hunt.
  • Chronicle: the history of the kings.
  • Guide: every rule that applies to you, based on the server settings.

Royal Lands

  • Only you (or you and your guild) can build in the ring around the castle.
  • Buildings keep the game's original durability.
  • When you lose the throne, everything built there is torn down.
  • Terrain changes, planting, wards and beds are blocked on the royal lands.

Perks

  • Majesty: a regeneration bonus while you reign (inactive during duels).
  • Throne Rest: sitting on the throne makes you Rested.
  • Title: other players see "King <name>" above your head and on the map.
  • Royal Aura: members of your guild near you receive a small bonus.

How to Lose the Throne

  • Staying offline for too long.
  • Losing a duel or failing to show up for it.
  • A revolt approved by the players.
  • Bankruptcy (if upkeep is enabled and the vault cannot pay).
  • Abdicating, being removed by an admin or, depending on the server, dying, leaving the area or reaching the maximum reign time.
  • Every fall is recorded in the Chronicle of Kings.

For Administrators

Installation

  • Install the mod on the server and on every client.
  • The castle is generated in new worlds. In existing worlds, use rokcastleplace.
  • Realm data is stored only on the server, in BepInEx/config/ReignOfKings_Data/.
  • Treasure prizes are configured in ReignOfKings_Data/TreasureHunt/prizes.yml and double drop items in ReignOfKings_Data/Decrees/doubledrop.yml. Both are created with examples on first run.
  • Items that cannot go through portals are never accepted as treasure prizes.

Admin Commands

Command Usage
rokcastleplace [force] [x z] places or replaces the castle
rokkingset <player> crowns an online player
rokkingremove removes the current king
rokrealmstatus shows the realm status
rokvaultedit [add/remove <item> <amount>] shows or edits the vault
rokeventcancel cancels the current claim, duel or revolt
rokcooldownsclear [player] clears cooldowns
rokroyalclear [confirm] removes the royal buildings around the castle
roktreasurestart [biome] [prize] starts a free treasure hunt
roktreasurecancel cancels the current treasure hunt
rokchronicleclear clears the Chronicle of Kings

Optional Integrations

Guilds

  • The king's guild is shown on the throne and in the windows.
  • Members pay a reduced tax and cannot challenge the king or vote in revolts.
  • Officers can deposit (and, if allowed, withdraw) from the Treasury.
  • The guild can build on the royal lands and receives the Royal Aura.
  • The server decides if guild members can claim the royal treasure.
  • Guild achievements tied to the reign.

BiomeLock

  • Ores from biomes that are not unlocked yet cannot be withdrawn from the Treasury.