Chase
48c5f4d17a
Reviewed-on: #13 |
||
---|---|---|
.github/workflows | ||
.vscode | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
package-lock.json | ||
package.json | ||
renovate.json | ||
start.bat | ||
start.sh |
README.md
Automatically Upload Counter Strike Demos to a Discord Channel.
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
- Create a new Discord Application.
- Make it a Bot account.
- Open a new Terminal/Command Prompt and run the following command:
git clone https://git.chse.dev/chase/cs-demo-uploader.git
. - Open the
cs-demo-uploader
folder and runstart.sh
(Linux) orstart.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