Git Product home page Git Product logo

serverstat-cli's Introduction

serverstat-cli build codecov Go Report Card

Get info from QuakeWorld servers.

  Usage:   serverstat <address>
Example:   serverstat qw.irc.ax:28503

Download

See releases for downloads.

Example response

{
  "address": "qw.irc.ax:28503",
  "mode": "2on2",
  "title": "2on2: 1 (HoLy., NinJaA) vs oeks (nig, trl) [dm4]",
  "status": {
    "name": "Started",
    "description": "8 min left"
  },
  "time": {
    "elapsed": 2,
    "total": 10,
    "remaining": 8
  },
  "player_slots": {
    "used": 4,
    "total": 4,
    "free": 0
  },
  "players": [
    {
      "name": "HoLy.",
      "name_color": "wwwww",
      "team": "1",
      "team_color": "w",
      "skin": "",
      "colors": [
        4,
        4
      ],
      "frags": 18,
      "ping": 25,
      "time": 4,
      "cc": "",
      "is_bot": false
    },
    {
      "name": "NinJaA",
      "name_color": "wwwwww",
      "team": "1",
      "team_color": "w",
      "skin": "",
      "colors": [
        4,
        4
      ],
      "frags": 10,
      "ping": 42,
      "time": 4,
      "cc": "",
      "is_bot": false
    },
    {
      "name": "trl.........axe",
      "name_color": "wwwwwwwwwwwwbbb",
      "team": "oeks",
      "team_color": "wwww",
      "skin": "oeks_trl",
      "colors": [
        0,
        0
      ],
      "frags": 18,
      "ping": 13,
      "time": 4,
      "cc": "",
      "is_bot": false
    },
    {
      "name": "nig.........axe",
      "name_color": "wwwwwwwwwwwwbbb",
      "team": "oeks",
      "team_color": "wwww",
      "skin": "oeks_nig",
      "colors": [
        0,
        1
      ],
      "frags": 8,
      "ping": 12,
      "time": 4,
      "cc": "",
      "is_bot": false
    }
  ],
  "teams": [
    {
      "name": "1",
      "name_color": "w",
      "frags": 28,
      "colors": [
        4,
        4
      ],
      "players": [
        {
          "name": "HoLy.",
          "name_color": "wwwww",
          "team": "1",
          "team_color": "w",
          "skin": "",
          "colors": [
            4,
            4
          ],
          "frags": 18,
          "ping": 25,
          "time": 4,
          "cc": "",
          "is_bot": false
        },
        {
          "name": "NinJaA",
          "name_color": "wwwwww",
          "team": "1",
          "team_color": "w",
          "skin": "",
          "colors": [
            4,
            4
          ],
          "frags": 10,
          "ping": 42,
          "time": 4,
          "cc": "",
          "is_bot": false
        }
      ]
    },
    {
      "name": "oeks",
      "name_color": "wwww",
      "frags": 26,
      "colors": [
        0,
        0
      ],
      "players": [
        {
          "name": "trl.........axe",
          "name_color": "wwwwwwwwwwwwbbb",
          "team": "oeks",
          "team_color": "wwww",
          "skin": "oeks_trl",
          "colors": [
            0,
            0
          ],
          "frags": 18,
          "ping": 13,
          "time": 4,
          "cc": "",
          "is_bot": false
        },
        {
          "name": "nig.........axe",
          "name_color": "wwwwwwwwwwwwbbb",
          "team": "oeks",
          "team_color": "wwww",
          "skin": "oeks_nig",
          "colors": [
            0,
            1
          ],
          "frags": 8,
          "ping": 12,
          "time": 4,
          "cc": "",
          "is_bot": false
        }
      ]
    }
  ],
  "spectator_slots": {
    "used": 3,
    "total": 6,
    "free": 3
  },
  "spectator_names": [
    "[ServeMe]",
    "bass",
    "myz"
  ],
  "settings": {
    "*admin": "suom1 \u003c[email protected]\u003e",
    "*gamedir": "qw",
    "*progs": "so",
    "*qvm": "so",
    "*version": "MVDSV 0.35-dev",
    "*z_ext": "511",
    "deathmatch": "3",
    "fpd": "206",
    "hostname": "QW.IRC.AX KTX:28503 (oeks vs. 1)\ufffd",
    "hostname_parsed": "qw.irc.ax:28503",
    "ktxver": "1.41-dev",
    "map": "dm4",
    "maxclients": "4",
    "maxfps": "77",
    "maxspectators": "6",
    "pm_ktjump": "1",
    "serverdemo": "2on2_oeks_vs_1[dm4]220612-1307.mvd",
    "status": "8 min left",
    "sv_antilag": "2",
    "teamplay": "2",
    "timelimit": "10"
  },
  "qtv_stream": {
    "title": "QW.IRC.AX KTX Qtv (3)",
    "url": "[email protected]:28000",
    "id": 3,
    "address": "46.227.68.148:28000",
    "spectator_names": [],
    "spectator_count": 0
  },
  "geo": {
    "cc": "SE",
    "country": "Sweden",
    "region": "Europe",
    "city": "Hagersten",
    "coordinates": [
      59.2885,
      17.9612
    ]
  },
  "type": "mvdsv"
}

See also

serverstat-cli's People

Contributors

vikpe avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.