[SEC/FIX]LeaverBuster v0.4 - Deal with leave and kick-spammers [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Rahazan, Oct 19, 2011.

  1. Offline

    Rahazan

    LeaverBuster
    <Edit by Moderator: Redacted bit url>


    This will ban players who are leaving too many times within a set time period. This will deal with those who spam leaves, which seems to have become common practice these days, unfortunately. As of v0.3, it also tempts to counter fake-kick packages spam.
    This is especially useful for non-whitelisted servers.
    Video demonstration, voiced by a good (Russian-American) friend of mine, @EnigmaBADGER.


    This was originally started by request. <font color="rgb(192, 192, 192)">Which I never received a penny for :<</font>

    Show Spoiler
    I have written this from scratch, although it seems to have the same functionalities as SpamBuster (being up-to-date however).

    Functionalities:
    * It will ban players who have been leaving too many times (customizable) within a certain period (customizable).
    * It will ban players who get kicked more than X amount within the given timeset. (A new exploit.)

    * You can choose whether or not to have the player joining the game, reset the "leave" timer.
    example:
    Player Abc has joined the server.
    Player Abc has left the server.
    Player Abc has joined the server.
    Player Abc has left the server.
    Abc will not get this player banned with this setting enabled.
    * It will log when a player is banned for leaving too many times within the specified time.

    ------------------


    Please read this short information box on leaveScripters below.


    Show Spoiler


    ----

    Dependencies:
    * None that I know of.

    Features:

    * Bans players when they have left too many times in a time period.
    * Bans players when (fake a) kick too many times in a time period.
    * Fully configurable.
    * Lightweight.

    Downloads:

    <Edit by Moderator: Redacted bit url>

    [​IMG]


    Show Spoiler
    How does it help my plugin?
    Plugin-wise, in absolutely no way.

    Then why on Earth would I donate?
    Time and effort was put into this plugin. Maybe this plugin makes your life easier, gets your server more players or simply makes you and the players have a good time.
    How do I donate?
    You can donate through PayPal. If you do not have the means to do so, you can also "donate" by showing your appreciation in the form of a nice comment. These donations and comments keep me motivated. Oh, and it keeps me alive in this overpriced studentroom I live in. It means the world to me.

    Thank you for reading this.


    Changelog:
    Version 0.4
    * Drastically edited the config.yml default values, advise you remove your old.
    * Changed the algortihm to maximize the effectiveness. Read the blue box above the video for info on the current effectiveness.


    Version 0.3
    * Updated for CB#1.0.1-R1
    * Changed the fields in config.yml (it is suggested you remove your old config.yml as some fields are no longer used.
    * Removed the option that hides the leaves of banned players (as they couldn't leave anyway ;)).
    * Rewritten a lot of the code, now even more lightweight and effective.
    * Changed some of the default values in config.yml (again, delete your old config.yml to profit from this.
    * Now also busts players that send fake kick messages.
    * Added a demonstration video.


    Version 0.2
    * Updated for CB#1542 and changed some of the default values in config.yml

    Version 0.1
    * Initial release.

    <font color="rgb(255, 0, 0)">Note that this will, most likely, not work against all kinds of leave-spamming and kick-spamming. If you know of a hacked client that this plugin is not effective against, please inform me. DO NOT post a link to this hacked client, rather, PRIVATE message me.</font>

    Oh damnit, I forgot the tags in front of the name of the post.
    If an admin could please add these, [SEC/FIX]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 21, 2017
    odielag likes this.
  2. Offline

    Tolerance

    Read the Plugin Submissions Forum. All members have access to editing your own topic title. :D
     
    Rahazan likes this.
  3. Offline

    Rahazan

    Thank you kindly! The prefixes have been added.
     
  4. Offline

    Deleted user

    FANTASTIC!
     
  5. Offline

    Rahazan

    Added BukkitDev link.
     
  6. Offline

    MonsieurApple

  7. Offline

    Charlie905

    Good idea, but what If someone is having connections difficulties and keeps leaving and timing out straight away? Does it only work if they join and leave instantly repeatively, or does it count how many leaves they have done and ban them after they have left too much?
     
  8. Offline

    Rahazan

    This depends on one of the settings, ResetOnJoin, which defaults to true.
    You can find this setting in the config.yml file in plugins/LeaverBuster.

    Example:
    Player Abc has joined the server.
    Player Abc has left the server.
    Player Abc has joined the server.
    Player Abc has left the server.
    Player Abc has joined the server.
    Player Abc has left the server.
    Player Abc has joined the server.
    Player Abc has left the server.
    With this setting enabled (true), player Abc will not get banned.
    With this setting on false, player Abc will get banned.

    I suggest one leaves this setting 'true'. As players who time out straight away due to connection issues will not get banned due to leaving too much within a timespan.

    I hope this cleared things up.
     
  9. Offline

    sleepyhead87

    I have a question:

    How does one "spam leave" if not by repeatedly joining and leaving the server? Am I missing something, because I don't understand the point of the ResetOnJoin setting if it allows the spamming to continue?
     
  10. Offline

    Rahazan

    People are using scripts and hacked clients to spam 'fake' leave packets.
    They stay in the server whilst leaving a million times.
     
  11. Offline

    MrMag518

    This = Awesome.
     
  12. Offline

    sleepyhead87

    Ah thanks for the clarification, everything makes sense now!
     
  13. Offline

    SrJoben

    Why do they spam Leave packets? What does it accomplish for them?
     
  14. Offline

    Rahazan

    Well, it lags any server and it'll make it crash in the end if there is no plugin like this one installed. The question is similar to "why do people grief?".
     
  15. Offline

    SrJoben

    lol thanks. I did meen literally what does it do to the server, not why do they do it.
     
  16. Offline

    NuclearW

    I'll suggest everyone taking part in this argument take a deep breath and calm down. Having reviewed the source of both plugins I am sufficiently convinced this is not a copy.

    @Mrchasez
    Publicly posting in a thread suggesting a plugin is a copy of another is not the proper way to handle such a situation. If it is your plugin, you should contact a moderator privately to handle the situation, if it is another user's plugin, you should report the post of the suspect plugin and/or also contact a moderator.

    @Rahazan
    While as a plugin developer I can understand the need to publicly defend one's work, I would appreciate it should this happen again you report the post and/or contact a moderator.

    @tommygoesha
    If you see these sorts of arguments happening, even if you know some of the parties involved, you should report the post and/or contact a moderator about the issue.


    We take plugin/code theft seriously, and publicly arguing over it isn't the way to handle it. I hope that in the future you will all take more prudent steps to handle such issues.
     
    tommygoesha likes this.
  17. Offline

    Mrchasez

    @NuclearW
    Ok ^-^

    I was just checking.
     
  18. Offline

    tommygoesha

    *nods* agreed Thank you :)
     
  19. Offline

    Rahazan

    @NuclearW

    Could you remove everything that has to do with the flamewar, including this post, as it has been settled now?
     
  20. Offline

    NuclearW

    I wanted to give you all enough time to come back and review.

    Now that you have I've deleted the posts.
     
  21. Offline

    Mrchasez

    Its not working on my server.
    It dont stop them at all.
     
  22. Offline

    sawine

    Very handy plugin, almost essential if you don't want to get attacked by skiddies.

    But it's not working on latest bukkit builds, please update :'(

    Thanks in advance.
     
  23. Offline

    Mrchasez

    Yeah it really hasnt ever worked
     
  24. Offline

    Rahazan

    Could you just stop trolling in this thread? Thank you.

    I will update it once I have access to the sourcecode, it is stored on my desktop computer at my room where I am not at right now.
     
    kahlilnc likes this.
  25. Offline

    Mrchasez

    Woah im not :<

    I really wish it did.
    Those damn spammers ಥ_ಥ
     
  26. Offline

    Rahazan

    Updated for CB#1542, it should work for all of the latest CraftBukkit builds.
    If you wish to have the new fine-tuned values in your config.yml, please remove your config.yml and it will replace it with the new one.
     
  27. Offline

    worstboy32

    thanks :D
    Hopeful this one works :)
     
  28. Offline

    Rahazan

    It has, unfortunately, been confirmed that this doesn't work for all hacked client leave-spams, I will investigate and try to edit where needed.
     
  29. Offline

    Mrchasez

    Does it stop the common ones (ノಠ益ಠ)ノ彡┻━┻
    I need the spammers to stop! ㅠ.ㅠ
     
  30. Offline

    worstboy32

    Oke thanks,
    Also try to add a function for the kick spam.
    There is a new client where players use something where they get kicked.
    then it keeps spamming ..kicked ... kicked ...kicked ...kicked
    Antispam and you plugin dont stop this kind of attack.
    I have no link from the client cuz i have no idea what it exact is.
    But i hope you wanna look into this after you got the main one working.
     

Share This Page