AutoShield
Automatically equips the best shield from your inventory when you equip a one-handed sword.
模組介紹 作者原文
Auto Shield
Auto Shield is a lightweight client-side Valheim mod that automatically equips the best shield from your inventory whenever you equip a one-handed sword.
Features
- Automatically equips a shield when a one-handed sword is equipped.
- Selects the available shield with the highest base block power.
- Does nothing if a shield is already equipped.
- Works with hotbar keys and normal inventory equipment.
- Does not affect two-handed swords, bows, axes, spears, maces, or other weapons.
- No commands or configuration required.
- Client-side only — the server and other players do not need the mod.
Installation
Install AutoShield through Mod Manager and launch Valheim using Start modded.
The required BepInEx dependency is installed automatically by the mod manager.
How to use
- Put a one-handed sword and at least one shield in your inventory.
- Equip the sword from your hotbar or inventory.
- The strongest available shield will automatically be equipped in your other hand.
If a shield is already equipped, Auto Shield will leave it unchanged.
Multiplayer
Auto Shield only changes equipment for the local player who installed the mod. It does not modify the server or other players.
You can use it on a multiplayer server even when the host does not have the mod installed.
Notes
- The mod activates only when equipping a one-handed sword.
- The shield is not automatically removed when switching to another weapon.
- Shield selection is based on base block power.
- If no shield is available in the inventory, nothing happens.
Troubleshooting
If the shield is not equipped automatically:
- Make sure the game was launched with Start modded.
- Make sure AutoShield and BepInExPack_Valheim are enabled.
- Check that the weapon is a one-handed sword.
- Check that a shield is present in the character inventory.
- Check BepInEx/LogOutput.log for the message Auto Shield 1.0.0 loaded.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: