Skip to content

Team Kill (TK) Plugin

Monitors team kills and team damage, automatically penalizing excessive team killers.

Plugin name: tkRequires config: Yes Requires: admin plugin

Commands

CommandAliasLevelDescription
!forgive!f0Forgive the last person who team killed you
!forgivelist!fl0List all unforgiven TKs against you
!forgiveall!fa0Forgive all TKs against you
!forgiveinfo!fi0Show your unforgiven TK count and kicks remaining
!forgiveprev!fp0Show who last team killed you
!forgiveclear!fc20Admin: clear TK records for a player

Behavior

  • Tracks team kills and team damage per player per round
  • Resets counters at round start
  • Auto-kicks when unforgiven TK threshold is exceeded
  • Victims are notified and can !forgive to prevent penalties
  • Forgiven TKs do not count toward the kick threshold

Settings

toml
[[plugins]]
name = "tk"
enabled = true

[plugins.settings]
max_team_kills = 5
max_team_damage = 300.0
SettingTypeDefaultDescription
max_team_killsinteger5Team kills before auto-kick
max_team_damagefloat300.0Cumulative team damage threshold before auto-kick

Events

EVT_CLIENT_KILL_TEAM, EVT_CLIENT_DAMAGE_TEAM, EVT_CLIENT_SAY, EVT_CLIENT_TEAM_SAY, EVT_GAME_ROUND_START

Released under the GPL-2.0 License.