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

    MeatBat

    /cpw without params fires exception
     
  3. Offline

    EcOzZRiSiNg

    big bug report:
    xAuth version: v2.0 (beta 4.1) CraftBukkit build (#1185 1.8.1) Description of error/bug: when ever a logen in palyer type /login or /register i get lots of console error (se in Pastebin) Error log: http://pastebin.com/ttLKJXqA Other information: nothing
     
  4. Offline

    NotYetRated

    Anyone know of alternatives? I have not seen work done on this in some time now, and need an Auth plugin...
     
  5. Offline

    CypherX

    Been swamped with work so I haven't been around much lately. I tested xAuth with the newest recommended build after seeing reports of spawning issues, but everything works fine for me. I need more information to determine if it's indeed a real issue.
     
  6. Offline

    xsolar66

    Well blimey, it works all of a sudden, right after reading your post haha. It was broken before...
    No problems now - works like a charm - don't know what changed..
     
  7. Offline

    Donny

    It only happens sometimes.
     
  8. Offline

    OllyHal

    Can you help me with this error please, I have tried changing the DBVERSION to 3 instead of 4 but still no luck.

    Code:
    22.09 18:21:26 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    22.09 18:21:26 [Server] INFO at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    22.09 18:21:26 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    22.09 18:21:26 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    22.09 18:21:26 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    22.09 18:21:26 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    22.09 18:21:26 [Server] INFO at com.cypherx.xauth.commands.LoginCommand.onCommand(LoginCommand.java:73)
    22.09 18:21:26 [Server] INFO at com.cypherx.xauth.xAuth.login(xAuth.java:349)
    22.09 18:21:26 [Server] INFO at com.cypherx.xauth.database.DbUtil.deleteStrikes(DbUtil.java:150)
    22.09 18:21:26 [Server] INFO at com.cypherx.xauth.database.Database.queryWrite(Database.java:85)
    22.09 18:21:26 [Server] INFO at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)
    22.09 18:21:26 [Server] INFO at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:71)
    22.09 18:21:26 [Server] INFO at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1119)
    22.09 18:21:26 [Server] INFO at org.h2.engine.Session.prepareCommand(Session.java:364)
    22.09 18:21:26 [Server] INFO at org.h2.engine.Session.prepareLocal(Session.java:415)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.prepareCommand(Parser.java:217)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.parse(Parser.java:251)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.parse(Parser.java:279)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.parsePrepared(Parser.java:336)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.parseDelete(Parser.java:724)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.readSimpleTableFilter(Parser.java:702)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.readTableOrView(Parser.java:4707)
    22.09 18:21:26 [Server] INFO at org.h2.command.Parser.readTableOrView(Parser.java:4729)
    22.09 18:21:26 [Server] INFO at org.h2.message.DbException.get(DbException.java:144)
    22.09 18:21:26 [Server] INFO at org.h2.message.DbException.get(DbException.java:167)
    22.09 18:21:26 [Server] INFO at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    22.09 18:21:26 [Server] INFO DELETE FROM `strikes` WHERE `strikeip` = ? AND `playername` = ? [42102-157]
    22.09 18:21:26 [Server] INFO org.h2.jdbc.JdbcSQLException: Table "STRIKES" not found; SQL statement:
    22.09 18:21:26 [Server] SEVERE [xAuth] SQL query failure [write] (DELETE FROM `strikes` WHERE `strikeip` = ? AND `playername` = ?)
     
  9. Offline

    CypherX

    @OllyHal - Try the following:

    1. Start the H2 Console (the server must be stopped)
    2. Connect to the xAuth database by changing 'JDBC URL' to the location of the xAuth database and putting 'sa' (no quotes) in the 'User Name' field, then click connect.
    3. If it connected successfully, there should be a list of tables on the left side. If there is a table named 'strike_bans', edit your xAuth config file so mysql.tables.strike is set to 'strike_bans' rather than 'strikes'. If not, list the tables in a reply.
     
  10. Offline

    someguy817

    hmmmm i have nothing to do now you fixed all my problems on my server most usefull plugin i have ever downloaded
     
  11. Offline

    CypherX

    Version 2.0 Beta 4.2 is now live!
    • Added database update failure handling
    • Fixed NPE when using a command without supplying any arguments
    • Prevented non-logged in players from accessing the creative mode inventory.
    • Prevented food level from changing while a player is not logged in
     
    Boon Pek and LlmDl like this.
  12. Offline

    ynrar312

    Code:
    09-25 04:43:55 jdbc[2]: exception
    org.h2.jdbc.JdbcSQLException: The object is already closed [90007-159]
    
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
        at org.h2.message.DbException.get(DbException.java:169)
        at org.h2.message.DbException.get(DbException.java:146)
        at org.h2.message.DbException.get(DbException.java:135)
        at org.h2.jdbc.JdbcResultSet.checkClosed(JdbcResultSet.java:2929)
        at org.h2.jdbc.JdbcResultSet.getColumnIndex(JdbcResultSet.java:2856)
        at org.h2.jdbc.JdbcResultSet.get(JdbcResultSet.java:2963)
        at org.h2.jdbc.JdbcResultSet.getInt(JdbcResultSet.java:315)
        at com.cypherx.xauth.util.Util.buildSession(Util.java:130)
        at com.cypherx.xauth.database.DbUtil.getPlayerFromDb(DbUtil.java:271)
        at com.cypherx.xauth.xAuth.getPlayerJoin(xAuth.java:233)
        at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerJoin(xAuthPlayerListener.java:63)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    Can you help me with this error?
     
  13. Offline

    ConWylie

    Great Plugin! Creating a website login using the MySQL database [diamond]
     
  14. Offline

    Leviathanx

    The jar in the Beta 4.2 zip file is 4.1 i re downloaded it multiple times an im still getting the 4.1 jar.
     
  15. Offline

    CypherX

    @ynrar312 - Have you received that error more than once or has it been a one time thing?

    I forgot to update the version number in the actual plugin. It's the right file, trust me.
     
  16. Offline

    Leviathanx

    Oh, well in that case, here is an error I keep getting when a user logs on, logs off.

    What am I doing wrong?
     
  17. Offline

    sauevaem

    Code:
    14:40:09 [SEVERE] Could not pass event PLAYER_JOIN to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.Session.isExpired(Session.java:22)
            at com.cypherx.xauth.xAuthPlayer.isAuthenticated(xAuthPlayer.java:47)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerJoin(xAuthPlayerListener.java:66)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
            at net.minecraft.server.Packet1Login.a(SourceFile:59)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    14:40:14 [SEVERE] Could not pass event ENTITY_DAMAGE to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.xAuthPlayer.hasGodmode(xAuthPlayer.java:80)
            at com.cypherx.xauth.listeners.xAuthEntityListener.onEntityDamage(xAuthEntityListener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.java:670)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.Explosion.a(Explosion.java:140)
            at net.minecraft.server.World.createExplosion(World.java:1461)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
            at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:69)
            at net.minecraft.server.EntityLiving.s(EntityLiving.java:788)
            at net.minecraft.server.EntityMonster.s(EntityMonster.java:27)
            at net.minecraft.server.EntityLiving.s_(EntityLiving.java:280)
            at net.minecraft.server.EntityMonster.s_(EntityMonster.java:31)
            at net.minecraft.server.EntityCreeper.s_(EntityCreeper.java:68)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
            at net.minecraft.server.World.cleanUp(World.java:1090)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:460)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    14:40:30 [INFO] Connection reset
    14:40:30 [INFO] sauevaem lost connection: disconnect.quitting
    14:40:30 [SEVERE] Could not pass event PLAYER_QUIT to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.Session.isExpired(Session.java:22)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:103)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:154)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:650)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    
    Just downloaded xAuth 2.0b4.2
    using bukkit 1185
     
  18. Offline

    ynrar312

    It happens all time as a player must login into the game...
    But the registration is successful
    (Bukkit build: [1185])
    (xAuth v2.0 (Beta 4.2))
     
  19. Offline

    funnybutrandom

    i'm getting the same bug as above, it keeps bringing down my server :(
     
  20. Offline

    OverPT

    Question!

    Do the accounts that are stored on the h2 db get copied to MySQL when we switch from one to the other?
     
  21. Offline

    spunkiie

    Last edited by a moderator: Jul 17, 2016
  22. Offline

    CypherX

    @ynrar312 @Leviathanx @sauevaem @funnybutrandom

    Updated to Version 2.0 Beta 4.3:
    • Fixed NPE and closed ResultSet errors when a player joins who is already logged in.

    No, you must manually transfer them.

    @spunkiie - When you develop something that is completely bugless, let me know. Until then, kindly fuck off and never post in my thread again.
     
  23. Offline

    OverPT

    Aw, do you know any software that can copy the information? I've tried razorsql and Navicat but no success :\

    Also I have this error that keeps appearing everytime i restart the server:

     
  24. Offline

    josho3

    How can I create a password that everyone has to register with it??
     
  25. Offline

    EcOzZRiSiNg

    did you look on my Fucking Bug i sent you ?
     
  26. Offline

    spunkiie

    lol
    4.3 buggy. users with upper case on nick cannot log in...

    Btw: I'm happy running AuthMe right now, my server load decrease abou 30%. Yes, xAuth was killing my server performance with his NPEs over NPEs

    :)
     
  27. Offline

    Ed_win

    I have the same bug, help please!
     
  28. Offline

    CypherX

    @OverPT - Take a look this. It's for iConomy but it should work the same. Just replace everything to do with iConomy's database with xAuth's and leave the password blank. You may have to make some manual edits to the .sql file for it to import correctly into MySQL.

    You can't? That would destroy the whole purpose of this plugin.

    Did you even look at the bug yourself? It has nothing to do with xAuth, moron.

    Congratulations! Funny how you started being an immature jackass when you didn't get your way. Are you eight years or just a spoiled brat who throws a tantrum when he doesn't get what he wants?

    @Ed_win - Update to the latest version.
     
  29. Offline

    EcOzZRiSiNg

    omg sry i sent the Wrong Code im sorry :D!
     
  30. Offline

    omnija

    so the best way to upgrade would be just to start off with a new start correct, bascily freshly installed instead of trying to transfer the database?
     
  31. Offline

    CypherX

    See the top of my previous post.
     
Thread Status:
Not open for further replies.

Share This Page