Delay Discord sending to avoid API banSuggestion
Good morning. 

msg_shipspawn -- Display message in ''the'' channel when Cargo Ship spawns. ( does not work as intended. should be ''hackable crate on boat'' or something.... whatever. The point is with this message that this plugin should be taken down ASAP before people are getting banned on discord.

This morning, I had an email from discord. Why the api was used to many times. It seems that with some subjects ( such as death notes ) can result in a trigger warning and that can result in a ban from the discord network.

Special thanks towards discord itself to providing me this information, please learn from it. Not everything can be used or added to this plugin. All push messages need to be delayed. if 20 people would shoot a deer at the same time, you basically screwed yourself already with a pleasant warning.
Hereby I want to know who edited my post without any notice or email. 

Merged post

Delay sending player made actions as well for certain server actions. For example

When a user triggers death notes, the message pops up on discord. When approx 3 users would trigger the message at the same time, only one would come on the discord instead of 3 headless chickens who died. 

So, if the plugin gets triggered several times within a time limit, for example, 5 triggers within 5 seconds, the plugin temporarily blocks incoming messages from that plugin to prevent an API ban. 

incoming private messages and normal chat sessions are no issue, but with 50+ members on your server, it might be an issue. For example, the admin could delay incoming messages for a certain amount of seconds or it gets automatically delayed after a certain amount of triggers within a certain amount of time. 

Please note

good to know, if you have an API BAN from discord, contact their support and be open about the issue. That you use the API for your server and in most cases it should be corrected within 24 hours.