Inactive [SEC/Admn]IpLock -- passwordprotect or mark playernames, linked to an ip, as safe[V 0.5][1.3.2]

Discussion in 'Inactive/Unsupported Plugins' started by Sgt_Tailor, Mar 11, 2012.


What do you think of this plugin

  1. Awsome

    106 vote(s)
  2. good, but I have some suggestion

    44 vote(s)
  3. I think it is promising

    22 vote(s)
  1. Offline



    Before all, thanks for the Update ;)
    I have the error at the closure of ther server:

    [IpLock] Disabling IpLock v0.4
    2012-04-19 19:20:24 [SEVERE] Error occurred while disabling IpLock v0.4 (Is it up to date?)
        at iplock.iplock.onDisable(
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(
        at net.minecraft.server.MinecraftServer.stop(
    Tanks !
  2. Offline


    Can you make safeip only available if the IP is in local network or static? You should also allow dyndns, noip... for safeip. I typed my dyndns in the config-file and it worked, so it shouldn't be much work to implement it as default feature. Another suggestion is a command like /panic or something if someone had forgotten his password. He should leave a message how an admin can contact him to verify his identity.
  3. Offline


    I just updated to 1.4 and all messages IpLock used to display are now colored 'null' messages. I have removed the translate.yml
  4. Offline


    willie you need to also clear the ips.yml file. Everyone has to setpassword again. I had same issue when I updated.
  5. Offline


    Is this protected even from those command saving plugins?

    i have a server of my own and i used to have a plugin that saves commands so i can administrate the admins.
    this did even administrate and store normal players login password.

    example my players password is hello, in the iplock plugin it was encrypted but in the commandlogger i could see this:

    [2012.04.25 13.00] Fredde: /login hello
  6. I will try fix that in the next update
  7. Offline


    I loved the idea f the plugin, but i have found a quite huge problem with it... If people use /safeip, other people can connect if they use some kind of proxy... i have had to reset my server after someone conneted as evryone and tried to steal their stuff... please make a kind of proxy detector. or a nother fix for this... :L
  8. Offline


    Looks good. I use xAuth for this purpose, but I really liked the safeip option. I think that's a nice feature. Unfortunately I have found some bugs.

    - The use of /login before the user has registered (used /setpassword) results in the following server malfunction error on the console.
    14:27:54 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin IpLock v0.4
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.handleCommand(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.handle(
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(
            at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.NullPointerException
            at iplock.IpLockCommandExecutor.getPass(
            at iplock.IpLockCommandExecutor.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 12 more
    - After using safeip, and then logging on again with another IP, I was able to just walk freely without logging in even though it did prompt me to login. On the second attempt though, it prompted again, and also disallowed me from doing anything. This is repeatable after removing the user from ips.yml. Btw if it matters, I changed the ip I connected with by connecting from my external ip and then connecting from my lan.

    Just a note, it's great that using safeip, on multiple IPs adds the IP instead of overwriting the previous safe ip. But maybe there should be an option to replace or some way for the user to manage their safe ips since if they have a dynamic ip, they may not want all of their old safe ips to remain. The chance however of another person who just happens to get the same ip and also know how to login to that user's minecraft account is very low.

    May I suggest permissions nodes? I do use a permissions system and would like to use a node for setpassword so I can manage the players allowed to connect. Without it, any player can connect and start playing as soon as they create a password and login. But of course they won't be able to do anything until they are moved to the Builder group. But they would still be able to chat and walk around (and I think kill things?). Idk, not a big deal I guess, but I always like more control.

  9. Offline


  10. Offline


    I got the same problem all the time. And I really need automatic /safeip execution after each registration :(
  11. I will add that in the config in next update
  12. Offline


    Now i fixed!It's easy go to your server config and search for FLIGHT:false,change it to true and have fun :D(i hope i helped^^):D
  13. Offline


    But this allows users to cheat.
  14. Offline


    not really man...It's the inverse it cuz bukkit writed wrong way at really i fixes cheats for an examples:if i toggle on cretive mode and fly and tehn turn of i gonna saty floating...BUT:if flight:true i instant fall so it fixes flying problems try it out ;D
  15. Offline


    Same fly problem and solved! Thx to pedroh12 :D
    And...My Italian translation ^^
    <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 11, 2016
  16. Offline


    Wow. Thank you :) I didn't know that.
  17. Offline


    I'm happy for helping :D any questions why i can respond just call me i will do my best to help:cool:
  18. Offline


    hey, every time a new player logs in they are kept floating in the air untill they register. This would not normally be a problem, but the slower typers cannot register before they are kicked for floating. Is there any way you could either unlock y coordinate movement or give them a small radius to move around in? If not I guess i could just put the spawn one block lower.

    Edit: I put the spawn lower and it is still happening. Anyone else have this problem?
  19. Offline


    I guess everyone else.
  20. Offline


    I see, I agree with you though. I guess i can enable flight for the time being, but it shouldnt be a permanent fix. People with modded clients can fly or hover. Would you look into a solid fix pedroh?
  21. Offline


    Can you please add this to bukkit dev so that Craft bukkit up to date will auto update? Here are instructions:

    My Plugin didn't supported, how i get it to work with CButD?
    Add it to Your link should be like the jar-File-Name if your jar-File example.jar your link on should be If not no problem you have to options:
    1. Add dev-url to your plugin.yml this should look like : dev-url:, please replace the url with your one, else it didn't work. Also you should know that only works.
    Here is a example plugin.yml:
    name: Your name
    main: Your main class
    version: Your version
    dev-url: this with your url of dev-Bukkit/
    your command:
    description: descrition
    usage: /<command> <function> [buildnumber]
    aliases: [alias1, alias2]
    2. let me know this and I add it to my
    Also you should know that your project at should contain file-Downloads, else I have no chance to check for updates and download the newest version.
  22. Offline


    is there anyway to bypass this?
  23. Will be done in the update comming ( I hope) tomorrow.

    I have been away from home for 1,5 weeks. I am working on some other plugins I need to update as well. I hope you guys will get this and will not turn mad if the update will come a little bit later
  24. Offline


    there is an error when you disable the plugin, it says something with the ondisable class or something.
  25. Offline


    15:08:59 [INFO] [IpLock] Disabling IpLock v0.4
    15:08:59 [SEVERE] Error occurred while disabling IpLock v0.4 (Is it up to date?)
            at iplock.iplock.onDisable(
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(
            at org.bukkit.craftbukkit.CraftServer.disablePlugins(
            at net.minecraft.server.MinecraftServer.stop(
    Null pointer exception in onDisable method.
  26. Offline


    yes, that.
    also, i'm having problems when people want to log in and get kicked because they are floating in the air
  27. Offline


    problem is gone, but could you please make a fix so you don't have to toggle flight to true?
  28. Offline


    Hello ;)
    I have a question, How to set up a limit character in username?
    Because I have a problem. People can join without username (Empty field in TAB statistic) and they can spawn mobs.
    If he has not an username I can't kick or ban him, console didn't show IP adress.
  29. Offline


    @EventHandler(priority = EventPriority.HIGH)
    public void onPlayerJoin(final PlayerJoinEvent event)
        if (event.getPlayer().getName().equals(""))
            event.getPlayer().sendMessage(ChatColor.RED + "You are to evil to play here! 8D");
            Thread.currentThread().sleep(1000); // Because otherwise the player without a name won't see that coloured message above. Delete this and previous line if you don't want to risk that he will do something evil during that 1 second.
            event.getPlayer().kickPlayer("You are to evil to play here! 8D);
            Bukkit.broadcastMessage(ChatColor.RED + "Hey, some kind of nameless evil was just kicked! 8D");
    This code will kick unnamed players. ^^
    You can also supply it with this in every player event:
    if (event.getPlayer().getName().equals(""))
    (if you only want to prevent player from doing something evil during this second before he gets kicked)
    Or, you can also use only this code, to stop players without name from doing anything (but remember that such "hackers" takes unnecessary CPU load, so it's better to kick them also).

    If you want to kick players with nickname shorter than some limit (for example 3), you can declare this in main plugin class:
    final int MinNickLenghtLimit = 3; //Replace 3 with your minimal allowed nickname length.
    Then you can just change all instances of '.equals("")' to '.length() < MinNickLenghtLimit'.

    Should I pack it in plugin (with import declarations, main class, plugin.yml file, etc.) or is there IpLock source code avaiable, so you can include this code in it?
  30. Offline


    I hope to switch to this plugin, but current users have to reset their password. Can I somehow let them do that in advance? e.g. let them use the /setpassword already?
    Now using AuthDB and phpbb-forum for the password (that makes it very slow).

Share This Page