[INACTIVE][SEC/GEN]ipLock v0.2 - Limit One IP Address per user [818-860]

Discussion in 'Inactive/Unsupported Plugins' started by madcrazydrumma, May 30, 2011.

  1. Offline

    madcrazydrumma

    ipLock - limit 1 ip address per player [818-860]
    Version: 0.2

    Note to users : I am not the actual developer of this plugin. I am just carrying it on from the awesome mixxit who sadly stopped updating this plugin. Thank you for using this by the way and soon i will add more features and in-game commands to this plugin. Enjoy :)

    Description
    This plugin locks your users to 1 ip and one player name.
    If a player tries to login from a different IP address than they (automatically) registered on their first connect, then they will be kicked with the message 'Your IP is not associated with this account'
    DO NOT TRY AND CHANGE ANYTHING IN THE Iplock.users file!!! It may/will mess up the plugin. If you have please reinstall the plugin!!!

    If a player tries to login from a different character than the one associated with their IP address then they will be kicked with the message 'Your IP is not associated with this account'.

    Features:
    • Prevents players from hogging resources two/multi-boxing
    • Prevents players from account sharing
    • Forces players to use a static ip instead of dhcp to access their characters
    • Provides an additional layer of security to prevent users breaking into admin accounts
    • Better stability with FTP access
    Downloads:

    V0.1 + V0.2
    Download - http://www.megaupload.com/?d=C3CPJKML

    Source - http://www.megaupload.com/?d=KP9VD4WE

    Installation:
    Simply drop the iplock.jar into your plugins folder. There are no configuration settings required nor commands. As soon as your server next boots it will begin noting player account names to ip addresses.

    Player data is stored in plugins/iplock should you wish to edit it be sure to reload the plugin

    Commands:
    /iplock refresh - refreshes iplock.users file

    Files:
    plugins/iplock/iplock.users contains a list of all the ip addresses and the associated IGNs. Note, editting this file will not be detected by the server and would require a reboot. Perhaps a future feature to edit these entries from in game and detect changes will be added at some point.

    Config file
    plugins/iplock.properties
    max-char = 0 - allows unlimited character names
    spe-char = false - allows special characters and spaces
    subnet = false - disallows players from connecting from anywhere except their IP (true allows them to login from anywhere in their class C subnet)

    Changelog:
    v0.2=
    • Updated to latest RB
    • Made the plugin work better with FTP servers by getting rid of unused Imports.
    v0.1 =
    • Prevents players from hogging resources two/multi-boxing
    • Prevents players from account sharing
    • Forces players to use a static ip instead of dhcp to access their characters
    • Provides an additional layer of security to prevent users breaking into admin accounts
     
  2. Offline

    emoknight

    thank u update is plugin :)
     
  3. Offline

    madcrazydrumma

  4. Offline

    madcrazydrumma

    Updated to latest RB!
     
  5. Offline

    Plague

    changelog has to be at the end
    and you are missing plugin version in the title
     
  6. Offline

    madcrazydrumma

    @Plague ,
    i have now fixed up this plugin submission. Please can you view this asap?
    thanks

    @RightLegRed @Juze @MonsieurApple
    I thought people liked this plugin, and thought it would be released by now :L
    hmm, why isnt plague on these days :(

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

    Juze

    @madcrazydrumma : The flood of plugin submissions is devastating. To be honest, too lazy to clean it up in 15 minutes, as I'm leaving.

    Please fix your post header.
     
  8. Offline

    madcrazydrumma

    @Juze Im done with the header.
     
  9. Offline

    Juze

    @madcrazydrumma :
    That's an example of a good header.
     
  10. Offline

    madcrazydrumma

    @Juze Oh yeah the stupid version haha! Done that now ;)

    @EvilSeph @Phaedrus
    I have done the Header and fully finished the thread :D

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

    Plague

    You want the honest answer?
    I go through the submissions from the bottom. But when I see someone asking for review, I just leave it there to be checked the other day, because I just hate begging :)
     
  12. Offline

    MonsieurApple

    Note: Tagging people asking for approval will not get you far.
     
  13. Offline

    madcrazydrumma

    @Plague
    I understand and yes, begging is a bit low ;) but i was eager haha :p

    Updated to Latest build and Recommended Build

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

    Marcin

    Not working for me i can login on my char with otcher IP
     
  15. Offline

    Gulion

    is it possible to only apply that ip-lock to adminaccounts?
     
  16. Offline

    madcrazydrumma

    Umm not at this current moment in time, And @Marcin ... This plugin does work...
    I will update it as soon as i can... If someone can collab with me and help to update this plugin, just pm me and we will discuss it because i am very busy these days :(
     
  17. Offline

    manyak

    When i try to connect to my server it says "DENIED: Are you trying to login from somewhere else than normal?" and kicks me. In console it says "...not on their normal IP".
    update: Oh, I fixed it just by reinstalling the plugin and not touching the Iplock.users file
     
  18. Offline

    madcrazydrumma

    Yes you should touch the Iplock.users file :) ill mention that in the top post now :)
    Thanks @manyak
     
  19. Offline

    manyak

    By the way it is better not to edit windows hosts file, because it uses sometimes localhosts mentioned here.
     
  20. Offline

    madcrazydrumma

    Yeh Alright Thanks @manyak :)
     
  21. Offline

    madcrazydrumma

    Updated to Latest RB!!!
     
  22. Offline

    julianboekhout

    can i configure the plygin that people can have the same acc on different ips but not multiple acc on 1 ip
    cause i dont realy get the configuration file

    plygin = plugen :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  23. I would like to expand this, more from a user security perspective.

    Allow a command for users to toggle themselves "single IP". This way, if someone gets their password somehow, they wont be able to cause havoc on the server, and prevent them getting banned.
     
  24. Offline

    madcrazydrumma

    @Joy Sorry, you can pm me if you would like to work with me, but im not letting anyone take over. Sorry...

    You can give me the new code but im not letting you release it. I will give you full credits to the new version and also will put this title: [SEC/GEN]ipLock v0.1 - Limit One IP per user {Joy} [version]

    So yeh just make the new code but im not going to let you release this.
     
  25. I didn't mean take over, with "I would like", I mean "requesting" :D
     
  26. Offline

    madcrazydrumma

    @Joy haha :) Ok, umm can you send me a PM of your FULL request? Or even better just post it here :)

    Thanks
     
  27. Well I stated it there. Allow a player to:

    /iplock enable - From this point on, any login needs to come from my current IP, or be denied.
    /ipock disable

    Ideally storing data in SQL, but I guess YAML works. Should also be an admin unlock:

    /iplock unlock Player

    Something like that.
     
  28. Offline

    madcrazydrumma

    @Joy ok first ill figure out how to code that then ill write it down :)
     
  29. Offline

    julianboekhout

    can someone help me with my question !!!
     
  30. Offline

    madcrazydrumma

    @julianboekhout
    I can help and if others also want to then feel free :)
     

Share This Page