Team Damage Protection

About

TeamDamageProtection is a Minecraft plugin that prevents players on the same scoreboard team from damaging each other. It listens for EntityDamageByEntityEvent and cancels damage when both the attacker and victim are players belonging to the same team. The plugin checks team membership via the server's native scoreboard system, preserving all other combat interactions between different teams or non-team members. It integrates seamlessly with the Bukkit/Spigot API through proper event listener registration and plugin setup, ensuring minimal performance impact while maintaining vanilla team mechanics.