FabioZumbi12 / SEDiscordBridge

A Torch plugin to connect the SE server to Discord
MIT License
13 stars 11 forks source link

Faction Channels not working #35

Closed Sadragos closed 5 years ago

Sadragos commented 5 years ago

I've setup the bot following the guide and it works fine with the default channel, however the faction-channels do not in either direction. Any Idea on why?

This is my config file:

<?xml version="1.0" encoding="utf-8"?>
<SEDBConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Enabled>true</Enabled>
  <PreLoad>true</PreLoad>
  <BotToken>TOKEN</BotToken>
  <ChatChannelId>622806358118629379</ChatChannelId>
  <Format>:rocket: **{p}**: {msg}</Format>
  <Format2>[D]{p}</Format2>
  <CommandChannelId>623757296555655169</CommandChannelId>
  <CommandPrefix>;</CommandPrefix>
  <AsServer>false</AsServer>
  <UseNicks>false</UseNicks>
  <ServerToDiscord>true</ServerToDiscord>
  <ServerName>Server</ServerName>
  <StatusChannelId>624681430903029768</StatusChannelId>
  <Started>:white_check_mark: Server gestartet!</Started>
  <Stopped>:x: Server gestoppt!</Stopped>
  <Connect>:comet: {p} verbunden</Connect>
  <Join>:sunny: {p} ist online</Join>
  <Leave>:new_moon: {p} ist offline</Leave>
  <SimPing>false</SimPing>
  <SimChannel />
  <SimThresh>0.60</SimThresh>
  <SimMessage>@here Simulation speed has dropped below threshold!</SimMessage>
  <SimCooldown>1200</SimCooldown>
  <UseStatus>true</UseStatus>
  <StatusInterval>3000</StatusInterval>
  <StatusPre>Server Starting...</StatusPre>
  <Status>{p} Spieler | SIM {ss}</Status>
  <StatusPlayers>true</StatusPlayers>
  <StatusUrl />
  <MentOthers>true</MentOthers>
  <MentEveryone>true</MentEveryone>
  <TokenVisibleState>Visible</TokenVisibleState>
  <RemoveResponse>30</RemoveResponse>
  <FactionChannels>
    <string>KON:623756235790876693</string>
    <string>ALL:624582384914006036</string>
    <string>KOL:624582468095311873</string>
    <string>BWA:624886205951246346</string>
  </FactionChannels>
  <GlobalColor>White</GlobalColor>
  <FacColor>Green</FacColor>
  <FacFormat>:ledger: **{p}**: {msg}</FacFormat>
  <FacFormat2>[D-Fac]{p}</FacFormat2>
</SEDBConfig>
FabioZumbi12 commented 5 years ago

No idea! tested here and its working fine on latest builds.

Death666Machine commented 5 years ago

Gotta use full faction name not the abbreviation =D, should probably document that somewhere

FabioZumbi12 commented 5 years ago

Little details. This explains why it worked here and not for you guys!!