DLL name has changed. Please delete "BWards.dll" when upgrading to the latest version 1.3.2. It's now called "BetterWards.dll" for easier identification.
Purpose
A dedicated ward mod aimed at improving the way wards work in Valheim.
Known Mod Conflicts
- Anything that toggles PvE/PvP and forces the value will conflict if you have this mod toggle the values. Current known mods that do this are:
World of Valheim - Zones
PvP-Always-On
Features
- The hotkey can be adjusted by the configuration file.
- Changelog on main menu shows updates for your version
- Allow permitted users on the ward to toggle the ward on and off
- PvP/PvE forced configurations
- Ward Range configuration (Enemy spawns will query the range to prevent spawning inside base)
- Health/Stamina Boosts for all players inside ward
- Show area marker for the ward (configurable)
- Indestructible structures can be defined for further custom config (inside ward)
- Auto Close Doors inside ward (configurable)
- Enforced Config with server using MCE (besides client custom configs)
- Reduce damage to player structures inside ward from other players, or increase default health of structure (applies to all inside ward)
- Notification of being inside a ward and who the owner is (configurable)
- Sync Admin list from server for additional configurations (auto permit on nearby wards, enable/disable/destroy with command)
- Damage boosts to Players against NPCs while inside ward (configurable)
- Server version checking, must have mod & must be same version as server
- Warded portal interact/teleport configurable
- Ward pushout
- Unlimited fireplace fuel in warded area
- Configurable interaction in warded area
- Stop pickaxe from being used
- No Weather Damage
Client Custom Config Options
- Hotkey option for ward toggle (Default is "G").
- Auto Close Doors (enable/disable)
- Notification of being inside a ward and who the owner is (enable/disable)
- Show area marker for the ward (enable/disable)
Admin Only
- Hotkeys are UpArrow for enabling a ward, DownArrow for disabling a ward (must be looking at it)
- Auto permit on enabled wards nearby (client configurable)
- Admin only chat/console(F5) commands (permitwards, unpermitwards, enablewards, disablewards, destroywards)
DEMONSTRATION/EXPLANATION VIDEO
Installation Instructions
Windows (Steam)
- Locate your game folder manually or start Steam client and :
a. Right click the Valheim game in your steam library
b. "Go to Manage" -> "Browse local files"
c. Steam should open your game folder
- Extract the contents of the archive into the game folder's BepInEx\plugins folder. You need to have ModConfigEnforcer.dll or the mod will not load!
- Locate azumatt.BetterWards.cfg under BepInEx\config and configure the mod to your needs
Server (Enforcing config with MCE)
MCE must be installed on both the client and the server for syncing to work properly.
- Locate your BepInEx folder manually and :
a. Drop BWards.dll & ModConfigEnforcer.dll into BepInEx\plugins
b. Launch your game at least once to generate the config file needed if you haven't already done so.
c. Locate azumatt.BetterWards.cfg under BepInEx\config on your machine and configure the mod to your needs
d. Once that is done, place it on your server in BepInEx\config
- Reboot your server. All clients will now sync to the server's config file even if theirs differs.
Feel free to reach out to me on discord if you need manual download assistance.
What if the game updates?
Game updates are unlikely to do more than partially break Better Wards at worst. In case you encounter any issues, please reach out to the me.
Where is the configuration file?
The Config file's name is "azumatt.BetterWards.cfg" it needs to be placed in "BepInEx\config"
TO-DOs
- [X] Disable interaction of items that aren't doors and chests inside the ward from unpermitted users.
- [X] Version enforcement. Disconnect from server if version is different.
- [X] Admins bypass indestructible items
- [X] Terrain checks similar to WoV - Zones
- [ ] Passive heal & damage in warded area
- [ ] Price increase of ward (configured)
- [ ] Ward creation limit (no guarantees on this one...)
- [ ] Make admin chat commands not visible as an overhead chat
- [ ] Tribe/Clan system using wards
- [ ] Check if more than 2 people permitted/owner on ward are online, if not, everything inside that ward is indestructible for the grief fight
Open to suggestions!
Author Information
Azumatt
DISCORD: Azumatt#2625
STEAM: https://steamcommunity.com/id/azumatt/
Special thanks
Special thanks to Pfhoenix0 for his MCE mod! Makes syncing very easy!