main/Example configuration

general:
#Will you be running Bulletin Board Bridge in 'normal' mode, or 'secure' mode?
    mode: secure
    enable-whitelist: 'true'
    enable-nickname-syncing: 'false'
    enable-synced-banning: 'false'
    enable-promotion-track: 'true'
    enable-rank-changing: 'true'
    enable-post-count-rewarding: 'true'
#If you opted for normal mode, fill this in
modes:
    normal:
        user-table: mybb_users
        minecraft-login-name-field: username
        rank-id-field: usergroup
        multitable:
            enable-multiple-tables: 'false'
            second-table: second_table
            user-id-field-in-user-table: user_id_field_user_table
            user-id-field-in-second-table: user_id_field_second_table
#If you opted for secure mode, fill this in
    secure:
#forum type: options are phpbb, smf, vbulletin, kunena, xenforo, wbb, ipb, mybb, vanilla, #bbpress, custom
        forum: xenforo
#fill this in if you are using smf, vbulletin, wbb, ipb, mybb
        type1:
            user-table: mybb_users
            username-field: username
            password-field: password
            rank-id-field: usergroup
#fill this in if you are using phpbb, bbpress or vanilla
        type2:
            user-table: user_table
            username-field: username_field
            password-field: password_field
            rank-id-field: rank_group_field
            location-of-passgen-php: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
#fill this in if you are using kunena or xenforo
        type3:
            user-table: xf_user
            rank-id-field: user_group_id
            username-field: username
            password-field: data
            second-table: xf_user_authenticate
            user-id-field-in-user-table: user_id
            user-id-field-in-second-table: user_id
#fill this in if you are using a custom encryption
        type4:
            user-table: user_table
            username-field: username_field
            password-field: password-field
            rank-id-field: rank_group_field
            location-of-passgen-php: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
mysql-connection:
    mysql-host: localhost
    mysql-user: root
    mysql-password: *********
    mysql-database-name: tempdb4
    mysql-port: '3306'
#Map your rank IDs to groups here. world-specific overwrites default. You NEED atleast 1
#entry under worlds, even if the world doesn't exist.
group-mapping:
    default:
        '1': Admin
        '2': Admin
    worlds:
        exampleworld1:
            '1': default
            '2': Admin
        world:
            '1': Admin
            '2': default
extras:
    whitelist:
        kick-message: This is the message a user will see if their group isn't whitelisted.
        use-as-blacklist: 'true'
        groups:
            '1': 'true'
            '2': 'false'
    nickname-syncing:
        nickname-field-in-usertable: salt
    synced-banning:
        banned-user-forum-rank-id: '0'
        unbanned-user-forum-rank-id: '10'
        ban-message: This is the message a user will see if they are banned.
    promotion-track:
        track: 2|1|0
    rank-changing:
        identifiers:
            '1': NickNameforRank1
            '7': NickNameforAnotherRank
    post-count-rewarding:
        currency-reward-per-post: '40'
        post-count-field-in-user-table: 'like_count'

Comments

Posts Quoted:
Reply
Clear All Quotes