Skip to content

Configure settings.json

Pavel edited this page Feb 16, 2022 · 6 revisions

Check this page to find out how to obtain all required data.


Understanding settings.json

Current settings.def.json schema:

{
  "ESIConfig": {
    "EsiUrl": "https://esi.evetech.net/",
    "DataSource": "Tranquility",
    "ClientId": "**********",
    "SecretKey": "**********",
    "CallbackUrl": "http://localhost/evecallback",
    "UserAgent": "LEVIATHAN"
  },
  "DiscordConfig": {
    "ClientId": 0,
    "ClientSecret": "**********",
    "BotToken": "**********",
    "CallbackUrl": "http://localhost/discordcallback",
    "ServerGuildId": 0
  },
  "DatabaseConfig": {
    "ConnectionString": "localSqlite.db"
  },
  "BotConfig": {
    "Language": "en-US",
    "WelcomeMessageEnabled": false,
    "WelcomeMessage": "message",
    "WelcomeMessageChannelId": 0,
    "PingCommandPeoples": [],
    "PingCommandMessage": "",
    "EnforceCorporationTicker": true,
    "EnforceAllianceTicker": false,
    "EnforceCharacterName": true,
    "RemoveRolesIfTokenIsInvalid": true,
    "AuthGroups": [
      {
        "AllowedCorporations": ["CORP_TICKER"],
        "AllowedCharacters": ["Character Name"],
        "AllowedAlliances": ["ALLY_TICKER"],
        "DiscordRoles": ["Discord Role"]
      }
    ]
  }
}
Clone this wiki locally