Install - kennethrisa/discord-rustserverstatus GitHub Wiki
Installation:
- Download it as zip or use git clone https://github.com/kennethrisa/discord-rustserverstatus.git
- Extract it and open folder, than open powershell in the same folder.
- Run command: npm install (This downloads the require modules from package.json)
- a: You can manualy do this with command: npm install discord.js request ws gamedig
- b: You should now see that you have a new folder node_modules.
- c: Start the bot npm start, and then close it, you will then see it has created a config file under /config/server1.json
- Open config/server1.json and add your token from (Do not use client secret) https://discordapp.com/developers/applications/me/

- Now we can start the bot with command: node app.js and you should see that the bot is started.
Install Windows only from command prompt (Manuall start)
- Open powershell in the directory you downloaded: npm install
- npm start # (It will fail bc of config file does not exist and create an example one)
- It will now create a config file in folder config/server1.json
- Edit server1.json with all the information.
- Start the bot again: npm start
Windows only: Install the app as a windows service.
- Open powershell: npm install
- npm install -g node-windows
- npm link node-windows
- node installSVC.js
- You will get some prompt to allow it to install, press yes on all.
- Open services.msc and see discord-rustserverstatus is started. now it will always start on bootup.
- Uninstall:
- node uninstallSVC.js
- Press yes on all prompts
Linux only: Start bot always using forever
- $ npm install forever -g
- $ forever start /path/to/app.js
- Someone named nimdasys on oxide reported it. Thanks