↩️ Back
↩️ Back
What are credentials?
"credentials.xml" is a file that contains all information that WILL be gathered by platform integrations. It does provide the data to the platform you want to use with this mod
The file is, obviously, separated from the BepInEx Config File
Credentials file uses XML syntax to store data!
It must be located at the same directory where "StreamerIntegrationPlus.dll" is located at!
Here is an example of how this file should look like, please refer to platform/{platform name} for more info on these properties or even how to setup a specific build-in platform integration
<?xml version="1.0" encoding="utf-8"?>
<!--This is a file that contains your broadcasting platform credentials-->
<!--Please, do not share it with anybody, or else it could lead to-->
<!--some potentially big issues down the road, keep the data away from public-->
<Credentials>
<ActivePlatform>Twitch</ActivePlatform> <!-- Name of a platform without "Integration" -->
<Twitch.Username>coolUser</Twitch.Username>
<Twitch.OAuth>oauth:s0m304uThK3y</Twitch.OAuth>
<YouTube.APIKey>S0mEY0UTuBEapIK3y</YouTube.APIKey>
<YouTube.VideoID>S0MeyoUtub3V1DEoiD</YouTube.VideoID>
<Discord.BotToken>Some-DiSC0Rd-b0t-T0kEN</Discord.BotToken>
<Discord.ChannelID>0101010101010101</Discord.ChannelID>
<Discord.Whitelist>0001,0002, 0003</Discord.Whitelist>
<Kick.ChatroomID>000111</Kick.ChatroomID>
</Credentials>