Minecraft version: 1.7 Suggested name: LightAntiSpam What I want: I would like a plugin that would let my players spam the same/similar message twice before having to wait 10 seconds to spam it again. Si I can successfully spam this: Join queue Join queue But if I try to spam "Join queue" again it would say "&cDo not spam." until the 10 second timer is done. 10 seconds later I can say "Join queue" again. The similar message percentage could be 75% for example. So you can't spam a message 75% similar to the last one. Example: "Join queue" and "Join queue now" are similar and would be blocked. Ideas for commands: No commands needed for this plugin. Ideas for permissions: las.exempt for admins which will allow them to spam as much as they want. When I'd like it by: ASAP
Sounds like a very useful plugin, but I don't think there should be a permission to stop spamming - It should be defaulted to every player (Unless they have las.exempt)
Hey try this out and tell me what you think! https://www.dropbox.com/s/t4yzw8yoclyzlq4/LightAnti-Spam.jar?dl=0 Permissions: las.exempt - Cannot be spam guarded (Default to OP)
I tested it and, for some reason, adding a question mark (Or any other symbol) Made it so that the plugin didn't detect it as the same message
This is a great idea and works well (just tested on 1.7) but after a reload players are able to spam 3-4 times. Any way to fix that?
Yes I just tested it as well and I have the same problem, not very major but if it could be fixed that would be great! EDIT: Players can spam up to 3 times, not twice.
And I think the message they receive should be configurable in config.yml (The "Do not spam" message)
I just tested it, the question-mark thing still bypasses this plugin EDIT: Also, it's sending random numbers and stuff to console
@EndureBlackout could you please fix some of the issues? @EndureBlackout please fix the issues! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@FireFlies idk if the whole reload thing is fixable especially since reloading is not supported by bukkit and it is recommened that you restart the server I will work on the question mark issue though. EDIT: https://www.dropbox.com/s/t4yzw8yoclyzlq4/LightAnti-Spam.jar?dl=0 try this out should fix the question mark issue
I couldn't find a way to bypass it yet, so I think that issue is fixed. However, the plugin still spams the console whenever someone says something in chat (Even if they're not spamming)
Yes those are debug messages let me remove those and I will post the update here EDIT: https://www.dropbox.com/s/t4yzw8yoclyzlq4/LightAnti-Spam.jar?dl=0 Sent from my iPhone using Tapatalk