Skip to content

Commit

Permalink
Changed the config name.
Browse files Browse the repository at this point in the history
I forget to remove and commited sensitivity data to this file, so i added it to the gitignore and changed the default file name.
  • Loading branch information
arthurfiorette committed Mar 19, 2021
1 parent 6477f08 commit 46f0347
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
build
dist
.vscode
.vscode
config.json
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ Open this repository [releases](https://github.com/ArthurFiorette/steam-trader/r

## Configuration

At this moment, to run properly this app, you will need to configure the **config.json** file **BEFORE** executing it. This file is in the **app** folder
At this moment, to run properly this app, you will need to configure the **config.json** file **BEFORE** executing it. This file is in the **app** folder.

### Attention!

The **config.json** file is renamed to **_config.json**, so you must rename and edit it before starting it.

**Asked questions:**

Expand All @@ -42,20 +46,20 @@ At this moment, to run properly this app, you will need to configure the **confi
```js
{
help: 'Need help? https://github.com/ArthurFiorette/steam-trader#configuration',
debug: false /* Leave it false unless you are a developer and want to modify this project */,
steam: {
debug: false /* Add complete debug messages to the logs*/,
login: {
username: 'username' /* The account username */,
password: 'password' /* The account password */,
sharedSecret: 'shared secret' /* The account shared secret */,
identitySecret: 'identity secret' /* The account identity secret */
identity: 'identity' /* The account identity secret */
},
status: {
gameId: 730 /* The game id that the bot will play when online */
},
trading: {
trashValue: 0.04 /* The minimum item price to be exchanged (you will not want 10000
trashLimit: 0.04 /* The minimum item price to be exchanged (you will not want 10000
$0.01 cases for your knife) */,
ownerIds: ['steam id 64', 'other steam id 64'] /* The bot will ALWAYS accept trades from this
owners: ['steam id 64', 'other steam id 64'] /* The bot will ALWAYS accept trades from this
steam ids */,
tradeWith0Profit: true /* If you want to accept a trade with the same price in both sides */
}
Expand Down
18 changes: 18 additions & 0 deletions app/_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"help": "Need help? https://github.com/ArthurFiorette/steam-trader#configuration",
"debug": false,
"login": {
"username": "username",
"password": "password",
"sharedSecret": "secret",
"identity": "identity"
},
"status": {
"gameId": 0
},
"trading": {
"trashLimit": 0.01,
"owners": ["ownerid","ownerid"],
"tradeWith0Profit": false
}
}

0 comments on commit 46f0347

Please sign in to comment.