AutoCloseDoors
Automatically close opened doors. Server only mod.
About this mod Author’s original text
Auto Close Doors (Server-Only)
Original mod by Kaltharos. Ported to Gloomrot by p1xel8ted.
Feature
- Auto-close doors after a certain amount of time.
Installation
- Install BepInExPack V Rising
- Install Bloodstone API
- Install VampireCommandFramework
- Place the AutoCloseDoors.dll, Bloodstone.dll & VampireCommandFramework.dll files into your (VRising server folder)/BepInEx/plugins folder.
- Done!
Removal
If your server is on Windows or can be shut down properly, all you need to do to remove the mod is shut down your server and delete the DLL.
If your server is on Linux, or can't be shut down properly:
- Make sure to change the config of Enable Uninstall to true.
- Restart your server, and then execute the uninstallation command ~autoclosedooruninstall.
- After the uninstallation is complete, shut down your server and remove the DLL.
Config
- Enable Auto Close Doors [default true]\
Switch on/off auto close for doors.
- Auto Close Timer [default 2.0]\
How many seconds (s) to wait before the door is automatically closed.
- Always Auto Close Doors [default false]\
When this is set to false, doors will not automatically close if the castle is decaying, under attack, or being sieged.
- Enable Uninstall [default false]\
Do not enable for better performance on the server.\
This uninstallation method is only required on servers that can't shut down properly, like VRising on Linux Wine.\
On Windows, servers can be shut down properly, and all doors are by default reverted back to normal on server shutdown.
- Uninstall Command (~autoclosedooruninstall)\
Chat command to uninstall the mod. Only work if "Enable Uninstall" is set to true & the user is an Admin (adminauth).
Commands
autoclosedooruninstall\
Revert all doors in the game world to not close automatically.
Known Issues
- When doors are built for the first time, the user will need to open the door twice for the door to open.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: