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

    Almin

    I found my problem. WorldEdit is blocking your plugin. But now what can i do? I cant find anything about playerlogin event in WorldEdit's source.
     
  3. Offline

    CypherX

    WorldEdit doesn't seem to have an onPlayerLogin event from what I saw. Are you sure that's the cause? It still worked fine when I just tested it.
     
  4. Offline

    TPMJB

    I have worldguard + worldedit with no problems with this plugin. It has to be something else. (i have at least a dozen plugins)

    Edit: these include:
    Code:
    -SlowHealth
    -iConomy
    -xWarp
    -SupplySign
    -GroupManager
    -MagicCarpet
    -MultiVerse
    -WorldGuard
    -WorldEdit
    -DiscoSheep
    -EssentialsSpawn
    -mcMMO
    -HeroicDeath
    -npcx
    -ecoCreature
    -WolfPound
    -iChat
    -Essentials
    -FakePermissions
    -Backup1.2b
     
  5. Offline

    Kresnik002

    Players are no longer kicked if someone with the same name joins

    This isnt working here, im on 674.
     
  6. Offline

    deep

    "xauth.exclude"
    Is very lame ;| Who need it? I have problems with userws with permissions '*'
     
  7. Offline

    CypherX

    Add '-xauth.exclude' to the same group/player that has '*'. The hyphen/minus means that node is excluded.
     
  8. Offline

    Almin

    Are you using WorldGuard?
    When i added worldguard to my plugins its not working but if i remove it. People cant login with an online name.

    Sorry the problem is WorldGuard. I tested it a lot.
     
  9. Offline

    CypherX

    If you disable the enforce single session option in WorldGuard's config it should fix this. I'll look for a more permanent solution when I get a chance.
     
  10. Offline

    gumball3000

    //nevermind
     
  11. Offline

    Almin

    Oh thank you! It was the problem :) My problem is resolved :)
     
  12. Offline

    darkaco

    Hi, im fairly new at this stuff but how do i get this to work?
    Ive downloaded and extracted xAuth and when i ran the xAuth.jar it gave me an error saying
    "Failed to load Main-Class manifest attribute from, etc"
     
  13. Offline

    Kresnik002

  14. Offline

    CypherX

    The .jar goes into the /plugins/ directory in your server's root, you don't run it like an application.

    It's still in the config file for my server, and it also says "(not really)" next to where it says removed.
     
  15. Offline

    Donny

    /toggle <reg | changepw | autosave | filter | blankname | verifyip | strike | forcereg> - Toggle registration, password changes, or autosave on/off.


    Someone explain verifyip, blankname, strike, forcereg and filter for me?

    I'm guessing filter filters names that are invalid names.
    Strikes is login attempts
    Filter is commands
    Forcereg is require registration
    but
    I tested verifyip and cant figure out what it does.
     
  16. Offline

    CypherX

    verifyip turns on/off IP verification upon resuming a session.
    blankname turns on/off filtering players who attempt to join with a blank name.
    strike turns on/off the strike system
    forcereg turns on/off requiring a player to register before they can do anything.
    filter turns on/off the character filter for player names,
     
    Donny likes this.
  17. Offline

    Phinary

    So can you explain better what the ip thing does? It only allows you to login with the same opinion you logged in last with?

    Also... Please add a feature that allows each ip to only Register ONCE

    :) thanks for the great plugin
     
  18. Offline

    TuRmoiLxx

    I love this plugin thing is everyone seems to die when you log in. They get stuck underneath a bunch of rocks or fall into the void. Any ways to stop this?
     
  19. Offline

    CypherX

    When the verifyip config node is set to true, a player's IP address is compared to the one they originally logged in with when attempting to resume a session. If the addresses do not match, the session is terminated forcing the player to have to log in again.

    That feature will be in version 2.0. Currently I don't plan on adding any new features before version 2.0. Any updates until then will be for bug fixes and CraftBukkit updates.

    The only explanation for that that I can think of is that chunks are being loaded extremely slowly and the player gets stuck in the blocks or falls into the void.
     
  20. Offline

    UnderdogMac

    im gonna change AuthMe by xAuth

    you update your plugin faster that the developer of AuthMe
     
  21. Offline

    The PC Tech Guy

    Currently, the only things holding me back from the switch from authme to xauth are the features - once 2.0 comes out, I guess is when I'll make the switch.
     
  22. always spams my console with errors
     
  23. Offline

    svict4

    i am getting the same too :(

    Code:
    17:39:32 [SEVERE] Could not pass event PLAYER_MOVE to xAuth
    java.lang.LinkageError: loader constraint violation: loader (instance of org/buk
    kit/plugin/java/PluginClassLoader) previously initiated loading for a different
    type with name "com/nijiko/permissions/PermissionHandler"
            at com.cypherx.xauth.xAuth.handleEvent(xAuth.java:365)
            at com.cypherx.xauth.xAuthPlayerListener.onPlayerMove(xAuthPlayerListene
    r.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:240)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    and then it repeats
    Code:
    17:39:32 [SEVERE] Could not pass event PLAYER_MOVE to xAuth
    java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
            at com.cypherx.xauth.xAuth.handleEvent(xAuth.java:365)
            at com.cypherx.xauth.xAuthPlayerListener.onPlayerMove(xAuthPlayerListene
    r.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:240)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    forever
     
  24. Offline

    basman93

    chat restriction don't work
     
  25. Offline

    CypherX

    Pretty sure I know what's causing it and it'll be fixed in an update coming out either later today or tomorrow.

    Stopping players from chatting has worked flawlessly since the initial release, it's probably another plugin which fails to check if the event has been canceled.

    Let me guess, you use WorldGuard? Disable WorldGuard's "enforce single session" option.
     
  26. Offline

    basman93

    It looks like a conflict with HeroChat.
    But before I use this plugin "xAuth" I use another Plugin and there it worked.
     
  27. Offline

    CypherX

    Yep, it's HeroChat all right. A fix will be in the update coming out later tonight or tomorrow.

    Updated to version 1.2.2:
    • Version 1.2.2
      • Permissions error spam should be fixed
      • Messages telling a player they must register/login are now displayed after "x has joined the server"
      • Fixed some compatibility issues with other plugins
      • (Technical) All events now use Priority.Lowest instead of Priority.Highest
      • Code cleaned up
    For info on the problem with WorldGuard and preventing players from getting disconnected when someone with the same name connects, see the Known Bugs section.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  28. Offline

    RaidenSilver

    Can I "Decrypt" a hashed password somehow?
     
  29. Offline

    MiracleM4n

    Getting This With 1.2.2:
    Code:
    2011-04-19 10:06:23 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin xAuth v1.2.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:626)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:589)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.IllegalArgumentException: Invalid inventory size; expected 279
        at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:46)
        at com.cypherx.xauth.xAuth.restoreInventory(xAuth.java:426)
        at com.cypherx.xauth.xAuth.login(xAuth.java:290)
        at com.cypherx.xauth.CommandHandler.handlePlayerCommand(CommandHandler.java:56)
        at com.cypherx.xauth.xAuth.onCommand(xAuth.java:188)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Still Functions But I Dont Want This Spammed Everytime Someone Logs In XD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  30. Offline

    CypherX

    Are you or your server using any mods or plugins that edit inventory size?
     
  31. Offline

    MiracleM4n

    It's Fixed Itself It Seems... Also When People Dont Log In For About 5 Seconds And Keep Moving Forward They Fall Through The Map And Cant Get Out Without Tping To Spawn.

    Ok. Error Only Occurs When People Fall Through The Map Than Login...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
Thread Status:
Not open for further replies.

Share This Page