[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

    julianboekhout

    can i configure the plugin so that people can have the same acc on different ip's but not multiple acc on 1 ip
    cause i dont realy get the configuration file
     
  3. Offline

    madcrazydrumma

    Not at the moment, im going to configure what @Joy said once i finish my gcse's in 2 weeks, but for now im just updating to latest RB's
     
  4. Offline

    JSMinecraft

    Hmm This plugin practically saved my server. I have this persistent griefer who keeps changing his name to enter my Hamachi Server... D:
    Last night when i was sleeping her entered as me and griefed so much, that I am bound on an adventure to protect my server! I got this and it worked wonders sadly, i wish i could add the players i knew that are real because running a server through Hamachi you can see the IP they're using.
    Suggestions, Add some sort of possibility of adding certain IPs. I'm not network-savvy but ipLock registers my IP as my PC Name? If he changes his PC to my PC Name, idk how he could do that but if he did, then he'll be able to enter? I read what you said about not touching the .users file i didn't touch it but i looked at it and I saw that some users are registered as IPs and some are registered at Name-PC and I wonder how effective is that? I also got xAuth to register and trying to find anything that can aid me in the battle against this griefer. :D Thanks a million.
     
  5. Offline

    madcrazydrumma

    @JSMinecraft
    Thanks and no problem for using my plugin :)...
    I am going to edit the config file generation in about 2-3 weeks after my GCSE's...

    Just hang tight :D
     
  6. Offline

    madcrazydrumma

    V0.2 released! Added FTP Update by getting rid of imports! Doesnt change much though.. just makes it less laggy of a plugin
     
  7. Offline

    SwearWord

    Does class C IP means this: 192.168.1.*
     
  8. Offline

    madcrazydrumma

    @SwearWord Can you explain that properly? i didnt understand anything of what you just said
     
  9. Offline

    SwearWord

    When you allow subnets what exactly is it doing, I'm not familiar with IPs. Does it allow all IPs from the first 3 groups of numbers? For example it would allow everything from 192.168.1.* if my IP was 192.168.1.132.
     
  10. Offline

    madcrazydrumma

    Im still not sure @SwearWord but i kinda understand.
    Basically you dont touch the config file, and you dont change the ip's... If you want the user to have another ip address, for now you can only replace it, but in a later update i will make it so that people can /ip set 'ip'
    So they can register with 2 different ip's...
     
  11. Offline

    SwearWord

    I understand that but I'm asking if you know what the enable subnet does.

    EDIT: Did you even work on this plugin after Mixxit quit on it?
     
  12. Offline

    madcrazydrumma

    @SwearWord Yes i have... and im not full aware of the enable subnet... what bout you?
     
  13. Offline

    SwearWord

    I haven't looked at the source yet but I think enable subnet does this.

    Disclaimer: I'm speculating all this info
    People with dynamic IPs stay in the same subnet when their IPs change.
    Say my IP is 69.134.59.122. I believe the C Class subnet, as mentioned in the config, is 69.134.59.*
    I believe enabling subnet would accept ANY IP that fell in this 69.134.59.0 - 69.134.59.255

    This way someone with a dynamic IP won't be locked out when their IP changes.
     
  14. Offline

    madcrazydrumma

    Ahh ok... i think it allows it from just the one user/group of IP's..
    Im not sure... but in a week or 2 i will be adding new features such as configurable IP's and also to make sure that ip can only login with one username or not.
     
  15. Offline

    SwearWord

    I'm downloading the source, I'm going to make some changes. Can you post it on GitHub or should I do it?

    Edit:
    Wow this is pathetic. You renamed all the name spaces to your own? I'm pretty sure you did nothing for this plugin, just took the source, renamed stuff and re-released it. And then I find out you're the same person who ripped off the magic carpet plugin. Seriously man, you're hindering progress. I come here expecting you to know the plugin that you're "maintaining" and you're simply just stealing. I know you said you were just "continuing" Mixxit's work but it's kind of sleazy you erased his name from the source especially when you're not really contributing anything.

    Edit 2:
    I just read your update to v0.2. You removed unused imports? And that makes it less laggy of a plugin? Wow.
     
  16. Offline

    madcrazydrumma

    @SwearWord
    Do you even read the bloody first thread of anything? If i am continuing it doesnt fully mean i am going to add more features to it right away. I am saying that if anyone wants to add a feature, they can collab with me and i will put their name in it like so: ipLock v0.1 (SwearWord) - Limit One IP Address per user...
    and if you read EVERYTHING in the magic carpet plugin... It shows that everyone and i bloody say it is a test plugin and i have permissions from Android to test it.... And also i am in development of the new stage of my carpet plugin so just stop arguing and go away.
     
  17. Offline

    SwearWord

    You really shouldn't have claimed to be "continuing this." If your idea of an update is to remove unused imports and lie to people saying it's less laggy, then you really have no good intentions. You updated it for the new RB? Yeah you just changed the thread title.

    You couldn't even answer my most basic questions about the plugin, it's pretty clear you just want to be associated with plugin making without doing any work.

    It took me less time to write from scratch a plugin that does the same thing as this than to explain to you what a subnet was.
     
  18. Offline

    madcrazydrumma

    @SwearWord
    Ok fine you want to take over this bloody plugin? Fine be my god damn guest.
    Hey @EvilSeph
    This guy is so rude and cant be bothered to read what i explain properly so hes gonna make me give up a plugin and may possible just give up on this whole thing...
     
  19. Offline

    SwearWord

  20. Offline

    madcrazydrumma

    Fine you bloody kissup... This plugin is now inactive thanks to this psycho who thinks he can rave someones plugin when they clearly say they are only updating it....
    Sorry guys who love ipLock but your going to have to switch to LockIP
     
  21. Offline

    SwearWord

    So because I question whether you really have any intention of updating this, you decide not to update it.
     
  22. Offline

    madcrazydrumma

    @SwearWord
    well what you dont understand is that im not going to be adding more features like i tried to explain earlier on and also said in the inactive thread...
    I will keep updating this to the latest RB but if anyone wants to add a new feature, then let me know and ill let them in on the plugin.
     
  23. Offline

    SwearWord

    @madcrazydrumma
    I don't know what you're so offended about. You aren't providing me with what I need so I took the initiative to make it myself. I was just annoyed that you're mislead me into thinking you knew how this plugin worked, especially since you were bold enough to replace Mixxit's namespace with your own all over the code, and I wasted my time asking you questions about it. It's all moot now, I have a working version of what I needed.
     
  24. Offline

    madcrazydrumma

    @SwearWord ok,
    but that still didnt give you a right, to comment over mcdCarpeteer, because that is a test plugin, soon to become official.. i have actually started devving the new version but not atm because i actually have to revise instead of commenting over all your posts in my threads... i am done tomorrow with my revision so ill try and finish it soon.
    But dont just say, "i bet you have..." or something like that, when you dont fully know if they are or not.
     
  25. Offline

    hidden-enemy

    Found a bug. Very serious. If you log into the game do not specify the name of that going on all the admin server poluchesh privileges. it must be corrected.

    011-06-17 17:41:37 [INFO] [/10.18.1.210:52094] logged in with entity id 577048 at ([ hidden_world] 3.5, 81.62000000476837, 0.5)
    2011-06-17 17:41:37 [INFO] iplock - exception removing player:
    2011-06-17 17:41:37 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 1
    2011-06-17 17:41:37 [SEVERE] at mad.madcrazydrumma.iplock.iplock.isValid(iplock.java:271)
    2011-06-17 17:41:37 [SEVERE] at mad.madcrazydrumma.iplock.PListener.onPlayerJoin(PListener.java:63)
    2011-06-17 17:41:37 [SEVERE] at org.bukkit.event.player.PlayerListener.onPlayerJoin(PlayerListener.java:18)
    2011-06-17 17:41:37 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-17 17:41:37 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-17 17:41:37 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-17 17:41:37 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-17 17:41:37 [INFO] [SpawnControl] Sending new player to global spawn.
    2011-06-17 17:41:55 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:41:57 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:41:59 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:01 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:20 [INFO] Creating user
    2011-06-17 17:42:43 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:45 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:47 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:49 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:51 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-17 17:42:54 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

    The server is in the local city network.
     
  26. Offline

    madcrazydrumma

    Umm ok if you read the above like 5-6 posts, you will find im not adding features, but if someone wants to, then they pm me and ill add they're name in, etc... otherwise just go join
    LockIP...
     
  27. Offline

    SwearWord

    @hidden-enemy

    Search LockIP and use that if you want, I'm actually providing support and bugfixes for it. This plugin's dev doesn't know how this plugin works so he can't help you.

    @madcrazydrumma
    If you won't even address bugfixes that people are asking for you should remove this thread. You're wasting people's time. Maybe someone that knows Java and how to make plugins will pick it up.
     
    AS1LV3RN1NJA likes this.
  28. Offline

    Plague

    Well since you tagged @EvilSeph I'll do it too to make him see this.

    Anyway. Moving to inactive because of this request (I can move it back if you didn't mean it):
    And also that post proves SwearWord's point (albeit he could have expressed it more sensitively) ;)
     
  29. Offline

    madcrazydrumma

    Haha @Plague
    well i kinda was overreacting :p Move it back plOx? :p
     
  30. Offline

    SwearWord

  31. Offline

    madcrazydrumma

Share This Page