Server only mod for Auto Close Doors.
Copy & paste the AutoCloseDoors.dll
to \Server\BepInEx\plugins\
folder.
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.
- Uncomment
<!--<DefineConstants>WETSTONE</DefineConstants>-->
inAutoCloseDoors.csproj
- Rebuild the dll.
Config
Enable Auto Close Doors
[defaulttrue
]
Switch on/off auto close for doors.Auto Close Timer
[default2.0
]
How many second(s) to wait before door is automatically closed.Always Auto Close Doors
[defaultfalse
]
When this is set to false, doors will not automatically close if castle is decaying, under attack, or being sieged.Enable Uninstall
[defaultfalse
]
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).
autoclosedooruninstall
autoclosedooruninstall
Revert all doors in the game world to not close automatically.
Changelog
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