DayZ
69 ratings
Plus200_Mining
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
16.081 KB
18 Dec, 2019 @ 2:14am
23 Mar, 2020 @ 2:30pm
5 Change Notes ( view )

Subscribe to download
Plus200_Mining

Description
This mod allows server admin to configure the items that appear when mining rocks or interact with building with a tool (Pickaxe or Sledgehammer, can be extended)
This mod is compatible with any item added by any other mods. It may not be compatible with mods modifying mining. Please tell me if you find mod incompatibilities

Useful mod to use with (Veins and ore models) : https://steamproxy.com/sharedfiles/filedetails/?id=2023281114

[ SERVER INSTALLATION ]

This mod is required both client & server side.

Drag the @Plus200_Mining folder into your servers directory where all your other mods are located.
Open the @Plus200_Mining folder and locate the keys folder open that folder and copy the key inside of it into your servers key folder.
Add @Plus200_Mining to your servers launch line :
> "DayZServer_x64.exe" -mod=F:SteamsteamappscommonDayZServer!Workshop@Plus200_Mining;

Then:
- Run the server with the mod
- Go to "your_server_profile_directoryPlus200Mining"
- Open file config.json
- Modify the config file as you want
- restart server

[CONFIGURATION]

{ "buildings": [ { "actionText": "Configurable Action Text", "enabledTypes": [ "Land_Train_Wagon_Box", "Land_Boat_Small3", ], "itemsProbabilities": [ { "item": "Pipe", "probability": 50 }, { "item": "Stone", "probability": 50 } ], "max_mine": -1 }, { "actionText": "#cut", "enabledTypes": [ ... ], "itemsProbabilities": [ .... ], "max_mine": 10 } ], "minedItemsProbabilities": { "Stone": 200, "SomeOre": 50, "SomeOtherOre": 150 } }

RockBase part (minedItemsProbabilities) :
In this example, you will get 2 stone each time you mine. "Some Ore x1" 1/2 time and at least 1 "Some Other Ore".
"SomeOre" and "SomeOtherOre" doesn't exists in this mod, it could be items added by another mod.
Keep this part at the end of the config file or the mod will not work.

Building part (buildings):
You can add actions on Building. The action label is on "actionText", you can use existing translated sentence (start with #) or a custom text.
"itemsProbabilities" is different than Rockbase part. For compatibilité reason I will not change this. The principle still the same. Its just a list of Tuple instead of a map<>
"enabledTypes" is a list of building types your action will interact with.
"max_mine": the object can be mine x times. After that, nothing will drop. The object may disapear

If you want to add tool to interact with building you can create a modded class :
modded class Pipe { override void SetActions() { super.SetActions(); AddAction(ActionMineBuilding); } }

[SUPPORT]

Support me : https://fr.tipeee.com/plus200
Even a small amount can encourage me to continue :) Thanks!

[LICENSE]

http://www.wtfpl.net/txt/copying/
Popular Discussions View All (2)
2
21 Nov, 2021 @ 3:28pm
Servers running this amazing mod!
BeeDub
0
21 Jan, 2020 @ 1:20pm
requires RPCFramework (((CF))) to run
Dave
78 Comments
morph (TIGRAN) 22 Apr @ 1:38pm 
buildings mine is broken, animation stop after start mining...
BigWhiteGiant 27 Oct, 2024 @ 10:59pm 
Is this mod still working or is it broken? it briefly worked, but now I cannot complete a mining action.
husekpetr111 28 Nov, 2022 @ 3:46am 
Hi :-) This mod is awesome :-) thank you... any advise, how to add another tool please?
Dr. Green 27 Apr, 2022 @ 10:23pm 
Would anyone have a expansion market file for this mod?
Crv 16 Apr, 2022 @ 6:10pm 
Hey Bleme!

I am using this mod throught DayzOreandGemz but the config part to set probability of vanilla stone mining is not working propely, can you help us please?
Rick 3 Mar, 2022 @ 8:28am 
why does the object from which we extract disappear?
PAHAN 17 Feb, 2022 @ 6:41am 
{
"buildings": [
{
"actionText": "Configurable Action Text",
"max_mine": 100,
"enabledTypes": [
"bldr_misc_gcontainer_big",
"vbldr_train_wagon_flat",
],
"itemsProbabilities": [
{
"item": "Nugget_Small",
"probability": 30
},
{
"item": "Nugget_Middle",
"probability": 15
},
{
"item": "Nugget_Big",
"probability": 7
}
]
}
],
"minedItemsProbabilities": {
"Stone": 200
}
}

Wagon is ok, container isnt working.
PAHAN 17 Feb, 2022 @ 6:33am 
Hello, i have a problem. I add new building and its dont work. I can mine onle when spawn this objects by admin panel.
LimpnAintEzy 31 Dec, 2021 @ 6:32pm 
{
"buildings": [
{
"actionText": "Mine Gold",
"max_mine": 2,
"enabledTypes": [
"FKN_Gold_Boulder1"
],
"itemsProbabilities": [
{
"item": "Goldnugget",
"probability": 40
},
{
"item": "Stone",
"probability": 60
}
]
}
],
"minedItemsProbabilities": {
"Stone": 200
}
}
LimpnAintEzy 31 Dec, 2021 @ 6:01pm 
Has any got the "max_mine" to work correctly?