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

    Jan Tojnar

    Code:
    12:35:52 [SEVERE] Could not pass event PLAYER_MOVE to AuthDB
    java.lang.NoSuchMethodError: org.bukkit.entity.Player.teleportTo(Lorg/bukkit/Location;)V
            at com.authdb.listeners.AuthDBPlayerListener.onPlayerMove(AuthDBPlayerListener.java:413)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286) 
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    AuthDb 2.2.0
     
  3. Offline

    Wulfspider

    v2.2.0 doesn't work with 1060 yet. It's fixed in v2.3.0 dev builds. The final v2.3.0 should be out soon hopefully.
     
  4. Offline

    Jan Tojnar

    I tried #139 (newer builds are red) and it prints this:
    Code:
    13:52:33 [SEVERE] Could not pass event PLAYER_CHAT to AuthDB
    java.lang.NullPointerException
            at com.authdb.plugins.zPermissions.IsAllowed(zPermissions.java:51)
            at com.authdb.listeners.AuthDBPlayerListener.onPlayerChat(AuthDBPlayerListener.java:406)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:706)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            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:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  5. Offline

    Wulfspider

    I guess downgrade to CB 1000 or wait for an updated build of AuthDB then. We're trying to get it out ASAP.
     
  6. Offline

    Jan Tojnar

    ok i will downgrade for now.
     
  7. Offline

    Weener

    Hi. Ive been searching endlessley for some help. Ive installed this and have got it working. I then installed Permissions so i can use my mcmmo commands and looking for some help setting up authdb for permissions. Im quite new at the minecraft server hosting area and so far so good. Just got to overcome this issue. Any help will be greatful.
     
  8. Offline

    Wulfspider

    AuthDB v2.2.0 doesn't have any permissions support right now. AuthDB v2.3.0 dev builds do, but it hasn't been tested much yet. It will all be working in v2.3.0 final.
     
  9. Offline

    algiuxas

    Hello there :)
    After upgrading to Craftbukkit RB #1060, the server console is flooded with these messages:
    Show Spoiler
    Code:
    11:41:46 [SEVERE] Could not pass event PLAYER_MOVE to AuthDB
    java.lang.NoSuchMethodError: org.bukkit.entity.Player.teleportTo(Lorg/bukkit/Location;)V
            at com.authdb.listeners.AuthDBPlayerListener.onPlayerMove(AuthDBPlayerListener.java:413)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:528)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    If you guys could fix it, myself and my server players would be very grateful as this error floods the console so bad it throws outOfMemory exception or starts lagging like crazy :(

    I am running CraftBukkit RB #1060 alongside AuthDB v2.2.0.
     
  10. Offline

    Wulfspider

    RB 1060 isn't supported yet. It's been fixed in v2.3.0 dev builds, but I wouldn't recommend using them.
    Downgrade to CB 1000 or under build 1032 if you can't wait.
     
  11. Offline

    Black_Jack

    Where is the 2.3.0?
     
  12. Offline

    Escimo

    under develop =) 94% ready. Left a bit ^_^
     
  13. I'm having problems with the dev-version. It doesnt allow me to login, no messages or anything. Just says "Type password" and when I does nothing happens. This is only when I try to run it with PermissionsBukkit. Without permissionsbukkit everything works fine. Is there any permissions I've missed? I tried login with adminaccount that have all permissions but still cant get further than the Enter Password... :S
     
  14. Offline

    Fungoh

    [v 2.2.0] I don't know if this is a bug or what.
    I've set on my config file:
    Code:
      register:
        enabled: false
        force: false
    because I don't want that people use the command /register in the game, I want that they register on the forum and then /login in the game.
    The problem is that a person was able to /register and then /login in game, without being registered on the forum
    Did I set something in the config file wrong?
     
  15. Offline

    Wulfspider

    No, that should prevent them from being able to register in-game. Are you sure they didn't register on your forums?

    In development. :p

    I haven't tested the permissions yet and we haven't finished them yet either.

    Yes, if not v2.3.0, then shortly after in v2.4.0.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  16. Offline

    Fungoh

    100% sure, I only have 12 users in the forum and there's nobody with the username he used in the game. I also checked the non-active users and he wasn't even there. I'm using phpBB3 by the way.
    Here's the player's log before he logged in, maybe it could help you:
    Code:
    [main]Wayert Executed command: /register ***** 2011-08-23 11:30:26
    [main]Wayert Executed command: /login ****** 2011-08-23 11:34:36
    and then he was just able to chat, go around, do everything like a normal user, I double checked everything because that was so weird but couldn't find how he did that.
     
  17. Offline

    Wulfspider

    I'll have to test and see.
     
  18. Offline

    tha d0ctor

    the dev version's permissions / commands look to be broken, specifically the /login command
     
  19. Offline

    Wulfspider

    We'll get 'em fixed. :)
     
  20. Offline

    tha d0ctor

    2.3 will have a feature to disable to login system entirely correct? I only see options for "prompt" and something else as the only viable options in the dev build currently
     
  21. Offline

    Massimo1993

    @Wulfspider

    sry but WTF: 94% 93% 92% 94% 92% and now 94% 0.o
     
  22. Offline

    Wulfspider

    It calculates based on open issues. If we find a bug, we add it and the % is therefore recalculated.
     
  23. Offline

    world_builder

    dude could you help me i don't know how to use mysql i just installed it and haven't set any password and kept the port 3306 and heres my config file
    Code:
    Core:
      plugin:
        debugmode: false
        usagestats: true
      database:
        driver: MySql
        host: localhost
        port: 3306
        username: root
        password:
        name: forum
        prefix:
      script:
        name: phpBB
        version: 3.0.8
      customdb:
        enabled: false
        table: authdb_users
        userfield: username
        passfield: password
        emailfield: email
        encryption: md5
      register:
        enabled: true
        force: true
      login:
        method: prompt
        tries: 3
        kick: true
      link:
        enabled: true
      unlink:
        enabled: true
      username:
        minimum: 3
        maximum: 20
      password:
        minimum: 6
        maximum: 20
      session:
        start: login
        time: minutes
        length: 30
      idle:
        time: seconds
        length: 30
        kick: true
        whitelist: Contex,Wulfspider
      guest:
        commands: false
        chat: false
        building: false
        destruction: false
        movement: false
        interactions: false
        inventory: false
        drop: false
        pickup: false
        health: false
        pvp: false
        mobtargeting: false
        mobdamage: false
      badcharacters:
        kick: true
        username: "`~!@#$%^&*()-=+{[]}|\\:;\"<,>.?/ "
        password: "&"
        whitelist: Contex,Wulfspider
    
    Plugins:
      CraftIRC:
        enabled: false
        tag: admin
        prefix: "%b%%green%[{PLUGIN}]%k%%b%"
    but everytime i try to run my server i get this error:
    Code:
    151 recipes
    please reply ASAP
    how do i login as root??

    when i run the command line client i get this at first
    Code:
    Enter password:
    i enter the password and i get to this page:
    Code:
    Enter password: *****
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 20
    Server version: 5.5.15 MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql>
    and when i get to this page i type the thing you gave me i get this:
    Code:
    Enter password: *****
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 20
    Server version: 5.5.15 MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql> CREATE DATABASE users
        ->
    what do i do next? or what am i doing wrong

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
  24. Offline

    Wulfspider

    What error? You should set a password. There are plenty of tutorials on the web that show you how to manage MySQL.
     
  25. Offline

    world_builder

    dude just teach me how to setup this part:
    Code:
        name:
        prefix: 
     
  26. Offline

    Wulfspider

    You didn't give me an error so I didn't know what was wrong.

    That name is under database, so it's your database name. http://www.google.com/search?q=mysql+create+database

    The prefix is the prefix of the table you are trying to connect to. This only applies if you are using a script that we support. For a custom table, you would use the options under customdb.

    You're probably better off just using a hosted MySQL provider if you don't want to learn how to set it up. I can't do it all for you.
     
  27. Offline

    world_builder

    dude could you help one more time :)
    i run mysql 5.5 command line client

    i type this in create database <my database name>
    i press enter and nothing happens! what do i do
     
  28. Offline

    Wulfspider

    Login as root and do:
    CREATE DATABASE yourdatabasename;
     
  29. Offline

    Wulfspider

    You didn't end it with ; like I showed you and the site showed you.
     
  30. Offline

    world_builder

    ok i added that thing in the end and now i get this
    Code:
    Enter password: *****
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 20
    Server version: 5.5.15 MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql> CREATE DATABASE users
        -> CREATE DATABASE users;
    ERROR 1064 (42000): 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 'CREAT
    E DATABASE users' at line 2
    mysql>
     
  31. Offline

    Wulfspider

    Because you just did CREATE DATABASE users CREATE DATABASE users;
     

Share This Page