Setting up webhooks?Solved
Hi so i have installed stash traps and have granted myself the ability to do the /stash for enable or disable and then i have done /stash 1 to give myself a stash. When i place it and hide it with stash enabled i get a network ID added to a stash list. I am having trouble finding this stash list and i see people talking about a webhook and linking that to a discord server... Can anyone walk me through this process and what exactly i am missing here, sorry i am new to server administrating.

Thanks
To set up a webhook:
  1. log into your Discord
  2. create a channel or select the channel you want the report to go to (I have mine disguised as something Admin generic)
  3. select the "edit channel" gear to the right of the channel name
  4. select "Integrations"
  5. select "Webhooks" (this might not be here if you've never set one up - see step 6)
  6. select "New Webhook"
  7. name it what you want and select "Copy Webhook URL"
  8. Paste this URL into the "Web hook URL" in your Stash Traps config file (for me this is located under File Manager>oxide>config>StashTraps)(also Stash Traps will have some URL already there - delete/paste over it)
  9. reload Stash Traps by typing "oxide.reload StashTraps" in your RCON window
  10. Make sure you have the permisions in Discord set so only you (and mods) can see it!

Hope this helps,
Gneissish
Hello Gneissish,

Thank you so much for your step by step help. I got through all of it without a hitch! I have the webhook completed, but am now a little confused with how i can make it work. When the stash goes under it still says network id but when i dig it back up nothing happens in the discord text channel. I also had another try and step on it and still nothing... How exatly does this work and what am i missing? Are there any other commands that i need to use in game?

Thank you
Hi

You're welcome! You and I are now in the same place. I can place stashes that generate a network id but they do not notify me in Discord. I've tested this myself and also with a regular player (non-admin) with no success. I also tested obtaining the stash from F1>Items, using a command line to generate the stash, and the both of the previous with the stash enabled/disabled in chat. Again, nothing worked. This appears to be a common issue. I'm pretty sure that I read something some where that there might need to be a "bridging mod" to facilitate the transfer between the RUST server and Discord, but I have not been able to find it again. Additionally, there does not seem to be much assistance on this problem considering how long I've been trying to solve it. I'm going to be trying a couple of those Discord mods today. I'll update you on what I find. 

Merged post

Update. I don't think there's another app that's needed. Pretty sure that's a dead end. I've messaged a member who indicated that they got it working about 8 months ago. 

Merged post

bta0801

Okay, I have the solution. Use Auto Stash Trap instead. Abandon Stash Traps. Uninstall it. I think there is something up with the code. Auto Stash Traps by Dana works perfectly. I immediately received a discord notification when I dug up one of the traps. You can follow the original instructions I posted for setting up your Discord Webhook and linking it to the Auto Stash Traps config file URL spot. You can use the same Webhook you set up before. Just copy/paste the it again. 

Some things about Auto Stash Traps to consider:
  • the loot that it comes set up to give is... way to powerful in my opinion (tech parts, gears, rope, C4, auto turret, explosive 5.56 ammo)
  • I don't want cheaters to dig up an auto turret and/or C4, even if for a moment (and what if a non cheater stumbles across this by accident?)
  • I changed it to a revolver, pistol ammo, wood, stone, rope, and lowgrade fuel (in believable numbers)
  • Default trap count is 150. Consider the size of your map and the density of bases to choose how many so it doesn't look like a trap. ESP cheaters can see them so if there's like 15 all around their base they'll be immediately suspicious
  • The mod also will notify you when someone digs up a player set stash, which is awesome
  • There's a line in the config file ("Discord - Roles To Mention": [],). Don't use this. The mod wouldn't reload when I put "Admin" in there (I have an "Admin" role in my Discord). Maybe I'm using it wrong. Just an FYI
Here's a handy link if you want to restructure what's in the stashes: RUST Item List

If you have any question, feel free to reach out.

Cheers,
Gneissish
Thank you so much for your assistance here Gneissish, I have been working to find a lot of good plugins and what not for my server. I have a couple more questions regarding how to remove plugins and what not... My discord is bta0801#5275 if you would not mind adding me so we talk a little easier in the future. I would really appreciate any more help you can give me with regards to plugins and server running. If not i will still keep you updated with any further questions regarding this umod plugin or the other one you mentioned!
Locked automatically