Filled LightAntiSpam

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

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


    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


    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


    Yes that's true.
  4. Offline


  5. Offline


    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


    working on it!
  7. Offline


  8. Offline


    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


    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


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


    Doesn't really matter to me.
  12. Offline


    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


    @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


  15. Offline


    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


    Thank you! Works fine ;)
  17. Offline


    Yes those are debug messages let me remove those and I will post the update here

    Sent from my iPhone using Tapatalk
    Last edited: Dec 5, 2016
Thread Status:
Not open for further replies.

Share This Page