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

    contex

  3. Offline

    Mattie112

    Code:
      guest:
        commands: true
        chat: true
        building: false
        destruction: false
        movement: true
        interactions: true
        inventory: true
        drop: true
        pickup: true
        health: true
        pvp: false
        mobtargeting: true
        mobdamage: true
    
    However, guests can NOT chat. CraftIRC only outputs a empty message :
    Code:
    <bot> (TEST) 
    I'm using CB 617 and AuthDB 2.1.4.
    Nothing showsup in the console
    -------------bug 2--------------
    irc:
    Code:
    <bot> [AuthDB] test was kicked due to bad characters in username!
    <bot> [AuthDB] test has quit the server.
    
    However "test" was kicked because he didn't login in 30 sec. The message on minecraft is good but the IRC message is wrong.
     
  4. Offline

    Wulfspider

    Are you saying guests can't chat at all or that when used with CraftIRC it only shows an empty message or both?
     
  5. Offline

    soulreafer

    Thanks for the Update. But now i bacam an Server Crash and an Exeption with Permission an Worldguard.

    Code:
    20:22:20 [SEVERE]       java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    20:22:20 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:70)
    20:22:20 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    20:22:20 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    20:22:20 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:317)
    20:22:20 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:169)
    20:22:20 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    20:22:20 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    20:22:20 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
    20:22:20 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    20:22:20 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
    20:22:20 [SEVERE]       at net.minecraft.server.Packet1Login.a(SourceFile:46)
    20:22:20 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    20:22:20 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
    20:22:20 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    20:22:20 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    20:22:20 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    20:22:20 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
     
  6. Offline

    Wulfspider

    That doesn't look like it has anything to do with AuthDB... I can't even load the latest WorldGuard by itself without errors. I would look to it, not AuthDB.
     
    soulreafer likes this.
  7. Offline

    Mattie112

    Guests can't chat at all (nothing shows in console and the game) however CraftIRC sends a 'empty' message.
    However that might be because i have "cancelled-chat: true" in the CraftIRC config.
    Anyway the problem is guests can't chat at all even when i set it to true
     
  8. Offline

    Wulfspider

    Okay, it will be fixed in the next version and I'll look into the CraftIRC issue.
     
  9. Offline

    Jonathan Bloom

    I have some users who can't move or chat at all, and others who can move and chat.

    What I want is for all of my users to move and chat, but nothing else unless they become a member.

    Also, they aren't getting a message telling them to register.
     
  10. Offline

    Wulfspider

    Yeah, I noticed that after we released 2.1.4. :/
    It will all be fixed in the next version.

    To anyone uses the latest recommended build.... we have not tested it with it yet. Latest we have tested it with is the OLD, smaller 1.43MB version of CraftBukkit 617. Support will be added for the NEW, larger 7.10MB version of CraftBukkit 617 and above soon. Apparently because of changes in CraftBukkit, lots of things broke.

    Authentication does not go via a POST/GET request. It is checked against the MySQL database you are attacked to. If you are looked at the source, the POST is for the optional usagestats.

    You need to be careful about using all caps much in a forum... you are bound to get an infraction as it's classified as yelling.

    The name has nothing to do with the errors you are receiving. The errors will be fixed in the next version.

    There will be group whitelist support in an upcoming release. Commands in-game will be added for editing whitelists and such as well in an upcoming release.
    Yes, we can add a whitelist of allowed commands for guests.
    You are using a build that we have not added support for yet. It will be supported in the next version of AuthDB.


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  11. Offline

    Jonathan Bloom

    Thank you so much for making this mod! It's been great to have XenForo running and then syncing with my users. :)

    In the future, I'd love to see syncing with the account upgrades of XenForo to make them VIP and also add/take away from a whitelist. This mod has incredible potential. :)

    Is it possible to have some commands accessible as a guest?

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

    MCAndi

    help me, all inventories are reset at every login
    CB#670
     
  13. Offline

    Jayjay110

    new reccomended build broke ur plugin, to fix it u need to change the line in the plugin.yml that says ur ign: CraftFire, For some reason it breaks the login it and removes inventories on login like ^^^^^^^ had a problem with.
    This is the error that occurs otherwise
    Code:
    2011-04-08 19:05:04 [INFO] xXN1pplefaceXx [/127.0.0.1:51694] logged in with entity id 277
    2011-04-08 19:05:04 [SEVERE] Could not pass event PLAYER_JOIN to AuthDB
    java.lang.NullPointerException
        at com.authdb.AuthDB.storeInventory(AuthDB.java:291)
        at com.authdb.listeners.AuthDBPlayerListener.onPlayerJoin(AuthDBPlayerListener.java:143)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:204)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
        at net.minecraft.server.Packet1Login.a(SourceFile:46)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        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)
    then it deletes ur inventory. dorry if i didnt explain it well but yeah, to fix it go and change the plugin.yml in the jar file to this:
    Code:
    name: AuthDB
    main: com.authdb.AuthDB
    version: 2.1.4
    website: http://www.authdb.com
    description: Provides script and custom database user authentication through MySQL.
    authors:
      - C.raftFire
      - Contex
      - Wulfspider
    commands:
      login:
        description: Login to your account.
        usage: /<command> <password>
      register:
        description: Register for an account.
        usage: /<command> <password> <email>
    its just a temporary fix, all you need to do is make sure that "Craft" is not in the file at all! so u can change it to whatever u want...

    Hope this helps

    SORRY IGNORE MY ABOVE POST, NOT COMPLETELY BUT ITS PARTIALLY WRONG, YOU MUST RENAME THE CraftFire LINE EVERYTIME YOU RESTART THE SERVER, IT ACTUALLY DOESNT MATER IF IT HAS Craft IN THE NAME, (just figured out after restarting my server :3) SORRY Bout that :)

    So you actually can have craft in the name it just cant be the same name as before u stop a server... i think! hope im right :p

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

    Hrdkr

    I've struggled an hour or something figuring out why AuthDB is unable to connect to MySQL database. The reason was that it doesn't support & character in passwords (and usernames) due to authentication going via some kind of POST/GET request, which syntax uses this symbol (&) for special purpose (parameters separation). You probably need to post it somewhere in the FAQ or elsewhere.
    Nice plugin, by the way.
     
  15. Offline

    Jonathan Bloom

    I've set my sessions to something like 999 but whenever the server restarts they are logged out.
     
  16. Offline

    Sich

    Hello,

    This plugin work fine, but the worldedit command are not blocked :(
    Like //sphere //fill etc... All that begin with //

    With this people can connect on the server and make worldedit command before being kicked....
    Any idea how to block this ?

    Thanks :)

    Sich
     
  17. Offline

    Wulfspider

    What version of CraftBukkit are you using and what size is the jar file for it?
    You are using a guest player with the commands right? That's all that feature is for... blocking guests from using them. The option guest: commands: false has to be false for it to block these commands as well.
    There is currently no way for registered players to move or chat unless they login. This is to prevent others pretending to be someone else.

    The chat does not work correctly with guests in 2.1.4, but movement works fine for guests. Registered users cannot move until they login.
    This is because it doesn't have persistence between restarts. Sessions currently only work between login/logouts, not after a server is restarted.
     
  18. Offline

    Jonathan Bloom

    Thanks for the clarification. :) This plugin is AMAZING! :D

    You work hard and it shows!
     
  19. Offline

    Hrdkr

    Lol, I know. I've just said it's authenticates somehow like POST/GET method, didn't mentioned it's the real POST/GET.
     
  20. Offline

    Wulfspider

    Yes, I do know what you mean now haha... I totally missed that when I woke up this morning...
     
  21. Offline

    contex

    Going to take a look at the problem, should be fixed for next "bug fix version"

    Edit: It's caused by YAML, you have to put double quotes around the password. password: "passwordhere".

    Also, check the progress bar to see when the next release is out!
     
  22. Offline

    CraftFire

  23. Offline

    Jonathan Bloom

    I still have the issue where some people can move and others can't. I have guest: movement enabled. I also have guest: chat, enabled and I can't chat ingame. Same issue as in 2.1.4

    Also, is it possible to get Facebook logins to work with XenForo and AuthDB?
     
  24. Offline

    Jayjay110

    sorry 4got, havnt been in an active forum for ages :3 and for the error, then why when i changed the word Craft in the name, did it suddenly work?
     
  25. Offline

    CraftFire

    What version of CraftBukkit are you using? I think Contex actually removed something that would allow CraftBukkit 617 to work properly with AuthDB still... Everything works fine in CB 670. Make sure you actually loaded the new jar too. ;)

    We'll be looking into the other authentication methods that some forums allow. Vanilla also supports said logins, so it's more than 1 forum. We are planning on another plugin for Facebook, Google, OpenID, and other similar auth types for sometime in the future too.
    Because the error you were having wasn't constant. It had nothing to do with the word "Craft" being in the plugin.yml. The error should be fixed now in 2.1.5.
     
  26. Offline

    Jayjay110

    it is, and ty :)
     
  27. Offline

    contex

    Everything should work, we tested it all yesterday. Could you redownload the jar and start the server again? If that doesn't work for you, could you give me the whole list of plugins you have, there could be some plugins interfering with our plugin.
     
  28. Offline

    Mattie112

    Bug:
    If a Guest joins he/she is kicked after 30 sec "[AuthDB] unknownuser kicked from failure to login within 30 seconds."
    That is strange bacuse the unknownuser can NOT login because he is not registered ;)
    please fix that :)
     
  29. Offline

    contex

    Thanks for reporting, and I think that is just a misspelling, as it's the idle function, what about
    kicked: "<rose>Kicked because you failed to register/login within {IDLELENGTH} {IDLETIME}." ?
     
  30. Offline

    Mattie112

    Well the user was not idle, i was just walking around.
    let me confirm again
    edit:
    Code:
    13:51:52<adventure-bot> [AuthDB] unknown has joined the server from {REGION},  (83.85.85.140).
    <adventure-bot> [unknown connected]
    <adventure-bot> (unknown) i'm a unknown user :)
    <adventure-bot> (unknown) and i am not idle
    <adventure-bot> (unknown) will it kick me?
    13:52:22<adventure-bot> [AuthDB] unknown kicked from failure to login within 30 seconds.
    <adventure-bot> [AuthDB] unknown has quit the server.
    
    so it just kicks because unknown is not loggedin :)
    edit2:
    it seems the plugin "caches" the database? Is there any way to 'refresh' it?
     
  31. Offline

    contex

    Well in our case "idle" means that it will kick you if you do not register/login within "x" amount of "time".
    Check this part of your config:

    Code:
    idle:
       time: seconds
       length: 30
       kick: true
       whitelist: Contex,Wulfspider
    Example:

    Code:
    idle:
       time: minutes
       length: 2
       kick: true
       whitelist: Contex,Wulfspider
    I now have 2 minutes to login/register.

    If you change kick to "false", it won't kick you.

    Also, the cache of database? Could you describe a bit more please.
     

Share This Page