Is it possible to have multiple webhooks?Solved

As the title, is it possible to have 2 webhooks for example? so it could broadcast the information to 2 servers/channels?

Doesn't look like it's currently supported but I can add it to my TODO list.

This would be nice.  Different info, for different discord channels.  I was able to get the json properly formatted with 2 different sets of info and 2 different webhooks.... but get: 
[Discord Server Stats] An error occured sending the message Code: 500 Message: {"message": "500: Internal Server Error", "code": 0}

LirEI5wzSfegI6b TheProfessor

This would be nice.  Different info, for different discord channels.  I was able to get the json properly formatted with 2 different sets of info and 2 different webhooks.... but get: 
[Discord Server Stats] An error occured sending the message Code: 500 Message: {"message": "500: Internal Server Error", "code": 0}

Discord is currently having an outage https://discordstatus.com/



Merged post

This has been implemented in version 2.1.0

Didn't see much info in the plugin docs. 

Can I safely presume, it's along the lines of multiple of these entries?  (with the appropriate info below each, of course)

{
      "Discord Webhook": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
      "Message Update Interval (Minutes)": 2.0,
      "Embed Message": {
        "Content": "",
        "Embeds": [
          {​

Yes, that is correct. It would look something like this:

{
  "Stats Messages": [
    {
      "Discord Webhook": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
      "Message Update Interval (Minutes)": 2,
      "Embed Message": {
        "Content": "",
        "Embeds": [
          {
            "Enabled": true,
            "Title": "{server.name}",
            "Description": "Live Server Stats",
            "Url": "http://www.i4ani.com",
            "Embed Color": "#de8732",
            "Image Url": "",
            "Thumbnail Url": "",
            "Add Timestamp": true,
            "Fields": [
              {
                "Title": "Status",
                "Value": "{discordserverstats.status}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Online / Max Players",
                "Value": "{server.players} / {server.players.max}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Sleepers",
                "Value": "{server.players.sleepers}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Players Loading",
                "Value": "{server.players.loading}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Players In Queue",
                "Value": "{server.players.queued}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Map Entities",
                "Value": "{server.entities}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Seed",
                "Value": "[{world.seed}](https://rustmaps.com/map/{world.size}_{world.seed})",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Size",
                "Value": "{world.size} ({world.size!km^2}km^2)",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Plugin Count",
                "Value": "{plugins.amount}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Server Framerate",
                "Value": "{server.fps}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Memory Usage",
                "Value": "{server.memory.used:0.00!GB} GB / {server.memory.total:0!GB} GB",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Network IO",
                "Value": "In: {server.network.in:0.00!KB} KB/s Out: {server.network.out:0.00!KB} KB/s ",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Wiped Date Time",
                "Value": "{server.map.wipe.last:MM/dd/yy hh:mm:ss!local}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Joined",
                "Value": "{player.joined.last}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Disconnected",
                "Value": "{player.disconnected.last} ({player.disconnected.last.duration:%h}H {player.disconnected.last.duration:%m}M {player.disconnected.last.duration:%s}S)",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Wipe Schedule",
                "Value": "Map & BP's Monthly ",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Click & Connect",
                "Value": "steam://connect/{server.address}:{server.port}",
                "Inline": false,
                "Enabled": true
              }
            ],
            "Footer": {
              "Icon Url": "",
              "Text": "",
              "Enabled": true
            }
          }
        ]
      }
    },
    {
      "Discord Webhook": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
      "Message Update Interval (Minutes)": 2,
      "Embed Message": {
        "Content": "",
        "Embeds": [
          {
            "Enabled": true,
            "Title": "{server.name}",
            "Description": "Live Server Stats",
            "Url": "http://www.i4ani.com",
            "Embed Color": "#de8732",
            "Image Url": "",
            "Thumbnail Url": "",
            "Add Timestamp": true,
            "Fields": [
              {
                "Title": "Status",
                "Value": "{discordserverstats.status}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Online / Max Players",
                "Value": "{server.players} / {server.players.max}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Sleepers",
                "Value": "{server.players.sleepers}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Players Loading",
                "Value": "{server.players.loading}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Players In Queue",
                "Value": "{server.players.queued}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Map Entities",
                "Value": "{server.entities}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Seed",
                "Value": "[{world.seed}](https://rustmaps.com/map/{world.size}_{world.seed})",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Size",
                "Value": "{world.size} ({world.size!km^2}km^2)",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Plugin Count",
                "Value": "{plugins.amount}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Server Framerate",
                "Value": "{server.fps}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Memory Usage",
                "Value": "{server.memory.used:0.00!GB} GB / {server.memory.total:0!GB} GB",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Network IO",
                "Value": "In: {server.network.in:0.00!KB} KB/s Out: {server.network.out:0.00!KB} KB/s ",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Wiped Date Time",
                "Value": "{server.map.wipe.last:MM/dd/yy hh:mm:ss!local}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Joined",
                "Value": "{player.joined.last}",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Last Disconnected",
                "Value": "{player.disconnected.last} ({player.disconnected.last.duration:%h}H {player.disconnected.last.duration:%m}M {player.disconnected.last.duration:%s}S)",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Wipe Schedule",
                "Value": "Map & BP's Monthly ",
                "Inline": true,
                "Enabled": true
              },
              {
                "Title": "Click & Connect",
                "Value": "steam://connect/{server.address}:{server.port}",
                "Inline": false,
                "Enabled": true
              }
            ],
            "Footer": {
              "Icon Url": "",
              "Text": "",
              "Enabled": true
            }
          }
        ]
      }
    }
  ],
  "Debug Level (None, Error, Warning, Info)": "Warning"
}​
Locked automatically