Kaltharos-AutoCloseDoors icon

AutoCloseDoors

Automatically close opened doors.

Last updated 2 years ago
Total downloads 6933
Total rating 2 
Categories Server Mods
Dependency string Kaltharos-AutoCloseDoors-1.0.4
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_V_Rising-1.0.0 icon
BepInEx-BepInExPack_V_Rising

BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.

Preferred version: 1.0.0

README

AutoCloseDoors

Server Only Mod

Server only mod for Auto Close Doors.

Installation

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

Removal

If your server is on windows, or can be shutdown properly.
All you need to do to remove the mod is shutdown your server and delete the dll.

If your server is on linux, or can't be shutdown properly
Make sure to change the config of Enable Uninstall to true,
Restart your server, and then execute the uninstallation command [default ~autoclosedooruninstall].
After the uninstallation is complete, shutdown your server and remove the dll.

Wetstone Version

  1. Uncomment <!--<DefineConstants>WETSTONE</DefineConstants>--> in AutoCloseDoors.csproj
  2. Rebuild the dll.

Config

Config
  • Enable Auto Close Doors [default true]
    Switch on/off auto close for doors.
  • Auto Close Timer [default 2.0]
    How many second(s) to wait before door is automatically closed.
  • Always Auto Close Doors [default false]
    When this is set to false, doors will not automatically close if castle is decaying, under attack, or being sieged.
  • Enable Uninstall [default false]
    Do not enable for better performance on server.
    This uninstallation method is only required on servers that can't shutdown properly, like VRising on Linux Wine.
    On Windows, servers can be shutdown properly, and all doors is by default reverted back to normal on server shutdown.
  • Uninstall Command [default ~autoclosedooruninstall]
    Chat command to uninstall mod. Only work if "Enable Uninstall" is set to true & the user is an Admin (adminauth).

Commands

autoclosedooruninstall

autoclosedooruninstall
Revert all doors in the game world to not close automatically.

More Information

Changelog

1.0.4

  • Forgot to remove some debugging code, sorry...

1.0.3

  • Added config to prevent door auto closing if castle is decaying or under attack/siege.

1.0.2

  • Fixed issue with servants causing door to be stuck.

1.0.1

  • Now properly initialize config when reloaded with wetstone.

1.0.0

  • Initial Release
Known Issues

General

  • When doors are built for the first time, the user will need to open the door twice for the door to open.