Skip to content

UNMAINTAINED. node-steam plugin for Team Fortress 2

Notifications You must be signed in to change notification settings

seishun/node-tf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

node-tf2

A sample node-steam plugin for Team Fortress 2.

Usage

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.

Methods

playTF2()

Reports to Steam that you're playing Team Fortress 2.

craftItems(items, [recipe])

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".

deleteItem(item)

Attempts to delete item.

About

UNMAINTAINED. node-steam plugin for Team Fortress 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published