AutoCloseDoors
Automatically close opened doors. Server only mod.
模組介紹 作者原文
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.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: