Admin Reports (Call Admin)
Description:
It is my first release post here so please bear with me! :) ::)
This admin reports addon sends notification messages on steam to all friends using a third party steam bot.
Youtube Video:
http://www.youtube.com/embed/1Gj760CRHyM (http://www.youtube.com/embed/1Gj760CRHyM)
(http://img.ctrlv.in/img/15/04/09/5526936b66d1a.png)
(http://img.ctrlv.in/img/15/05/15/555664265e380.png)
Requirements:
- A linux/windows server or vps with nodejs(min required version: v0.12.2)
- A steam account. (Just make one, it takes 1 min.)
- ULX
- Some skill :P
How to set up?
https://github.com/azarus/AdminReports (https://github.com/azarus/AdminReports) - Download
This addon has 2 parts: a game server addon and a steambot.
The steambot can run on any machine linux or windows, but it requires nodejs(v0.12.2).
I recomend using linux.
Addon:
Just upload the adminreport folder to your addons folder.
Server cvars:
ulx adminreport_remotehost "http://mysteambot:8000/" // This is used by the game server to send out notifications to the steambot. Server ip and port (Not the game server's ip!)
ulx adminreport_remotepassword "password" // This is the password we set in the steambot's file
ulx adminreport_delay 60 // Delay between 2 reports (Anti spam purposes)
Note that you need the http:// in the adminreport_remotehost cvar!
Steam Bot
I am going to make a short tutorial video on how to setup the steambot because it might be complicate for non-expert users.
If you don't have a server, i recommend digital ocean it is cheap and reliable.
For digital ocean sign up here! ($5 / month. + $10 credit for free! If you use this link!) (https://www.digitalocean.com/?refcode=2b5de77b223c)
If you don't have spare $5 dollars then you can use your own computer but it requires port forwarding and i will not describe it here sorry.
So i assume you already have a VPS setup and running and you're logged in.
(Root access needed!)
Linux
First create a directory and enter
mkdir steambot
cd steambot
Install NodeJS and its dependencies:
CentOS:
yum update
curl -sL [url]https://rpm.nodesource.com/setup[/url] | bash -
yum install -y nodejs
yum install wget
Grab NodeJs: (Note that we need v0.12.2 thats why we're not using the package manager!)
wget http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x64.tar.gz
Extract and copy required files:
tar xzf node-v0.12.2-linux-x64.tar.gz
cp ./node-v0.12.2-linux-x64/bin/node node
Install dependencies (using npm):
npm install steam
npm install underscore
npm install winston
npm install express
npm install body-parser
Download the Bot:
wget [url]https://raw.githubusercontent.com/azarus/AdminReports/master/steambot/Release/app.js[/url]
Open app.js and edit the following lines:
var USERNAME = "test1"; // Steam Username
var PASSWORD = "test2"; // Steam Password
var STEAMNAME = "Chat Bot"; // The display name on steam
var SRVPW = "password"; // Remote Password This is used by the Cvar(adminreport_remotepassword)
var SRVPORT = 8000; // Remove listen port this is used by the cvar (adminreport_remotehost)
Start the bot:
./node ./app.js
To make it running in the background you need to install screen
yum install screen
apt-get install screen
Depends on what Os you have installed.
screen -mdS steambot ./node ./app.js
Windows:
Just download node and start it from the command line.
https://nodejs.org/download/ (https://nodejs.org/download/)
node app.js
Downloads:
GitHub Page:
https://github.com/azarus/AdminReports (https://github.com/azarus/AdminReports)
Just press the download-zip button.
Questions?
If you have any questions feel free to add me on steam.
http://steamcommunity.com/id/azarusx/ (http://steamcommunity.com/id/azarusx/)