[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

    Rahazan

    @worstboy32

    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 demonstrational video.
     
  3. Offline

    worstboy32

    Wow that was fast :)
    Thanks a lot for updating and adding the anti kick message!
    Looks very good and will install it now.
    Will let you know if it worked when we get a server attack.
     
  4. Offline

    worstboy32

    @Rahazan
    is it suposed be like this?
    http://pastie.org/3022348
    If so then it works :D
    He left only 24 times so that wasnt a big problem.
    But i have no idea if he just did it 24 times or if it was the plugin
     
  5. Offline

    Rahazan

    Thank you for posting your log, because of it I've been able to find the (or another similar) hacked client that was used to cause this. Whether the plugin has failed or worked, I don't know.

    On the positive site, the griefer can no longer use that account as it has been banned.

    On the negative site, a good 2 seconds of bombardment have occured and the plugin timer/ban triggered 24 times before it found it there were too many leaves. I think I know how I can improve the algorithm to make it more effective.

    First, I will install this hacked client >.>
     
  6. Offline

    worstboy32

    @Rahazan
    Oke sounds good :)
    Hopeful you can make it work better soon :D
     
  7. Offline

    Rahazan

    Alright, the current effectiveness:

    The server console and chat get spammed for a good few seconds, depending on the power of the server. It had a duration of approximatly 4 seconds on my crappy machine and connection. A proper server will probably have to deal with 2 seconds of this. After this horrific time, the account can no longer be used to spam these leaves.

    @worstboy32

    Updated to 0.4, implementing these changes.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  8. Offline

    worstboy32

    Thanks! Will update it tommorow.
     
  9. Offline

    Mrchasez

    Can you add a feature that disables the quit packet all together
    So it wont say anything at all when someone leaves
     
    solarox5 likes this.
  10. Offline

    shanko

    this would be awesome

    Where do the "banned" users go, I cant match any of the users in my banned players thing up with the spammers?

    Edit: I dont think this works for me... it says nothing when people disconnect
    Code:
    08.01 00:13:12 [Disconnect] User dude82 has disconnected, reason: disconnect.quitting
    08.01 00:12:54 [Server] INFO [JoinCommand] A non-player joined the server... what would do that?!
    08.01 00:12:53 [Multicraft] dude82 ran command Message of the Day
    08.01 00:12:53 [Connect] User dude82, IP 70.73.84.81
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  11. Offline

    MonakoBoy

    Pls update the plugin :) and BTW can you make it auto-ban ppl wich join 3 times with the same IP but different nick?
     
  12. Offline

    Katelyn135

    Is this plugin inactive now? I would like to see it updated with the new Bukkit API as I have found this plugin vital in running my server. Have I missed something or is this still out of date? If it is can anyone point me in the direction of something that does the same thing as this?
     
  13. Offline

    md_5

    Long time no see Rahazan. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     

Share This Page