What Is This?
This mod increases the complexity of survival by adding broken water pumps to the game that require repair before you can use them. You can make all pumps broken by default, or specify only certain pumps that require repair.
When you install the mod and run it for the first time, a JSON config file will be generated in your server profile folder (server_root/profiles/Zenarchist/ZenRepairWells.json)
Here you can specify the message that gets sent to the player when they try to use a broken well, as well as the message that gets sent when they try to repair a well that is already repaired.
You can also turn on/off wells being broken by default. If you set "DisableWellsByDefault": 1 then all the wells on the map will be broken, and in order to use them, players must find either a small wrench or a pipe wrench and repair the well. Set this to 0 if you want to decide which wells are broken.
Once the well is repaired, it will stay functional for as long as you specify in the JSON config ("TimeToBreak": 1209600 by default, which is 2 weeks in seconds).
When a well is repaired it will be added to the list of repairable wells. This list includes the well's map position and 3 parameters: "Invincible", "Repaired", and "BreakTime". If you want certain wells to be repaired by default/always working, repair a well to have its location added to the JSON file and then you can modify its settings there.
If you set Invincible to 1 then the well is always repaired (useful if you want to enable all the northern wells on Livonia but have all the southern wells broken and require repair, for example).
When a player repairs a well, "Repaired" will be set to 1 and all players can use that well without needing to repair it until its timer runs out.
Once the UNIX timestamp "BreakTime" expires, the well will be set back to broken ("Repaired": 0) and players can no longer use the well without repairing it first. Each well's repaired status updates on server restarts, so the well will not break again until the timer expires and the server restarts.
An example JSON config is included in the mod folder.
Installation Instructions:
Install this mod like any other mod - copy it into your server folder and add it to your mods list. It must be run on both server and client. Make sure to copy the .bikey into your server keys if you're not using a server management tool like OmegaManager which does that automatically.
This mod requires Community Framework as a dependency.
Repack & Source Code:
Unfortunately due to lack of time I can't maintain all of my mods all of the time. I do my best, but these mods are offered as-is. If there's a problem, you have the source code and my permission to fix it yourself and upload a fixed version to the workshop without any credit necessary. It's all free.
You can repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.com
Learn Modding
Want to learn how to make your own mods? Check out my guides on YouTube: https://www.youtube.com/@Zenarchist
Buy Me A Coffee / Contact Me:
All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.
To contact me you can send me a message there too - I get an insane amount of messages so it's the best way for me to filter out the noise and focus on people who are willing to support my work with a coffee first:
https://buymeacoffee.com/zenarchist
Enjoy!
Zens Repairable Wells
Мод Zens Repairable Wells для DayZ. Сейчас на 2 серверах RiseOfServers.
- Игра: DayZ
- Workshop ID: 2924580520
- На серверах: 2
- Теги: Карта, Фреймворк
Источник: Steam Workshop
Серверы с этим модом
- Ark: Survive the hotbox - v361.7 Сервер с этим модом
- FR Pat on Deerisle PVE IA CRAFT Сервер с этим модом