I just wipe my server it send the message to discord but it doesn't show the image. default config fresh installed your plugin
i am using ovh debian 10 with linuxlgsm
Image not showing on wipe
fixed i just replace url
"Image Url": "attachment://map.jpg", to "Image Url": "https://rustmaps.com/monuments/{world.size}_{world.seed}",
I have to reload the plugin for it to show the picture of the map. That is not very convenient when it automatically posts the wipe update in discord right as the server is up again. Can you please fix this?
I'm using linux btw.
Same Issue here.
I also have the same problem.
I know that after the force wipe my RustMapApi tells me that it has invalid images for the Underwater Lab, Train, and Ice Lake......
On my discord I get the a successful message sent to share information about the server but the map image is not included.
Is there something we need to add in order to render the map correctly? SO far I have only modded the discord wipe plugin with inserting my Discord Webhooks.
So you don't get the map at all? First id try to reload the discord wipe plugin. If that does not work, id read through both the configs. I can't remember what I did to set it up but you probably just missied something.
Merged postYou can send your config and I can take a look
Hi, I have the same issue.
And this is the config.
{
"Debug Level (None, Error, Warning, Info)": "Warning",
"Command": "dw",
"Rust Map Image Settings": {
"Map Image Source (None, RustMaps, RustMapApi)": "RustMaps",
"RustMaps.com Settings": {
"RustMap.com API Key": "69ef3911-7fa7-43b1-98ba-681f7e11ca2b",
"Generate Staging Map": false
},
"RustMapApi Settings": {
"Render Name": "Icons",
"Image Resolution Scale": 0.5,
"File Type (Jpg, Png": "Jpg"
}
},
"Send wipe message when server wipes": true,
"Wipe Webhook url": "https://discord.com/api/webhooks/871356592132591616/P-RixfTm8O5zJa7Z-h43BOkK3SkSYgQnt9iCh4npaT_OQVaO6na3KKqC_6xJ6PJhZ7jK",
"Send protocol message when server protocol changes": true,
"Protocol Webhook url": "https://discord.com/api/webhooks/871356592132591616/P-RixfTm8O5zJa7Z-h43BOkK3SkSYgQnt9iCh4npaT_OQVaO6na3KKqC_6xJ6PJhZ7jK",
"Wipe messages": [
{
"Content": "@everyone",
"Webhook Override (Overrides the default webhook for this message)": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
"Send Mode (Always, Random)": "Always",
"Embed": {
"Enabled": true,
"Title": "{server.name}",
"Description": "The server has wiped!",
"Url": "",
"Embed Color": "#de8732",
"Image Url": "attachment://map.jpg",
"Thumbnail Url": "",
"Fields": [
{
"Title": "Seed",
"Value": "[{world.seed}](https://rustmaps.com/map/{world.size}_{world.seed})",
"Inline": true,
"Enabled": true
},
{
"Title": "Size",
"Value": "{world.size}M ({world.size!km^2}km^2)",
"Inline": true,
"Enabled": true
},
{
"Title": "Protocol",
"Value": "{server.protocol.network}",
"Inline": true,
"Enabled": true
},
{
"Title": "Click & Connect",
"Value": "steam://connect/{server.address}:{server.port}",
"Inline": false,
"Enabled": true
}
],
"Footer": {
"Icon Url": "",
"Text": "",
"Enabled": true
}
}
}
],
"Protocol messages": [
{
"Content": "@everyone",
"Webhook Override (Overrides the default webhook for this message)": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
"Send Mode (Always, Random)": "Always",
"Embed": {
"Enabled": true,
"Title": "{server.name}",
"Description": "The server protocol has changed!",
"Url": "",
"Embed Color": "#de8732",
"Image Url": "",
"Thumbnail Url": "",
"Fields": [
{
"Title": "Protocol",
"Value": "{server.protocol.network}",
"Inline": true,
"Enabled": true
},
{
"Title": "Previous Protocol",
"Value": "{server.protocol.previous}",
"Inline": true,
"Enabled": true
},
{
"Title": "Mandatory Client Update",
"Value": "This update requires a mandatory client update in order to be able to play on the server",
"Inline": false,
"Enabled": true
},
{
"Title": "Click & Connect",
"Value": "steam://connect/{server.address}:{server.port}",
"Inline": false,
"Enabled": true
}
],
"Footer": {
"Icon Url": "",
"Text": "",
"Enabled": true
}
}
}
]
}
Has anyone been able to fix this???
LaidtoRestCK
Has anyone been able to fix this???
Not exactly sure why but it works fine now. Think its because I am using a dedicated server instead of a vps. And a dedi is faster I guess.
I'm having this issue as well
Did anyone work out how to fix this?
Ah ha, switched to RustMapsAPI instead and that works fine