Damage Control allows tuning the damage entities take. It has an in-game command line to allow you set and list the damage settings.
You can control damage to:
- Animal (set per Bear, Boar, Chicken, Horse, Stag, Wolf, Ridable Horse)
- Building blocks
- NPC aka Scientist aka NPCPlayerApex
- Player
- Zombie aka Murderer (I merged these two)
- APC aka Bradley
- Helicopter aka Heli
- Building (read FAQ for details) and Build Grades
- Balloons
- Sam-Sites
- Mini-Copter
- Scrap Transport Helicopter (Scrapcopter)
Note Balloons, Scrap Transport Helicopter and Mini-Copter have some oddities in how they take damage so expect some oddities there. It can make them significantly more durable, and the helicopters less of a death trap.
Now supports adding entities with per entity modifer in the data folder, sample below.
You can control damage by time per entity type either in game time or real time.
Permissions
damagecontrol.admin-- Allows player to use the chat commands
Chat Commands
- /damagecontrol or /damcon or /dc
Configuration
Sample new /data/DamageControl.json:{"door.hinged.toptier": 0.666,"door.double.hinged.toptier": 0.666,"door.hinged.metal": 0.75,"door.double.hinged.metal": 0.75,"floor.ladder.hatch": 0.85}
There are settings for global time modifiers, and per entity time modifiers. So you can have things like High Noon.
The Heli_Bypass allows you to have the Heli bypass other settings to do damage when normally the entity is immuned. I personally would not run this as it allows heli-raiding, but it was requested.
Allow Decay was added to protect buildings from all damages, except decay.
Credits
Many thanks to ColonBlow for sharing his plugin code and assistance to make this happen!
MIT License
Copyright (c) 2019 mspeedie
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

