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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    This post has been edited 42 times. It was last edited by CraftFire Dec 20, 2012.
  2.  
  3. Offline

    aramis10

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello

    I have a question, and sorry for my English :)

    Is it possible to register on the game on MyBB.
    If this is how to configure it.
    If you are dumb if you can count on this update, I would very much depend on this.

    I want the user to register on the game and on the forum to have a choice.

    Regards
  4. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The basic config and short descriptions on what each part does:
    Code:
    plugin:
        language:
            commands: English                            # Language you want to use for commands that matches a directory under translations.
            messages: English                            # Language you want to use for messages that matches a directory under translations.
        debugmode: false                                # Enable/disable debugging mode and additional console output.
        usagestats: true                                # Enable/disable usage stats reporting to CraftFire devs.
        logging: true                                    # Enable/disable logging to files.
        logformat: yyyy-MM-dd                            # Filename format of the AuthDB debug and error log files.
    database:
        type: mysql                                      # Database type/driver to use. Current options are MySQL and eBean (Bukkit persistence).
        host: localhost                                  # MySQL server hostname, domain, IP, or localhost for local connections. MySQL only.
        port: 3306                                      # Port used for connecting to your MySQL server. This is usually 3306. MySQL only.
        username: root                                  # Username used to connect to your database. Only valid for MySQL.
        password: root                                  # Password used to connect to your database. MySQL only.
        name: forum                                      # Name of the database you are connecting to. MySQL only.
        keepalive: false                                # Enable/disable keeping database connection alive. Do not use if your connection limit is low. MySQL only.
    script:
        name: phpBB                                      # Name of the script you are using.
        version: 3.0.8                                  # Version of the script you are using.
        tableprefix: phpbb_                              # Database table prefix for the script, if you use one.
    Just change everything in this file to match your servers config and change:
    Code:
    script:
        name: phpBB
        version: 3.0.8
        tableprefix: phpbb_          
    To:
    Code:
    script:
        name: MyBB
        version: 1.6.4
        tableprefix: phpbb_    <-- This to what prefix you chose for your MyBB install      
  5. Offline

    aramis10

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have configured the File basic.yml, anyone can register online and log in to the game. But I want to be able to register on the game with the ability to login to the forum.

    Registration game - >> Login Forums
    and vice versa

    Please help if you can, because I do not know where to change it.
  6. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    All they need to do is use /register in-game like it shows on the screen when they join, unless you disabled it in advanced.yml.
  7. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Registering ingame have a tendency to mess it up some but if you inactivate it ingame and force all to register on the site thay can login with the same pass on the game afterwards,
  8. Offline

    NotYetRated

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any notes on how to use this with Joomla?
  9. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    In the basic yml, just config the database to use the same as joomla and choose the right script at the bottom as:
    Code:
    script:
        name: joomla                                      # Name of the script you are using.
        version: 1.6.1                                  # Version of the script you are using.
        tableprefix: (whatever perfix you use here)    
    So if you for example have installed joomla and the database for joomla is named joomlabase, loginname for database is jonny, password is feelgood and the prefix is mcraft_. Then it should look like this.
    Code:
    plugin:
        language:
            commands: English                            # Language you want to use for commands that matches a directory under translations.
            messages: English                            # Language you want to use for messages that matches a directory under translations.
        debugmode: false                                # Enable/disable debugging mode and additional console output.
        usagestats: true                                # Enable/disable usage stats reporting to CraftFire devs.
        logging: true                                    # Enable/disable logging to files.
        logformat: yyyy-MM-dd                            # Filename format of the AuthDB debug and error log files.
    database:
        type: mysql                                      # Database type/driver to use. Current options are MySQL and eBean (Bukkit persistence).
        host: localhost                                  # MySQL server hostname, domain, IP, or localhost for local connections. MySQL only.
        port: 3306                                      # Port used for connecting to your MySQL server. This is usually 3306. MySQL only.
        username: jonny                               # Username used to connect to your database. Only valid for MySQL.
        password: feelgood                                  # Password used to connect to your database. MySQL only.
        name: Joomlabase                                      # Name of the database you are connecting to. MySQL only.
        keepalive: false                                # Enable/disable keeping database connection alive. Do not use if your connection limit is low. MySQL only.
    script:
        name: joomla                                      # Name of the script you are using.
        version: 1.6.1                                  # Version of the script you are using.
        tableprefix: mcraft_  

    This post has been edited 1 time. It was last edited by Sketaful Aug 1, 2012.
    Wulfspider likes this.
  10. Offline

    Serios

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @contex do you have any progress on the rewrite?
  11. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  12. Offline

    NotYetRated

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Excellent! Thank you so much. Anything I can do to get it going for Joomla 2.5.6?
  13. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It hasn't been officially updated for that yet. You could try using it with it, but you'd have to set to the latest supported version, which may or may not be compatible, so use at your own risk until updated.
  14. Offline

    NotYetRated

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks much Wulfspider.
  15. Offline

    samschaap

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this work with 1.3.1?
  16. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I haven't tested yet, but I am going to assume not due to the vast amount of changes in 1.3.1. We'll be testing it and upgrading it as needed soon.
  17. Offline

    xBlazeTECH

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am new to the config, but quite knowledgeable about mysql, I was wondering if simone could put up directions for integration withdrupal?
  18. Offline

    userNo99

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Before your new version comes out for 1.3.1, I recommend you add support for people using legitimate copies of Minecraft so that they can login to their server account on an "offline-mode" server when the Minecraft login servers are down. When they're down, the legit client forces you to join with the username "Player".

    This post has been edited 2 times. It was last edited by userNo99 Aug 9, 2012.
  19. Offline

    FurmigaHumana

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wulfspider
    @Wulfspider An 1.3.1 update will be truly appreciated, the PlayerChatEvent has to be updated... Is there any chance to have an option to disable the inventory protection?

    This plugin still under rewrite? In very low priority, right? :c

    This post has been edited 1 time. It was last edited by FurmigaHumana Aug 10, 2012.
  20. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've tested the latest builds, and had no issues running them. Inventory protection is always enabled on registered users, as that is the point of this addon, for protection. Guest (unregistered user) inventories can be allowed in advanced.yml.
  21. Offline

    siemaeniu500

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How I can import xauth database to auth db database?

    I am not using mysql or sql.
  22. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    There really isn't an easy way to do it right now. We added xAuth support, but no way of converting from their format as far as I know. I've had a hard time trying to test xAuth as well last time I tried.
  23. Offline

    siemaeniu500

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    I can sent you my xauth database. Do you can convert ?
  24. Offline

    dawon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi,

    After updating to 1.3.1 AuthDB seemed to be working well, but there is one serious problem I encounter. Every player is logged in like their session hasn't expired even that the player has not logged in for a long time. I tried to disable sessions but still noone is asked for password.

    Everything worked well in 1.2.5. I tried even the newest unstable build of AuthDB, but without success.

    Do you have any idea what can cause this issue?

    Thanks
  25. Offline

    ron975

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm using bpermissions and every time someone tries to log in, they get "You do not have permissions to use this command"

    I have the perms correctly entered. I have no idea why it's showing this message.
  26. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Likely they don't have permission. ;)
    What does your permissions config look like?
  27. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Maybe, but no guarantees.

    I'll test it out and see if we can figure out what is going on. What build are you on?

    This post has been edited 2 times. It was last edited by Wulfspider Aug 13, 2012.
  28. Offline

    ron975

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is the "user" section of my permissions concerning AuthDB.

    Code:
    user:
        permissions:
        - authdb.command.*
        - authdb.command.user.*
        - authdb.command.user.link
        - authdb.command.user.login
        - authdb.command.user.logout
        - authdb.command.user.register
        - authdb.command.user.unlink
          groups: []
        meta:
          priority: '1000'
          prefix: '&7'
    

    This post has been edited 1 time. It was last edited by ron975 Aug 13, 2012.
  29. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wow, you have a lot of useless redundancy there. You should NOT be giving the .* wildcard nodes when you are specifying each node directly anyways. By giving the users the authdb.command.* node, you are giving them admin command permissions too. Just give them each node directly, don't use wildcards. :p
  30. Offline

    ron975

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Even when I remove the * nodes, it still won't let anyone log in, because of permissions.
    Code:
    user:
        permissions:
        - authdb.command.user.link
        - authdb.command.user.login
        - authdb.command.user.logout
        - authdb.command.user.register
        - authdb.command.user.unlink
          groups: []
        meta:
          priority: '1000'
          prefix: '&7'
    
    I was using an old build of the rewritten version before, and that worked fine. Updated to the latest build of AuthDB legacy, and this happened.

    Do you have any idea why this is happening?

    Also, @contex
    What happened to the rewrite? It seemed to have just disappeared from your jenkins and github..

    This post has been edited 3 times. It was last edited by ron975 Aug 14, 2012.
  31. Offline

    IsmaelRosado

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello, I have a problem with Authdb, the problem in the console says this Could not pass event PlayerQuitEvent to AuthDB and this too: Could not pass event PlayerCommandPreprocessEvent to AuthDB And in the game the people lose his inventory every time they /login
  32. Offline

    Wulfspider

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What builds of AuthDB and CraftBukkit? Also, do you have a full log?

    This post has been edited 1 time. It was last edited by Wulfspider Aug 14, 2012.

Share This Page