WolfsDarker submitted a new resource:
Damage Controller - Controls the damage for player, animals, buildings and barricades.
Read more about this resource...
Damage Controller [Unmaintained]
Discussion in 'Plugin Support' started by WolfsDarker, Jul 12, 2015.
-
something to increase the number of animals in the map would be great
-
How do I nerf rockets? what setting from explosion value 1.0 should be on for buildings?
-
Is there a way to make it so the damage is applied to buildings only if the player has building privilege.
-
DamageController is not affecting the new building items (Armored Door, Sheet Metal Door, High External Stone Wall, Metal horizontal embrasure, Metal vertical embrasure, window bars and Wood Shutter).
-
Friends , just in the plug-in type -
String target = entity is BasePlayer ? "player" : entity is Door ? "Armored Door" : entity is BuildingBlock ? "building" : entity is BaseNPC ? "animal" : entity is Barricade ? "barricade" : "none";
and write in the config
Code:{ "name": "Armored Door", "list": { "Generic": 1.0, "Hunger": 1.0, "Thirst": 1.0, "Cold": 1.0, "Drowned": 1.0, "Heat": 1.0, "Bleeding": 1.0, "Poison": 1.0, "Suicide": 1.0, "Bullet": 1.0, "Slash": 1.0, "Blunt": 1.0, "Fall": 1.0, "Radiation": 1.0, "Bite": 1.0, "Stab": 1.0, "Explosion": 0.5, "RadiationExposure": 1.0, "ColdExposure": 1.0, "Decay": 1.0, "ElectricShock": 1.0 } },
Last edited by a moderator: Feb 26, 2017 -
Where in file do you put ?
String target = entity is BasePlayer ? "player" : entity is Door ? "Armored Door" : entity is BuildingBlock ? "building" : entity is BaseNPC ? "animal" : entity is Barricade ? "barricade" : "none"; -
Will the windows are not hurt the code is?