Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
/ wdbot Public archive

Bot for remotely control Space Station 13 servers. Runs on Linux, using Node.js® as engine and using Discord as input.

Notifications You must be signed in to change notification settings

GesuArchive/wdbot

Repository files navigation

White Dream Project 🤖 Server Control Unit

Helps commicating with the server (that's runs on BYOND DM Lang) and Discord bot.

Uses badges Open Source
Made with JS Made with MD
Made in-VS Code ˙ Ubuntu ˙ Windows ˙ travis-ci ˙ Vulnerabilities ˙ MIT license
Node (Current) ˙ dependencies ˙ DevDependencies ˙ CrowdIn % ˙ Last Commit
GitHub Forks ˙ GitHub Stars ˙ GitHub Watchers ˙ Is FUNCLUB Up? ˙ discord.gg/bNrAW37


Table of Contents

** How to use this *** Linux *** Windows ** License


About

This bot greatly simplifies the hosting of game servers. It is not necessary, but without it, the life of the host will be clearly more difficult.

Runs on Node.js ® and using Discord ®.

How to use this

Linux

  1. Check if the BYOND platform is installed. If not, then find out the latest version here. At the time of writing, the current Stable version is 513.1542, but you can check it here:
    513.1542
    514.1554
    Stable version
    Beta version

Download and unzip the installation package:

cd ~
wget http://www.byond.com/download/build/513/513.1542_byond_linux.zip
unzip 513.1542_byond_linux.zip
rm 513.1542_byond_linux.zip
cd byond/

Install it:

sudo make install

And test it:

DreamDaemon

In case that the help information is displayed, it means that the BYOND is installed and you can proceed.

cd ~
git clone https://github.com/Gesugao-san/wdbot wdbot
cd wdbot/
  1. Copy index.js and s1.json files into some dir, it doesn't matters what dir.
  2. Install all dependencies by issuing this npm i discord.js shelljs chokidar log-timestamp is-root.
  3. Edit index.js and s1.json (you can create multiple servers) as your server(s) need. The main things you need to edit is on top of the file.
  4. Create dirs for production and repos. In the repos dir clone your server and name his folder like repo_SERVERNAME.
  5. Replace your deploy.sh in the server repo with ours.
  6. Now run node index.js and that is.
  7. You forgot to install screen: sudo apt install screen

If your bot crashes sometimes, please use this. Then need to compile all libs and place in the server prod dir.

Windows

To do or delete.

License

MIT.


Discord-Logo-Color.svg White