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

    GiantCreeper

    Small problem:
    Plugin works perfectly, Except for that when I login and someone joins the game on my account, They do not need to login. I dont think I missed anything, Is there any way of forcing player joins to login no matter what?
     
  3. Offline

    vejbuch

    hello to me when someone new to connect to an error pops up "Do not logout while inthe air." But I have spawn on the ground
     
  4. Offline

    CypherX

    If that player is connecting from the same IP address or you have 'registration.verifyip' disabled in the configuration then they won't have to log in unless the session has expired.
     
  5. Offline

    Tetra

    Only when using both. Any other plugins with xAuth/iZone work just fine, but as soon as both plugins are together, I fall through the ground if I try to move or something before login in.
     
  6. Offline

    MiracleM4n

    I have found that this was the issue as well.
     
  7. Offline

    CypherX

    Any falling into the void issues should be fixed in the next update. I've made it teleport a player to the spawn who isn't logged in then teleport them back to their original location once they have logged in. This should put a stop to falling into the void as well as protect a players location.
     
  8. Offline

    Tetra

    Alright thanks, awaiting the next release with impatience to open my server to those "offline" :rolleyes: people.
     
  9. Offline

    GSecurity

    Any chance of adding MySQL support ? Would be awsome !
     
  10. Offline

    CypherX

    MySQL support is being implemented in xAuth 2 which is currently in development.
     
  11. Offline

    GSecurity

    Nice ! Thx for the info ;) Can't wait for this to come out ^^
     
  12. Offline

    CypherX

    Updated to version 1.2.4:
    • Version 1.2.4
      • Any issue involving players falling into the void should be fixed (see next item)
      • Players are now teleported to the spawn until they log in
      • Compatibility with MultiInv, Backpack, and iZone
      • The strike system can now be configured to either kick a player or ban their IP address
      • The command '/l' (that's an L) has been added for /login
     
  13. Offline

    MiracleM4n

    I <3 CypherX
     
  14. Offline

    Phinary

    Still.. If someone tries to login when im online I still disconnect but for them it says a player is logged in and they dont connect either. Enforce single session is OFF


    NVM xD fixed it. Thanks for the great plugin.

    Possible MySQL support later? :p I would much prefer to use one with mysql support made by you then someone else :D
     
  15. Offline

    emoknight

    did u check ur server.properrties for:
    allow-flight=true
     
  16. Offline

    CypherX

    He shouldn't need to change it after the latest update, which fixes it unless it's some other, rare issue.
     
  17. Offline

    Tetra

    Well, new issue~

    When reloading the server, players are sent back to the spawn for login again, that's normal.(Thanks by the way, no longer falling through the floor~)

    What's not normal, is that I cannot login, says "An internal error occured while attempting to perform this command" in-game. Now, I disconnect and reconnect to the server, /Login work again, but I'm not sent back to my previous position, I stay at the spawn area even after login in.

    Noticed it also create some error when a player leaves the server after a Reload.
    After joining back, it's error free as far as I tested.
    (tried with B740 and B744)

    Code:
    2011-05-02 01:47:41 [INFO] Reload complete.
    2011-05-02 01:47:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin xAuth v1.2.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:147)
        at com.cypherx.xauth.xAuth.login(xAuth.java:296)
        at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.java:55)
        at com.cypherx.xauth.xAuth.onCommand(xAuth.java:195)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-05-02 01:47:50 [INFO] Connection reset
    2011-05-02 01:47:50 [INFO] tetrasky lost connection: disconnect.quitting
    2011-05-02 01:47:50 [SEVERE] Could not pass event PLAYER_QUIT to xAuth
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:147)
        at com.cypherx.xauth.xAuth.logout(xAuth.java:337)
        at com.cypherx.xauth.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:69)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:212)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:115)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:199)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-02 01:47:51 [INFO] tetrasky logged in with entity id 36834
    2011-05-02 01:47:55 [INFO] [xAuth] Player 'tetrasky' has authenticated
     
  18. Offline

    Aeron

    Same problem as Tetra, have to stop the server and launch it in terminal again in order for plugin to work.
     
  19. Offline

    CypherX

    Could you list the other plugins that are being used on your servers? I'm not experiencing the problem when I try to recreate it.
     
  20. Offline

    Tetra

    After testing each plugins one after the other like I previously did, I've found that it was Permissions that caused that when reloading, without it, I can reload and login just fine and be sent back to where I previously was.

    Though unlike Aeron, I don't need to restart the server after Reloading, only to rejoin client-side for the plugin to work again.

    But if you really want the rest of the plugins I use:
    SuperPowers
    Permissions
    SpawnX
    QuickBelt
    MyHome
    Minecart Mania
    Magic Carpet
    iZone
    InstaBreak
    iChat
    God Powers
    FenceStack
    AdminCMD
    Self-Closing Doors
    Blue Telepads
    MotherNature
     
  21. Offline

    CypherX

    Do the players it happens to have the xauth.exclude permission? I receive the same error when I test it while I have that permission.
     
  22. Offline

    Tetra

    Yes, it does happens only to those who have that permission and to me who has "permissions: - '*' ".
    When testing as a regular player without the xauth.exclude permission, no errors are to be found.
     
  23. Offline

    Erlandys

    Hello. So I have 1 question. With this plugin is possible to disable in game registration and put registration in to Php type website? Because I wanna to make registration in my Website :/
    Sorry for bad english.
    P.s your mod is best!!!
     
  24. Offline

    CypherX

    Alright, I know what the problem is then and it'll fixed for the next update.

    In short: yes, it's possible, but it's probably not the best idea at the moment. You would probably be better off waiting for xAuth 2 which will include MySQL support.
     
  25. Offline

    dulladulla

    some reason (im the owner) dosnt ask me to register or login but it does for other people
     
  26. Offline

    MiracleM4n

    If you have all permissions "*" it will not ask you to register as you also have the "xauth.exclude" permission to force registration add this to a new line in your permissions files under the - "*"
    Code:
    - "-xauth.exclude"
    
     
  27. Offline

    Erlandys

    When do xAuth 2 will be released?
     
  28. Offline

    CypherX

    No idea at this time. I haven't had as much time as I would like to work on it due to it being the end of my college semester. Fortunately, this is the last week so I'll have a lot more time very soon.
     
  29. Offline

    Phinary

    Alright. For auth2 please impliment customizability like being able to choose names on your table and stuff. I have a fully working system and database for my mc site I'm just waiting for 2.0 also yhis one is a big one and I would praise you if you did this. Basically its to prevent users creative many accounts but. on my registration you must activate your account. I set it up on the table that there is a colomn called active. It is set 0 for unactive and 1 for active. Think you can make it so if the account is not active that you can't login in game. I have registrations disabled btw.
     
  30. Offline

    CypherX

    Customizing table names (for MySQL only) is already implemented. There will be an option to limit players to having one account, most likely based on their IP address (although this might mess with people playing on the same network). I've also been looking into some sort of account verification, possibly by email since I added the option to require an email address when registering.
     
  31. Offline

    Ben91

    Thanks for your great plugin.

    I like new functionnality "Players are now teleported to the spawn until they log in". +1. Great point against cheaters who want to see your stash. :D

    Question, normal that I'm spammed with "You must be logged in to do that!" every 2 secondes even if I really do nothing, but really nothing, not even move ?! I think it's a bit aggressive. lol.

    PS: Is it really spwan ? Myself I'm blocked underground, dont see anything...
     
Thread Status:
Not open for further replies.

Share This Page