Skip to content

StNimmerlein/salien-script-js

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

58 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

salien-script-js

πŸ‘½ Scripting the Steam Salien Sale minigame, the proper way.

A Node.js implementation of https://github.com/SteamDatabase/SalienCheat by xPaw with additional features!

salien-script-js on npm

CI Status Dependencies Dev Dependencies


🌈 Features

  • Easy to install, run and update πŸŽ‰
  • Update checker and log notifications βœ‰οΈ
  • Same logic as the PHP version (we almost have parity) πŸ‘½
  • Pick your own steam group πŸ‘Œ
  • Works well with multiple tokens/scripts πŸ‘₯
  • Name your running scripts πŸ‘€

Note: We'll try our best to keep this version up to date with the PHP and other versions! Suggestions welcome.


πŸ•ΉοΈ How to use this

  1. Install Node.js. (Version 10 and above)
  2. Log into Steam in your browser.
  3. Open the following URL: https://steamcommunity.com/saliengame/gettoken. You should be able to find the bit that looks like "token":"xxxxxxxx". Copy whatever is inside the second quotes, (e.g. xxxxxxxx).
  4. Open PowerShell on Windows. (Tip: Start > Run > type powershell.exe > Enter)
  5. Run npm install -g salien-script-js to install this project.
  6. Run the script by typing salien-script-js --token xxxxxxxx where xxxxxxxx is your token from step 3.

If you appreciate the script, please leave a star ⭐ on the project!

😍 How to update the script

  1. Close/cancel any running script windows
  2. Open PowerShell on Windows.
  3. Run npm update -g salien-script-js
  4. Re-run your scripts using the same command

Easy right?


πŸ‘Œ Represent your Steam Group (Optional)

If you'd like to represent a specific steam group, simply pass the --group option with the ID of the group.

salien-script-js --token xxxxxxxx --group 123456789

You can get your group id by going to https://steamcommunity.com/groups/YOUR_GROUP_NAME_HERE/memberslistxml/?xml=1 and replacing YOUR_GROUP_NAME_HERE with the group name shown at the end of your groups url.

You must be a member of a group to represent that group!

If you'd like to team up with an established larger group please consider using either:

πŸ‘₯ Multiple tokens/scripts

Simply open another PowerShell window and run salien-script-js --token yyyyyyyy --name "name of this script" where yyyyyyyy is your other accounts token and name of this script if what you'd like to see in the log outputs.

Advanced: Usage as an npm package

const SalienScript = require('salien-script-js');

const config = {
  token: '', // Your token from https://steamcommunity.com/saliengame/gettoken
  clan: '', // (optional) Clan id from https://steamcommunity.com/groups/YOUR_GROUP_NAME_HERE/memberslistxml/?xml=1
  name: '', // (optional) Name of this instance for logging
};

const salien = new SalienScript(config);

salien.init();

Development

Want to help out? Awesome! πŸ‘

Pull the repo and you can run the script with node cli.js -t TOKEN.

PRs, suggestions, fixes and improvements all welcome.

About

πŸ‘½ Scripting the Steam Salien Sale minigame, the proper way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%