[INACTIVE][SEC/GEN] PlayerLock - IP Matcher 1.2 [566] {Looking For Devs}

Discussion in 'Inactive/Unsupported Plugins' started by blinghung, Mar 19, 2011.

  1. Offline


    <font color="rgb(100, 100, 100)">[SEC/GEN] PlayerLock - IP Matcher [566+]</font>

    {Description Will Be Changed After I Get Some Sleep I May Add More Commands (/PL Delete)

    Want to be a Dev For this Plugin? Email Blinghung@hotmail.com

    This plugin locks your users to 1 ip and one player name. Many thanks to whitelist plugin file reading/writing which i based this around!

    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'

    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 Does Not Match This Account'.

    * Certain Players To Use PlayerBlock
    * Prevents players from account sharing (Unless Subnet is Enable)
    * 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
    * Supports MySql
    * /playerlock reset {name} - Resets a user's ip

    Authorize Or AuthMe Support

    <Edit by Moderator: Redacted mediafire url>

    Drop PlayerLock Into Your Plugin File.

    Config file

    ## PlayerLock Configuration ##

    # whether names should be checked to be frem the same subnet as before if ip is different
    checkSubnet: true

    # block users if name is not alphanumerical?
    blockSpecialChars: true

    # max username length allowed to login
    max_namelen: 20

    # will hold a temp. user cache in plugin, to lower resource usage during a login
    # use this to change how long it is considered current (seconds)
    tempCacheTTL: 10

    # what to use for tablename/filename
    tableName: playerlockusers

    # use mysql?
    useMySQLUserDB: false

    # database to use in MySQL
    database: minecraft
    # MySQL Login Username
    username: root
    # MySQL Login Password
    password: root
    # MySQL Connection Hostname (IP)
    Hostname: localhost
    # MySQL Connection Port Number
    Port: 3306
    # whether certain names get special treatment
    # include - only check the listed names
    # exclude - don't check the listed names
    # none (default) - everyone is checked
    checkOption: none
    # list of users to apply the above rule to (space or comma-delimited)

    Version 1.0

    * New Command: Playerlock reset {NAME}

    Version 1.1

    * Added MySql

    Version 1.0

    * Initial Release


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


    This plugin is great, but I have not tested it yet
    You can make ip-lock is not for all players, but only to those who are in a list
    Or is it already supported?
  3. Offline


    Already Supported! :D Scroll Down To Bottom Of Config
  4. Offline


    Would it be possible to add the password system I suggested in the other thread? It would allow players to override the IPlock with a password, and the player would be asked to set a password on the first entrance to the server.
  5. Offline


    You can use Authme AnjoSecurity Or Something plus I don't need to add password because of the Subnet thingy
  6. Offline


    Only problem with that is that it wont override the IP from places with different beginning octets.

    Say a player has 2 places they live. Each place has different beginning octets, such as 64.122.*.* and 43.158.*.*. Authme would not override the difference in subnet. Now a spot for multiple IPs per user may help, but say I use wireless at school and work to check up on the server. Thats even more IPs to keep track of. See the point of the password override? The Subnet system isn't foolproof.
  7. Offline


    Well that's not my problem the hoster can put 2 ips onto the playersfiles


    But I think I might add the password system too but then the plugin will be like authme and authorize.....

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


    It wont be. It will be more secure, a lot more secure than just passwords alone.

    You could allow the player to be on for 10 seconds, and restrict all permissions from them until the correct password is entered. If they connect 3 times and don't enter the password, the username is blocked from the server for a configurable amount of time.

    However, you would have to remove the subnet security feature, as this provides a loop to anyone else with a similar first two octets.
  9. Offline


    So if u dont match the ip u will require to enter a password if u dont get the password right the plugin will block the ip that has to enter the password right?
  10. Offline


    If you don't match the IP, you will be unable to do anything but type in chat(I think thats possible), and if you don't enter the password within 10 seconds of joining, you will be disconnected. If you enter the wrong one, you will be disconnected. If you fail three times, your acc is blocked from the server for a configurable period of time.

    So like this

    - Login from different IP
    -- Prompted in chat to enter override
    --- Wrong password/time limit runs out will disconnect you
    ---- 3 disconnects lock the user from the server for a period of time
  11. Offline


    I think I can slip in something like that wait..... ill think about it
  12. Offline


    Is the permission lock possible to? That way people can't grief in the seconds before they are disconnected.
  13. Offline


    Can you support so that only a set group of people are affected by the IP lock. I don't want anyone's IP locked except for the admins (5 people).
  14. Offline


    There is a section in the config that allows you to specify certain users.

    You would want to have 'checkOption: include'.

    Permissions support would be epic, but isn't a dire necessity. Regardless, I'm sure having it work with certain permissions groups wouldn't be to hard.
  15. Offline


    Y would I need permission support?
  16. Offline


    You don't, but it would be useful to be able to specify a permission group or groups that is included/excluded.

    Remember, these are all suggestions.
  17. Offline


    Updated 1.2

    Added A Reset Command
  18. Offline


    it should not kick? :S
  19. Offline


    If it should not kick then griefers can grief and wat would replace the not kick?
  20. Offline


    Ill see if I can learn to code. If not, I'll be happy to help test it.
  21. Offline


    i don't like when people take a program i've written & submit it as their own.
    i also don't appreciate you renaming the package names to obscure the original author

    would very much appreciate being listed as the author of this one, thankyou ;)
    i wrote this last week as a fork off of iplock from a user request

    i wouldn't mind helping with development, either, if you'd have asked
  22. Offline


    Looks nice!
    So is it possible to prevent users with same IP to create multiple nicks only?
    Cause many players have dynamic IPs and I don't want to lock player's nickname to a specific address.
  23. Offline


    Great :D I'm working on Sqlite Support looks like it works so far mind if u test?
  24. Offline


    sure, i can test sqlite

    Just hook me up with the download link
  25. Offline


    I have a player with a 0 and a _ and he gets blocked. Even when I added his name to the list and set it as Excluded
    And/or if i set the check to false and/or if i added a # infornt of it
  26. Offline


    Ya I Gotta Let The Plugin Allow "_"
  27. Offline


    Cool so this will be fixed in 1.3?
  28. Offline


    Prob 1.4 wats ur server ip?
  29. Offline


    I'll PM
  30. Offline


Share This Page