🔫 Weapon Blacklist

This detection is designed to instantly flag any player who has a weapon that you’ve explicitly blacklisted. It’s a strong line of defense against weapon spawn cheats.

🔍 How It Works

If a player has any weapon listed in your blacklist, PrettyPacketAC will detect it immediately and take the configured action. This is an ideal way to prevent unauthorized weapon usage, especially from cheaters who try to spawn weapons directly into their loadout.

⚙️ Configuration

PrettyPacketAC.WeaponBlacklist = {
	enabled = false,
	action = "WARN", -- Options: "WARN", "KICK", or "BAN"
}
PrettyPacketAC.WeaponBlacklistDict = {
	['Navy Revolver'] = "weapon_navyrevolver",
	['Double Action Revolver'] = "weapon_doubleaction",
}
  • enabled: Toggles the blacklist system.

  • action: What to do when a blacklisted weapon is found.

  • WeaponBlacklistDict: Map friendly weapon names to their internal GTA weapon identifiers.


💡 Tips & Best Practices

  • Blacklist all vanilla GTA weapons that your server doesn’t use. This is strongly recommended — many mod menus default to spawning common GTA Online weapons.

  • ✅ Stick to custom or addon weapons with unique names or hashes. This makes it harder for cheaters to guess or abuse.

  • ✅ Use in combination with the framework weapon protection system for an even more secure environment.

Let cheaters know that their weapon stash won’t go unnoticed. 🎯✨

Last updated