DayZ
DayZOresAndGems
 此主题已被置顶,因此可能具有重要性
fragility  [开发者] 2020 年 9 月 22 日 下午 12:54
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.
最后由 fragility 编辑于; 2020 年 12 月 7 日 上午 2:35
< >
正在显示第 1 - 8 条,共 8 条留言
bedrocmobb 2020 年 9 月 24 日 上午 11:08 
how do you make it so it the normal rocks
fragility  [开发者] 2020 年 9 月 25 日 上午 3:23 
@bedrocmobb: added that to the description.
KR0GH 2020 年 9 月 25 日 上午 11:32 
So is the serverprofile folder supposed to be named "OresAndGems" or "OrsAndGems"?
fragility  [开发者] 2020 年 9 月 25 日 上午 11:41 
its created aautomatically. possible that its still "orsandgems" ;)
(but that doesnt really matter.. )
最后由 fragility 编辑于; 2020 年 9 月 25 日 上午 11:44
KR0GH 2020 年 9 月 25 日 下午 10:46 
Ok thx. I can't seem to find any ores tho I followed the guide. Only stone ores on map.
KR0GH 2020 年 9 月 25 日 下午 11:08 
Can you please help

iKR0GH#0157
bedrocmobb 2020 年 10 月 4 日 上午 7:26 
"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 2020 年 10 月 9 日 下午 3:38 


引用自 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.
最后由 Slut Enthusiast 编辑于; 2020 年 10 月 9 日 下午 3:38
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50