Inactive [ADMN/SEC] LockIP v0.4 - Limit players to one IP [1058]

Discussion in 'Inactive/Unsupported Plugins' started by SwearWord, Jun 16, 2011.

  1. Offline

    SwearWord

    Plugin: LockIP
    Version: v0.4

    Description:
    This is mostly for servers in offline mode. This plugin kicks users if they try to login from IPs not associated with their account so compromised passwords from won't be an issue as they are with an Auth plugin. Also no one likes having to enter passwords on server reloads.

    I do plan to create commands to allow users to specify more IPs themselves, I should have that done in the next few days.

    Features:
    • Limit users to certain IPs.
    • Specify what IPs for what user.
    • Doesn't include annoying host name info, easier to specify IPs.
    • Prevents account sharing.
    • Allows matching of partial IP.
    • Doesn't prevent housemates from playing together.
    • Can add last attempted IP to list of accepted IPs for any player from in game.
    Download
    Here

    Important:
    Editing users.txt while the server is running will not doing anything. As of now you can only edit the IPs when the server is stopped. Just go into the plugins/LockIP folder and open users.txt and add or remove IPs there.

    Configuration:
    Setting subnet=true will put LockIP into the following mode. It will only look to match the first 3 octets of an IP. So if my IP was 192.168.1.122, anything from 192.168.1.* would be allowed to connect. This could help with dynamic IPs, I'm not exactly 100% certain if they stay in the same subnet. However it does allow people from the same subnet to login as each other.

    Permissions:
    Code:
    LockIP.exempt - Allows a user through without checking IP.
    LockIP.admin - Allows user to add last attempted IP to list of accepted IPs for any other user.
    Commands:
    Code:
    /lockip <user> - Adds last attempted IP to specified user's IP list.
    Change Log:
    v0.4
    • Added /lockip <user>
    • Alphabetized flatfiles
    • Added permission node (LockIP.admin)
    v0.3
    • Added permission node (LockIP.exempt)
    • Removed Case Sensitivity
    v0.2
    • Added subnet matching
    v0.1
    • Initial release
    Credits:
    Thanks to Mixxit for originally coming up with this idea. Unfortunately, his plugin has been taken over by someone who is just pretending to support and update it. I didn't use any of his source but all my features are pulled from his plugin.
     
    HarcX and AS1LV3RN1NJA like this.
  2. Offline

    DT_Rush

    This should be very useful to offline servers:)
     
  3. Can i request one feature?
    Some people live in countries where their IP changes everyday(huh)
    so i want to set in the configs to exclude those people from the checking.
    Can this be done?

    FYI I never use permissions. don't ask why
     
  4. Offline

    DT_Rush

    I would also like to request the removal of the LockIP.exempt permission. The reason is that if your an admin or someone who has all permissions then wouldn't the LockIP.exempt let offline users that put in the admins name still be able to join?
     
  5. Offline

    Buckethead

    if u use offline server yes. and u can alos just choose to not use it
     
  6. Offline

    Eminam

    are we going to get an update for this? the reason i ask is i have subnet=true

    2011-09-29 13:46:34 [INFO] VvRJMendozavV [/86.97.218.106:62302] logged in with entity id 24782 at ([420Land] -239.0, 64.0, 53.0)
    2011-09-29 13:46:34 [INFO] [LockIP] 86.97.218
    2011-09-29 13:46:34 [INFO] [LockIP] vvrjmendozavv's IP: 86.97.218.106 did not match
     
  7. Offline

    Buckethead

    thats not a update problem thats a his ip is not in the same subnet as one he registered with. plugin is doing its job
     
  8. Offline

    Eminam

    ummmm the only thing that isnt the same was the last octet.....
     
  9. Offline

    DT_Rush

    Instead of having the permission LockIP.exempt, how about a txt file were you could type the name in
     
  10. Offline

    maximo

    The Plugin is working fine,but one big Problem is there: Everybody is matched to one IP and their name can only be logged in with the IP,but my Name (I am Admin) is not locked to my IP everybody can log in with my name... I don't know why this happends
     
  11. Offline

    DT_Rush

    Since you are admin you have all permissions including the LockIP.exempt which exempts you from being checked. To disable the node add
    Code:
    -LockIP.exempt
    include the "-" which means to not give you permission for that node
     
  12. Offline

    WhiteDragon

    Just and FYI
    dynamic ip's do not stay in the in the same network prefix (ip range) unless the ISP sets it to be so (witch isn't common). Many ISP's have multiple Class A or Class B network ranges and they all use different network prefixes.
     
  13. Offline

    Buckethead

    lol "I do plan to create commands to allow users to specify more IPs themselves, I should have that done in the next few days." ....6 months later.....
     
  14. Offline

    lucasdidur

    Download Link?
     
  15. Offline

    Buckethead

  16. Offline

    wncmotos

    Link Off!!!! Tnks..
     
  17. Offline

    edwardthefma

    link is dead
     
  18. Offline

    HarcX

    download link is broken pls update
     
  19. Offline

    Koksons

    pleas reuplaod!
     
  20. Offline

    Mrchasez

    I NEED THIS FIX DOWNLOAD
     
  21. Offline

    Iron_Crystal

    I hope he fixes the link...
     
  22. Offline

    BamBam042

    Restart link please !
     
  23. Offline

    ipaqmaster

    This plugin must be hell for someone who used it and does not have a static IP =s
     
  24. Offline

    Treking

    If I can make a suggestion, what this plugin desperately needs is a command driven way to update the IP address for a user that is already in the text file, but had their IP cycle by their ISP. Currently, the only way to do this is to shut down the server, update the text file manually with the new IP, and restart the server. Something simple like /LockIP update <username>, or perhaps /LockIP remove <username>, followed by /LockIP <username>.

    Thank you for an excellent plugin.
     
  25. Offline

    kenny321

    THE link is broken or you dont update this anymore please respond back asap
     
  26. Offline

    Royalgamer06

    Perfect! But need to be updated
     
  27. Offline

    Marink

    Yea link is gone..
     
  28. Offline

    Buckethead

    1.2.3 update?
     
  29. Buckethead Marink Royalgamer06 kenny321 Treking Hello everyone, I created a plugin called IpLock. It is not yet approved, but it is updated to 1.2.3 and it works like this plugin. There are some differences but go check it out: LINK
     
    Buckethead likes this.
  30. Offline

    Buckethead

    TY!
     
  31. np
     

Share This Page