A sample node-steam plugin for Team Fortress 2.
Initialize a TeamFortress2
instance with a SteamClient
instance.
var Steam = require('steam');
var steamClient = new Steam.SteamClient();
var TeamFortress2 = require('tf2');
var tf2 = new TeamFortress2(steamClient);
All TeamFortress2 methods require the SteamClient instance to be logged on.
I'm probably not going to actively develop this, so feel free to fork and continue.
Reports to Steam that you're playing Team Fortress 2.
Attempts to craft items
, which is an array of item IDs. Use a string if the ID wouldn't fit in a Number. recipe
defaults to "wildcard".
Attempts to delete item
.