Skip to content

Instantly share code, notes, and snippets.

@pr0crustes
Created February 1, 2019 13:37
Show Gist options
  • Save pr0crustes/18dd81a34b9a3f1e67565d88555b2f6d to your computer and use it in GitHub Desktop.
Save pr0crustes/18dd81a34b9a3f1e67565d88555b2f6d to your computer and use it in GitHub Desktop.
"StatInfo"
{
// Registered gamemode ID from http://getdotastats.com/#s2__my__mods
"modID" "CENSORED"
// If you want to implement custom stats, contact an admin to setup your schema and change this ID
// Otherwise leave it unchanged
"schemaID" "XXXXXXXXXXXXXXXX"
// Do we need to enable the round API or not.
"HAS_ROUNDS" "false"
// Do we want statCollection to use team winner for game victory?
"GAME_WINNER" "true"
// Do we want statCollection to use ancient explosions for game victory?
"ANCIENT_EXPLOSION" "false"
// Lets you specify the point where the game has really started. Useful for mods that set options after pre-game
// If this enabled, you must manually call `statCollection:sendStage2()` when your game is officially ready
"OVERRIDE_AUTOMATIC_SEND_STAGE_2" "false"
// Turn this off to prevent from sending stats of workshop tools developer lobbies
"TESTING" "true"
// Stats for live games will only be recorded if the lobby has at least this amount of players
// A TESTING parameter of `true` allows stats regardless of the minimum players
"MIN_PLAYERS" "3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment