💥 Weapon Damage Changer

This detection helps catch cheaters who modify weapon damage values to gain an unfair advantage in combat. It compares weapon damage against expected values and flags anything abnormal.

This is a solid layer of protection for any server focused on maintaining fair PvP mechanics.

🔧 Configuration:

PrettyPacketAC.AntiDamageChanger = {
    enabled = false,
    action = "WARN",
}
  • enabled: Toggle the check on or off.

  • action: Choose "WARN", "KICK", or "BAN" when abnormal damage is detected.


🧾 Weapon Damage Dictionary:

To ensure accurate detection, you’ll need to configure expected damage values for each weapon you allow on your server:

PrettyPacketAC.AntiDamageDict = {
    [-1357824103] = { weapon_damage = 34, weapon_name = "Advanced Rifle" },
    [584646201]   = { weapon_damage = 25, weapon_name = "AP Pistol" },
    [-1074790547] = { weapon_damage = 30, weapon_name = "Assault Rifle" },
    [961495388]   = { weapon_damage = 40, weapon_name = "Assault Rifle Mk II" },
}

Tip: Be sure to include all vanilla and custom weapons your server uses in the dictionary for full coverage.

Last updated