[INACTIVE][SEC]XThrottle v1.5 - Indiviualized re-logging throttling (now with permissions) [740]

Discussion in 'Inactive/Unsupported Plugins' started by xeology, Apr 25, 2011.

  1. Offline

    xeology

    XThrottle - Individualized re-logging throttling:
    Version: v1.5

    XThrottle will do the one thing I believe many servers need. STOP LOGIN GRIEFING. This is when someone logs in and out constantly causing mass lag over the server.

    This is my first actual java project and my first actual PLUGIN for bukkit at the same time so please keep in mind that this is a learning experience for me. I actually just started studying java last night. If you have any suggestions let me know! The source is in the jar!

    Features:
    • Customizable in seconds wait time between individual logout and re-login
    • Customizable kick message with 2 parts! (First part COUNTER Second part)
    • You decide how many seconds it waits to check and update times!
    • Creates on config file!
    • Whitelist so certain players are not counted.
    • Permissions Support
    • Pardon and deactivate/activate with commands
    • Permissions NOT required. OP has ALL permissions if permissions is not available.
    Commands:
    • /xpardon <PLAYER> - Pardons a player's timeout period completely
    • /xt or /xt help - Help Menu
    • /xt on - Turns throttling on
    • /xt off - Turns throttling off
    Permissions:
    • /xpardon - xthrottle.pardon
    • /xt on/off - xthrottle.toggle
    • Ignore player - xthrottle.ignore
    Download
    Source Code is in the JAR


    ToDo:
    • Implement config file for message and wait time
    • Implement ignore list
    • Include timeouts
    • Organize and improve code as suggested. +1
    Changelog:
    Version 1.5
    • Changed arrays to hashmaps for performance and less memory footprint.
    Version 1.4
    • No more loops if ignored = Performance!
    Version 1.3
    • Added commands
    • Fixed several errors with blank config options
    • Added permission support
    Version 1.2
    • Added a config file!
    • Added whitelist!
    • Customizable times and ticks!
    Version 1.1
    • Added a counter in the message.
    • Change from ASync to Sync (faster?)
    • Repaired an issue of multi-registering names in arrays, using extra memory.
    Version 1.0
    • Released
     
    Unscrewed likes this.
  2. Offline

    Lookatmego

    going to be testing this right now seems very fit for my server thanks for making..!

    also i see you only learned java last night?very nice you are fast also may i ask from where?
     
  3. Offline

    xeology

    I learned from a bunch of tutorials.

    Yay for updates! Finally found some examples of config load and writes so I analyzed and figured them out and coded some config files in :D

    Any feature requests? Bugs?

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

    Hretsam

    Can you upload a zip file with the source, that would include the comments, ordid you add it after you compiled it?
     
  5. Offline

    xeology

    I added the source after I compiled it. I didn't comment though . . . Not a good organizer >.< I will here soon though. Currently working on reversing and bridging iconomy to essentials eco.
     
  6. Offline

    Hretsam

    Well, if you wrote it good, you dont need comments so... I will check out the source.
     
  7. Offline

    xeology

    Its pretty well indented and variables and methods are pretty self explanatory. . . I hope lol
     
  8. Offline

    Unscrewed

    Awesome Plugin!
    Maybe ignoring this for Admins when turned on?
     
  9. Offline

    xeology

    xthrottle.ignore or the whitelist.
     
  10. Offline

    Unscrewed

    Oh, I'm sorry! <3
    I love this :D
     
  11. Offline

    PatrickFreed

    I assume you either knew some other coding language before this, or have found some really good tutorials. Can I have a link to them?
     
  12. Offline

    xeology

    Yah i knew quite a few before hand. As for tutorials I just read javas official tutorial for a few starting tips then just looked up syntaxes and looked at other peoples code for how exactly things work.
     
  13. Offline

    quickclay

    I really like this idea. I think a sweet additional feature would be a logout delay. I would like it if there was a customizable delay between when they disconnect and when their player actually logs out (maybe like 5 seconds). This would prevent players from logging out to escape retaliation after attacking someone, or to flee mobs, etc.
     
  14. Offline

    xeology

    Impossible, even if I stop their player from logging out somehow the client would most defnitely be logged out. This would require client modification. Sorry.
     
  15. Offline

    Sparx

    Whoa, you got some nice plugins. Amazing that you just started java too.
     
  16. Offline

    doth32cool

    The hacker can very well download LOIC and launch a DoS attack on your server, on UDP port 25565. Unfortunately, if this happens, you need a firewall, not this plugin.
     
  17. Offline

    MonsieurApple

    Considered inactive.
     

Share This Page