So right now even setting on notify on destroyed only, this horrible spams the Discord since everything that gets destroyed is reported. Isn't there any way to recognize its the same raid and stop from flooding?
Cooldown / RecognitionSolved
Nope, build out a config based on your needs. The documentation covers everything you need to know.
"Isn't there any way to recognize its the same raid and stop from flooding?"
It's possible 100 percent.
How would you implement it without adding complexity to the plugin? There would need to be some type of system to group raid events together by team or position to know they are from the same raid. Then how would the discord notification look if there was lets say 50 raid events grouped together?
Anything is possible with enough effort but I can't think of a way to group raids that wouldn't involve a ton of work and testing.
The best way to reduce the amount of notifications in the plugin right now would be to only turn them on for the main raid weapons (c4, rockets, exp ammo, mlrs, etc) or you can go through the DecayEntityIgnoreList and ignore certain entitys from being logged.
Offer option to only show summaries.
First destroyed block gets sent. Now anytime that player attacks another within 100 meters with same ownerid or owner in same team as original ownerid found, it makes a simplified list, how many c4 / rocket / explo ammo used. Now if 3 mins passed since that player has attacked, send a summary and start the whole process again if they come back.
That system wouldn't be hard to implement and would make the plugin so much better. I tried it and the spam was too much to be useful. I planned on updating it once I put my pvp server online again.
A system like that should work, I'll look into it more once I have some spare time for rust dev again.
The main use for the plugin was for admins to view suspicious raids with on screen visuals. It was never really intended to be used as a discord raid notification plugin, its just one of the options.
I hear you, I seen the main usecase as an easy way to find out who's doing all the offline raiding. There's people that will spend 8 hours raiding every base on a server.
We are already down to only entity death from C4 and rockets ONLY for Doors and Walls. And still the Discord Channels are getting spamed. That can be like 150+ Messages from one Raid easy. And if like 4-5 Raids ongoing, it can be 400+ Messages for like 30mins.
So yea still the same request if there can be some kind summary.
Damn, whats the pop of your server? Honestly I'm kind of impressed the plugin is holding up with that many events coming through. I've tested it with around 150 players but we don't have that many raids going on at once and I have pretty much everything enabled to keep a log in discord for admins to go through if needed.
No promises but I'll explore adding some kind of summary once I have some time to think about it more.
Well thats the point. Not alot. Like about 60-80 on some servers. But we have 9 in total.
I added notification cooldowns in v2.1.0.
8SecSleeperOffer option to only show summaries.
First destroyed block gets sent. Now anytime that player attacks another within 100 meters with same ownerid or owner in same team as original ownerid found, it makes a simplified list, how many c4 / rocket / explo ammo used. Now if 3 mins passed since that player has attacked, send a summary and start the whole process again if they come back.
That system wouldn't be hard to implement and would make the plugin so much better. I tried it and the spam was too much to be useful. I planned on updating it once I put my pvp server online again.
I would like a summary of raids also in discord.
you could also do it by grid location. like only show a summery at X5 grid then another one at X6.
I might explore adding raid summaries in the future.
Locked automatically