This article was last modified on . Some content may be outdated. Feel free to ask the author if you have questions.
Key Insights
The article explains how to use ArchiSteamFarm (ASF) with Docker on a Linux server to automatically farm Steam trading cards, which can then be used to craft badges, earn XP, and increase your Steam level. Deployment involves creating a docker-compose.yml file and configuration files, enabling the web interface, and configuring parameters such as WebProxy, Headless, IPCPassword, and SteamOwnerID as needed. After startup, open the web panel in a browser, create a bot, and enter your Steam username and password. A mobile authenticator code may also be required. Once enabled, ASF automatically determines the optimal order for farming cards; specific games can be selected by following the official documentation. While ASF is farming, you cannot normally play Steam games at the same time. Logging into the Steam client pauses ASF, and farming resumes automatically after the client goes offline.
引入
近日在B站看到一个很好看的steam展柜主题,打算正好装修一下steam主页
但是我steam目前只有5级,要到10级(或花费6000点数购买)才能有展柜
最快捷升级的方法应该是集卡合成,每次有100经验
卡牌掉落只与游玩时间有关,因此出现了通过模拟在游玩某游戏挂时长来收集掉落的卡片的项目
Watt Toolkit这有此功能,但是我希望能更方便一些,能长时间在Linux服务器上运行
于是找到了ArchiSteamFarm这个项目完美符合要求
部署
1.创建docker-compose文件
在合适的位置创建目录并新建docker-compose.yml
2.创建配置文件
新建子目录
然后新建配置文件,允许局域网访问控制面板
填写配置(我在部署时注意到如果不先写好配置文件,可能导致面板打不开)
完整配置:文档
请根据实际情况更改:
3.启动docker
开始挂卡
新建机器人
在浏览器打开面板,输入密码进入控制台
点击 新建机器人 :
其他保持默认即可,滑到最下面点击创建。
此时可能会要求输入Steam令牌,打开Steam手机app输入即可。
启动挂卡
登录成功在面板点击账号右侧的开关按钮,即可开始自动挂卡
此时可能注意到正在挂卡的并非我们希望的游戏,根据官方文档,它会自动按照最优顺序挂卡。
如果希望指定某款游戏挂卡,可以根据文档操作
需要注意的是,在挂卡期间不能游玩steam上的游戏,在打开steam时会提示在另一处登录,此时可以顶号使AFS停止挂卡,它会玩家steam客户端离线后继续自动挂卡。
挂了一晚上后: