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

    smc

    I have a problem on my server when a player creates a login only with numbers. eg 4444
    You can create a login function to prohibit only numbers.
     
  3. Offline

    xBlueXFoxx

    OP are still able to use commands in my server before logging in... I'm not seeing why, is this plugin groupmanager capatible?!

    Here's my config if that helps..

    Code:
    main:
        # How should xAuth store data (Accounts, sessions, etc.)?
        # Possible values: h2, mysql
        datasource: h2
        # If set to true, xAuth will disable itself if the server is in online-mode
        auto-disable: true
        # If set to true, all required library files will be automatically downloaded
        download-libraries: true
        # When set to true, if a player connects with the same name as someone who is
        # already online, the player connecting will be kicked instead of the online player
        reverse-enforce-single-session: true
    
    authurl:
        # Send user/pass data to authURL for authentication instead of the database
        # This option disables registration and password changes
        enabled: false
        # The URL to send user/pass data to, look at the example auth.php for an
        # example that works with SMF forums.
        url: [URL]http://127.0.0.1/auth.php?field=minecra[/URL]
    
    mysql:
        # Location of the MySQL server. Can be either a host name or IP address
        host: localhost
        # Port used by MySQL. Default is 3306
        port: 3306
        # User name used to connect to the MySQL server
        username: root
        # Password used to connect to the MySQL server
        password:
        # Name of the database that will be used by xAuth
        database:
        # Names of the tables xAuth will use to store data
        tables:
            account: accounts
            session: sessions
            strike: strike_bans
            location: tele_locations
            inventory: inventory
    
    registration:
        # Enable/disable new registrations
        enabled: true
        # If set to true, everyone must register
        forced: true
        # Setting this to true requires a player to enter an email address when they register
        require-email: false
        # If set to true, a valid email address is required
        validate-email: false
        # Setting this to false will impose a limit of one account per IP address
        allow-multiple: true
        # Used with web registrations that require account activation
        activation: false
    
    login:
        strikes:
            # Amount of times a player can enter an incorrect password before action is taken
            # Set as 0 to disable
            amount: 5
            # What action to take when the strike threshold is reached
            # Possible values: kick, banip
            action: kick
            # Length, in seconds, of a ban given by the strike system
            # Set as 0 for a permanent ban
            length: 3600
    
    password:
        # Minimum length a password may be
        min-length: 6
        # Enable/disable password changes
        allow-change: true
        # Require at least one of the character types below that are set to true
        complexity:
            lowercase: false
            uppercase: false
            number: false
            symbol: false
    
    guest:
        # Amount of time, in seconds, that a player has to log in before they are kicked
        # Set as 0 to disable
        timeout: 300
        # Amount of time, in seconds, between "You must be logged in.." messages
        notify-cooldown: 5
        # Commands that players who are not registered or logged in may execute
        allowed-commands: [register, login, l]
        # Turn on/off location protection
        protect-location: true
    
    session:
        # Amount of time, in seconds, that a session will remain valid
        length: 3600
        # Verify a player's IP address when resuming a session
        verifyip: true
        # Length of time, in seconds, that a player will have godmode upon logging in
        # set as 0 to disable
        godmode-length: 5
    
    filter:
        # Minimum length a players name can be
        min-length: 2
        # Characters that may be present in a players name. Use an asterisk (*) to allow all
        allowed: '*'
        # If set to false, players with blank names can connect
        blankname: true
    
    # INTERNAL USE ONLY! DO NOT TOUCH!
    version: 4
    
     
  4. Offline

    CypherX

    As long as you also have the GroupManager to Permissions bridge it'll work. Are there any errors in the console when players join or use commands?
     
  5. Offline

    marvinej

    maybe i seem like a noob here. ive spent 4 hours trying to use mysql. im a little new too this one. i have the server setup on localhost and i put all the info into the config and xauth is just sitting there doing nothing...
     
  6. Offline

    JohnPulse

    I checked my H2 table and indeed it doesn't have the table Strike, but it has "Strike_Bans". I tried to change the config for xAuth to use the existent table but then it says it's missing a column inside "Strike_bans". I guess something on my version update went wrong...
    Regards,
    John
     
  7. Offline

    CypherX

    Delete the DBVERSION file located in /plugins/xAuth/ and start the server.

    Open the DBVERSION file in a text editor and change the number to 3 then start the server. It should update the table with the correct columns.
     
  8. Offline

    SleepyPrince

    is there any way to import the passwords from rakamak plugin?
     
  9. Offline

    4m4rOk

    xAuth version: v2.0b4.1
    CraftBukkit build: 1060
    Description of error/bug: I don't have access to any commands, but it is installed. I don't get a "Unknown console command" error. I get nothing and nothing happends. It seems like xAuth isn't active..
    Error log: No Error log. Nothing.
     
  10. Offline

    JohnPulse

    For some reason, it didn't.
    However, I managed to fix the problem.
    - Deleted via H2 console the table "STRIKE_BANS";
    - Created a new table "STRIKE";
    - Changed the DB version to 3.
    No more console errors :)
    Thanks!
    Regards,
    John
     
  11. Offline

    The Wizard

    I have a lot of errors from xauth. The server crashed from those errors. Any fix for this? Or a plugin update?
    Plugin version 2.0 b4.1
    Server version 1060
    Show Spoiler
    Code:
    2011-08-26 12:37:48 [SEVERE] Could not pass event PLAYER_LOGIN to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:435)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:37:48 [INFO] WareFTW [/92.80.61.129:24011] logged in with entity id 2021959 at ([world] -479.69999998807907, 67.0, 213.4221735979573)
    2011-08-26 12:37:48 [INFO] [gl] Claudiu_678: stai sa vad
    2011-08-26 12:37:51 [INFO] [gl] Paul_Pop: nu vand lana,am si eu nevoie
    2011-08-26 12:37:53 [SEVERE] [xAuth] SQL query failure [write] (DELETE FROM `mc_xauth_strike_bans` WHERE `strikeip` = ? AND `playername` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'strikeip' in 'where clause'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
            at com.cypherx.xauth.database.Database.queryWrite(Database.java:90)
            at com.cypherx.xauth.database.DbUtil.deleteStrikes(DbUtil.java:150)
            at com.cypherx.xauth.xAuth.login(xAuth.java:349)
            at com.cypherx.xauth.commands.LoginCommand.onCommand(LoginCommand.java:73)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:37:53 [INFO] [xAuth] WareFTW has logged in
    2011-08-26 12:37:55 [INFO] [gl] WareFTW: sal
    2011-08-26 12:38:01 [INFO] [gl] Paul_Pop: salut
    2011-08-26 12:38:08 [INFO] [gl] FilareT: E rar GlowStone ???
    2011-08-26 12:38:08 [INFO] [lc] AndreiHD: stai sa te tund
    2011-08-26 12:38:16 [INFO] [gl] Claudiu_678: gri/roz/brown
    2011-08-26 12:38:22 [INFO] [gl] WareFTW: paul ai un slime la magazin?
    2011-08-26 12:38:29 [INFO] [gl] Claudiu_678: destul de rar
    2011-08-26 12:38:29 [INFO] [gl] Paul_Pop: nu
    2011-08-26 12:38:33 [INFO] [gl] Paul_Pop: slimeballs poate
    2011-08-26 12:38:34 [SEVERE] [xAuth] SQL query failure [read] (SELECT COUNT(*) AS strikes, MAX(striketime) AS lasttime FROM `mc_xauth_strike_bans` WHERE `strikeip` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'striketime' in 'field list'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
            at com.cypherx.xauth.database.Database.queryRead(Database.java:69)
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:432)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:38:34 [SEVERE] Could not pass event PLAYER_LOGIN to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:435)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:38:34 [INFO] Advanced12 [/79.119.226.80:53293] logged in with entity id 2023538 at ([world] 149.9105784346527, 77.0, 221.6611237120599)
    2011-08-26 12:38:40 [INFO] [gl] WareFTW: da ma
    2011-08-26 12:38:44 [INFO] [gl] Paul_Pop: ce dai ?
    2011-08-26 12:38:48 [SEVERE] [xAuth] SQL query failure [write] (DELETE FROM `mc_xauth_strike_bans` WHERE `strikeip` = ? AND `playername` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'strikeip' in 'where clause'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
            at com.cypherx.xauth.database.Database.queryWrite(Database.java:90)
            at com.cypherx.xauth.database.DbUtil.deleteStrikes(DbUtil.java:150)
            at com.cypherx.xauth.xAuth.login(xAuth.java:349)
            at com.cypherx.xauth.commands.LoginCommand.onCommand(LoginCommand.java:73)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:38:48 [INFO] [xAuth] Advanced12 has logged in
    2011-08-26 12:38:51 [INFO] [gl] WareFTW: ma voi aveti putin lag?
    2011-08-26 12:38:55 [INFO] [gl] FilareT: eu n-am lag
    2011-08-26 12:39:01 [INFO] [gl] Shpace: e lag
    2011-08-26 12:39:15 [INFO] [lc] Sinner: eu am lag
    2011-08-26 12:39:15 [INFO] [gl] WareFTW: ce vrei pe un slime?
    2011-08-26 12:39:42 [SEVERE] [xAuth] SQL query failure [read] (SELECT COUNT(*) AS strikes, MAX(striketime) AS lasttime FROM `mc_xauth_strike_bans` WHERE `strikeip` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'striketime' in 'field list'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
            at com.cypherx.xauth.database.Database.queryRead(Database.java:69)
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:432)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:39:42 [SEVERE] Could not pass event PLAYER_LOGIN to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:435)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:39:42 [INFO] Ethernul [/89.45.227.166:1366] logged in with entity id 2024258 at ([world] 609.8173895739312, 68.0, -211.7703440887359)
    2011-08-26 12:39:42 [INFO] [gl] FilareT: acum e lag !
    2011-08-26 12:39:42 [INFO] [lc] Paul_Pop: coal/iron
    2011-08-26 12:39:46 [INFO] [gl] Claudiu_678: iti dau eu 1 slima cu 4 diamante
    2011-08-26 12:39:50 [INFO] [gl] DarkComY: pica
    2011-08-26 12:39:52 [INFO] [gl] WareFTW: e lag rau
    2011-08-26 12:39:52 [SEVERE] [xAuth] SQL query failure [write] (DELETE FROM `mc_xauth_strike_bans` WHERE `strikeip` = ? AND `playername` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'strikeip' in 'where clause'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
            at com.cypherx.xauth.database.Database.queryWrite(Database.java:90)
            at com.cypherx.xauth.database.DbUtil.deleteStrikes(DbUtil.java:150)
            at com.cypherx.xauth.xAuth.login(xAuth.java:349)
            at com.cypherx.xauth.commands.LoginCommand.onCommand(LoginCommand.java:73)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:39:52 [INFO] [xAuth] Ethernul has logged in
    2011-08-26 12:39:52 [INFO] [gl] Paul_Pop: coal/iron
    2011-08-26 12:40:00 [INFO] [gl] FilareT: test
    2011-08-26 12:40:00 [INFO] [gl] Paul_Pop: =)))) 1 slime cu 4 diamante ?
    2011-08-26 12:40:06 [INFO] [gl] Claudiu_678: ?
    2011-08-26 12:40:06 [INFO] [gl] FilareT: pfff ce laggg
    2011-08-26 12:40:09 [INFO] [gl] WareFTW: mda lasa l pe ala ca nu gandeste
    2011-08-26 12:40:12 [INFO] [gl] FilareT: test
    2011-08-26 12:40:12 [INFO] [gl] WareFTW: cat iron vrei?
    2011-08-26 12:40:15 [INFO] [gl] Shpace: mda rupe de lag , sparg la un copac de juma de ora
    2011-08-26 12:40:15 [INFO] [gl] FilareT: gata nu mai e lag
    2011-08-26 12:40:24 [INFO] [gl] WareFTW: test2
    2011-08-26 12:40:30 [INFO] [gl] DarkComY: avetii /ping
    2011-08-26 12:40:30 [INFO] [gl] Paul_Pop: /ping
    2011-08-26 12:40:30 [INFO] [gl] WareFTW: e lag:)
    2011-08-26 12:40:42 [INFO] [gl] Claudiu_678: dracuuuuuu
    2011-08-26 12:40:45 [INFO] [gl] Claudiu_678: ce
    2011-08-26 12:40:56 [INFO] [gl] Claudiu_678: am picat in lava si acum is iara pe stone
    2011-08-26 12:40:56 [INFO] [gl] Claudiu_678: ce
    2011-08-26 12:41:09 [SEVERE] [xAuth] SQL query failure [read] (SELECT COUNT(*) AS strikes, MAX(striketime) AS lasttime FROM `mc_xauth_strike_bans` WHERE `strikeip` = ?)
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'striketime' in 'field list'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
            at com.cypherx.xauth.database.Database.queryRead(Database.java:69)
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:432)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:41:09 [SEVERE] Could not pass event PLAYER_LOGIN to xAuth
    java.lang.NullPointerException
            at com.cypherx.xauth.xAuth.isLockedOut(xAuth.java:435)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerLogin(xAuthPlayerListener.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-26 12:41:09 [INFO] LauR [/92.84.102.40:49854] logged in with entity id 2026677 at ([world] -314.65625, 63.0, 767.3125)
    2011-08-26 12:41:25 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-08-26 12:41:28 [SEVERE]    at net.minecraft.server.NBTTagByteArray.a(SourceFile:21)
     
  12. Offline

    Number1Boss

    Thanks for the quick reply, i've disabled BBrother altogether anyways since the developer is abandoning it. I just wanted to make sure this didnt happen to someone else. Great plugin, dont think I could live without it =P
     
  13. Offline

    CypherX

    Depends on how the file saving passwords is set up. Could you provide an example? (Feel free to strip the passwords)

    When you start the server does xAuth print anything to the console?

    @The Wizard - All of those errors are caused by a failed database update. Open the DBVERSION file with a text editor and change the number to 3, save, and start the server. If all goes well it should successfully update the database.

    The latest release of BigBrother (1.11.0) includes the censored commands so it isn't completely dead yet.
     
  14. Offline

    4m4rOk

    New kind of error, after I removed BigBrother. Same as above.
    When I type a command that belongs to xauth, it says "An internal error has occured"
    Here's the log: http://pastebin.com/uJ7Fzp78
     
  15. Offline

    CypherX

    Try replacing your h2.jar (<server root>/lib/) with this one.
     
  16. Offline

    4m4rOk

    Thank you. :)
    I replaced it, and now I can use commands. But xauth doesn't work correctly. I can join without login.
    Here is the new log: http://pastebin.com/9r4nVTVU
     
  17. Offline

    CypherX

    No idea what's causing all those IllegalAccessErrors. The only thing I can think of is renaming the H2 database file (<server root>/plugins/xAuth/xAuth.h2.db) and having xAuth generate a new one to see if that's the cause.
     
  18. Offline

    4m4rOk

    Done. But It changes nothing.. When I use the /xauth command It works, but when I use /register it tells me "An internal error has occured". But thanks for the support. :)
     
  19. Offline

    CypherX

    If you use commands such as /register or /login without supplying any arguments you'll get that "An internal error has occurred" message and a NullPointerException in the console. Commands will work fine if used correctly (Ex: /register <password>). The next update will fix this error.
     
  20. Offline

    xBlueXFoxx


    not that I see
     
  21. Offline

    4m4rOk

    Not really.. The main issue is that I can play without login. :(
    "An internal error has occured" appears evenso, when I type /register <password>..
    I tried this with the new h2.jar.

    log: http://pastebin.com/fJf9ue8G
     
  22. Offline

    MattEx

    Hello, i seem to be having a problem with where it spawns.
    it is fine just when they/i register an account it dose not spawn them on the spawn point it drop them in the water to the left of my city

    Thanks,
    MattEx
     
  23. Offline

    decebaldecebal

    did somebody solved this error while using H2?
    Code:
    2011-08-28 12:29:58 [SEVERE] [xAuth] SQL query failure [write] (DELETE FROM `strikes` WHERE `strikeip` = ? AND `playername` = ?)
    org.h2.jdbc.JdbcSQLException: Table "STRIKES" not found; SQL statement:
    DELETE FROM `strikes` WHERE `strikeip` = ? AND `playername` = ? [42102-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.command.Parser.readTableOrView(Parser.java:4747)
        at org.h2.command.Parser.readTableOrView(Parser.java:4725)
        at org.h2.command.Parser.readSimpleTableFilter(Parser.java:704)
        at org.h2.command.Parser.parseDelete(Parser.java:726)
        at org.h2.command.Parser.parsePrepared(Parser.java:336)
        at org.h2.command.Parser.parse(Parser.java:279)
        at org.h2.command.Parser.parse(Parser.java:251)
        at org.h2.command.Parser.prepareCommand(Parser.java:217)
        at org.h2.engine.Session.prepareLocal(Session.java:415)
        at org.h2.engine.Session.prepareCommand(Session.java:364)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1119)
        at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:71)
        at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)
        at com.cypherx.xauth.database.Database.queryWrite(Database.java:85)
        at com.cypherx.xauth.database.DbUtil.deleteStrikes(DbUtil.java:150)
        at com.cypherx.xauth.xAuth.login(xAuth.java:349)
        at com.cypherx.xauth.commands.RegisterCommand.onCommand(RegisterCommand.java:57)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-28 12:29:58 [INFO] [xAuth] Player has registered!
    should i try MYSQL instead?(i don't know the differences between them)

    and i get this error also
    Code:
    2011-08-28 12:35:46 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'register' in plugin xAuth v2.0b4.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at com.cypherx.xauth.Util.argsToString(Util.java:240)
        at com.cypherx.xauth.Util.fixArgs(Util.java:249)
        at com.cypherx.xauth.commands.RegisterCommand.onCommand(RegisterCommand.java:25)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    anybody knows where is this error from?i started to get this errors after i upgraded to beta 4.1

    EDIT: The problem is solved the ones who have the same problem just delete your configuration and download JUST THE JAR FILE FROM THE ARCHIVE not the config files
    it should work and you can keep the h2 database

    EDIT AGAIN:The second error still appears what's the problem?please update the plugin with a fix
     
  24. Offline

    turbonadduv

    Thanks for plugin - works perfectly at CB1000 (tried because AuthDB made some buggs with MultiVerse).

    But there is one inconvinience: I have HideLogin plugin - it hides operator login broadcast messages. But xAuth now also broadcasts messages like "Player logged in with forum name Player". How can I turn off that? It seems that there is no such message neither in messages.yml, nor in config.yml.
     
  25. Offline

    Leviathanx

    It took me forever to find this page. thank god i had it bookmarked. bukkit got rid of all non dev pages listed on the plugins list X.X Will you make a bukkitdev page for this plugin?
     
  26. Offline

    BarelyMissed

    Hi,

    I am making the switch from the outdated and inactive AuthMe to xAuth.

    However, I am having issues with the password hashes being copied correctly. For a short amount of time before upgrading, AuthMe only used MD5 hashes before switching to SHA256, so there are multiple encryption schemes in the auths.db file. I copied it to the xAuth directory and renamed it to auths.txt, and users who have the old md5 authentication can login however most users, which have their auth stored in SHA256, cannot login. I can't think of any fix so I was hoping to see if anyone is having the same difficulty.

    If it comes down to it, I want to write a small PHP script (would help if I knew PHP..) where the user types in their password, it authenticates it with the MD5 hash and if it is valid creates a SHA256 hash for it so it will work with xAuth.

    Thanks,
    Tom

    Edit: I found that the SHA256 scheme used by AuthMe includes salt. D:

    From the AuthMe thread:

    The new format of the hash sum looks like this:

    $SHA$salt$hashsum

    Code:
    # (Pseudo code)
    String salt = randomString(maxLength:16); String encryptedPassword = "$SHA$" + salt + "$" + sha256(sha256(password) + salt);
    Is there a way I can still import these passwords into xAuth?
     
  27. Offline

    Olick

    I have Authme in my server, and plugin is inactive. It is possible to import files Authme ?

    Thanks you
    Olick
     
  28. Offline

    JohnPulse

    I am now getting some errors messages in console that although don't have any impact in game are worrying me.
    Code:
    10:41:50 [SEVERE] java.lang.NullPointerException
    10:41:50 [SEVERE]       at com.cypherx.xauth.xAuth$1.run(xAuth.java:257)
    10:41:50 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    10:41:50 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    Regards,
    John
     
  29. Offline

    BarelyMissed

    If your AuthMe passwords are hashed using MD5, it will work smoothly. However if you are using SHA256 you are going to have issues. I am writing the PHP script that I mentioned earlier at this moment, once I have tested it thoroughly I'll post it here for anyone making the switch.
     
  30. Offline

    Ethneldryt

    Hello, i have a probleme... If WORLD SPWAN is changed, no block in head and other player view player in spawn. If login the player teleported where in log out. Sorry for my bad english

    ---

    Bonjour, il y a un probleme, si on modifie le spawn du world, lorsqu'on se connecte on est a l'endroit du spawn world , a la surface, et on peux voir se qui se passe, les autres joueurs nous voient aussi. on a plus de block sur la tĂȘte. Est ce un bug connus? Merci
     
  31. Offline

    Olick

    Okay, This will be how long ?

    THANKS GOOGLE TRADUCTION x)
     
Thread Status:
Not open for further replies.

Share This Page