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

    Dion

    Author hasn't been online since July 2nd.. :/
     
  3. Offline

    Darthmineboy

    I want this only for my staff. Due to sessionstealer :p... Is that possible? tell me how
     
  4. Offline

    CatsyLady

    sessionstealer is fixed long time ago ...
     
  5. Offline

    Adrenaline

  6. Offline

    CatsyLady

    it not works at all,
    and its older version 2.0.9

    Show Spoiler

    Code:
    2012-08-05 10:50:52 [INFO] [xAuth] Enabling xAuth v2.0.9
    2012-08-05 10:50:52 [WARNING] [xAuth] -------- xAuth Updater --------
    2012-08-05 10:50:52 [WARNING] [xAuth] This server appears to be running an older version
    2012-08-05 10:50:52 [WARNING] [xAuth] of xAuth. Version 2.0.10 is now available.
    2012-08-05 10:50:52 [WARNING] [xAuth] 
    2012-08-05 10:50:52 [WARNING] [xAuth] Priority: HIGH
    2012-08-05 10:50:52 [WARNING] [xAuth] Details: http://bit.ly/I5nFne
    2012-08-05 10:50:52 [WARNING] [xAuth] Download: http://bit.ly/IbRYP2
    2012-08-05 10:50:52 [WARNING] [xAuth] -------------------------------
    2012-08-05 10:50:52 [SEVERE] [xAuth] Failed to create instance of H2 JDBC Driver!
    java.lang.ClassNotFoundException: org.h2.Driver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.cypherx.xauth.database.ConnectionPool.<init>(ConnectionPool.java:19)
        at com.cypherx.xauth.database.DatabaseController.dbInit(DatabaseController.java:50)
        at com.cypherx.xauth.database.DatabaseController.<init>(DatabaseController.java:24)
        at com.cypherx.xauth.xAuth.onEnable(xAuth.java:80)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
        at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-08-05 10:50:52 [SEVERE] [xAuth] Failed to borrow H2 connection from pool!
    java.lang.NullPointerException
        at com.cypherx.xauth.database.DatabaseController.getConnection(DatabaseController.java:87)
        at com.cypherx.xauth.database.DatabaseController.isConnectable(DatabaseController.java:76)
        at com.cypherx.xauth.xAuth.onEnable(xAuth.java:83)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
        at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-08-05 10:50:52 [SEVERE] [xAuth] Failed to establish H2 database connection!
    2012-08-05 10:50:52 [INFO] [xAuth] Disabling xAuth v2.0.9
    2012-08-05 10:50:52 [SEVERE] [xAuth] Failed to close H2 connection pool!
    java.lang.NullPointerException
        at com.cypherx.xauth.database.DatabaseController.close(DatabaseController.java:138)
        at com.cypherx.xauth.xAuth.onDisable(xAuth.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:383)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
        at com.cypherx.xauth.xAuth.onEnable(xAuth.java:87)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
        at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
     
    
     
  7. Offline

    Adrenaline

    Not my fault -_- cypherx dont update source at github ;s


    @Edit
    This plugin is compiled with Maven.. aff i do it =3

    And i look at changelog ..
    https://github.com/CypherX/xAuth/commits/master/

    CypherX probably only dont change the "2.0.9" to 2.0.10" :)
     
  8. Offline

    aeronetwork

    Receive the error 'h2' something as stated above.
    Could you possibly update, Faction 1.7.5 and WorldEdit?
     
  9. Offline

    Adrenaline

    Update:
    http://dl.dropbox.com/u/47735165/xAuth-2.0.10.jar

    If appear error like this:
    PHP:
    [SEVERE] [xAuthFailed to create instance of H2 JDBC Driver!
    java.lang.ClassNotFoundExceptionorg.h2.Driver
        at java
    .net.URLClassLoader$1.run(Unknown Source)
        
    at java.net.URLClassLoader$1.run(Unknown Source)
        
    at java.security.AccessController.doPrivileged(Native Method)
        
    at java.net.URLClassLoader.findClass(Unknown Source)
        
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        
    at java.lang.ClassLoader.loadClass(Unknown Source)
        
    at java.lang.ClassLoader.loadClass(Unknown Source)
        
    at java.lang.Class.forName0(Native Method)
        
    at java.lang.Class.forName(Unknown Source)
        
    at com.cypherx.xauth.database.ConnectionPool.<init>(ConnectionPool.java:19)
        
    at com.cypherx.xauth.database.DatabaseController.dbInit(DatabaseController.java:50)
        
    at com.cypherx.xauth.database.DatabaseController.<init>(DatabaseController.java:24)
    Delete your "lib" folder,or all files -> "h2-1.3.*.jar" and restart server
     
  10. Offline

    aeronetwork

    Thank you "VERY" much, is it possible you could update WorldEdit and Faction 1.7.5? No one is updating Factions, it's sad, and WorldEdit failed there builds.
     
  11. Offline

    CatsyLady

    well, it is the same now like with original 2.0.10

    when i do /logout and leave the server
    or do not login and leave the server,
    my inventory is gone -.-

    Code:
    2012-08-05 14:42:08 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:324)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:213)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:712)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:286)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NullPointerException
        at com.cypherx.xauth.PlayerDataHandler.restoreData(PlayerDataHandler.java:263)
        at com.cypherx.xauth.PlayerManager.unprotect(PlayerManager.java:186)
        at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:322)
        ... 14 more
     
  12. Offline

    nellacaasi

    I Need Help Too, I've Been Using 1.3.1 Dev Builds For Bukkit And Theres A Problem Going On With xAuth I Think, I Can Immediately Walk Around Without Logging In But I Don't Have My Inventory Or Creative Mode And I Also Receive An Error In My Cmd Window Like This On Server Startup

    15:29:33 [INFO] [xAuth] Enabling xAuth v2.0.10
    15:29:33 [INFO] [xAuth] Vault found, advanced permission support enabled
    15:29:38 [INFO] [xAuth] Successfully established connection to H2 database
    15:29:38 [WARNING] [xAuth] "xAuth v2.0.10" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public
    void com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Dep
    recated. Server performance will be affected; please notify the authors [CypherX].
    org.bukkit.plugin.AuthorNagException
    at org.bukkit.plugin.java.JavaPluginLoader.createRegisteredListeners(JavaPluginLoader.java:302)
    at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:507)
    at com.cypherx.xauth.listeners.xAuthPlayerListener.<init>(xAuthPlayerListener.java:42)
    at com.cypherx.xauth.xAuth.onEnable(xAuth.java:106)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

    Here is What Happens When I Login To The Server A Couple Of Times(My Username Is nellacaasi)
    [​IMG]

    So Please Can Someone Point Me In The Right Direction Because It's Happening To Everybody In My Server And Nobody Can Use Commands
     
  13. Offline

    Adrenaline

    Srry im not a Wizzard =3 maybe someone with bigger experience ;D
     
  14. Offline

    CatsyLady

    oh crap,
    i wanna update -.-

    it was only latest bukkitdev and xauth,
    not any other plugin, so it cant be compatibility problem.
     
  15. Offline

    Dion

    Fuck, this doesn't work in 1.3.1 dev build, if you logout you are still logged in and there is nothing you can do. I run a pretty populair server and there is no way I'm going to change auth plugins because people are just going to login and register names from somebody else. Adrenaline's fix didn't work :(.
     
  16. Offline

    Darthmineboy

    Is it possible to have it only enabled for specified ranks ( In my case admin ranks ) To prevent admin abuse IF they get hacked... I use groupmanager as permission system and ofc vault :>

    Please reply so I notice that someone responded
     
  17. Offline

    Keiaxx

    Perfect timing, Get the Faction Dev Build 1.7.5 I compiled with the new AsyncPlayerChatEvent https://dl.dropbox.com/u/22563933/FactionsAsync1.7.5_dev.jar works great!

    I am also working on updating xAuth as well however the only thing that does not work at this point is connecting to an H2 Database, and I have tried multiple times deleting the lib from the lib folder. Check the error here: http://pastie.org/4396467

    I will update you guys if I get around to getting the plugin to work correctly.
     
  18. Offline

    MrOAriO

    Why ?
     
  19. Offline

    Adrenaline

    Give me download link or source
     
  20. Offline

    Netzgeist

    Code:
    08:54:09 [WARNUNG] [xAuth] "xAuth v2.0.10" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public void com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Deprecated. Server performance will be affe
    cted; please notify the authors [CypherX].
    org.bukkit.plugin.AuthorNagException
            at org.bukkit.plugin.java.JavaPluginLoader.createRegisteredListeners(JavaPluginLoader.java:302)
            at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:507)
            at com.cypherx.xauth.listeners.xAuthPlayerListener.<init>(xAuthPlayerListener.java:42)
            at com.cypherx.xauth.xAuth.onEnable(xAuth.java:106)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
            at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    08:54:09 [INFORMATION] [xAuth] v2.0.10 Enabled!
     
  21. Offline

    xKarolusx

    "[1.2.5-R1.3+]"

    That tag isnt realy true ;o
    Cuz of errors like up.
    Any update soon for real 1.3.1 ?
     
  22. Offline

    aeronetwork

    If you can get it to work with mysql, i'm in.
     
  23. Offline

    Dion

    Yes, please.
     
  24. Offline

    Dragash1

    Seems like my players are loosing their stuf then they log out and in. Could be this plugin.

    Please update it.
     
  25. Offline

    bob7

    This plugin is using up a lot of resources ever since 1.3.1 came out. I tried to update it from the source code you provided but it only allows me to download one class :/
     
  26. Offline

    Pechente

    Appears to be the plugin, yes! We got the same error.

    Please devs, don't claim this was ready for 1.3.x when in reality it's not!
     
  27. Offline

    eagle0042

    Based on when his github was last updated, I'm thinking that its for 1.2.5-R1.3 (a beta build) as found here. Not 1.3.1-R1.0 that we have now. The dashes in the versioning is pretty confusing if not read the right way.
     
  28. Offline

    Jeronimo654

    disable inventory-hiding. works fine for me ;) Think about disabling location-protection, too. Same error.
     
  29. Offline

    HellShell


    This error I get on any logout.

    So what does this mean and how do I fix it ?
     
  30. Offline

    CraftUrToe

    hey thanks alot for making this plugin man even though you lost the time/will to work on it i can actually say this plugin was and still is even though its a bit outdated one of the best and most reliable plugins ive ever used! i dont know coding or anything or i would have kept it going but for now i hope someone eventually carries it on. peace
     
  31. Offline

    lycano

    I would like to ^^
     
    Adrenaline likes this.
Thread Status:
Not open for further replies.

Share This Page