Configuration - BloodLetters/Dovast-Controller GitHub Wiki

⚙️ Configuration Guide

This page explains how to configure the project to suit your specific needs. You’ll learn about the available settings, how to modify them, and best practices for managing configurations.


📄 Configuration File Location

The main configuration files are located in the config/ directory:

📁 config/
 ├── keys/example.json    # keyboard/mouse settings
 ├── config.json          # Config settings
 └── Dovast.exe           # exe Programs

⚡ Basic Configuration

1. Application Settings (config.json)

This file controls core settings of the project.

Example:

{
  "service": "saweria", // you only can use 1 of them
  "debug": false,

   "saweria": {
       "stream_key": "PLACE_YOUR_KEY_HERE"
   },

   "trakteer": {
       "channel": "PLACE_YOUR_CHANNEL_KEY_HERE", 
       "test_channel": "PLACE_YOUR_TEST_CHANNEL_KEY_HERE"
   }
}

Key Options:

  • service: The name of the service you use(trakteer/saweria).
  • debug: Enable (true) or disable (false) debugging.
  • saweria.stream_key: Stream key to getting event from websocket
  • trakteer.channel trakteer.test_channel: channel and test channel from trakteer websockets

2. Keys Configuration (keys/example.json)

Handles donating event settings. You can create many files in the “keys” folder, for example example.json. you can create as many as you want as long as the settings are correct and it is in the “keys” folder.

Example:

{
   "type": "key",
   "key": "G",
   "price": 69420
}

Key Options:

  • type: you can check here for type Click here.
  • key: you can check here for key Click here.
  • price: donating price to trigger type and key

Need more advanced configuration tips? Feel free to suggest updates! ⚡