- Modify the name, password, and gameId variables to match your username, password, and gameId.
- Download this script (or clone the project) on a server of your choice, in a folder of your choice.
i.e.:
mkdir blight && cd blight && git clone URL
- Download nodejs
- In the directory that contains the file, install all dependencies
npm i
- If this is a linux server, simply use
crontab -e
to enter cron configurations - Add these two lines to run the script at 14:00 UTC (8:00 CST) and 4:00 UTC (22:00 CST)
0 14 * * * /usr/bin/node /home/YOUR-USER/blight/blight.js
0 4 * * * /usr/bin/node /home/YOUR-USER/blight/blight.js
- Celebrate!