-
-
Notifications
You must be signed in to change notification settings - Fork 80
Updating items
Sometime, after you've added the items that you want your bot trade, you might change your mind to adjust the min
and max
, change the intent
, and maybe manually price items that your bot bought. In order to do that, you will need to use !update command.
An !update
command pretty much similar to the !add
command, where you need to tell your bot what item (identifying parameter) and then include the listing settings parameters that you want to update. That's mean Table 3.2 and Table 3.3 can also be used here. In addition to Table 3.2, since the items have been added to the pricelist, now you can use a new identifying parameter instead of name
, defindex
, and sku
: the item
identifying parameter.
To use item
parameter, simply put the full item name. When you're using the !add
command with name
or defindex
identifying parameter, you need to use sub-parameters to specifically add your targeted item, but not with item
parameter.
-
Example 1: Let say you want to update the
max
to 3.-
Non-Craftable Tour of Duty Ticket
- When adding item using
!add
command (3 options):-
!add name=Tour of Duty Ticket&craftable=false
OR !add defindex=725&craftable=false
!add sku=725;6;uncraftable
-
- When updating the item using
!update
command (4 options):!update name=Tour of Duty Ticket&craftable=false&max=3
!update defindex=725&craftable=false&max=3
!update sku=725;6;uncraftable&max=3
!update item=Non-Craftable Tour of Duty Ticket&max=3
- When adding item using
-
Non-Craftable Tour of Duty Ticket
-
Example 2: Let say you want to update the
intent
to sell and manually price the item:-
Pyroland Daydream Smissmas Saxton
- When adding item using
!add
command (3 options):-
!add name=Smissmas Saxton&quality=Unusual&effect=Pyroland Daydream
OR !add defindex=31089&quality=Unusual&effect=Pyroland Daydream
!add sku=31089;5;u145
-
- When updating the item using
!update
command (4 options):!update name=Smissmas Saxton&quality=Unusual&effect=Pyroland Daydream&intent=sell&sell.keys=300&buy.keys=100
!update defindex=31089&quality=Unusual&effect=Pyroland Daydream&intent=sell&sell.keys=300&buy.keys=100
!update sku=31089;5;u145&intent=sell&sell.keys=300&buy.keys=100
!update item=Pyroland Daydream Smissmas Saxton&intent=sell&sell.keys=300&buy.keys=100
- When adding item using
-
Pyroland Daydream Smissmas Saxton
Parameter | Type | Description |
---|---|---|
resetgroup |
boolean |
Send with resetgroup=true will reset the group of that particular item to all . |
removenote |
boolean |
Send with removenote=true will reset both note.buy and note.sell values to null (will use templates). |
removebuynote |
boolean |
Send with removebuynote=true will reset note.buy value to null (will use buy order template). |
removesellnote |
boolean |
Send with removesellnote=true will reset note.sell value to null (will use sell order template). |
This bot has an option to update the listing parameters of all items at once, or update all items by group (if you have set the group when adding/updating the items individually).
-
Syntax:
!update all=true&[listing parameters to update]
-
Example:
-
!update all=true&intent=sell
- will update all item entries in your pricelist to intent=sell. -
!update all=true&max=5&intent=bank&enabled=false
- will update max to 5, intent to bank and disable listing on backpack.tf for all items.
-
You can only update intent
, min
, max
, autoprice
, and enabled
parameters for !update all=true
command.
Parameter | Type | Description |
---|---|---|
removenote |
boolean |
Sending !update all=true&removenote=true will set both note.buy and note.sell to null (will use your templates). |
-
!update all=true
to update all items at once DO NOT SUPPORT to update buy.keys, buy.metal, sell.keys, sell.metal, note.buy and note.sell parameters.
Syntax: !update all=true&withgroup=<groupName>&[listing parameters to update]
Example:
-
!update all=true&withgroup=craftw&intent=sell
- will update all item entries with group "craftw" in your pricelist to intent=sell. -
!update all=true&withgroup=craftw&group=craftweapon&max=5&intent=bank&enabled=false
- will update group "craftw" to "craftweapon", max to 5, intent to bank and disable listing on backpack.tf for all "craftw" items.
- Update all items by group SUPPORT updating buy.keys, buy.metal, sell.keys, sell.metal, note.buy and note.sell, BUT please make sure to adhere to the rules for
sell
andbuy
, which you HAVE to define BOTH of it. Example: -
!update all=true&withgroup=craft&buy.metal=0.05&sell.metal=0.11
- this will update buy/sell price for all items on the "craft" group.
- Getting a VPS
- Downloading the bot
- Configuring the bot
- Running the bot (node and PM2)
- Introduction to pricelist
- Parameters
- Manage pricelist
- Other commands