CasualSiege

v0.0.3·Updated 2022-08-26

Offline siege protection for casual servers.

About this mod Author’s original text

CasualSiege

Server Only Mod

Protect offline players from being sieged.\

When any of the castle owner allies is online, the siege can progress as usual,\

Siege will also progress as usual if the castle is already being sieged/attacked when all the castle owner & allies goes offline.

Best not be used together with RPGMods Honor System.

Installation

Copy & paste the CasualSiege.dll to \Server\BepInEx\plugins\ folder.

Removal

Delete the CasualSiege.dll from your plugins folder.

Wetstone Version

  • Uncomment WETSTONE--> in CasualSiege.csproj
  • Rebuild the dll.

Config

Config

  • Enable Mod [default true]\

Enable/disable the mod.

  • Factor in Ally Status [default true]\

Include the player allies online status before blocking siege.

  • Max Ally Cache Age [default 300]\

Max age of the player allies cache in seconds.\

If the cache age is older than specified, the cache will be renewed.\

Don't set this too short as allies gathering process can slightly impact your server performance.\

This cache is only for allies gathering, their online/offline status is updated instantly.

More Information

Changelog

0.0.3

  • Fixed issue with mod only protecting the castle on first hit...:|

0.0.2

  • Typo fix in readme & configs

0.0.1

  • Initial Release

Known Issues

General

  • No known issue.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_V_Rising

File & checksum

Filename
CasualSiege-0.0.3.zip
File size
95.8 KiB