There are a few things you need to take care of before you can start setting up your own bot.
To run your bot account you will need to make a new Steam account. Otherwise you won’t be able to play any games while your bot is running.
You will also want to remove the restrictions from your account so your bot can add people and send trade offers. To remove those restrictions you need to have deposited at least the equivalent of $5 USD to the steam wallet of your new steam account.
You can read more about the requirements here.
On your steam profile privacy settings make sure that everything is public.
If your Team Fortress 2 is not Premium, then your backpack will only have a size of 50 slots and any crafting outputs (mainly metals) will be untradeable until you upgrade to Premium. You shouldn’t use Upgrade to Premium for this because it’s not cost effective. Just buy something on Mann Co. Store (Team Fortress 2 in-game store) or Mann Co. Store Online.
To buy something on Mann Co. Store Online, open a browser, login into your new account on Steam, and go to one of the links below:
*Note: You can change the amount that you want to buy by changing the number of the last path /[Amount]
.
Your bot needs to have 2FA enabled. The best and easiest way is to use Steam Desktop Authenticator (SDA). It also allows us to easily export the steam secrets which we will need in the future.
Setup instructions for installing SDA can be found on the github page.
Make sure you write down your shared_secret
and identity_secret
in a notepad.
Steps on how to obtain them:
maFiles
folder..maFile
you will want to open with notepad is named after the SteamID64 of the new account (example: my_bot_SteamID64.maFile
)."shared_secret":
and copy the string that comes after it (example: searching for "shared_secret"
gives us this result "shared_secret": "agdgwegdgawfagxafagfkagusbuigiuefh="
so what we copy is only this agdgwegdgawfagxafagfkagusbuigiuefh=
)"identity_secret":
and repeat what you did in step 4.If you open your .maFile
in notepad and all you see is gibberish, it means your file is encrypted. For you to be able to obtain and write down the secrets you will have to decrypt your file and once you got both of them you can feel free to encrypt them again.
To decrypt your files:
Manage Encryption
.After that follow the steps above on how to obtain your secrets and then you can encrypt your .maFile again.
You need to provide backpack.tf your trade offer link if you want people to send you trades without having to add you.
To accomplish this you will want to:
After this, you will want to get and write down your Backpack.tf API Key (apiKey
) and Backpack.tf Access Token (accessToken
).
To get both values, follow the instructions:
Login in with your future bot account on backpack.tf.
Show token
under “User Token”.http://localhost:4566/tasks
and comment as Check if a user is banned on backpack.tf
.You made a new steam account on which you removed the restrictions and upgraded your TF2 status to Premium.
You also set up Steam Desktop Authenticator and wrote down your identity_secret
and shared_secret
.
You added your trade offer link to backpack.tf and wrote down both your Backpack.tf apiKey
and accessToken
.
Then decide if you need to follow the Installation on Windows or the Installation on Linux.