Skip to content

SpawnKill Plugin

Detects and punishes spawn killing with a configurable grace period after spawning.

Plugin name: spawnkillRequires config: Yes Requires: iourt43 parser

Behavior

  • Tracks when each player spawns
  • If a player is killed within the grace period, it counts as a spawn kill
  • After reaching the threshold, takes the configured action (warn, kick, or tempban)
  • Resets counters on round start

Settings

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

[plugins.settings]
grace_period_secs = 3
max_spawnkills = 3
action = "warn"
tempban_duration = 5
SettingTypeDefaultDescription
grace_period_secsinteger3Seconds after spawn that count as spawn kill window
max_spawnkillsinteger3Spawn kills before taking action
actionstring"warn"Action to take: "warn", "kick", or "tempban"
tempban_durationinteger5Tempban duration in minutes (when action is "tempban")

Events

EVT_CLIENT_SPAWN, EVT_CLIENT_KILL, EVT_GAME_ROUND_START, EVT_CLIENT_DISCONNECT

Released under the GPL-2.0 License.