Inactive [SEC] xAuth v2.0.10 - Extra Authentication [1.2.5-R1.3+]

Discussion in 'Inactive/Unsupported Plugins' started by CypherX, Mar 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    CypherX

    xAuth v2.0.10 - (CraftBukkit build: [1.2.5-R1.3+])
    Download v2.0.10

    lycano is taking over the development of xAuth as I no longer have the time nor the will to continue working on it. Please see the BukkitDev page: http://dev.bukkit.org/server-mods/xauth/

    Thanks to everyone who has showed support for me and xAuth over the past 17 months. It's been 'fun'. If for any reason you need to contact me, stop by my IRC channel (irc.rizon.net #LoveDespite) or toss me a message at http://love-despite.com/forum. Until we meet again, stay gold. Bang.

    ------------------------------------------------------------------​

    xAuth is a plugin designed with a single task in mind: protect a server and its players while running in offline-mode. The basic idea of this protection is allowing players to register an account based on their player name and a supplied password. When a registered player connects to the server, that player will be prompted to authenticate his or herself by logging in. If and only if a valid password is supplied, they will regain full control of their account until their session expires.


    Features
    • Before registering/logging in, players cannot:
      • Chat, execute commands, interact with objects (levers, chests, etc.), move, or pickup items.
      • Break or place blocks
      • Receive or give damage, be targeted (followed) by hostile mobs
    • Inventory and location protection
    • In-depth setting and message configuration
    • Persistent login sessions through server restarts
    • Player name filter and password complexity configuration
    • Kick non-logged in (but registered) players after a configurable amount of time
    • Bukkit Permissions support
    • Kick or temporarily lockout the IP address of a player who fails to log in after a configurable amount of tries
    • Custom, highly secure password hashing
    • H2 and MySQL support
    • Authentication over URL (AuthURL) allows for connection to forum or website databases
    Changelog (click for full changelog)
    • Version 2.0.10
      • [Fixed] Exploit to completely bypass login system.
      • [Fixed] xAuth commands not working with Rcon
      • [Fixed] Exploiting login system to avoid fire & drowning damage.
      • [Fixed] NPE caused by player connecting & disconnecting during same server tick.
      • [Fixed] 'Table "SESSIONS" not found' error when a player uses /logout while session length is set to zero.
      • [Fixed] Exploiting location protection after dieing to return to the spot of death.
    • Version 2.0.9
      • Added several reverse single session configuration options.
      • Fixed registration.forced: false not working.
      • Updated version check and H2 download links.
    xAuth Importer
    xAuth Importer is a tool used to import accounts from previous versions of xAuth as well as other authentication plugins. Click here for more information.
     
  2. Offline

    rennbahncookie

    would love to see your update soon aswell! :)
     
  3. Offline

    CypherX

    Updated to version 1.1.5
    • Version 1.1.5
      • Updated to latest recommended build
      • Added a filter for illegal characters in player names (configurable)
      • Movement that involves nothing but falling is now allowed to fix the annoying bouncing

    There are two versions of this update available. Both contain the new features but version 1.1.5a is for the newer recommend build while 1.1.5b is for builds 440-560.
     
  4. Offline

    The PC Tech Guy

    Can you make it so that the IP is NOT checked upon login via session? I understand there is a risk to doing this, but I use a server wrapper (SimpleServer), so the IP address connecting to CB/MC is not the same as the player's IP.
     
  5. Offline

    CypherX

    I'll add an option to turn IP verification on/off in the next update.
     
  6. Offline

    grubenchiller

    using your plugin with craftbikkit build 608 gives me the following error when a player logs in

    "org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin xAuth v1.1.5a"

    the same occurs when a player registers. this message is showed in the server-log, there is also an error displayed to the player in MC. althougt, the works, so my inventory is restored when i log in, although the error is displayed.
     
  7. Offline

    CypherX

    Probably caused by one of the changes to make CraftBukkit compatible with Minecraft 1.4. I'll update it when a new recommended build is available.
     
  8. Offline

    grubenchiller

    thanks.
    it is working, but the error is kinda annoying
     
  9. Offline

    sonyusa

    It doesnt work, its actually not moving me back into my proper group even though it 'says' im logged in :/
     
  10. Offline

    CypherX

    If you're using it with one of the newer builds meant for Minecraft 1.4 it most likely won't work.
     
  11. Offline

    sonyusa

    Ah yeah I'm using 612, it moves us to 'default' group, which isn't actually a group in my groupmanager list, all my 'default' players are just in a group called 'player' by default
     
  12. Offline

    CypherX

    Updated to version 1.1.6:

    • Version 1.1.6
      • Support CraftBukkit build #612
     
  13. Offline

    sonyusa

    Cool, thanks! Is this not compatible with groupmanager? It doesn't seem to be putting people in their proper user group
     
  14. Offline

    CypherX

    It should be as long as you have the Fake Permissions plugin as well. It doesn't touch or do anything to groups so I'm not quite sure of the problem.
     
  15. Offline

    TPMJB

    Wow, you updated almost immediately. Some other plugin devs I haven't seen activity in weeks. You are the man!
     
  16. Offline

    sonyusa

    OH duh, fake perms, thanks
     
  17. Offline

    Phinary

    This is broken with 556.
    Whenever someone registers I get this:
    11:43:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'regi
    ster' in plugin xAuth v1.1.5b
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java
    .lang.Boolean
    at com.cypherx.xauth.Settings.getBool(Settings.java:111)
    at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.j
    ava:26)
    at com.cypherx.xauth.xAuth.onCommand(xAuth.java:196)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  18. Offline

    cuco

    Bukkit #604 and xAuth 1.1.6:
    Code:
    2011-04-02 18:45:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin xAuth v1.1.6
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:232)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:605)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.WorldServer.o()Lnet/minecraft/server/IDataManager;
    	at com.cypherx.xauth.xAuth.restoreInventory(xAuth.java:401)
    	at com.cypherx.xauth.xAuth.login(xAuth.java:266)
    	at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.java:56)
    	at com.cypherx.xauth.xAuth.onCommand(xAuth.java:196)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    Bukkit #603 and xAuth 1.1.5a
    Code:
    2011-03-31 17:25:37 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
    	at com.cypherx.xauth.Settings.getStrList(Settings.java:128)
    	at com.cypherx.xauth.xAuth.isCmdAllowed(xAuth.java:336)
    	at com.cypherx.xauth.xAuthPlayerListener.onPlayerCommandPreprocess(xAuthPlayerListener.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:597)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-31 17:25:38 [INFO] [xAuth] Player 'Tobby' has registered
    2011-03-31 17:25:46 [INFO] Tobby lost connection: disconnect.quitting
    2011-03-31 17:25:50 [INFO] Tobby [/192.168.2.20:49866] logged in with entity id 819
    2011-03-31 17:29:35 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
    	at com.cypherx.xauth.Settings.getStrList(Settings.java:128)
    	at com.cypherx.xauth.xAuth.isCmdAllowed(xAuth.java:336)
    	at com.cypherx.xauth.xAuthPlayerListener.onPlayerCommandPreprocess(xAuthPlayerListener.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:597)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-31 17:32:40 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
    	at com.cypherx.xauth.Settings.getStrList(Settings.java:128)
    	at com.cypherx.xauth.xAuth.isCmdAllowed(xAuth.java:336)
    	at com.cypherx.xauth.xAuthPlayerListener.onPlayerCommandPreprocess(xAuthPlayerListener.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:597)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-31 17:32:50 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
    	at com.cypherx.xauth.Settings.getStrList(Settings.java:128)
    	at com.cypherx.xauth.xAuth.isCmdAllowed(xAuth.java:336)
    	at com.cypherx.xauth.xAuthPlayerListener.onPlayerCommandPreprocess(xAuthPlayerListener.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:597)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-31 17:33:15 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
    	at com.cypherx.xauth.Settings.getStrList(Settings.java:128)
    	at com.cypherx.xauth.xAuth.isCmdAllowed(xAuth.java:336)
    	at com.cypherx.xauth.xAuthPlayerListener.onPlayerCommandPreprocess(xAuthPlayerListener.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:597)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:568)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:192)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  19. Offline

    TPMJB

    Bukkit 621 works, so update to that. Chances are if you're using 602, using 621 wont break any more plugins than 602 did.

    Bothering the author on no-longer-recommended builds is probably a waste of his time. Update to 617; WG/WE are being updated tonight.
     
  20. Offline

    CypherX

    @Shaun Bennett - Check your registration.enabled configuration node and remove any quote marks. It's value can only be true/false.

    @cuco - Neither of those builds are supported. You should update to one of the newer recommenced builds like TPMJB recommended.
     
  21. Offline

    robberocker

    Works realy good against griefers :-D
    first some issues but it is fixt :-D


    Thank you
     
  22. Offline

    xGONExCRAZYx

  23. Offline

    Josh Harwood

    wrong thread
     
  24. Offline

    CypherX

    Those are AuthMe errors, not xAuth.
     
  25. Offline

    Josh Harwood

    ahh :$ wrong thread
     
  26. Offline

    CypherX

    Requested support earlier and just got a response from NoFear13 that it has been added.

    Also, in case anyone is wondering, the next update for xAuth will bring new features and some of the things that have been requested. It will be available sometime in the next week.
     
  27. Offline

    VampiricMoon

    I get these two errors. Any ideas?

    Code:
    [code]Caused by: java.lang.NoSuchMethodError: net.minecraft.server.WorldServer.m()Lnet
    /minecraft/server/IDataManager;
            at com.cypherx.xauth.xAuth.restoreInventory(xAuth.java:400)
            at com.cypherx.xauth.xAuth.login(xAuth.java:266)
            at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.j
    ava:56)
            at com.cypherx.xauth.xAuth.onCommand(xAuth.java:196)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    00:10:59 [SEVERE] java.net.SocketException: Connection reset
    00:10:59 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    00:10:59 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    00:10:59 [SEVERE]      at java.io.FilterInputStream.read(Unknown Source)
    00:10:59 [SEVERE]      at net.minecraft.server.Packet.b(Packet.java:73)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:130)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:229)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:68)
    00:10:59 [SEVERE] java.net.SocketException: Connection reset by peer: socket wri
    te error
    00:10:59 [SEVERE]      at java.net.SocketOutputStream.socketWrite0(Native Metho
    d)
    00:10:59 [SEVERE]      at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    00:10:59 [SEVERE]      at java.net.SocketOutputStream.write(Unknown Source)
    00:10:59 [SEVERE]      at java.io.DataOutputStream.write(Unknown Source)
    00:10:59 [SEVERE]      at net.minecraft.server.Packet.a(Packet.java:107)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkManager.e(NetworkManager.
    java:101)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkManager.d(NetworkManager.
    java:233)
    00:10:59 [SEVERE]      at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:89)
    00:10:59 [INFO] VampiricMoon lost connection: disconnect.genericReason
    >
    
    This pops up whenever someone logs off.
    [/CODE]

    Code:
    00:09:16 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'logi
    n' in plugin xAuth v1.1.5a
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    33)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.WorldServer.m()Lnet
    /minecraft/server/IDataManager;
            at com.cypherx.xauth.xAuth.restoreInventory(xAuth.java:400)
            at com.cypherx.xauth.xAuth.login(xAuth.java:266)
            at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.j
    ava:56)
            at com.cypherx.xauth.xAuth.onCommand(xAuth.java:196)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    Whenever someone logs in they get "An internal error has occured while attempting to perform this comand" While the error message above pops up. The second error message refers to /login I believe.
    
     
  28. Offline

    Josh Harwood

    can you add 3 things to make this perfect? :D
    1. mysql DB
    2. last login time & command to remove logins after X days
    3. permissions node for guests that means they don't have to login/register
     
  29. Offline

    CypherX

    @VampiricMoon: That error occurs when a newer CraftBukkit build (post Minecraft 1.4) is used with an older version of xAuth (pre Minecraft 1.4). Updating to xAuth 1.1.6 should fix that.

    @Josh Harwood: I'm planning on doing a major (if not complete) overhaul of xAuth as soon as real persistence is added to Bukkit. This release, which at this point I'm calling version 2.0, will include MySQL support as well as plenty of new features. As for the second and third items on that list, I've already added a /logout command and the ability to configure if registration is forced or not.
     
  30. Offline

    prexX

    @CypherX

    I can't copy/paste the error but I'm using recommended version 617 and it says this on the first line:
    - [Severe] Could not pass event PLAYER_COMMAND_PREPROCESS to xAuth

    Any ideias?

    Edit: error stopped with server restart... lol
     
  31. Offline

    CypherX

    I'm fairly certain that only happens after the /reload command is used. Not sure what causes it but it's on my list to investigate/fix.
     
Thread Status:
Not open for further replies.

Share This Page