Plus200_Mining
О материале
«Plus200_Mining» — материал мастерской DayZ. Оружие, транспорт, территории и моды для серверов. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
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://steamcommunity.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:\Steam\steamapps\common\DayZServer!Workshop@Plus200_Mining;
Then:
- Run the server with the mod
- Go to "your_server_profile_directory\Plus200\Mining"
- 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]
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.