/SQLMatches

Saves CS:GO match statistics & demos.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

GitHub issues GitHub license Actions Status Actions Status

SQLMatches 0.0.13

SQLMatches is a completely free & open source CS:GO match statistics & demo recording tool. If you need any help feel free to ask on our discord, please don't open a issue unless if its code related.

Consider donating to help support hosting this project!

Index

Website

Self-hosted

  • Install SQLMatches with pip3 install SQLMatches.
  • Create a file like run.py.
  • Set up uvicorn with Starlette.
    • I recommend running Nginx as a reverse proxy.
    • Also setting up a SSL with Certbot.
  • Run run.py using PM2 or screen.
  • Then follow the 'Hosted version' guide ignoring the 1st point.

Hosted version

  • Visit SQLMatches.com
  • Login with steam.
    • Please note you can only own one community right now, so when you login if you get redirected this is why. But you can disable your community at anytime & create a new one.
  • Enter your community's name & click create.
  • Install the plugin.
  • Set sm_sqlmatches_key CVAR as your API key located on your community page, under 'Owner Panel'.
  • Enable GOTV tv_enable 1.
  • Disable auto record tv_autorecord 0.
  • Disable hibernation sv_hibernate_when_empty 0
  • Increase mp_endmatch_votenextmap, if the demo isn't uploaded by the time the vote screen ends it won't be uploaded.
  • Feel free increase the demo tick rate, but the demo can not be larger then 80 mb.
  • The demo won't upload if its smaller then 5 mb.
  • Sit back and relax!

Adding more map images

  • Fork the repo.
  • Add the new images to here.
  • Add the full map name & file name here.
  • Open a PR.

Sourcemod setup

Supported database engines

  • MySQL (Fully tested)
  • Postgresql (Not tested)
  • SQLite (Not tested)

Preview

Community page Scoreboard page

Legacy version

Looking for the super ugly & out of date PHP version? Check it out here