CSB Anti Team Attack

v1.0.0 9 descărcări Daemon666 Ultima actualizare: Jul 16, 2026

Blocks team damage outright, or counts team damage/kills per map and auto-slays, kicks or bans repeat offenders.

CSB Anti Team Attack handles friendly fire two ways. With csb_atac_block on, a Ham_TakeDamage hook zeroes any damage between teammates — simple and absolute. With it off, the plugin instead counts team damage and team kills per player per map, and when someone crosses csb_atac_dmg_limit damage or csb_atac_tk_limit kills it punishes them.

The punishment is chosen by csb_atac_action: 1 slays, 2 kicks, 3 bans for csb_atac_bantime minutes. Every team kill is announced with a running count so players know where they stand. Inspired by ATAC by BAILOPAN; independent GPL re-implementation.

Features

  • Block mode: cancel all team damage via SetHamParamFloat.
  • Punish mode: per-map team-damage and team-kill counters.
  • Configurable action — slay, kick or timed ban — on threshold.
  • Public team-kill announcements with a running tally.

Installation

  1. Compile csb_atac.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Block mode needs friendly fire to actually be reaching the damage hook, so it works whether mp_friendlyfire is on or off. Bans are written with writeid.

Instalare

1. Put csb_atac.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map

Cvar-uri

CVARDefaultDescription
csb_atac_enabled 1 Master enable for the plugin.
csb_atac_block 1 1 = cancel team damage; 0 = count and punish instead.
csb_atac_tk_limit 3 Team kills in one map before punishment (punish mode).
csb_atac_dmg_limit 300 Team damage in one map before punishment (punish mode).
csb_atac_action 1 Punishment: 1 slay, 2 kick, 3 ban.
csb_atac_bantime 30 Ban length in minutes when action is 3.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Autor original: BAILOPAN (ATAC) Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_atac.sma main 4.6 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module hamsandwich
Conflicte cunoscute Other friendly-fire or anti-teamkill plugins that also hook Ham_TakeDamage can conflict; run only one.
Înapoi la Pluginuri