DayZ
DayZOresAndGems
 This topic has been pinned, so it's probably important
fragility  [developer] Sep 22, 2020 @ 12:54pm
SETTINGS
1. Mining Rates

After the first server start with the mod installed, a json config file will be created in Serverprofilefolder\OrsandGems\Mining\. That config file is used to set the mining rates.

1.1 Description of settings

  • "actionText": "Mine for Sulfur" -> The tooltip which is appearing, when you aim at the ore vein with the right tool in your hand.
  • "max_mine": 1 -> How often you can mine the type of vein before it gets destroyed (-1 = unlimited) (this setting is currently not working correctly)
  • "enabledTypes": ["SulfurOre"] -> The type of ore vein the settings apply to. You can also specify multiple ore types here or just make a seperate rule for every ore type.
  • "itemsProbabilities" -> Mining rates settings: You can set a % drop chance for different items here. Look into Example for better understanding.

----

"minedItemsProbabilities" -> Sets the amount if items you get while mining the already existing stones on the map. In the example below its set to standard 100% stone rate and an additional 10% iron nugget chance.
(Keep in mind, that those vanilla stones can be mined indefinitely - in most situations its not recommended to add ore nuggets or gems there.



1.2 Example

Here is an example how the file can look and what you can do - the default config will look a bit different. You have to customize it, to make it unique to your server - this is not just a copy+paste action.

{ "OrsAndGems": [ { "actionText": "Mine", "max_mine": 1, "enabledTypes": [ "SulfurOre" ], "itemsProbabilities": [ { "item": "ItemSulfurNugget", "probability": 65 }, { "item": "ItemGoldNugget", "probability": 10 }, { "item": "ItemAquamarine", "probability": 7 }, { "item": "ItemEmerald", "probability": 2 }, { "item": "Stone", "probability": 16 } ] }, { "actionText": "Mine", "max_mine": 2, "enabledTypes": [ "CharCoalOre" ], "itemsProbabilities": [ { "item": "ItemCharCoalNugget", "probability": 61 }, { "item": "ItemSilverNugget", "probability": 10 }, { "item": "ItemYellowBeryl", "probability": 10 }, { "item": "ItemRuby", "probability": 2 }, { "item": "Stone", "probability": 17 } ] }, { "actionText": "Mine", "max_mine": 3, "enabledTypes": [ "IronOre" ], "itemsProbabilities": [ { "item": "ItemIronNugget", "probability": 60 }, { "item": "ItemCopperNugget", "probability": 30 }, { "item": "Stone", "probability": 10 } ] } ], "minedItemsProbabilities": { "Stone": 100, "ItemIronNugget": 10 } }

______________________________________________________


2. Event Spawn settings

Dont forget to adjust the numbers and ore types in "dayzoresandgems_events.xml" according to the number of spawn coords you have on your server.
Last edited by fragility; Dec 7, 2020 @ 2:35am
< >
Showing 1-8 of 8 comments
bedrocmobb Sep 24, 2020 @ 11:08am 
how do you make it so it the normal rocks
fragility  [developer] Sep 25, 2020 @ 3:23am 
@bedrocmobb: added that to the description.
KR0GH Sep 25, 2020 @ 11:32am 
So is the serverprofile folder supposed to be named "OresAndGems" or "OrsAndGems"?
fragility  [developer] Sep 25, 2020 @ 11:41am 
its created aautomatically. possible that its still "orsandgems" ;)
(but that doesnt really matter.. )
Last edited by fragility; Sep 25, 2020 @ 11:44am
KR0GH Sep 25, 2020 @ 10:46pm 
Ok thx. I can't seem to find any ores tho I followed the guide. Only stone ores on map.
KR0GH Sep 25, 2020 @ 11:08pm 
Can you please help

iKR0GH#0157
bedrocmobb Oct 4, 2020 @ 7:26am 
"OrsAndGems": [
{
"actionText": "Mine for Sulfur Ore",
"max_mine": -1,
"enabledTypes": [
"SulfurOre"
],
"itemsProbabilities": [
{
"item": "ItemSulfurNugget",
"probability": 70
},
{
"item": "Stones",
"probability": 30
}
]
}
],
"minedItemsProbabilities": {
"ItemCopperNugget": 65,
"ItemIronNugget": 75,
"ItemSulfurNugget":100,
"Stone":50,
"ItemTinNugget":85
}
} is this right cuz all i keep getting is stones 3 pickaxes and nothing can you plz help
Slut Enthusiast Oct 9, 2020 @ 3:38pm 


Originally posted by bedrocmobb:
"OrsAndGems": [
{
"actionText": "Mine for Sulfur Ore",
"max_mine": -1,
"enabledTypes": [
"SulfurOre"
],
"itemsProbabilities": [
{
"item": "ItemSulfurNugget",
"probability": 70
},
{
"item": "Stones",
"probability": 30
}
]
}
],
"minedItemsProbabilities": {
"ItemCopperNugget": 65,
"ItemIronNugget": 75,
"ItemSulfurNugget":100,
"Stone":50,
"ItemTinNugget":85
}
} is this right cuz all i keep getting is stones 3 pickaxes and nothing can you plz help


You have 4 starting brackets, and 5 ending brackets, so you need to delete the proper one. And this might be your issue.
Last edited by Slut Enthusiast; Oct 9, 2020 @ 3:38pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50