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.
Reviewed-on: #13 |
2 months ago | |
---|---|---|
.github/workflows | 3 months ago | |
.vscode | 1 year ago | |
src | 3 months ago | |
.dockerignore | 3 months ago | |
.editorconfig | 10 months ago | |
.env.example | 3 months ago | |
.eslintrc.json | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 3 months ago | |
Dockerfile | 3 months ago | |
LICENSE.md | 1 year ago | |
Makefile | 10 months ago | |
README.md | 3 months ago | |
package-lock.json | 2 months ago | |
package.json | 2 months ago | |
renovate.json | 7 months ago | |
start.bat | 8 months ago | |
start.sh | 1 year ago |
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