Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are not allowed to modify my files, including creating bug fixes or improving on features under any circumstances
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
People who wish to use my work must contact me first.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
If you have configuration manager and are an admin on a dedicated server, you can now change the options from within the game.
Config options now say in their descriptions if they sync with the server or not. Just to add additional help if you're confused.
Please note: This is probably the last update I am going to make to this version of code. There will be a new mod released by me that has a new name, but all (and more) of the same features. Some that you have wanted for ages. See you on the other side.
I will now only be uploading my mods to Thunderstore. Please find them there, and download from there. https://valheim.thunderstore.io/package/Azumatt/BetterWards/
Version 1.6.4
Added Oven & HotTub unlimited fuel options
Added Crafting Station & Smelter interaction options (denied by default if not permitted)
Continuous Interaction fix with hearths, smelters, etc.
Additonal overlap checking to fix "clipping" a ward into something to still allow placement when not permitted
Version 1.6.3
Fix issue with structural integrity found on some servers.
Attempt to fix previous ability to overlap a ward you aren't permitted on.
Attempt to fix issues with ServerSide Simulations compatibility.
Pull code from my test environment to fix other issues, commands being the top one.
Will look into the interaction issue with SeedTotem for the next update.
Version 1.6.2
No food drain fix after Hearth & Home
Commented out Changelog patch, might make my own for updates.
Version 1.6.1
BepInEx update
Compatibility with Hearth & Home
Auto close door time control
Show Flash config option added
Fireplace Buff Bug fixed
Nerf Ward damage a bit.
BIG UPDATE coming soon!!!
Version 1.6.0
BepInEx update
Compatibility with Project Auga
Autorepair tick time control
Call to Arms update to allow toggle of PvP for permitted players
Better Wards now have NoMonsterAreas, tames are unaffected
Permanent fix to localization
PlanBuild Compatibility fix
Version 1.5.4
Remove developmental assets. I made an oopsie
Version 1.5.3
Structure damage fix
Haldor Trader Bubble fix, should now work like it used to (Shop in peace!)
Dirty, temporary localization fix. I'll have more time to look at a permanent solution soon
NOTE: If you have photos or videos you'd like to upload to the nexus page for this mod, feel free!
Config: Default ward description update...I really have to quit copying/pasting my code for these lol
Version 1.5.1
In game changelog can now be disabled
Call to Arms BETA, couldn't test this one alone. Found in PvP section of configs
Admin Permission Sync is less spammy.
Ward recipe fixes & added default ward to configurable recipes
Ward entry message now configurable (applies to all wards, server enforced)
No food drain option added
Config file comments cleaned (oops)
Offline raiding compatibility fix & improvements
Code optimizations
Logs for versioning updated, less confusion server side
BepInEx updated to latest version (again lol)
Version 1.5.0
NOTE: Folder structure and default config file now provided in download from here on. If you have the DLL outside of a folder currently, you will need to remove that to avoid duplicate installs
NOTE: BepInEx version this mod targets is now 5.4.1001 to prevent the warning most of you are getting.
MCE DEPENDENCY DROPPED, config settings now syncs to self
Auto repair for structures inside ward (configurable)
Spawn area Boss Stone interaction fix
Raid Notifications moved to chat window, display once.
Ships can no longer be stolen inside a warded area.
New Better Ward benefits (Configurable passive damage to creatures inside warded area)
Better Ward descriptions updated
General refactoring & Optimizations
"Pushout" feature now limited to Better Wards
Version 1.4.3
RPC damage fix if you're a new player in a new world
New Versioning checks (people already trying to bypass the Offline Raiding Prevention)
Version 1.4.2
Update to latest BepInEx version
Version 1.4.1
Compatibility update (To further update everyone. PlantEverything pushed out an update to fix some issues with Jotunn installed. Jotunn has changed some things that were causing issues in our mods. If you are using it, please update to the latest version)
Version 1.4.0
* Localization
* Offline raiding prevention BETA phase
* New ward cosmetics
Version 1.3.4
Hotfix - Increase ward cost wasn't working correctly, config option should now take effect.
Version 1.3.3
Bug fixes on interaction for non-permittees
Unlimited fire is now configurable
Increased ward cost now toggleable (30 Surtling Cores, 25 Silver, 2 Dragon Eggs) geared towards late game
Admin command changes / now required, commands shortened
Ward visual bubble toggle
Version 1.3.2
No Death Penalty (skill loss) when permitted users die inside wards (configurable)
No weather damage inside a warded area (configurable)
Pickaxe disabled for non-permitted players (configurable)
Admins can now REMOVE themselves as permitted players on a ward
Version 1.3.1
Hotfix - It appears the permitted toggle was being patched in incorrectly. This has been fixed, wards are now toggleable by permittees once more
Version 1.3.0
Server version checking, must have mod & must be same version as server
Admin only commands can now be used in chat window
Admin auto permit now toggleable client side
Warded portal interact/teleport configurable
Ward pushout
Nexus Update Check compatibility
Unlimited fireplace fuel
MCE 2.0.2 & BepInEx 5.4.10 compatibility
Configurable interaction in warded area
Version 1.2.1.0
Config file is now named azumatt.BetterWards.cfg! (Requested for easier finding of the file)
Admin only commands (permitwards, enablewards, disablewards, destroywards)
Admins auto permit on enabled wards nearby!
Damage Increase to NPCs inside ward
Ward radius/edge has returned and is now configurable!
Indestructible structures can be defined for further custom config
Version 1.2.0.0
Auto Close Doors inside ward, now configurable
Notification of being inside a ward and who the owner is (configurable)
Ward radius/edge temporarily removed until workaround is found. The required change for FPS increase broke this. An urgent request to remove this option resulted in early upload.
Indestructible structures can be defined for further custom config. Default values are recommendations on what should be indestructible on most PvP servers.
Version 1.1.2.0
Enforce server config sync with MCE (optional)
Placement mode: log spam fix
Damage reduction to structures inside a ward (applies to everything)
Auto close doors that have been opened inside a ward
Indestructible structures inside a ward except doors, chests, beds and items.
Health/Stamina can now be increased when inside a ward, value is configurable
Version 1.1.0.0
Dependencies on INIFileParser have been removed. Config file format changed
INIFileParser's removal allows for Vortex download
Better Wards version notifications are now in the Chat box.
Your chosen HotKey is now shown on hover when permitted and not the owner of a ward.
Area Marker is now shown to the ward's allowed users. Showing the border of your ward
PvP can now be forced on. If PvE is enabled inside a ward, PvP will only be on outside a ward or for players not permitted to use the ward.
Version 1.0.0.3
Fix issue of not being able to change hotkey via config Config file was misconfigured. This update allows you to change the hotkey for toggling wards to one of your choosing as originally intended.
Version 1.0.0.2
White Box fix for those without Valheim+
Version 1.0.0.1
Update to Hugin's dialog on player spawn.
Minor updates to dependencies
Version 1.0.0.0
Initial Release
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) (FULL LIST) * Auto Close Doors inside ward (configurable) * Enforced Config with server (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, permit/unpermit/enable/disable/destroy/flash 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 * Configurable interaction in warded area * No Weather Damage * Visual Bubble * Offline Raid protection * Configurable ward recipe for Better Wards * Auto repair structures inside ward * No food drain inside ward * Call to Arms PvP (BETA Phase!)
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 (/permit, /unpermit, /enable, /flash, /disable)
DEMONSTRATION/EXPLANATION VIDEO
Installation Instructions
NOTE: The archive comes with the default config file and DLL inside the correct folder structure.
Windows (Steam) 1. 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 2. Extract the contents of the archive into the game folder. 3. Locate azumatt.BetterWards.cfg under BepInEx\config and configure the mod to your needs
Server Must be installed on both the client and the server for syncing to work properly. 1. Locate your main folder manually and : a. Extract the contents of the archive into the main folder that contains BepInEx 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 2. Reboot your server. All clients will now sync to the server's config file even if theirs differs. Config Manager mod changes will only change the client config, not what the server is enforcing.
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 are the configuration files?
The Config file's name is "azumatt.BetterWards.cfg" it needs to be placed in "BepInEx\config" The Localization config file is "azumatt.BetterWards.Localization.cfg" and is located in "BepInEx\config"
Open to suggestions (drop them in the suggestion box)!
Special thanks to Pfhoenix0 for his MCE mod for config syncing in early stages of the mod! Made syncing very easy! Special thanks to Sarcenzzz for his help with the visual bubble and general advice! Special thanks to Zarboz for his help in creating the new ward look!