├── package.json ├── README.md └── index.js /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "steamidler", 3 | "version": "1.0.0", 4 | "description": "Simple steam games idler", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "https://github.com/Gunthersuper", 10 | "license": "ISC", 11 | "dependencies": { 12 | "steam-user": "^4.19.3" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Simple-Steam-Idler 2 | Simple steam games idle script 3 | 4 | Instruction: 5 | 1. Install NodeJS - https://nodejs.org/ 6 | 2. Download this script (Code -> Download ZIP). Unpack the archive. 7 | 3. In the console oper the script folder. Enter in the console: `npm i`. 8 | 4. Customize `index.js` file for your account. 9 | 5. Run the script - enter in the console: `node index` 10 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const SteamUser = require('steam-user'); 2 | 3 | const user = new SteamUser(); 4 | 5 | const logOnOptions = { 6 | accountName: 'x02dz005traoppy', //Enter here your account login 7 | password: 'MZRPIW4YD1NT116' //Enter your password 8 | } 9 | 10 | user.logOn(logOnOptions); 11 | 12 | user.on('loggedOn', () => { 13 | console.log(logOnOptions.accountName + ' - Successfully logged on'); 14 | user.setPersona(1); //1 - online, 7 - invisible 15 | user.gamesPlayed([440,730,570]); //List app IDs 16 | }); --------------------------------------------------------------------------------