Invulnerable foundation

Supported Games
GameServerKingsGameServerKings

This plugin allow your player to be protected from foundation raid by using building privileges.

You have a config file for building owner or entity owner support.

[CODE]{"DamageList": {"Blunt": 0.0,"Bullet": 0.0,"Explosion": 0.0,"Slash": 1.0,"Stab": 0.0},"TierScalingDamage": {"Metal": 0.0,"Stone": 0.0,"TopTier": 0.0,"Twigs": 0.0,"Wood": 0.5},"UseBuildingOwner": true,"UseDamageScaling": false,"UseEntityOwner": false}[/CODE]

Setting UseDamageScaling to true will take the DamageList in concideration for every damage on foundation.

The damage scaling is between [B]0.0[/B] to [B]1.0[/B] => [B]0.0 = 0%[/B], [B]1.0 = 100%[/B].Going [B]over 1.0[/B] will not have any effect.

To be able to damage wooden foundation with a sword at 50% damage you need to set config following this example :

[CODE]{"DamageList": {"Blunt": 0.0,"Bullet": 0.0,"Explosion": 0.0,"Slash": 0.0,"Stab": 1.0},"TierScalingDamage": {"Metal": 0.0,"Stone": 0.0,"TopTier": 0.0,"Twigs": 0.0,"Wood": 0.5},"UseBuildingOwner": true,"UseDamageScaling": false,"UseEntityOwner": false}[/CODE]

[COLOR=#ff0000]You don't really need to setup from 0 to 1 for DamageList because you need to setup TierScalingDamage.Setting 0 to DamageList result to make foundation invulnerable to the catogery of weapon, putting something other will permit to the plugin to check TierScalingDamage scaling value.I'll change it completely to 0/1 in next update.[/COLOR]

[U][B]DamageList reference[/B][/U] :

[B]Blunt [/B]= (Rock, Mace, Salvaged Hammer)[B]Bullet [/B]= (all bullet and arrow)[B]Explosion [/B]= (Grenade, C4, Rockets, and explosives ammo)[B]Slash [/B]= (Machete and Longsword)[B]Stab [/B]= (Bone Knives and all similar weapon)

I'll probably missing some weapon but isn't really important, you should know what you can block with the list bellow.

Feel free to report any bugs/error or problem and suggestion.

This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

6.9K downloads
10 watchers

imported