Searica-ToolTweaks icon

ToolTweaks

Simple mod that lets you customize stamina cost, durability drain, and usage delay for tools. Can sync configuration settings to client if installed on server.

Last updated 6 months ago
Total downloads 2126
Total rating 2 
Categories Mods Tweaks Server-side Client-side Building Hildir's Request Update
Dependency string Searica-ToolTweaks-1.0.0
Dependants 12 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.15.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.15.0

README

ToolTweaks

Simple mod that lets you customize stamina cost, durability drain, and usage delay for tools. Will work with tools added by other mods (so long as other mod authors set the item type to Tool). This mod is very similar to existing mods like FastTools but instead of using Transpiler patches it relies on Prefix/Postfix patches to avoid causing visual bugs when using tools like the Hoe. If installed on a server then the mod will use Jotunn to sync configuration settings to all clients.

Server-Side Info: This mod does work as a client-side only mod and only needs to be installed on the server if you wish to enforce configuration settings.

Instructions

If you are using a mod manager for Thunderstore simply install the mod from there. If you are not using a mod manager then, you need a modded instance of Valheim (BepInEx) and the Jotunn plugin installed.

Configuration

Changes made to the configuration settings will be reflected in-game immediately (no restart required) and they will also sync to clients if the mod is on the server. The mod also has a built in file watcher so you can edit settings via an in-game configuration manager (changes applied upon closing the in-game configuration manager) or by changing values in the file via a text editor or mod manager.

Global Section:

Global Section

These settings control the main features of the mod and how verbose it's output to the log is.
Setting Server Sync Description
Verbosity No Low will log basic information about the mod. Medium will log information that is useful for troubleshooting. High will log a lot of information, do not set it to this without good reason as it will slow down your game.
  • Acceptable values: Low, Medium, High
  • Default value: Low
Usage Delay Yes Set the time delay between tool uses for both placement and removal. Vanilla default is 0.4s for placement and 0.25s for removal.
  • Acceptable values: (0.05, 2)
  • Default value: 0.25
Stamina Cost Multiplier Yes Change the stamina cost for using tools. Setting to 0.5 means stamina costs are reduced to 50%. Setting to 2 means stamina costs are increased to 200%.
  • Acceptable values: (0.0, 2)
  • Default value: 0.5
Durability Drain Multiplier Yes Change the amount of durability drained each time a tool is used. Setting to 0.5 means durability is drained 50% as much. Setting to 2 means durability drain is increased to 200%.
  • Acceptable values: (0.0, 2)
  • Default value: 0.5

Known Issues

None so far, tell me if you find any.

Compatibility

Should be compatible with most mods and is fully compatible with AdvancedTerrainModifiers.

Donations/Tips

My mods will always be free to use but if you feel like saying thanks you can tip/donate.

My Ko-fi: ko-fi

Source Code

Source code is available on Github.

Github Repository: <button style="font-size:20px"> ToolTweaks</button>

Contributions

If you would like to provide suggestions, make feature requests, or reports bugs and compatibility issues you can either open an issue on the Github repository or tag me (@searica) with a message on my discord Searica's Mods.

I'm a grad student and have a lot of personal responsibilities on top of that so I can't promise I will respond quickly, but I do intend to maintain and improve the mod in my free time.

Credits

This mod was inspired by FastTools by CrystalFerrai.

Shameless Self Plug (Other Mods By Me)

If you like this mod you might like some of my other ones.

Building Mods

Gameplay Mods