Skip to content

Setup & Registration

Samer Alsayegh edited this page Mar 9, 2017 · 1 revision

Set-up

Prerequisites:

  • NodeJS
  • npm

NPM

Install and run (using Example bot):

Using npm:

npm i node-steam-bot-manager --save

Copy 'InventoryBot.js' found in 'examples' folder. Link to raw-file

node InventoryBot.js # Run the example bot

That's it! If you encounter issues, just post in 'Issues' or contact me on Steam (link below)

How to run 24/7 (Linux - using Example bot)

  • 'yum install screen' or 'apt-get install screen' (Use based on your distro)
  • Create a 'server.sh' file wherever the bot you would like to run is (ex. InventoryBot.js) and paste the following:
#!/bin/bash
screen -dmLS BotManager node InventoryBot.js
  • Make sure permissions are set appropriately
chmod 755 server.sh
  • Finally, just run the script with
./server.sh
  • You may then access it, by typing 'screen -x BotManager'

Registering a Bot:

  • Choose 'register' option from main menu (use arrow keys to navigate the menu)
  • Choose 'new account' option from menu
  • Enter the username and password accordingly
  • New account will be added & registered

Importing a Bot:

  • Choose 'register' option from main menu (use arrow keys to navigate the menu)
  • Choose 'import account' option from menu
  • Enter the username and password.
  • Retain the following values from your auth file of the other framework:
    • shared secret
    • identity secret
    • revocation code
  • Upon completion, imported account will be added & registered.

Clone this wiki locally