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

    aramis10

    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
     
  3. Offline

    Sketaful

    The basic config and short descriptions on what each part does:
    Code (Text):
    1. plugin:
    2.     language:
    3.         commands: English                            # Language you want to use for commands that matches a directory under translations.
    4.         messages: English                            # Language you want to use for messages that matches a directory under translations.
    5.     debugmode: false                                # Enable/disable debugging mode and additional console output.
    6.     usagestats: true                                # Enable/disable usage stats reporting to CraftFire devs.
    7.     logging: true                                    # Enable/disable logging to files.
    8.     logformat: yyyy-MM-dd                            # Filename format of the AuthDB debug and error log files.
    9. database:
    10.     type: mysql                                      # Database type/driver to use. Current options are MySQL and eBean (Bukkit persistence).
    11.     host: localhost                                  # MySQL server hostname, domain, IP, or localhost for local connections. MySQL only.
    12.     port: 3306                                      # Port used for connecting to your MySQL server. This is usually 3306. MySQL only.
    13.     username: root                                  # Username used to connect to your database. Only valid for MySQL.
    14.     password: root                                  # Password used to connect to your database. MySQL only.
    15.     name: forum                                      # Name of the database you are connecting to. MySQL only.
    16.     keepalive: false                                # Enable/disable keeping database connection alive. Do not use if your connection limit is low. MySQL only.
    17. script:
    18.     name: phpBB                                      # Name of the script you are using.
    19.     version: 3.0.8                                  # Version of the script you are using.
    20.     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 (Text):
    1. script:
    2.     name: phpBB
    3.     version: 3.0.8
    4.     tableprefix: phpbb_          
    To:
    Code (Text):
    1. script:
    2.     name: MyBB
    3.     version: 1.6.4
    4.     tableprefix: phpbb_    <-- This to what prefix you chose for your MyBB install      
     
  4. Offline

    aramis10

    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.
     
  5. 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.
     
  6. Offline

    Sketaful

    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,
     
  7. Offline

    NotYetRated

    Any notes on how to use this with Joomla?
     
  8. Offline

    Sketaful

    In the basic yml, just config the database to use the same as joomla and choose the right script at the bottom as:
    Code (Text):
    1. script:
    2.     name: joomla                                      # Name of the script you are using.
    3.     version: 1.6.1                                  # Version of the script you are using.
    4.     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 (Text):
    1. plugin:
    2.     language:
    3.         commands: English                            # Language you want to use for commands that matches a directory under translations.
    4.         messages: English                            # Language you want to use for messages that matches a directory under translations.
    5.     debugmode: false                                # Enable/disable debugging mode and additional console output.
    6.     usagestats: true                                # Enable/disable usage stats reporting to CraftFire devs.
    7.     logging: true                                    # Enable/disable logging to files.
    8.     logformat: yyyy-MM-dd                            # Filename format of the AuthDB debug and error log files.
    9. database:
    10.     type: mysql                                      # Database type/driver to use. Current options are MySQL and eBean (Bukkit persistence).
    11.     host: localhost                                  # MySQL server hostname, domain, IP, or localhost for local connections. MySQL only.
    12.     port: 3306                                      # Port used for connecting to your MySQL server. This is usually 3306. MySQL only.
    13.     username: jonny                               # Username used to connect to your database. Only valid for MySQL.
    14.     password: feelgood                                  # Password used to connect to your database. MySQL only.
    15.     name: Joomlabase                                      # Name of the database you are connecting to. MySQL only.
    16.     keepalive: false                                # Enable/disable keeping database connection alive. Do not use if your connection limit is low. MySQL only.
    17. script:
    18.     name: joomla                                      # Name of the script you are using.
    19.     version: 1.6.1                                  # Version of the script you are using.
    20.     tableprefix: mcraft_  
     
    Wulfspider likes this.
  9. Offline

    Serios

    @contex do you have any progress on the rewrite?
     
  10. Offline

    NotYetRated

    Excellent! Thank you so much. Anything I can do to get it going for Joomla 2.5.6?
     
  11. 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.
     
  12. Offline

    NotYetRated

    Thanks much Wulfspider.
     
  13. Does this work with 1.3.1?
     
  14. 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.
     
  15. Offline

    xBlazeTECH

    I am new to the config, but quite knowledgeable about mysql, I was wondering if simone could put up directions for integration withdrupal?
     
  16. Offline

    userNo99

    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".
     
  17. 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
     
  18. 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.
     
  19. Offline

    siemaeniu500

    How I can import xauth database to auth db database?

    I am not using mysql or sql.
     
  20. 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.
     
  21. Offline

    siemaeniu500


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

    dawon

    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
     
  23. 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.
     
  24. Likely they don't have permission. ;)
    What does your permissions config look like?
     
  25. 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?
     
  26. This is the "user" section of my permissions concerning AuthDB.

    Code (Text):
    1.  
    2. user:
    3.     permissions:
    4.     - authdb.command.*
    5.     - authdb.command.user.*
    6.     - authdb.command.user.link
    7.     - authdb.command.user.login
    8.     - authdb.command.user.logout
    9.     - authdb.command.user.register
    10.     - authdb.command.user.unlink
    11.       groups: []
    12.     meta:
    13.       priority: '1000'
    14.       prefix: '&7'
    15.  
     
  27. 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
     
  28. Even when I remove the * nodes, it still won't let anyone log in, because of permissions.
    Code (Text):
    1.  
    2. user:
    3.     permissions:
    4.     - authdb.command.user.link
    5.     - authdb.command.user.login
    6.     - authdb.command.user.logout
    7.     - authdb.command.user.register
    8.     - authdb.command.user.unlink
    9.       groups: []
    10.     meta:
    11.       priority: '1000'
    12.       prefix: '&7'
    13.  
    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..
     
  29. Offline

    IsmaelRosado

    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
     
  30. What builds of AuthDB and CraftBukkit? Also, do you have a full log?
     

Share This Page