ASFTimedPlay is a plugin for ArchiSteamFarm that allows you to set your bots to play games for specific durations and optionally idle a game afterwards with settings that persist between restarts of ASF.
!playfor
- Play games for a specified duration
!idle
- Idle a game after playing for a specified duration
!playfor [Bots] <AppID1,AppID2,...> <Minutes1,Minutes2,...>
The PlayFor command lets you set up timed game sessions. You can specify multiple games and their durations, with an optional idle game at the end.
!playfor ASF 400 60
- All bots play AppID 400 for 60 minutes!playfor ASF 400,620 60
- All bots play AppID 400 and 620 for 60 minutes each!playfor botname 400,620 60,10
- Bot "botname" plays AppID 400 for 60 minutes, then AppID 620 for 10 minutes!playfor ASF 400,620,500 60,30,*
- All bots play AppID 400 for 60 minutes, AppID 620 for 30 minutes, then idle AppID 500!playfor stop
- Stops all PlayFor sessions on the current bot (does not clear the idle game, if set)!playfor stopall
- Stops all PlayFor and Idle sessions on the current bot
!idle [Bots] <AppID>
The Idle command sets up a game to be idled during bot downtime (when not farming cards or performing other tasks).
!idle ASF 400
- All bots will idle AppID 400 during downtime!idle botname 620
- Bot "botname" will idle AppID 620 during downtime!idle stop
- Stops idling on the current bot
- Play multiple games for specified durations
- Automatically switch between games based on configured times
- Optional idle game after completing timed sessions
- Persistent configuration that survives bot restarts
- Automatic resumption of sessions after disconnections
- Compatible with ASF's card farming and other features