ZixeSea#1234 - Lead developer - github: ZixeSea
This project has been created for me to easily run a steam idler 24/7 in the background without using many resources. this project has been put on hold for a long time until some people contacted me about it and because of it, I rewrote everything at 2022. With this rewrite, I also added things like randomGameIdle, randomTimeIdle, and parallelGameIdle up to 32 games at once (before it idled just a static list of games).
steam-user - Allows interaction with the Steam network via the Steam client protocol.
time-stamp - Get a formatted timestamp.
asciiart-logo - renders a splash screen in text console with logo from ASCII characters.
This project is licensed under the MIT License - see the LICENSE file for details (deleting and/or modifying the license file after forking isn't allowed).
1. Preparations
1.1. Requirements
1.2. Get code
2. Config
2.1. Idler config
2.2. PM2 config
3. Linux
3.1. Update system (L)
3.2. Install Node.js (L)
3.3. Start the bot (L)
4. Windows
4.1. Install Node.js (W)
4.2. Start the bot (W)
git
command line (Windows|Linux|MacOS)
node
version 14.17.3 or higher (expained later)
Steam
account is also required (get here)
⚠️ WARNING⚠️
If you have 2AF on for you steam account, you need to provide that too and app will ask for it while starting.
Run the following command in a CMD/terminal window in the location where you want the folder to be.
git clone https://github.com/ZixeSea/SteamIdler.git
⚠️ WARNING⚠️
Remember to change the config file after getting the code otherwise, it won't work (more info here).
You can find the config file in the folder that was created in the previous step ("this one"), it should be in the folder "src/config" and there change the file "account.js".\
In the config file, there are 2 really important things that must be changed first, here is what they mean
username
The username you use to login to steam
password
The password you use to login to steam
Than there are sme addicinal thing you can config/change to make the idler work how you want it, and does are
statusInvisible
If this is set to true it will show your account as offline instead of online
randomIdleGames
If set to true, idleToIdle won't be used and it will randomly idle games
idleFreeGames
If set to true the randomIdleGames will includes free to play games
parallelGameIdle
The number of games it should idle at ones if using randomIdleGames (can been between 0 and 32)
staticIdleTime
If set to 0 it will create a random number, else it will use this number (number must be in MS)
blacklist
A list of games you don't want to idle if using randomIdleGames (use game IDs here)
SkipBannedGames
If set to true it won't idle games your banned in while using randomIdleGames
idleToIdle
Static list of games to idle, only gets used if randomIdleGames is false
Hereunder is an example config:
accOptions: {
username: 'some username',
password: 'some password',
statusInvisible: false
},
idleOptions: {
randomIdleGames: true,
idleFreeGames: true,
parallelGameIdle: 1,
staticIdleTime: 0,
blacklist: [],
SkipBannedGames: false,
idleToIdle: [ 730, 570, 440 ]
}
⚠️ WARNING⚠️
Everything in this section is based on a server running Ubuntu 18.04 without GUI, this bot and all commands mentioned here can be performed on another distro but the commands or steps may be slightly different.
To make you get the most recent versions of any software you download, update your system first with the following command in a terminal window.
sudo apt update && sudo apt upgrade -y
Run the following 2 commands in a terminal window to install Node.js.
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejs
Open the folder you downloaded in the previous step ("this one"), and open a terminal window there and run the following 3 commands.
npm i
node .
⚠️ WARNING⚠️
Everything in this section is based on a server running Windows 10, this bot and all commands mentioned here can be performed on another Windows version but the commands or steps may be slightly different.
Installing Node.js on windows is really easy, they have a normal installer for it and you can download it on their website (so it's simply clicking "next" and "ok").
Link: https://nodejs.org/en
Open the folder you downloaded in the previous step ("this one"), and open a CMD window there and run the following 3 commands.
npm i
node .