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

    whitas

    OK, just in few minutes I'll try. For sure 'bukkit' is relevant for GroupManager from Essentials ?
     
  3. Offline

    Leemur

    lycano how about my error?
    Code:
    2012-08-12 22:51:53 [INFO] [xAuth] Enabling xAuth v2.0.14
    2012-08-12 22:51:53 [INFO] [xAuth] PermissionAlias backend: 'pex' registered!
    2012-08-12 22:51:53 [INFO] [xAuth] PermissionAlias backend: 'bukkit' registered!
    2012-08-12 22:51:53 [INFO] [xAuth] Initializing pex backend
    2012-08-12 22:51:53 [WARNING] [xAuth] This plugin is not ready yet.
    2012-08-12 22:51:53 [INFO] [xAuth] Permission Plugin not yet available. Defaulting to built-in permissions until Permissions is loaded.
    2012-08-12 22:51:53 [INFO] [xAuth] Successfully established connection to MySQL database
    2012-08-12 22:51:53 [INFO] [xAuth] Table created: xauth_accounts
    2012-08-12 22:51:53 [INFO] [xAuth] Table created: xauth_playerdata
    2012-08-12 22:51:53 [SEVERE] [xAuth] Something went wrong while updating table [xauth_playerdata] to revision [002]
    com.cypherx.xauth.exceptions.TableUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
    ALTER TABLE `xauth_playerdata` MODIFY `armor` TEXT NULL' at line 1
    at com.cypherx.xauth.database.DatabaseUpdater.executeQuery(DatabaseUpdater.java:200)
    at com.cypherx.xauth.database.DatabaseUpdater.runUpdate(DatabaseUpdater.java:122)
    at com.cypherx.xauth.database.DatabaseController.runUpdater(DatabaseController.java:163)
    at com.cypherx.xauth.xAuth.onEnable(xAuth.java:155)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
    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-12 22:51:53 [INFO] [xAuth] Table created: xauth_sessions
    2012-08-12 22:51:53 [INFO] [xAuth] Table created: xauth_locations
    2012-08-12 22:51:53 [INFO] [xAuth] Table created: xauth_lockouts
    2012-08-12 22:51:54 [INFO] [xAuth] Table [xauth_lockouts] updated to revision [001]
    2012-08-12 22:51:54 [INFO] [xAuth] v2.0.14 Enabled!
    
    I can't use xAuth plugin in mysql???
     
  4. Offline

    whitas

    Hmm :)

    When I issued "/xauth config permissions.backend bukkit" I have another nice exception :)

    21:55:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'xauth' in plugin xAuth v2.0.14
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
    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.NoClassDefFoundError: ru/tehkode/permissions/PermissionManager
    at com.cypherx.xauth.permissions.backends.PermissionsExSupport.hasPermission(PermissionsExSupport.java:113)
    at com.cypherx.xauth.permissions.PermissionBackend.has(PermissionBackend.java:203)
    at com.cypherx.xauth.permissions.PermissionManager.has(PermissionManager.java:91)
    at com.cypherx.xauth.commands.xAuthCommand.configCommand(xAuthCommand.java:289)
    at com.cypherx.xauth.commands.xAuthCommand.onCommand(xAuthCommand.java:62)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 15 more

    but I've manually edited config and set:

    permissions:
    backend: bukkit

    and it seems that now it's working. No excetions in log.

    Thanx, let's give it a try for a while

    OK,

    Now only on user disconect event I have Exception:

    2012-08-12 22:36:56 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    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:711)
    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.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
    at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 14 more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  5. Offline

    Tsurugi21

    H2 library could not be downloaded!!!!
     
  6. Offline

    SuperGogeta555

    i set it to true and ppl still cant break/place blocks
     
  7. Offline

    Krazy

    lycano

     
  8. Offline

    huntsclan

    Make sure the users are logged in and can move around, chat etc. If they can, then there is something wrong with your permissions file. If not, well, get them to log in first.

    Also, the server protects an initial radius around the spawn point, get them to move away from that and then try breaking blocks.
     
  9. Offline

    lycano

    No error for me. Seems your database structure changed maybe you used another version of xauth (not my builds and not cypher builds)?

    Can you please check v2.0.16? I have added GroupManager support there (it was a pain -.-) Anyways its in i hope.
    Use command "xauth config permissions.backend gm" to activate and imediatelly restart server as i dont have implemented "runtime backend changes" for that.

    Krazy please check with v2.0.16

    Tsurugi21 please let me know if that is still the case. Rechecked and can download it without prob. Used version v2.0.16

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  10. Offline

    bob7

    Works great!
     
  11. Offline

    shika91

    lycano i use v2.0.16 and i have this error when a player left the game:
    Code:
    2012-08-13 02:25:03 [INFO] cosciaditacchino lost connection: disconnect.quitting
    2012-08-13 02:25:03 [INFO] Connection reset
    2012-08-13 02:25:03 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        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:711)
        at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:100)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:286)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.serverhook.NetServerHandlerProxy.d(NetServerHandlerProxy.java:58)
        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.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
        at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
        ... 16 more

    even if admins haven't permission to speak when not logged, they can still speak...

    and i have this error too:
    Code:
    [WARNING] cosciaditacchino moved too quickly! 0.0,15.202943178736021,0.0 (0.0, 15.202943178736021, 0.0)
     
  12. Offline

    Tsurugi21

    I know what's the problem: I'm TOTALLY disconnected from minecraft. I will contact Mojang support
     
  13. Offline

    Krazy

    @lycano

    my version: 2012-08-12 21:03:36 [INFO] [xAuth] Enabling xAuth v2.0.16

    guest restrict not working.


    and

    2012-08-12 21:04:18 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    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:711)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:100)
    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.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
    at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 15 more
     
  14. Offline

    Jtom2015

    Where can i get v2.0.16 v2.0.10 is not letting anyone login, but they can still roam around

    This is the error I get when I try to login on my server.






    Code:
    net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:512)
    13.08 06:06:12 [Server] INFO    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    13.08 06:06:12 [Server] INFO    at com.bergerkiller.bukkit.nolagg.examine.TimedWrapper.run(TimedWrapper.java:27)
    13.08 06:06:12 [Server] INFO    at com.cypherx.xauth.listeners.xAuthPlayerListener$1.run(xAuthPlayerListener.java:301)
    13.08 06:06:12 [Server] INFO    at com.cypherx.xauth.PlayerManager.protect(PlayerManager.java:172)
    13.08 06:06:12 [Server] INFO    at com.cypherx.xauth.PlayerDataHandler.storeData(PlayerDataHandler.java:103)
    13.08 06:06:12 [Server] INFO    at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)
    13.08 06:06:12 [Server] INFO    at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:71)
    13.08 06:06:12 [Server] INFO    at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1121)
    13.08 06:06:12 [Server] INFO    at org.h2.engine.Session.prepareCommand(Session.java:364)
    13.08 06:06:12 [Server] INFO    at org.h2.engine.Session.prepareLocal(Session.java:415)
    13.08 06:06:12 [Server] INFO    at org.h2.command.Parser.prepareCommand(Parser.java:218)
    13.08 06:06:12 [Server] INFO    at org.h2.command.dml.Insert.prepare(Insert.java:243)
    13.08 06:06:12 [Server] INFO    at org.h2.message.DbException.get(DbException.java:135)
    13.08 06:06:12 [Server] INFO    at org.h2.message.DbException.get(DbException.java:146)
    13.08 06:06:12 [Server] INFO    at org.h2.message.DbException.get(DbException.java:169)
    13.08 06:06:12 [Server] INFO    at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
    13.08 06:06:12 [Server] INFO INSERT INTO `playerdata` SELECT ?, ?, ?, ?, ?, ?, ? FROM DUAL WHERE NOT EXISTS (SELECT * FROM `playerdata` WHERE `playername` = ?) [21002-164]
    13.08 06:06:12 [Server] INFO org.h2.jdbc.JdbcSQLException: Column count does not match; SQL statement:
    13.08 06:06:12 [Server] SEVERE [xAuth] Failed to insert player data into database!
    13.08 06:06:12 [Server] INFO    ... 14 more
    13.08 06:06:12 [Server] INFO    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    13.08 06:06:12 [Server] INFO    at java.lang.reflect.Method.invoke(Method.java:616)
    13.08 06:06:12 [Server] INFO    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    13.08 06:06:12 [Server] INFO    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    13.08 06:06:12 [Server] INFO    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    13.08 06:06:12 [Server] INFO    at pgDev.bukkit.DisguiseCraft.listeners.DCMainListener.onPlayerJoin(DCMainListener.java:58)
    13.08 06:06:12 [Server] INFO Caused by: java.lang.NoSuchFieldError: networkManager
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92)
    13.08 06:06:12 [Server] INFO    at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:161)
    13.08 06:06:12 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    13.08 06:06:12 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    13.08 06:06:12 [Server] INFO    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    13.08 06:06:12 [Server] INFO    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    13.08 06:06:12 [Server] INFO org.bukkit.event.EventException
    13.08 06:06:12 [Server] SEVERE Could not pass event PlayerJoinEvent to DisguiseCraft
    13.08 06:06:12 [Server] INFO Jtom2015[/68.33.239.204:55050] logged in with entity id 126 at ([JtomCraft] -1067.0, 90.0, 948.0)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  15. Offline

    bob7

    Well seeing as it works for almost everyone (including me) why dont you try to reset the config and use the default database.
     
  16. Offline

    DeadlyPsycho

    Hey lycano,

    I am on xAuth-2.0.16 and the item disappearing bug is still there, here's how you can recreate it:

    -Register/Login
    -Type /logout
    -Disconnect

    When you rejoin the server and login, you will have no items because that is what is saved by the server when you log out and lose your items.
     
  17. Offline

    y1985

    Looks like everything still a bit buggy. I'm using 2.0.10 but still register, login without losing inventory, only problem is after login it will spawn character 3 blocks below to the ground and get suffocated.

    My workaround is to digged up ASAP before damages occured.
     
  18. Offline

    Koksons

    I'm use 1.0.16 and Bukkit 1.3.1 R1.0
    I found 2 error log:

    Code:
    2012-08-13 07:47:38 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        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:711)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
        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:581)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
        at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
        at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
        ... 14 more
    and:
    Code:
    2012-08-13 07:48:00 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        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.disconnect(NetServerHandler.java:162)
        at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:215)
        at net.h31ix.anticheat.manage.PlayerManager.execute(PlayerManager.java:183)
        at net.h31ix.anticheat.manage.PlayerManager.reactHigh(PlayerManager.java:60)
        at net.h31ix.anticheat.manage.PlayerManager.increaseLevel(PlayerManager.java:92)
        at net.h31ix.anticheat.event.EventListener.log(EventListener.java:40)
        at net.h31ix.anticheat.event.PlayerListener.checkSpeed(PlayerListener.java:395)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
        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.NetServerHandler.a(NetServerHandler.java:213)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
        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:581)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
        at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
        at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
        ... 29 more
    
    You have to fix this chief....
     
  19. Offline

    SuperGogeta555

    well i think its my permissions file and when ppl go away from spawn they still cant break/place blocks so can u plz tell me if u can find the prob with my permissions.yml here it is and if u could try and fix this?

    groups:
    Builder:
    default: true
    permissions:
    - essentials.spawn
    - essentials.back.ondeath
    - essentials.rules
    - essentials.motd
    - essentials.compass
    - essentials.list
    - essentials.home
    - essentials.helpop
    - essentials.help
    - essentials.tpa
    - essentials.tpaccept
    - essentials.sethome
    - essentials.afk
    - essentials.warp
    - modifyworld.*
    prefix: '&a[Builder] &3'
    options:
    build: true
    rank: '1000'
    Moderator:
    permissions:
    - essentials.spawn
    - essentials.back.ondeath
    - essentials.rules
    - essentials.motd
    - essentials.compass
    - essentials.list
    - essentials.home
    - essentials.helpop
    - essentials.help
    - essentials.tpa
    - essentials.tpaccept
    - essentials.sethome
    - essentials.afk
    - essentials.warp
    - modifyworld.*
    inheritance:
    - builder
    prefix: '&9[Architech] &3'
    options:
    build: true
    rank: '500'
    Admin:
    permissions:
    - essentials.ban
    - essentials.ban.notify
    - essentials.banip
    - essentials.broadcast
    - essentials.clearinventory
    - essentials.delwarp
    - essentials.eco.loan
    - essentials.ext
    - essentials.getpos
    - essentials.helpop.recieve
    - essentials.home.others
    - essentials.invsee
    - essentials.jails
    - essentials.jump
    - essentials.kick
    - essentials.kick.notify
    - essentials.kill
    - essentials.mute
    - essentials.nick.others
    - essentials.realname
    - essentials.setwarp
    - essentials.signs.create.*
    - essentials.signs.break.*
    - essentials.spawner
    - essentials.thunder
    - essentials.time
    - essentials.time.set
    - essentials.protect.alerts
    - essentials.protect.admin
    - essentials.protect.ownerinfo
    - essentials.ptime
    - essentials.ptime.others
    - essentials.togglejail
    - essentials.top
    - essentials.tp
    - essentials.tphere
    - essentials.tppos
    - essentials.tptoggle
    - essentials.unban
    - essentials.unbanip
    - essentials.weather
    - essentials.whois
    - essentials.world
    - essentials.enchant
    - permissions.manage.membership
    - bukkit.command.teleport
    - essentials.tp.others
    inheritance:
    - architect
    prefix: '&5[Moderator] &3'
    options:
    build: true
    rank: '200'
    Co-Owner:
    permissions:
    - essentials.backup
    - essentials.essentials
    - essentials.setspawn
    - essentials.reloadall
    - essentials.lightning
    - essentials.killall
    - permissions.manage.users
    - permissions.manage.users.permissions
    - permissions.manage.users.permissions.timed
    - bukkit.command.broadcast
    - bukkit.command.plugins
    - bukkit.command.reload
    - bukkit.command.whitelist
    - bukkit.command.gamemode
    - essentials.break
    - bukkit.command.spawnmob
    - worldedit.*
    inheritance:
    - moderator
    prefix: '&6[Server Director] &3'
    options:
    build: true
    rank: '100'
    Owner:
    permissions:
    - '''*'''
    inheritance:
    - server_director
    prefix: '&c[Owner] &3'
    options:
    build: true
    rank: '0'
    users:
    SuperGogeta555:
    group:
    - Owner
    Quadroxide:
    group:
    - Admin
     
  20. Offline

    whitas


    Hi, I tried this, but worked exactly the same like previosly:

    09:45:24 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    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:711)
    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.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
    at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 14 more

    I think gm will work as bukkit because GroupManager is updating bukkit permissions:

    2012-08-13 09:45:01 [INFO] GroupManager - INFO - Bukkit Permissions Updated!

    and that's my config part regarding permissions:

    permissions:
    backend: gm

    and here is everything ok, as per 2.0.16 startup phase:

    2012-08-13 09:44:38 [INFO] [xAuth] Loading xAuth v2.0.16
    2012-08-13 09:44:54 [INFO] [xAuth] Enabling xAuth v2.0.16
    2012-08-13 09:44:55 [INFO] [xAuth] PermissionAlias backend: 'pex' registered!
    2012-08-13 09:44:55 [INFO] [xAuth] PermissionAlias backend: 'gm' registered!
    2012-08-13 09:44:55 [INFO] [xAuth] PermissionAlias backend: 'bukkit' registered!
    2012-08-13 09:44:55 [INFO] [xAuth] Initializing gm backend
    2012-08-13 09:44:55 [INFO] [xAuth] Attached to GroupManager
    2012-08-13 09:44:55 [INFO] [xAuth] Successfully established connection to H2 database
    2012-08-13 09:44:56 [INFO] [xAuth] v2.0.16 Enabled!
     
  21. Offline

    lycano

    shika91 i need your pluginlist as i cant reproduce it.

    Well in fact its because you have to set the permission backend. Excute the following command either via console or via playerchat: "xauth config permissions.backend gm" Per default its bukkit which would allow all OPs having nearly every command available.

    Restart server after that, cause its not implemented that you can change permissions provider during runtime though.

    whitas ignore this PlayerQuitEvent for the moment. I will fix this after work.

    Reason: I forgot about AsyncPlayerChat in 1.3.x ... Cause: Player types in /logout and disconnects the client. Meanwhile the thread for AsyncChat is processed. Meaning i cant use the player object at this position (PlayerChatEvent) cause its only for onlineplayers -.- ...

    Thats not true. GroupManager has a BukkitPerms updater meaning it will periodically collect all permissions and mirror them to your local bukkitperm ... And at this point i have to stop thinking about what GroupManager really does ^^




    So for now please dont post any additional errors about the PlayerChatEvent with 2.0.16. Will fix this in next version. Probably having a bukkitdev page online.
     
  22. Offline

    KrzywyRyj

    Hi, i have this problem:



    Code:
    SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    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:711)
    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.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
    at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 14 more


    Can you please help me?
     
  23. Offline

    lycano

  24. Offline

    KrzywyRyj

    lycano
    2.0.16
    And it sometimes doesn't load premium skins ;/
     
  25. Offline

    lycano

    KrzywyRyj will fix this after work. In aprox 7 hours check for /xauth version =)
     
  26. Offline

    huntsclan

    I believe loading premium skins is actually to do with your (the clients) connection to minecraft.net. It can sometimes time out, thus refusing to get the skin for that player.
     
  27. Offline

    KrzywyRyj

    Thanks 4 reply :)
     
  28. Offline

    hollow36rus

    Hello all!
    Why the "locations" "playerdata" tables is empty ?
    1.2.5 r4
    xAuth 2.0.10.0
     
  29. Offline

    Leemur

    lycano I use xAuth plugin for the first time in this server, I don't have other databases, and my xAuth version is new. Here is my config data: http://pastebin.com/0HbWzr0L
    I tried with version 2.0.16 and the same error:
    Code:
    2012-08-13 13:14:08 [INFO] [xAuth] Enabling xAuth v2.0.16
    2012-08-13 13:14:08 [INFO] [xAuth] PermissionAlias backend: 'pex' registered!
    2012-08-13 13:14:08 [INFO] [xAuth] PermissionAlias backend: 'gm' registered!
    2012-08-13 13:14:08 [INFO] [xAuth] PermissionAlias backend: 'bukkit' registered!
    2012-08-13 13:14:08 [INFO] [xAuth] Initializing pex backend
    2012-08-13 13:14:08 [WARNING] [xAuth] This plugin is not ready yet.
    2012-08-13 13:14:08 [INFO] [xAuth] Permission Plugin not yet available. Defaulting to built-in permissions until Permissions is loaded.
    2012-08-13 13:14:08 [INFO] [xAuth] Successfully established connection to MySQL database
    2012-08-13 13:14:08 [INFO] [xAuth] Table created: xauth_accounts
    2012-08-13 13:14:08 [INFO] [xAuth] Table created: xauth_playerdata
    2012-08-13 13:14:08 [SEVERE] [xAuth] Something went wrong while updating table [xauth_playerdata] to revision [002]
    com.cypherx.xauth.exceptions.TableUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
    ALTER TABLE `xauth_playerdata` MODIFY `armor` TEXT NULL' at line 1
        at com.cypherx.xauth.database.DatabaseUpdater.executeQuery(DatabaseUpdater.java:200)
        at com.cypherx.xauth.database.DatabaseUpdater.runUpdate(DatabaseUpdater.java:122)
        at com.cypherx.xauth.database.DatabaseController.runUpdater(DatabaseController.java:163)
        at com.cypherx.xauth.xAuth.onEnable(xAuth.java:161)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
        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-13 13:14:08 [INFO] [xAuth] Table created: xauth_sessions
    2012-08-13 13:14:09 [INFO] [xAuth] Table created: xauth_locations
    2012-08-13 13:14:09 [INFO] [xAuth] Table created: xauth_lockouts
    2012-08-13 13:14:09 [INFO] [xAuth] Table [xauth_lockouts] updated to revision [001]
    2012-08-13 13:14:09 [INFO] [xAuth] v2.0.16 Enabled!
    Maybe you have errors in syntax of query in mysql
     
  30. Offline

    whitas

    Lycano, unfortunately I can confirm that here is massive problem with Item loosing when user disconects and reconects to server.

    If it is not connected with "PlayerQuitEvent" please take this under your consideration too ;)
     
  31. Offline

    KrzywyRyj

    Players sometimes lose their items :(
     
Thread Status:
Not open for further replies.

Share This Page