Automatically Upload Counter Strike Demos to a Discord Channel.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
Chase 48c5f4d17a
build Details
lint Details
Merge pull request 'Update dependency eslint to v8.50.0' (#13) from renovate/eslint-8.x into main
Reviewed-on: #13
2 months ago
.github/workflows Update '.github/workflows/linter.yml' 3 months ago
.vscode `.editorconfig` [skip ci] 1 year ago
src ignore "small" demos 3 months ago
.dockerignore Dockerize. 3 months ago
.editorconfig Makefile 10 months ago
.env.example Dockerize. 3 months ago
.eslintrc.json Update .eslintrc.json 1 year ago
.gitattributes Initial Commit 1 year ago
.gitignore try and avoid more duplicates? 3 months ago
Dockerfile Dockerize. 3 months ago
LICENSE.md Create LICENSE.md 1 year ago
Makefile Makefile 10 months ago
README.md Fix demo dir. 3 months ago
package-lock.json Update dependency eslint to v8.50.0 2 months ago
package.json Update dependency eslint to v8.50.0 2 months ago
renovate.json Configure Renovate (#1) 7 months ago
start.bat Rename repository for CS2. 8 months ago
start.sh Updating in start 1 year ago

README.md

Counter Strike Demo Uploader
Donate

Automatically Upload Counter Strike Demos to a Discord Channel.

img

Installation

Docker

docker run -d \
    --name cs-demo-uploader \
    -v /path/to/csgo/csgo:/csgo \
    -e DISCORD_BOT_TOKEN=asdf \
    -e UPLOAD_CHANNEL_ID=123 \
    -e DELETE_AFTER_UPLOAD=false \ # or true
    git.chse.dev/chase/cs-demo-uploader:latest

Requirements

Setup

  1. Create a new Discord Application.
  2. Make it a Bot account.
  3. Open a new Terminal/Command Prompt and run the following command: git clone https://git.chse.dev/chase/cs-demo-uploader.git.
  4. Open the cs-demo-uploader folder and run start.sh (Linux) or start.bat (Windows).

Enabling Auto Recording

To enable auto recording on your server, add these lines in your server.cfg:

tv_enable 1
tv_autorecord 1
tv_maxclients 0