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


    Plugin: LockIP
    Version: v0.4

    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.

    • 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.

    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.

    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, 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.

    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.
    /lockip <user> - Adds last attempted IP to specified user's IP list.
    Change Log:
    • Added /lockip <user>
    • Alphabetized flatfiles
    • Added permission node (LockIP.admin)
    • Added permission node (LockIP.exempt)
    • Removed Case Sensitivity
    • Added subnet matching
    • Initial release
    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


    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


    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


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


    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 [/] 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: did not match
  7. Offline


    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


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


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


    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


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


    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


    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


    Download Link?
  15. Offline


  16. Offline


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


    link is dead
  18. Offline


    download link is broken pls update
  19. Offline


    pleas reuplaod!
  20. Offline


  21. Offline


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


    Restart link please !
  23. Offline


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


    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


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


    Perfect! But need to be updated
  27. Offline


    Yea link is gone..
  28. Offline


    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


  31. np

Share This Page