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


    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:

    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 ( #LoveDespite) or toss me a message at 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.

    • 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


    Got the same problem :D but i says could not connect to database but im pretty experiensed sql user so i know what im doing :p Tables fail to create and the server stalls a couple of seconds there after it spits out
    13:51:16 [INFO] [xAuth] Enabling xAuth v2.0
    13:51:16 [INFO] [xAuth] Permissions support enabled: PermissionsEx v1.19.1
    13:51:37 [SEVERE] [xAuth] Failed to borrow MySQL connection from pool!
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
    The last packet sent successfully to the server was 0 milliseconds ago. The driv
    er has not received any packets from the server.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(
            at com.mysql.jdbc.SQLError.createCommunicationsException(
            at com.mysql.jdbc.MysqlIO.<init>(
            at com.mysql.jdbc.ConnectionImpl.coreConnect(
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(
            at com.mysql.jdbc.ConnectionImpl.createNewIO(
            at com.mysql.jdbc.ConnectionImpl.<init>(
            at com.mysql.jdbc.JDBC4Connection.<init>(
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(
            at com.mysql.jdbc.ConnectionImpl.getInstance(
            at com.mysql.jdbc.NonRegisteringDriver.connect(
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at com.cypherx.xauth.database.ConnectionPool.leaseConn(ConnectionPool.ja
            at com.cypherx.xauth.database.DatabaseController.getConnection(DatabaseC
            at com.cypherx.xauth.database.DatabaseController.isConnectable(DatabaseC
            at com.cypherx.xauth.xAuth.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(
            at net.minecraft.server.MinecraftServer.t(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
    Caused by: Connection timed out: connect
            at Method)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at<init>(Unknown Source)
            at<init>(Unknown Source)
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
            at com.mysql.jdbc.MysqlIO.<init>(
            ... 28 more
  3. Offline


    I need a local database...
    Pls add it :( i like your plugin so much.. but without a local database i dont need it anymore..
  4. Offline


    CypherX: To satisfy the numerous whiners in your thread, it may be to your benefit to allow an option for SQLite. They share the same queries, so... If you want me to send a pull req with the support, I can do that for you? :)

    Why not MySQL?

    This was also stated numerous times - this can be exploited, and as a result, has been removed.

    If you don't need it anymore then why are you pestering...?

    on a side note
    If you're running a Bukkit server that needs this plugin, I'm assuming that this isn't a server between two friends or something. Running a server (in general) takes skill. If you're whining or using Windows, then all I have for you is pokerface :|
  5. Offline


    I mean "i need a local database" and i mean "i dont need it at this time" but with a local database its my favourite plugin over all!
  6. Offline


    ah, ok. that makes more sense.
  7. Offline


    I hope he will add a local database..
    I haven't found any other plugin with it. :(
  8. Offline


    U can make easy own database with xampp
  9. Offline


    nice job :D
  10. Offline


    First thanks to CypherX a lot for this great plugin [cake]
    I had some problems with the "locations" : xAuth don't create it.

    If you have this kind of error:
    Table 'xauth.locations doesn't exist
    you can import this table :

    EDIT : In fact got errors while using it...
  11. Offline


    Ok, becouse I stopped the server and hundreds players are waiting for start it again on new version, this plugin doesn't work. :mad:

    It doesn't create new tables, but OK, I made it manual.

    The problem now is that xAuthImporter says: Properties file missing!

    WTF, is not missing. The file is there... and I did all changed.

    And now what? How much time my server will be offline?

    Edit: Ok, the importer works. I imported my data but the plugin still doesn't work...
    When I try to /login , I get "Something went wrong while logging you in"
    Except that I get many errors in my console.

    What I have to do now?

  12. Offline


    Not exactly, the AuthURL feature points to a webpage to make the login (it expects a ERROR or a YES message) sending also the user and password in post format to the URL, it dosen't uses the forum database. But xAuth stills uses the database to make other things (like hide inventory and count login attempts).
  13. Offline


    robxu9 - It's true that most queries will work in both MySQL and SQLite, but certain features present in MySQL (such as column positioning in an ALTER TABLE ADD COLUMN statement) are lacking in SQLite making it irritating to support multiple database management systems. MySQL is also much more efficient and easier to maintain, hence why I only included support for it. I guess since 99% of this "community" are illiterate idiots, I'll attempt to add SQLite support without having to completely redesign my code.

    Hint hint, MySQL can be installed locally.

    schael - xAuth does create it if you set it up correctly. Also, have fun getting more errors because you didn't execute the update query.
  14. Offline


  15. Offline


  16. Offline


    Umm do you NEED to have a database for 1.2?
  17. Offline


    okay, sorry.
  18. Offline


    I am new at databases. and MySQL
  19. Offline


    Hello everyone!
    Does this new version of Xauth support h2? Well first of all my question is; is "h2" a file or something? I am not familiar with mysql, therefor I do not want to use it. Although I would if the new update required it (because I love/need this plugin). If I do need to switch mysql, how do I convert my h2 file?
    Thanks for the help!
  20. Offline


    I see. Hm... Would H2 be better then, in MySQL compatibility mode?
    /me wonders if there is a solution to the whining problem without giving you more work...
  21. Offline


    Played with SQLite a bit, it's garbage. Going to mess with H2 again and see how it works.
    LlmDl and robxu9 like this.
  22. Offline


    Oh guys... CypherX has done such a great work!!!

    And what are you doing? You are behaving like idiots. If you set up a server, then you have to know something about the basics. And if you set up a bigger server (so you need xAuth), then you have to know more than only the basics.
    MySQL IS basic knowledge. And if you don't have this knowledge, then use Google and your mind, READ (!) and install MySQL. If you don't know how to set up MySQL and how to set up this plugin with MySQL, then PLEASE don't use this plugin. Come back if you know the basics. But PLEASE don't ask dumb questions!

    CypherX: Thank you for your work! And don't be annoyed with "dumb community guys"! You are doing a great work!
    robxu9 likes this.
  23. Offline


    I would think this is a good plugin but the reason I don't is because it isn't working for me!
  24. Offline


    CypherX - I didn't created this table myself, I used the old one. Then I renamed my other old xAuth tables, removed the DBVERSION file and started xAuth once before using the update soft you made.
    And It seems to works great...

    EDIT : No, you're right, It's not... Sorry.
  25. Offline


    how to create a MySQL database for xAuth to use please. :confused:
  26. Offline


    This doesn't work, when i add it, it just shows the commands list when i try to type a command. And plus it doesn't ask any users for their password like the old xAuth
  27. Offline


    Can xAuth be made available for flatfile again? I do not want to start an SQL server in order to use this mod.
    P.S.: Great mod, it makes running my server much easier.
  28. Offline


    I guess all of you illiterates who fail to follow a five minute guide will be happy to know that I've re-added H2 support and an update will be out once I make the library auto-download and create an importer.
    LlmDl and robxu9 like this.
  29. Offline


    If they keep whining, do I have permission to beat them with this stick?
  30. Offline


    LlmDl and robxu9 like this.
  31. Offline


    I personally would prefer this [flintnsteel]+[tnt] over [stick], but that's just my opinion. :)

    BTW; I like this plugin soooo much I am sitting by my computer refreshing the page.
    robxu9 likes this.
Thread Status:
Not open for further replies.

Share This Page