1 ## CVars (see xonotic.org/tools/cacs for more up-to-date information)
3 * `sv_eventlog`: master switch
4 * `sv_eventlog_files`: print frags, scores and captures for separate files each match
5 * `sv_eventlog_console`: print frags, scores and captures to serverconsole during the match
6 * `sv_logscores_bots`: choose whether bot are included in stats or not
7 * `sv_eventlog_files_counter`: number of matches logged until now
8 * `sv_eventlog_files_nameprefix`: file name prefix to be used
9 * `sv_eventlog_files_namesuffix`: file name extension to be used
10 * `sv_eventlog_files_timestamps`: prefix log lines in the files with time events
11 * `sv_eventlog_ipv6_delimiter`: change `:` in IPv6 addresses to `_` for easy parsing of :join lines with IPv6 IPs
16 :gamestart:<gametype>_<mapname>:<matchid>
17 :gameinfo:mutators:LIST:mutator1:mutator2:...
19 (Note that mutators are listed by their cvar name with g_ removed, unless such a cvar is 1 by default - then the mutator is listed with a no_ prefix if the cvar is 0)
22 :join:<ID>:<slot>:<ip>:<nickname>
23 :join:<ID>:<slot>:bot:<nickname>
26 :team:<ID>:<team>:<jointype>
28 :chat_team:<ID>:<team>:<message>
29 :chat_spec:<ID>:<message>
30 :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
31 :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
32 :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>
33 :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>
34 :ctf:steal:<flagcolor>:<teamcolor>:<ID of attacker>
35 :ctf:dropped:<flagcolor>:<teamcolor>:<ID of dropper>
36 :ctf:pickup:<flagcolor>:<teamcolor>:<ID of attacker>
37 :ctf:capture:<flagcolor>:<teamcolor>:<ID of attacker>
38 :ctf:return:<flagcolor>:<teamcolor>:<ID of defender>
39 :ctf:returned:<flagcolor>
40 :dom:taken:<previouscolor>:<ID of player>
41 :keyhunt:capture:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
42 :keyhunt:carrierfrag:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
43 :keyhunt:collect:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
44 :keyhunt:destroyed:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
45 :keyhunt:destroyed_holdingkey:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
46 :keyhunt:dropkey:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
47 :keyhunt:losekey:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
48 :keyhunt:push:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
49 :keyhunt:pushed:<ID of player>:<points for player>:<ID of key owner>:<points for key owner>:<name of key>
50 :scores:<gametype>_<mapname>:<map runtime>
51 :labels:player:<head1><flags>,<head2><flags>,...
52 :player:see-labels:<score1>,<score2>,...:<playtime>:<team>:<ID>:<nickname>
53 :player:see-labels:<score1>,<score2>,...:<playtime>:spectator:<ID>:<nickname>
54 :labels:teamscores:<head1><flags>,<head2><flags>,...
55 :teamscores:see-labels:<score1>,<score2>,...:<team>
59 :vote:suggested:<mapname>:<playerid>
60 :vote:keeptwo:<mapname>:<mapvotes>:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:...:didn't vote:<notvoters>
61 :vote:finished:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:<mapname>:<mapvotes>:...:didn't vote:<notvoters>
62 :vote:suggestion_accepted:<mapname>
63 :vote:vcall:<ID of player>:<vote command display string>
64 :vote:vyes:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>
65 :vote:vno:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>
66 :vote:vtimeout:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>
67 :vote:vstop:<ID of stopper>
68 :vote:vlogin:<ID of player>
69 :vote:vdo:<ID of player>:<do command display string>
70 :time:<YYYY-MM-DD HH:MM:SS>
71 :recordset:<ID of player>:<time in seconds>
73 Note that only the :join and :player lines ever contain player names. The :time event only appears in the log files if sv_eventlog_files_timestamps is 1; there is no way to log these time stamps to the console (for console timestamps, set timestamps to 1).
76 * 1 = No Team (Domination)
90 * !! = primary sorting key
91 * <!! = primary sorting key, lower is better
92 * ! = secondary sorting key
93 * <! = secondary sorting key, lower is better
97 `<weaponid><flags>` or `<weaponid><flags>|<buffs>`
99 Where flags can contain:
100 * F = player carries the flag
101 * S = player has strength
102 * I = player has the shield
103 * T = player is typing (console, menu or chat)
114 * 9 = Rocket Launcher
117 * 12 = Grappling Hook
118 * 13 = Heavy Laser Assault Cannon
121 Weapon IDs are below 10000.
124 Either a weapon ID ORed with weapon death flags, or one of the notifications in common/deathtypes.qh in the form of a string.
126 Weapon death flags are:
127 * 256 = secondary fire
128 * 512 = splash damage
129 * 1024 = bounced projectile
130 * 2048 = head shot (Vaporizer only)
133 There will be a log analyzer parsing this file format soon.