Skip to content

custom keys

eli fessler edited this page Dec 10, 2017 · 9 revisions

As of version 0.2.0, splatnet2statink supports adding custom keys to config.txt to enable specialized functionality not enabled as part of the expected typical user experience. These are features which change the script's functionality but are closer to user-specific options rather than command line flags which can be quickly specified or changed each time the script is run.

If you'd like to request official support for your custom feature so that it may be enabled or disabled with an optional key, please create a GitHub issue, or reach out on Twitter or Reddit. Requesting official support to accommodate specific use cases makes it easier to apply future updates to the script without having to maintain a separate fork.

Supported keys

  • ignore_private: Ignores all private battle results and does not upload them to stat.ink.
    • Intended for those running the script as a daemon (i.e. running 24/7 on a VPS, Raspberry Pi, etc.) so that they may participate in gear swap/non-serious private lobbies without having to manually start/stop the script or delete each battle afterward.
    • For more information, see @emaame's guide here.

An example config.txt with all custom keys enabled is provided below for reference:

{
    "api_key": "",
    "cookie": "",
    "user_lang": "",
    "ignore_private": "true"
}
Clone this wiki locally