1.1.5 • Published 10 years ago
steamstuff v1.1.5
SteamStuff
This is a simple module that's designed to make it very easy to bootstrap a node-steam-based bot.
Installation
Install it from npm:
$ npm install steamstuffOr, add it to your package.json at the same time:
$ npm install steamstuff --saveUsage
It exports a single function, which you should call on both the Steam namespace provided by node-steam, and your instantiated Steam.SteamClient.
var Steam = require('steam');
var SteamStuff = require('steamstuff');
var bot = new Steam.SteamClient();
SteamStuff(Steam, bot); // You're now benefiting from SteamStuffWhat It Does
- Automatically listens for
serversevent, saves server list, and applies it toSteam.serverson startup - Automatically manages sentry files for Steam Guard and prompts for Steam Guard auth codes from stdin if necessary