Automatically Upload Counter Strike Demos to a Discord Channel.
This repository has been archived on 2023-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
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
2023-09-26 12:54:53 +00:00
.github/workflows Update '.github/workflows/linter.yml' 2023-09-13 16:34:50 +00:00
.vscode `.editorconfig` [skip ci] 2022-11-24 16:19:54 -06:00
src ignore "small" demos 2023-09-08 10:11:51 -05:00
.dockerignore Dockerize. 2023-08-30 09:09:47 -05:00
.editorconfig Makefile 2023-02-05 23:01:08 -06:00
.env.example Dockerize. 2023-08-30 09:09:47 -05:00
.eslintrc.json Update .eslintrc.json 2022-08-13 09:00:14 -05:00
.gitattributes Initial Commit 2022-08-13 08:55:30 -05:00
.gitignore try and avoid more duplicates? 2023-09-07 18:56:32 -05:00
Dockerfile Dockerize. 2023-08-30 09:09:47 -05:00
LICENSE.md Create LICENSE.md 2022-09-08 19:44:37 -05:00
Makefile Makefile 2023-02-05 23:01:08 -06:00
README.md Fix demo dir. 2023-08-30 09:13:06 -05:00
package-lock.json Update dependency eslint to v8.50.0 2023-09-25 12:05:33 +00:00
package.json Update dependency eslint to v8.50.0 2023-09-25 12:05:33 +00:00
renovate.json Configure Renovate (#1) 2023-04-21 21:07:46 +00:00
start.bat Rename repository for CS2. 2023-03-22 18:03:27 -05:00
start.sh Updating in start 2022-09-14 16:42:12 -05:00

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