We recommend using the Thunderstore Mod Manager or an alternative for installing mods
Simple mod to configure simple values of Plants, like grow time and grow radius.
|Last updated||a week ago|
|Categories||Mistlands Update Utility Mods Libraries Tools Server-side Client-side|
|Dependants||2 other mods depend on this mod|
This mod requires the following mods to function
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.11.7
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.Preferred version: 5.4.2105
Ever wanted to change the most simple values on plants in Valheim? This is the mod you can easily use!
This mod does not use any .cfg file to configure it. Instead it does provide configuration via YAML files:
- Ability to simply write out the currently in-game loaded configuration of all Plants (following the
- Ability to read 1 or many files that contain configuration values in the same model that can be written, it will then change the in-game values of the plants while loading into the world.
YAML file contents are
Supported config values for plants
The implementation currently provides config changes for these values:
|name||the in-game name, usually using localization tokens||string||
|growTime||values of seconds this plants need for growing||float||3000|
|growRadius||meters of space a plants requires around it to be able to grow||float||2|
|minScale||minimum scale for grown plant||float||1.5|
|maxScale||maximum scale for grown plant||float||2.5|
|needCultivatedGround||plant can only grow be planted on previously cultivated ground||bool||false|
|destroyIfCantGrow||plant will be destroyed if any condition not met during growing||bool||true|
Writing plant config defaults
To write the defaults from how they were loaded into the game you can use the console command:
The file containing all the defaults is then written to a simple YAML file inside your BepInEx config folder:
Example file contents
This is a shorted example for what you get from vanilla Valheim:
PineTree_Sapling: name: $prop_pine_sapling growTime: 3000 growRadius: 2 minScale: 1.5 maxScale: 2.5 needCultivatedGround: false destroyIfCantGrow: true FirTree_Sapling: name: $prop_fir_sapling growTime: 3000 growRadius: 2 minScale: 1 maxScale: 2.5 needCultivatedGround: false destroyIfCantGrow: true sapling_onion: name: $piece_sapling_onion growTime: 4000 growRadius: 0.5 minScale: 0.9 maxScale: 1.1 needCultivatedGround: true destroyIfCantGrow: true
You can use the written data to simply create a custom config file by copying and changing file name accordingly.
How to use Valheim console
On how to use the Valheim console, there are many articles that help you enabling the console in details.
See for example the Valheim wiki.
To make it short: add the parameter
-console to calling your
valheim.exe file ->
valheim.exe -console (this can be
done in Steam, too)
Reading your custom config
The mod can read any YAML file that follows this naming pattern:
The schema of the file needs to follow the schema of the output, see above.
- Discord: Flux#0062 (you can find me around some of the Valheim modding discords, too)
- 1.1.0 -> added ServerSync for YAML config files
- 1.0.0 -> initial release
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.
|Upload date||Version number||Downloads||Download link|