Message not sent to Discord after wipe
- Are you running the latest version?
- Are you including the RustMapApi map image?
- Can you please share any logs you have from the wipe?
1. Yes, I am running the latest version.
2. No. I'm not including the image.
3. Logs from yesterday when I wiped but no message
https://pastebin.pl/view/61db0334
Hi there,
Been a while using it and never had a problem.
After Today wipe the message is not being sent to Discord automatically.
I tried running the dw wipe command and the message was sent successfully.
I have changed the image url and removed RustMapApi plugin , not sure if its required.
The map image work properly with the url provided by rustmaps.com
Here the code:
"Wipe message": {
"Content": "@everyone",
"Embed": {
"Enabled": true,
"Title": "{server.name}",
"Description": "The server has wiped!",
"Url": "",
"Embed Color": "#de8732",
"Image Url": "https://rustmaps.com/monuments/{world.size}_{world.seed}",
"Thumbnail Url": "",
"Fields": [
{
"Title": "Website",
"Value": "[Website](https://bimbumbam.com/)",
"Inline": true,
"Enabled": true
},
{
"Title": "Store",
"Value": "[Click for Store](https://bimbumbam.com/)",
"Inline": true,
"Enabled": true
},
{
"Title": "Map",
"Value": "[Seed](https://rustmaps.com/map/{world.size}_{world.seed})",
"Inline": true,
"Enabled": true
},
{
"Title": "Click & Connect",
"Value": "steam://connect/{server.address}:{server.port}",
"Inline": false,
"Enabled": true
}
],â If you haven't restarted your server yet can you send me the log file specified in your startup script under -logfile. If you're unable to get that the oxide log file might be fine. You can send them to me on discord MJSU#0814. RustMapAPI isn't required to use this plugin so you're free to remove it.
Will do it now! Thanks!
How does it break it?
What can we do to be able to run the plugins beside each other?
I have the same problem
Hello! Plugin work fine when i type /dw wipe. Send the correct msg on discord channel. But don't do this automaticaly. I just wipe 2 days ago and nothing. Thank you! Here is my config.
{
"Debug Level (None, Error, Warning, Info)": "Warning",
"Command": "dw",
"Rust Map Image Settings": {
"Map Image Source (None, RustMaps, RustMapApi)": "None",
"RustMaps.com Settings": {
"RustMap.com API Key": "Get Your API Key @ https://rustmaps.com/user/profile",
"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/913832042393927680/-B4h41G6BMsoGsplM_5HM_r5xPll6335ALrchUGjUQVK533GNm3C4gPdIv-206nQ9tuX",
"Send protocol message when server protocol changes": true,
"Protocol Webhook url": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
"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
}
}
}
]
}
UPDATE: Now is working. The only problem is that is sending msg at any server restart.
Can you set the plugin debug level to "Info" in the config and then when it sends a message give me the output it is showing. You can find it in the server logs