Counter-Strike

Sport specific information for Counter-Strike

Match statuses in Counter-Strike

ID
Match status
Description
Additional information

0

NOT_STARTED

Not started yet

-

141

FIRST_MAP

1st map

-

301

FIRST_PAUSE

1st pause

-

142

SECOND_MAP

2nd map

-

302

SECOND_PAUSE

2nd pause

-

143

THIRD_MAP

3rd map

-

303

THIRD_PAUSE

3rd pause

-

144

FOURTH_MAP

4th map

-

304

FOURTH_PAUSE

4th pause

-

145

FIFTH_MAP

5th map

-

305

FIFTH_PAUSE

5th pause

-

146

SIXTH_MAP

6th map

-

306

SIXTH_PAUSE

6th pause

-

147

SEVENTH_MAP

7th map

-

100

ENDED

The match has ended

-

93

WALKOVER1

The home team won the match by walkover

-

94

WALKOVER2

The away team won the match by walkover

-

95

RETIRED1

The away team won because the home team retired

-

96

RETIRED2

The home team won because the away team retired

-

61

DELAYED

The match start is delayed

-

80

INTERRUPTED

The match start has been interrupted

-

90

ABANDONED

The match has been abandoned

This match status is only sent if the corresponding XML configuration is enabled.

Events in Counter-Strike

ID
Event
Description
Coverage
extrainfo
extrainfocsgo
player1
player2

60

Substitution

A player has been substituted

External Feed (BC)

-

-

Player leaving the game = is substituted out. Information will be provided in a deltaupdate after the current round has ended.

Player entering the game = is substituted in.

1010

Betstart

Betstart indicates that betting markets can be activated. Betstart is not only a pre match event but is also used during the match.

External Feed (BC)

-

-

-

-

1011

Betstop

Betstop indicates that all betting markets are closed due to strong possibility of a goal, penalty, red card, or there is any unclear situation on the field. Betstop is also used whenever there is the need to establish direct communication between the scout and the match Supervisor, or in case of call disconnection.

External Feed (BC)

-

-

-

-

1013

Match status

Sent when the status of the match changes

External Feed (BC)

See the table above for allowed values

-

-

-

1015

Free comment

Sent when the status of the match changes

External Feed (BC)

-

-

-

-

1044

Deleted event alert

Manual removal of an event

External Feed (BC)

Id of event that was deleted

-

-

-

1102

Coverage status

Sent when the coverage status for the match changes

External Feed (BC)

Possible values:

  • 0 = Covered

  • 1 = Coverage abandoned

  • 2 = Match will not be covered

-

-

-

1814

CS map started

The map starts

External feed (BC)

Which order the map is played. E.g 1 for first or 2 for second.

Id of what map is played

-

-

1816

CS map ended

The map ends. One team gains a match point

External feed (BC)

Which order the map is played. E.g 1 for first or 2 for second.

-

-

-

1818

CS round started

The round starts.

External feed (BC)

Which round starts, numeric value.

-

-

-

1820

CS round ended

The round ends. One team gains a map point (set point)

External feed (BC)

Which round ends, numeric value.

Reason for ending. Integer, possible values:

  • 0 = Unknown

  • 1 = Terrorist Win

  • 2 = Target Bombed

  • 3 = CTs Win

  • 4 = Bomb Defused

  • 5 = Timed Out

-

-

1822

CS kill

One of the team looses a member.

Remark: if it was a self elimination then the side attribute is just the opposite of the victim team.

The team that gains an advantage of the death.

External feed (BC)

Type of kill. Possible values:

  • 0 = Normal

  • 1 = Headshot

  • 2 = Penetration (Through a wall or object)

  • 3 = Headshot & Penetration (Through a wall or object)

-

Playerid of the killer

Playerid of the victim

1824

CS assist

The assisting player does 60% of the damage to person that is eliminated by a different player.

External feed (BC)

-

-

Playerid of the assisting player

Playerid of the victim

1826

CS map picked

Gives who picked what map to be played.

External feed (BC)

Which order the map is played. E.g 1 for first or 2 for second.

Id of what map will be played

-

-

1827

CS round rollback

The map has been rolled back to an earlier round

External feed (BC)

Which round the map is rolled back to. Numeric value

-

-

-

1828

CS CT start

Who starts the match on the CT side.

External feed (BC)

Which order the map is played. E.g 1 for first or 2 for second.

Id of what map will be played

-

-

1900

CS bomb planted

When the bomb has been planted.

External feed (BC)

-

-

Id of player which planted the bomb

-

1901

CS bomb defuse begin

When an attempt to defuse the bomb has started.

External feed (BC)

-

-

Id of player which started defusing the bomb

-

1902

CS team economy

The money balance for a team.

External feed (BC)

Amount in dollars, numerical positive value.

-

-

-

1903

CS team kill

When a player is killed by a member from the same team.

External feed (BC)

Type of kill. Possible values:

  • 0 = Normal

  • 1 = Headshot

  • 2 = Penetration (through a wall or object)

  • 3 = Headshot and penetration (through a wall or object)

-

Playerid of the killer

Playerid of the victim

1904

CS suicide

When a player has committed suicide.

External feed (BC)

-

-

The id of the player who committed suicide

-

2010

CS map banned

Indicates which maps has been banned from that given game by what team.

External feed (BC)

Which order the map is played. E.g 1 for first or 2 for second.

-

-

-

2222

CS item change

Tells of any item being purchased or picked up during play (not during freeze time), primary and secondary weapons dropped (excluding grenades, knife and taser) besides bomb pickup+drop & grenades thrown.

External feed (BC)

-

Type of item action

  • PURCHASED

  • PICKED_UP

  • DROPPED

  • THREW

  • UNKNOWN

Player who changed the item

-

2224

CS damage done

Tells of any damaging event (bullet, grenade, flames etc) done by one player to another, how much damage the attacker inflicted and the remaining health of the victim.

External feed (BC)

-

-

Playerid of the killer

Playerid of the victim

2225

CS player inventory

Contains the current money and items for a player, sent when freeze time ends.

External feed (BC)

Current money in numerical value

-

Playerid

-

Sport specific XML elements and attributes

This section explains what elements / attributes one can expect for Counter-Strike matches in addition to the standard elements and attributes, and what the meaning of those elements and attributes is.

Elements in <match> element

XML example

<match betstatus="BETSTOP" connectionstatus="0" device="5" extrainfo="-1" feedtype="full" matchid="10111695" matchtime="0:00:00" st1id="
190327" st2id="190326" start="1464808200000" t1id="8733856" t1name="TAGTEAM.GG" t2id="8733855" t2name="SLIGHTLY
DIFFERENT GAMING">
<status id="100" name="ENDED" start="1464811518362"/>
<score t1="1" t2="0" type="match"/>
<score t1="16" t2="13" type="map1"/>
<matchformat>
<format type="maps" value="1"/>
<format type="rounds" value="30"/>
<format type="overtimerounds" value="6"/>
</matchformat>
<tournament id="52635" name="ESL Benelux Championship - Group Stage"/>
<category id="1041" name="ESL CS:GO"/>
<sport id="109" name="ESport Counter-Strike"/>
<events/>
</match>

XML elements and attributes definition

Element
Attributes
Description
Possible values

score

Multiple occurrences possible, each occurrence describes the amount of points for the specified period in the match. This element always gets included in full feed, and in the delta feed for the following events:

CS map ended (1816), CS round ended (1820)

t1

Amount of points home team.

Integer

t2

Amount of points away team.

Integer

type

For what period in the match the points were scored.

String. Possible values:

  • match

  • map1

  • map2

  • map3

  • map4

  • map5

  • map6

  • map7

matchformat

This element always gets included in full feed, and in the delta feed for the following events: This element consists of subelements which will be explained more into detail below.

Elements and attributes in <matchformat> element

If extra attributes are needed to specify the match format, those will be added in the <matchformat>-element, which holds <format>-elements for each match format option. The actual formats are described in the type and value attributes.

XML example

<match betstatus="BETSTOP" connectionstatus="0" device="5" extrainfo="-1" feedtype="full" matchid="10111695" matchtime="0:00:00" st1id="
190327" st2id="190326" start="1464808200000" t1id="8733856" t1name="TAGTEAM.GG" t2id="8733855" t2name="SLIGHTLY
DIFFERENT GAMING">
<status id="100" name="ENDED" start="1464811518362"/>
<matchformat>
<format type="maps" value="1"/>
<format type="rounds" value="30"/>
<format type="overtimerounds" value="6"/>
</matchformat>
...
</match>

Possible values type and value attributes for Counter-Strike

Type
Value

maps

Number of maps to be played. Integer, value from 1 - 7.

rounds

Maximum amount of rounds played in a normal round. Integer.

overtimerounds

How many rounds to be played when the normal round ends tied. Integer, always an even number.

Attributes in <event> element

<!-- Example 1 -->
<match matchid="9571597" ... >
<events>
<event extrainfo="1" id="649774011" info="Spiidi killed Slemmy" mapnumber="1" mapscore="12:15" matchscore="0:0" mtime="0:00:00"
player1="929950" player2="986329" roundnumber="28" side="away" stime="1465586954831" type="1822" weaponid="42"
weaponname="UMP-45"/>
</events>
</match>

<!-- Example 2 -->
<match matchid="9571597" ... >
<events>
<event extrainfo="28" extrainfocsgo="1" id="649774089" info="Round 28 won by [T2] (by terrorists eliminating all CTs)" mapnumber="1"
mapscore="12:16" matchscore="0:0" mtime="0:00:00" roundnumber="28" side="away" stime="1465586960851" type="1820"/>
</events>
</match>

<!-- Example 3 -->
<match matchid="9571597" ... >
<events>
<event extrainfo="1" extrainfocsgo="-1" id="16032752" info="Started play on map 1 (unknown_map)" mapname="de_dust" mapnumber=
"1" mapscore="0:0" matchscore="0:0" mtime="0:00" roundnumber="0" side="none" stime="1474404493903" type="1814"/>
</events>
</match>

XML attributes definition

Element
Attributes
Description
Possible values

event

extrainfo

Attribute containing additional information about the event.

Long

extrainfocsgo

Attribute containing additional information about the event.

String

player1

Sportradar id of player 1 associated with the event.

Integer

player2

Sportradar id of player 2 associated with the event.

Integer

matchscore

Score for current match.

String. Format: "[home]:[away]" Example: "1:0"

mapnumber

Number of the current map.

Integer

mapscore

Score for current map.

String. Format: "[home]:[away]" Example: "12:16"

roundnumber

Number of the current round.

Integer

weaponid

Id of the weapon used to perform the kill. This attribute only gets added for the CS kill event (1822).

Integer

weaponname

Name of the weapon used to perform the kill. This attribute only gets added for the CS kill event (1822).

String

mapname

Name of the map. This attribute only gets added for the CS map started (1814), CS map banned (2010) and CS map picked (1826) event.

String

item & itemname

Two separate attributes. One containing the id and one containing the name of a Counter-Strike item.

  • 0 – unknown

  • 228 – AK47

  • 230 – AUG

  • 232 – AWP

  • 234 – CZ75-Auto

  • 236 – Decoy Grenade

  • 238 – Defusal Kit

  • 240 – Desert Eagle

  • 242 – Dual Berettas

  • 244 – FAMAS

  • 246 – Five-SeveN

  • 248 – Flashbang

  • 250 – G3SG1

  • 252 – Galil AR

  • 254 – Glock-18

  • 256 – Helmet only

  • 258 – High Explosive Grenade

  • 260 – Incendiary Grenade

  • 262 – Kevlar

  • 264 – Kevlar + Helmet

  • 266 – Knife

  • 268 – M249

  • 270 – M4A1-S

  • 272 – M4A4

  • 274 – MAC-10

  • 276 – MAG-7

  • 278 – Molotov

  • 280 – MP7

  • 282 – MP9

  • 284 – Negev

  • 286 – Nova

  • 288 – P2000

  • 290 – P250

  • 292 – P90

  • 294 – PP-Bizon

  • 296 – R8 Revolver

  • 298 – Sawed-Off

  • 300 – SCAR-20

  • 302 – SG 553

  • 304 – Smoke Grenade

  • 306 – SSG 08

  • 308 – Tec-9

  • 310 – UMP-45

  • 312 – USP-S

  • 314 – XM1014

  • 316 – Zeus x27

  • 318 – Flames

  • 3539 – MP5-SD

  • 3541 – C4

damage

numeric value of the damage value dealt

numeric value

healthremaining

numeric value of the health value remaining for the victim after the damage is subtracted

numeric value

inventory

A list of Counter-Strike item ids

Possible values are same as in attributes item & itemname and are separated with separated with ";"

XML configurations for Counter-Strike

This section explains what XML configurations one can expect for this sport in addition to the standard XML configurations, and what the meaning of these configurations is.

(ID: 90) Send lineups for Counter-Strike matches

If this setting is enabled, the element <lineups> gets enabled for matches which have this configured. Lineups are sent when subscribing to a match, and when the lineup changes.

XML example

<lineups matchid="12345678">
 <player id="1" name="Aaronson, Aaron" nickname="A.Aaronson" shirtnumber="0" substitute="false" team="1"/>
 <player id="2" name="Benito, Barry" nickname="B.Benito" shirtnumber="0" substitute="false" team="1"/>
 <player id="3" name="Cumberscratch, Cabertoss" nickname="C.Cumberscratch" shirtnumber="0" substitute="false" team="2"/>
 <player id="4" name="Dumpling, Danny" nickname="D.Dumpling" shirtnumber="0" substitute="false" team="2"/>
</lineups>

(ID: 85) Include attribute mapname for Counter-Strike events

Enabling this setting will add the attribute mapname to the <event>-element when the CS map started (1814) or CS map picked (1826) event happens in Counter-Strike.

XML example

<match matchid="9571597" ... >
 <events>
  <event extrainfo="1" extrainfocsgo="-1" id="16032752" info="Started play on map 1 (unknown_map)" mapname="de_dust" mapnumber="1"
mapscore="0:0" matchscore="0:0" mtime="0:00" roundnumber="0" side="none" stime="1474404493903" type="1814"/>
 </events>
</match>

Last updated

Was this helpful?