TwitchSpawn
Minecraft 1.16.x
Search…
⌃K
📄

credentials.toml

credentials.toml is a TOML file used by the mod to initiate connection with the Socket APIs. It is consisted of several arrays.

Field: moderatorsTwitch

Type: String array Description: Nicknames of moderators on Twitch. Exemplar Use:
moderatorsTwitch = [ "Alice", "Bob", "Eve" ]

Field: moderatorsMinecraft

Type: String array Description: Nicknames of moderators in Minecraft. Exemplar Use:
moderatorsMinecraft = [ "AliceInMinecraft", "BobInMinecraft" ]

Field: streamers

Type: Object array Description: Array of streamer credential data Exemplar Use:
Single Streamer
Multiple Streamers
[[streamers]]
minecraftNick = "iGoodie"
twitchNick = "iGoodiex"
platform = "Streamlabs"
token = "YOUR_SOCKET_TOKEN"
tokenChat = "YOUR_CHAT_TOKEN_HERE - Can be generated from https://twitchapps.com/tmi/"
[[streamers]]
minecraftNick = "Neeta"
twitchNick = "neeta"
platform = "Streamlabs"
token = "YOUR_SOCKET_TOKEN"
[[streamers]]
minecraftNick = "Pomapii"
twitchNick = "pomapi"
platform = "StreamElements"
token = "YOUR_SOCKET_TOKEN"