-
-
Notifications
You must be signed in to change notification settings - Fork 80
Adding items
In order to have your bot to start trading, you will need to tell your bot what items to buy/sell/bank by adding the items to the pricelist through Steam Chat. The command that you will use is !add command.
3.4.1 Using item parameter
You can just copy the item full name from Backpack.tf, and send to your bot. Example:
!add item=Max's Severed Head
!add item=Taunt: The Schadenfreude
!add item=Terror-Watt Stately Steel Toe
Just make sure to not put a space between the item
and the equal sign (=
). You can add other listings settings parameter(s) if needed.
Example:
!add item=Max's Severed Head&max=3
===
3.4.2 Using sku parameter
There are two ways of obtaining the sku of an item. You can use the marketplace.tf method or you can use the !sku command
-
Example 1:
- Item: Sunbeams Cosa Nostra Cap
- URL: https://marketplace.tf/items/tf2/459;5;u17
-
sku
: 459;5;u17 - to add:
!add sku=459;5;u17
-
Example 2:
- Item: Specialized Festivized Australium Tomislav
- Steam chat command:
!sku Specialized Killstreak Festivized Australium Tomislav
-
sku
: 424;11;australium;kt-2;festive - to add:
!add sku=424;11;australium;kt-2;festive
===
3.4.3 Using item name
or defindex
parameters
Example:
-
-
!add name=Tour of Duty Ticket
OR -
!add defindex=725
(no need to add sub-parameter since this is the default).
-
-
Non-Craftable Tour of Duty Ticket
-
!add name=Tour of Duty Ticket&craftable=false
OR !add defindex=725&craftable=false
-
-
-
!add name=Pyro's Beanie&quality=Vintage
OR !add defindex=51&quality=Vintage
-
-
Strange Silver Botkiller Minigun Mk.II
-
!add name=Silver Botkiller Minigun Mk.II&quality=Strange
OR !add defindex=958&quality=Strange
-
-
Pyroland Daydream Smissmas Saxton
-
!add name=Smissmas Saxton&quality=Unusual&effect=Pyroland Daydream
OR !add defindex=31089&quality=Unusual&effect=Pyroland Daydream
-
-
-
!add name=Tomislav&quality=Strange&australium=true
OR !add defindex=424&quality=Strange&australium=true
-
-
Strange Festivized Australium Tomislav
-
!add name=Tomislav&quality=Strange&australium=true&festive=true
OR !add defindex=424&quality=Strange&australium=true&festive=true
-
-
Strange Professional Killstreak Australium Tomislav
-
!add name=Tomislav&quality=Strange&australium=true&killstreak=3
OR !add defindex=424&quality=Strange&australium=true&killstreak=3
-
-
-
!add name=Festive Black Box
OR !add defindex=1085
-
-
If you want to add Mann Co. Supply Crate Key with name parameter, it will list out all possible key defindexes from the tf2 schema. Please choose the one at the top with the name Decoder Ring and use
!add defindex=5021
. -
If you want to add a stock weapon (such as Scattergun, Minigun and etc), there are two defindexes for stock weapons. You only need to use the one with Upgradeable_TF_WEAPON_NAME and use that defindex.
-
Festive and Festivized are two different things. When adding a Festive weapon, please include
Festive
in the item name (oh and yes, the item defindex is also different), but ifFestivized
, you need to add the sub-parameterfestive=true
. -
If you want to add
Name Tag
orNon-Craftable Name Tag
, you will need to use the correct defindex, which is5020
instead of2093
. This bug can not be fixed unless Team Fortress 2 updates its schema to remove the wrong defindex.
===
- Example 1: "I want to bank
Max's Severed Head
for a max of3
with autoprice enabled" - Summary:
- Item: Max's Severed Head (
162;6
) - intent: bank
- min: 0
- max: 3
- autoprice: true
- enabled: true
- Item: Max's Severed Head (
-
Command to use:
!add sku=162;6&max=3
(no need to add the other this since they are all default).
///
- Example 2: "I want to sell
Strange Australium Stickybomb Launcher
for23 keys
" - Summary:
- Item: Strange Australium Stickybomb Launcher (
207;11;australium
) - intent: sell
- min: 0
- max: 1
- autoprice: false
- enabled: true
- sell price: 23 keys
- buy price: 0 keys, 0 ref
- Item: Strange Australium Stickybomb Launcher (
-
Command to use:
!add sku=207;11;australium&intent=sell&sell.keys=23&buy.metal=0
To add items in bulk you will be using the !addbulk
command. It allows you to use the same item identifying and listing setting paramters as using the !add
command.
The syntax is as follows:
!addbulk item_one
item_two
item_two
Let's look at an example:
!addbulk sku=5021;6&intent=sell
name=Tomislav&quality=Strange&australium=true
defindex=424&quality=Strange&australium=true&festive=true
As always, any listing setting parameters you don't specify are using default values.
- If you want to sell it for only in keys, then you can ignore the
sell.metal
parameter. - You do not need to set
autoprice=false
if you're about to manually price the item.
Continue: Updating an item or multiple items
- Getting a VPS
- Downloading the bot
- Configuring the bot
- Running the bot (node and PM2)
- Introduction to pricelist
- Parameters
- Manage pricelist
- Other commands