Inactive [ADMN/SEC] AuthDB v2.3.6 - Database authentication and protection [1.1-1.4.5]

Discussion in 'Inactive/Unsupported Plugins' started by CraftFire, Mar 13, 2011.

  1. Offline

    CraftFire

    In order to centralize support of our legacy projects, we will no longer be providing support on Bukkit. Please use www.spout.org for support with our projects going forward.
     
  2. Offline

    Wulfspider

    It's the session length. You can disable it or set it to any time you'd like. It's under advanced.yml.
     
  3. I had it already to 1 hour as you can see :p
     
  4. Offline

    Wulfspider

    Then they would be remembered for 1 hour before asking to login again from the time they last logged in.
     
  5. Offline

    SharpAimX

    Any way I can disable the inventory protection? It seems saving and then reloading the inventory does not save enchants.
     
  6. Offline

    AHgpeu

    minecraft 1.0.0 ? magic items...
     
  7. Offline

    Curthiany

    @Wulfspider

    will you add support for Nuclear-Php?Nuclear Evo-Extreme

    if so when will that be available
    it uses phpbb2 so shouldn't it work?

    Code:
    2011/11/30 02:42:37 - Could not find script's tables in database: mytable_xtreme!
    2011/11/30 02:42:37 - --------------------------- STACKTRACE ERROR ---------------------------
    2011/11/30 02:42:37 - Class name: com.authdb.AuthDB
    2011/11/30 02:42:37 - File name: AuthDB.java
    2011/11/30 02:42:37 - Function name: onEnable
    2011/11/30 02:42:37 - Error line: 308
    2011/11/30 02:42:37 - AuthDB version: 2.3.2.220
    2011/11/30 02:42:37 - Keep alive: false
    2011/11/30 02:42:37 - MySQL connection: true
    2011/11/30 02:42:37 - Latest query:
    2011/11/30 02:42:37 - Script: phpbb
    2011/11/30 02:42:37 - Script version: 2.0.23
    2011/11/30 02:42:37 - Table prefix: nuke_
    2011/11/30 02:42:37 - Plugins: AuthDB 2.3.2.220,
    2011/11/30 02:42:37 - --------------------------- STACKTRACE START ---------------------------
    2011/11/30 02:42:37 - sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011/11/30 02:42:37 - sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011/11/30 02:42:37 - sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011/11/30 02:42:37 - java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011/11/30 02:42:37 - com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011/11/30 02:42:37 - com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011/11/30 02:42:37 - com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    2011/11/30 02:42:37 - com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2011/11/30 02:42:37 - com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2011/11/30 02:42:37 - com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2011/11/30 02:42:37 - com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2011/11/30 02:42:37 - com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2011/11/30 02:42:37 - com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2011/11/30 02:42:37 - com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2011/11/30 02:42:37 - com.authdb.util.Util.checkScript(Util.java:731)
    2011/11/30 02:42:37 - com.authdb.AuthDB.onEnable(AuthDB.java:268)
    2011/11/30 02:42:37 - org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    2011/11/30 02:42:37 - org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    2011/11/30 02:42:37 - org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2011/11/30 02:42:37 - org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176)
    2011/11/30 02:42:37 - org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159)
    2011/11/30 02:42:37 - org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:422)
    2011/11/30 02:42:37 - org.bukkit.Bukkit.reload(Bukkit.java:186)
    2011/11/30 02:42:37 - org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    2011/11/30 02:42:37 - org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011/11/30 02:42:37 - org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    2011/11/30 02:42:37 - org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
    2011/11/30 02:42:37 - net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
    2011/11/30 02:42:37 - net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
    2011/11/30 02:42:37 - net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    2011/11/30 02:42:37 - net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011/11/30 02:42:37 - ---------------------------- STACKTRACE END ----------------------------
     
  8. Offline

    Wulfspider

    If the tables are different, it may not work still. Double-check that you have it configured properly though. I'm not sure when support could be added.
     
  9. Offline

    Curthiany

    @Wulfspider
    tables are labeled as nuke_ is there a way to change that in your side?
     
  10. Offline

    Wulfspider

    That's what the prefix option is for in your basic.yml.
     
    Curthiany likes this.
  11. Offline

    Curthiany

    yeah so if that doesnt work then there's something wrong and its not really supported right?
     
  12. Offline

    Wulfspider

    Most likely.

    Not currently, and probably won't be in the near future. Updates are somewhat on a standstill till I'm able to get help with the project.

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

    djrazr

    Hay Wulfspider, i changed from custom DB to my PhPBB and disabled registration ingame to defeat the griefers... but they are able to play directly when creating account, and without a email verification.. can i set authdb up to just take accounts which are email confirmed in phpbb without doin a modification to phpbb?
     
  14. Offline

    Wulfspider

    Not currently. It's been on the to-do list.
     
  15. Offline

    djrazr

    What about custom notifications in the languagestring
    protection:
    denied:
    notauthorized:
    One, which adresses already registered users (and is sayin' that they have to log in)
    and one for really new users (which says that they got to register)
     
  16. Offline

    Wulfspider

    There are ways of doing it right now with messing with other messages that are normally used for other purposes, but you'd have to go back in the posts to see where that was explained. I don't recall the way they were doing it.
     
  17. Offline

    Curthiany

    @Wulfspider

    so i'm getting this error suddenly from mysql ... didnt change anything at all it just suddenly happened

    Edit: Tested Locally on my own computer trying to connect to my domain and it works

    Code:
    2011-12-04 02:56:41 [INFO] [AuthDB] messages language set to English
    2011-12-04 02:56:41 [INFO] [AuthDB] commands language set to English
    2011-12-04 02:56:41 [INFO] [AuthDB] Found supported plugin: Permissions 2.7.7
    2011-12-04 02:57:02 [WARNING] [AuthDB] Cannot connect to MySQL server on mc-zealous.com!
    2011-12-04 02:57:02 [WARNING] [AuthDB] Access denied, check if the password/username is correct and that remote connection is enabled if the MySQL database is located on another host then your server.
    2011-12-04 02:57:02 [INFO] [AuthDB] 2.3.2.220 is enabled
    2011-12-04 02:57:02 [INFO] [AuthDB] developed by CraftFire <[email protected]>
    2011-12-04 02:57:02 [INFO] [ChestShop] Permissions version 2.7.7 loaded.
    2011-12-04 02:57:02 [INFO] [ChestShop] LWC version 3.53 loaded.
    2011-12-04 02:57:02 [INFO] [ChestShop] Towny version 0.77.1.0 loaded.
    2011-12-04 02:57:02 [INFO] [ChestShop] WorldGuard version 5.3 loaded.
    2011-12-04 02:57:02 [INFO] [ChestShop] version 3.24 initialized!
    2011-12-04 02:57:02 [INFO] [ChestShop] iConomy 6 loaded.
    2011-12-04 02:57:02 [INFO] [LogBlock] Permissions plugin found.
    2011-12-04 02:57:02 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
    2011-12-04 02:57:02 [INFO] LogBlock v1.42 by DiddiZ enabled.
    2011-12-04 02:57:02 [INFO] LWC: Loaded 137 locale strings (0 overrides)
    2011-12-04 02:57:02 [INFO] LWC: Permissions API: PEXPermissions
    2011-12-04 02:57:02 [INFO] LWC: Currency API: iConomy6Currency
    2011-12-04 02:57:02 [INFO] LWC: Loading SQLite
    2011-12-04 02:57:02 [INFO] LWC: Using: Native
    2011-12-04 02:57:02 [INFO] LWC: Precached 1090 protections.
    2011-12-04 02:57:02 [INFO] LWC: At version: 3.53 (b294)
    2011-12-04 02:57:02 [INFO] [Register] Payment method found (iConomy version: 6)
    2011-12-04 02:57:02 [INFO] ==================== Towny ========================
    2011-12-04 02:57:03 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-12-04 02:57:04 [INFO] [Towny] Using: PermissionsEX v1.15, Register v1.5, Essentials v2.6.5, Questioner v0.4
    2011-12-04 02:57:04 [INFO] [Towny] Time until a New Day: 3 hours, 32 minutes, 55 second
    2011-12-04 02:57:04 [INFO] =============================================================
    2011-12-04 02:57:04 [INFO] [Towny] Version: 0.77.1.0 - Mod Enabled
    2011-12-04 02:57:04 [INFO] =============================================================
    2011-12-04 02:57:04 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-12-04 02:57:04 [INFO] Done (2.444s)! For help, type "help" or "?"
    2011-12-04 02:57:04 [INFO] /80.79.152.203:13471 lost connection
    2011-12-04 02:57:04 [INFO] -******* TownyChat enabled *******-
    2011-12-04 02:58:01 [INFO] /94.231.109.47:52819 lost connection
    2011-12-04 02:59:58 [INFO] Disconnecting user CraftPlayer{name=Curthiany} due to KICK_OTHER
    2011-12-04 02:59:58 [INFO] Disconnecting Curthiany [/24.184.51.70:29763]: You cannot join when the server has no database connection.
    2011-12-04 02:59:58 [INFO] Curthiany [/24.184.51.70:29763] lost connection
     
  18. Offline

    Wulfspider

    Seems to be an issue with reconnecting to your database. Sort of a known issue, but I can't really do anything about it right now.
     
  19. Offline

    djrazr

    Ehm... Wanna fix the "Loose all enchanted-Weapons on login/logout" Problem in 1.0?
    Doin inventory: true as long as you won't, but hoping you'll won't forget AuthDB beside Spout ;)
    (Now am feelin' good cause of 5 bucks :p)
     
    GrillGuth likes this.
  20. Offline

    GrillGuth

    Yea would be really nice ^^
     
  21. Offline

    Wulfspider

    I'm not forgetting it, that's why I still reply here. :p

    The reason most of the issues haven't been fixed are because Contex did most of the coding as I don't do much with Java and I've been quite busy with Spout lately. If someone wants to take the time to figure out a fix and submit a pull, then go ahead, otherwise they will not be fixed until Contex is able to or someone else submits a pull.
     
  22. Offline

    Phinary

    For some reason, using the latest CB, it allows players to walk for 1-2 seconds before it locks them for not logging in. ie - I can login as an admin, move him for 2 seconds, then it will say i need to login to move. If I logout and log back in, he is in the spot he moved to rather then the original spot
     
  23. Offline

    Wulfspider

    Likely didn't get your password right and therefore locked your movement. There is an adjustable period in the config for setting the freeze time.
     
  24. Offline

    SVarg

    Any news on keeping enchantments fix yet?
     
  25. Offline

    Wulfspider

    Not likely unless someone submits a pull request to fix it.
     
  26. Offline

    Graybot

  27. Offline

    Wulfspider

  28. Offline

    Graybot

  29. Offline

    GrillGuth

    Have the same error :)
    and I am using Bukkit (1597) and AuthDB (2.3.2.220):
    Code:
    2011-12-16 20:26:50 [INFO]***PLAYER*** lost connection: disconnect.quitting
    2011-12-16 20:26:50 [INFO] Connection reset
    2011-12-16 20:26:50 [SEVERE] Could not pass event PLAYER_QUIT to AuthDB
    java.lang.NullPointerException
        at com.craftfire.util.managers.PlayerManager.getIP(PlayerManager.java:169)
        at com.authdb.util.Util.replaceStrings(Util.java:1220)
        at com.authdb.util.Messages.sendMessage(Messages.java:299)
        at com.authdb.listeners.AuthDBPlayerListener.onPlayerQuit(AuthDBPlayerListener.java:257)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:161)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:651)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    as well as:
    Code:
    2011-12-16  20:24:20 [INFO] ****PLAYER+IP**** logged in with  entity id 6739098 at ([spielewiese] -1196.0, 94.0, -87.40625)
    2011-12-16 20:24:25 [INFO] Disconnecting ****PLAYER+IP****: Sorry, auf dem Server ist bereits ein Spieler  mit diesem Benutzernamen eingelogt. [I](->There is already somebody with your username on the server.)[/I]
    2011-12-16 20:24:32 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to AuthDB
    java.lang.NullPointerException
        at com.craftfire.util.managers.PlayerManager.getIP(PlayerManager.java:169)
        at com.authdb.util.Util.replaceStrings(Util.java:1220)
        at com.authdb.util.Messages.sendMessage(Messages.java:299)
        at com.authdb.listeners.AuthDBPlayerListener.onPlayerCommandPreprocess(AuthDBPlayerListener.java:292)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:293)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:750)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    I don't really know when the errors apear... but if you want I can send you my whole log-file via PM :)

    What? :D
     
  30. Offline

    noneandnonly

    Would you please add enchantment saving? And also an option to save inventory to the MySQL-database??
    That'd be cool :)
    Another way is that you could tell me what to write in the 'customdb.sql' to get the last thing about inventories done.
    Also showing inventories to not logged in people doesn't work for me ;P

    An update is really appreciated by me!

    Does inventory: true work for you? Because I'm not able to get it to work :(
    I also want to work around this problem this way but inventories simply don't show up until logged in.

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

    Wulfspider

    That's only for guests/unregistered players.

    Only way of doing it right now is hacking up your bukkit.yml to use MySQL instead of eBeans/Persistence. Not recommended though.

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

Share This Page