JSON Layout - Kantanomo/CartoStat GitHub Wiki

Example JSON: Here

Required top level emelents

  • "Playlist Checksum"

This is a MD5 hash of the contents of the current playlist, this is to verify between different hosts that there is no changing of the variant settings, for accurate ranking

  • "Scenario" - The currently played map

  • "Variant" - A element that holds details about the currently played variant

  • "Name" - Current Variant Name
  • "Type" - The current Game type index
  • "Settings" - A element that holds details about the current settings
  • "Team Play" - REQUIRED setting
  • Any other settings are optional to send over depending on if they are pulled
  • "Server" - a element that contains server information
  • "Name"
  • "XUID" - Server XUID
  • "Players" - A element that contains all players and their data

A Player Emelent

  • "EndGameIndex" - The Position on the Post Game Canarnage Report
  • "XUID" - The players project XUID
  • "Gamertag"
  • "PrimaryColor"
  • "SecondaryColor"
  • "PrimaryEmblem"
  • "SecondaryEmblem"
  • "PlayerModel"
  • "EmblemForeground"
  • "EmblemBackground"
  • "ClanDescription" - May be removed at a later date
  • "ClanTag" - May be removed at a later date
  • "Team" - Team Index
  • "Handicap" - May be removed at a later date
  • "Nameplate" - May be removed at a later date
  • "Place" - String representation of players ending place E.g 1st
  • "Score" - String representation of players ending score
  • "Kills" - Total kills
  • "Assists" - Total Assists
  • "Deaths" - Total Deaths
  • "Betrayals"
  • "Suicides"
  • "ShotsFired" - Total Shots Fired
  • "ShotsHit" - Total Shots Hit
  • "HeadShots" - Total HeadShots
  • "BestSpree"
  • "TimeAlive"
  • "FlagScores"
  • "FlagSteals"
  • "FlagSaves"
  • "FlagUnk"
  • "BombScores"
  • "BombKills"
  • "BombGrabs"
  • "BallScore"
  • "BallKills"
  • "BallCarrierKills"
  • "KingKillsAsKing"
  • "KingKilledKings"
  • "JuggKilledJuggs"
  • "JuggKillsAsJugg"
  • "JuggTime"
  • "TerrTaken"
  • "TerrLost"
  • "Medal Data" - a simple array that holds all medal data
  • "Medal Data": [Double Kill, Triple Kill, .....]
  • "Weapon Data" - a simple array that holds all individual weapons data
  • "Weapon Data: [ [Kills, Deaths, Shots Hit, Shots Fired, Headshots], ...]
  • "Versus Data" - a simple array that holds all Player Vs Player data
  • "Versus Data": [ [Killed, Killedby], ....]