Skip to content

Setup Guide

Karl Essinger edited this page Sep 16, 2018 · 1 revision

Setup:

Bot:

  1. Install Node

  2. Download the Dyscord archive and extract the bot anywhere you wish outside of the server directory.

  • If you download the bot directly from the repository rather than the release tab you may have to add Discord.js by doing npm install discord.js while in the bot's directory.

  • (Optional) If you run the bot on a Linux system I recommend installing pm2. It automatically restarts the bot if it crashes and you can add several bots to the program so you can simply with one command turn them on or off.

  1. Follow the bot config guide.

  2. Run start.bat or start.sh to start the bot. Alternatively use node . or node DyscordBot.js from commandline while in the bot's directory. The start.sh script starts the server in a screen so you can simply press ctrl-A ctrl-d to have it run in the background. For more info google linux screen.

Plugin:

Place the extension files in the sourcemod extensions folder and the plugin in the sourcemod plugins folder.

Clone this wiki locally