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)
    61.6%
  2. good, but I have some suggestion

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

    22 vote(s)
    12.8%
  1. Offline

    SamSam

    Hello,

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


    Code:
    [IpLock] Disabling IpLock v0.4
    2012-04-19 19:20:24 [SEVERE] Error occurred while disabling IpLock v0.4 (Is it up to date?)
    java.lang.NullPointerException
        at iplock.iplock.onDisable(iplock.java:98)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:362)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:399)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:392)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:245)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:479)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Tanks !
     
  2. Offline

    Mirokashi

    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

    williewillus

    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

    JustinFatalx

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

    fredde3436

    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

    olaaxe

    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

    D1G1T4L3CH0

    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.
    Code:
    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(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
            at iplock.IpLockCommandExecutor.getPass(IpLockCommandExecutor.java:151)
            at iplock.IpLockCommandExecutor.onCommand(IpLockCommandExecutor.java:75)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 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.

    Thanks.
     
  9. Offline

    Pedroh12

    HELP ME!!!!WHEN LOGGING WITH A NON-REGISTERED ACCOUNT YET,THE PLAYER FLY!AND AFTER SOME SECONDS APEEAR:FLY IS'NT POSSIBLE IN THAT SERVER!!!PLZ QHAT I DO NOW?:'(
     
  10. Offline

    Fifi

    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

    Pedroh12

    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

    Fifi

    But this allows users to cheat.
     
  14. Offline

    Pedroh12

    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

    texita

    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

    Fifi

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

    Pedroh12

    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

    sternmin8or

    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

    Fifi

    I guess everyone else.
     
  20. Offline

    sternmin8or

    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

    jamcat22

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

    cooly1414

    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

    blipman17

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

    Fifi

    Code:
    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?)
    java.lang.NullPointerException
            at iplock.iplock.onDisable(iplock.java:98)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:362)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:399)
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:392)
            at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:245)
            at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:479)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492
    Null pointer exception in onDisable method.
     
  26. Offline

    blipman17

    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

    blipman17

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

    kzabost

    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

    Fifi

    Code:
    @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:
    Code:
    if (event.getPlayer().getName().equals(""))
    {
        event.setCancelled(true);
        return;
    }
    (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:
    Code:
    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

    Martin1704

    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