Sunucu tanitimi

CSB Session Stats v1.0.0

CSB Session Stats is a lightweight, no-database session tracker. It holds everything in memory per player slot and clears it on disconnect, so there is nothing to install, no vault, no MySQL. say /session prints your kills, deaths, K/D, headshots, damage dealt, rounds won, best killstreak and minutes played; a short version can be shown to everyone at the end of each round.

How the numbers are measured

  • Kills, deaths, headshots and killstreak from the DeathMsg event.
  • Damage dealt attributed to the attacker via a Ham_TakeDamage hook (hamsandwich).
  • Rounds won detected from the round-win audio (SendAudio) and credited to the winning team's players.
  • Time played from the moment the player entered the server.

Installation

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

Set csb_session_roundline 0 if you do not want the short per-round chat summary. On disconnect a one-line summary is written to the AMXX log.

Kurulum
1. Put csb_session_stats.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
Cvarlar2
CVARDefaultDescription
csb_session_enabled1Enable or disable the /session summary.
csb_session_roundline1Show a short kills/deaths line to players at the end of each round.
Komutlar1
CommandAccessDescription
say /sessionPrint your current session summary.
Puan
Henüz puan yok