1. I'm sure there's already a way of doing it however if there is I can't find any plugins/posts about it. If someone could link me it would be very appreciated :)
     
  2. I do this.. for RepairBench (for example)..

    Code:
    object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
    {
        if (entity?.GetType().ToString() == "RepairBench")
            info.damageTypes.ScaleAll(0.0f);
        return null;
    }