Update Readme

This commit is contained in:
glax 2024-01-16 01:22:53 +01:00
parent 9f961f2c65
commit 4e30b7f9d8

View File

@ -1,7 +1,7 @@
Example `config.json`. Place next to executable. Will also be generated on first start. Example `config.json`. Place next to executable. Will also be generated on first start.
``` ```json
{ {
"SteamId": "<Your SteamId>", "LogLevel": 2,
"OpenShockSettings": { "OpenShockSettings": {
"Endpoint": "https://api.shocklink.net", "Endpoint": "https://api.shocklink.net",
"ApiKey": "<Your Shocklink API Key>", "ApiKey": "<Your Shocklink API Key>",
@ -16,17 +16,16 @@
"Max": 1000 "Max": 1000
}, },
"Actions": { "Actions": {
"OnKill": "Beep", "OnKill": "Nothing",
"OnDeath": "Shock", "OnDeath": "Shock",
"OnRoundStart": "Nothing", "OnRoundStart": "Nothing",
"OnRoundEnd": "Vibrate", "OnRoundEnd": "Vibrate",
"OnRoundWin": "Nothing", "OnRoundWin": "Nothing",
"OnRoundLoss": "Shock" "OnRoundLoss": "Shock",
"OnDamageTaken": "Vibrate"
} }
} }
``` ```
### SteamId
Your SteamId64 [here](https://steamid.io/lookup)
### ApiKey ### ApiKey
For OpenShock get token [here](https://shocklink.net/#/dashboard/tokens) For OpenShock get token [here](https://shocklink.net/#/dashboard/tokens)