Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Mining Caves
Adds three new caves to the world containing ore for mining. Adds the ability to disable terrain changes caused by tools.
| Last updated | 5 days ago |
| Total downloads | 58382 |
| Total rating | 13 |
| Categories | Mods Server-side Client-side Hildir's Request Update World Generation Ashlands Update Bog Witch Update |
| Dependency string | VentureValheim-Mining_Caves-0.3.0 |
| Dependants | 224 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333ValheimModding-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.29.0README
Mining Caves
Created by [email protected].
Introduction
Adds three new caves to the world containing ore for mining. Adds the ability to disable terrain changes caused by tools.
Features
-
Adds a cave for mining Copper and Tin in the Black Forest (prefab name VV_CopperTinCave)

-
Adds a cave for mining Silver in the Mountains (prefab name VV_SilverCave)

-
Adds a cave for mining Copper and Iron in the Plains (prefab name VV_TarCave)

-
Adds the ability to prevent player terrain changes from tools
Adding Caves
- If creating a new world with this mod installed the caves will be added automatically on world generation.
- If you are adding this to an existing world you can run the vanilla "genloc" command to add caves to unexplored areas of the map. Be aware this can change the positions of unexplored boss locations and can make your map pins inaccurate.
- If your map is heavily explored you will need to use another mod to automatically add the locations to explored areas.
Use the find command such as "find VV_SilverCave 50" in game after creating a world to have all these locations added to your map as pins. This will help you ensure the world had a good spawn. Example of the warning message displayed in your log file on a bad spawn after initial world generation:
Failed to place all VV_SilverCave, placed 5 out of 50
Don't know how to use commands? Dedicated servers do not allow for use of commands, but there are mods that can enable them (like Server devcommands by JereKuusela). The commands mentioned above are considered a "cheat". To use cheats you must enable them with the "devcommands" command, you may have to be an admin for them to work depending on what mod you use to access commands.
Locking Terrain Changes
I think terrain changes in general look ugly. This was the main idea that inspired the whole mod. To prevent players from being able to modify the terrain set the LockTerrain configuration to True. The AdminBypass configuration will allow all admins to still perform terrain changes when turned on. If there are items you would like the mod to ignore add the prefab names to the LockTerrainIgnoreItems configuration as a comma-separated string (for example: Cultivator, Hoe, PickaxeAntler). This should work with custom items added by other mods. All original piece table entries on tools (like the Hoe) that have a "raise" component are removed with this feature to prevent players from spending resources accidentally.
This feature can potentially prevent players from mining the default silver nodes in the mountains. Ensure enough silver caves are generated by checking your log file on first world generation.
Wishbone Ping (Beacon)
In vanilla you find silver veins from equipping the wishbone. You can find Silver Caves in this same manner. When terrain locking is enabled in this mod and the LockTerrainIgnoreItems config is empty, silver vein wishbone beacons will be removed for you automatically. To always remove the wishbone beacon from silver veins set the RemoveSilverWishbonePing config to true.
Location Reset
This mod can be very useful on large servers where surface ores are quickly exhausted. Use my other mod Location Reset with this mod to regenerate caves and refresh the ore supply. There are custom configurations to change each cave's reset rate in the Location Reset configuration file.
Pathside Assistance
If you do not wish to disable terrain changes entirely but want the option to create nice paths without altering the terrain check out the Pathside Assistance mod.
Possible Future Improvements
- World generation option to not place silver nodes.
Note On Mod Compatibility
This mod changes the WaterVolume script to use the GetLiquidType method rather than a hard coded value. This was necessary to reuse the script with other LiquidType (Tar). This should not affect other mods unless they contain conflicting transpilers.
This mod also adds a new component VV_VariableLiquidVolume to perform additional effects on custom WaterVolume game objects.
If there are compatibility issues, or if you are interesting in replicating the effect for your mod, please reach out and we can discuss how to create a library feature for all mods to reuse.
Installation
This mod needs to be on both the client and server; the mod will enforce installation. Players without the mod will NOT be able to connect to the server. Config Syncing is included with Jotunn. The server with enforce the same mod configuration for all players. Live changes to the configurations will not always take effect until the player relogs into the world/server.
If the mod is removed from the server after locations have been generated the caves will not reappear, but some things will remain in the world. Adding the mod back after removing it will restore all caves previously generated in the same place.
Changelog
Moved to new file, it will appear as a new tab on the thunderstore page.
Contributing
All issues can be reported on the project Github. To report issues please be as specific as possible and provide the following:
- Version of this mod you are using.
- List of the other mods being used.
All feedback, ideas, and requests are welcome! You can message me at my discord Venture Gaming.