Filled LightAntiSpam

Discussion in 'Plugin Requests' started by FireFlies, Dec 1, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    FireFlies

    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
     
    Last edited: Dec 1, 2016
  2. Offline

    Skrubzy

    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)
     
  3. Offline

    FireFlies

    Yes that's true.
     
  4. Offline

    EndureBlackout

  5. Offline

    Skrubzy

    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
     
  6. Offline

    J22929

    working on it!
     
  7. Offline

    EndureBlackout

  8. Offline

    MrGreenJam

    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?
     
  9. Offline

    FireFlies

    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.
     
  10. Offline

    Skrubzy

    And I think the message they receive should be configurable in config.yml (The "Do not spam" message)
     
  11. Offline

    FireFlies

    Doesn't really matter to me.
     
  12. Offline

    Skrubzy

    I just tested it, the question-mark thing still bypasses this plugin
    EDIT: Also, it's sending random numbers and stuff to console
     

    Attached Files:

  13. Offline

    FireFlies

    @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.
     
    Last edited by a moderator: Dec 4, 2016
  14. Offline

    EndureBlackout

  15. Offline

    Skrubzy

    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)
     
  16. Offline

    FireFlies

    Thank you! Works fine ;)
     
  17. Offline

    EndureBlackout

    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
     
    Last edited: Dec 5, 2016
Thread Status:
Not open for further replies.

Share This Page