[ADMN/WEB] OKB3 - Bulletin Board Bridge - Now on BukkitDev! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Jun 2, 2011.

  1. Offline

    Kalman Olah

  2. Offline

    Kalman Olah

    If you feel like donating, my paypal is [email protected] . No pressure though, I'm fine. Read my post though.

    If you want people to register and be verified on your forum in normal mode, before they join, it won't work, since they'd have to join in order to use /bbb sync so their credentials get saved...You could, however, limit building permissions to people that are verified, or you could use the use-whitelist-as-blacklist function to make sure the banned forum users that have already played on your server are kicked.

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

    Robert McKay

    So i should change to oldschool?
     
  4. Offline

    Kalman Olah

    Either change to oldschool(your forum users will probably have to sign up using their minecraft names), or set use-whitelist-as-blacklist to true, and only kick those who are banned from the forum, or limit building permissions to verified forum users. But as I said before, in normal mode people have to have played before the whitelist can check them.
     
  5. Offline

    Robert McKay

    okay so i turned whitelist off, and the blacklist thing on (true). Does that mean that anyone can join? just not banned ones?
     
  6. Offline

    Kalman Olah

    Set enable-whitelist to true, set use-whitelist-as-blacklist to true, and delete everything except for
    '5': 'false'


    from the whitelist-groups.

    This should allow anyone to join, but banned forum users that have already played on your server, will be kicked. Building permissions will be limited to verified forum users, if your permissions groups are correct :).
     
  7. Offline

    Robert McKay

    Okay, if I switch to oldschool, only people set to true can join?

    Now i am getting this error now that I switched to old-school:

    Code:
    >22:47:05 [INFO] Trewyy [/99.226.140.83:63862] logged in with entity id 55 at ([world] 80.8125, 83.0, 7.84375)
    >22:47:05 [WARNING] [OKB3-MYSQL] Error at SQ Query: Unknown column 'members_name' in 'where clause'
    >22:47:05 [SEVERE] Could not pass event PLAYER_JOIN to OKB3
    java.lang.NullPointerException
    at net.genericgaming.kalmanolah.okb3.OKPlayerListener.onPlayerJoin(OKPlayerListener.java:122)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Show Spoiler

    mode: old-school
    '###The mode the plugin will run in, options are ''normal'' or ''old-school''###': ''
    ? '###In old-school mode, the server does NOT check a username/password! It just gets
    a rank from your forum DB and sets it as your group###'
    : ''
    ? '###If you''re using old-school mode, fill in the section labeled ''old-school-mode''
    If not, fill in the section labeled ''normal-mode'''
    : ''
    mysql-connection-info:
    mysql-host: 184.154.137.42
    mysql-user: wurldus_ipb
    mysql-password: PASSWURD
    mysql-database-name: wurldus_ipb
    old-school-mode:
    usertable: wurldus_members
    minecraftname-field: members_name
    rank-field: member_group_id
    enable-multiple-tables: false
    '###If enable-multiple-tables is true, fill in the multitable section': ''
    multitable:
    minecraftname-table: mine_table
    useridfield-in-minecraftname-table: user_id_field
    useridfield-in-usertable: user_id_field
    normal-mode:
    type-of-forum: ipb
    ? '###Current supported forum types md5 for MD5 encryption-based forums,phpbb
    for phpBB3, smf for SMF, vbulletin for vBulletin, mybb for myBB, xenforo for
    XenForo, ipb for IPB, wbb for WBB, kunena for Kunena###'
    : ''
    '###Fill in the fields for the forum type that matches your type-of-forum value': ''
    location-of-passgenphp: http://wurld.us/forum/webfiles/passgen.php
    password-set-in-config-inc-php: PASSWURD
    md5:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    phpbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    smf:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    vbulletin:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    mybb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    xenforo:
    usertable: user_table
    rank-field: rank_field
    username-field: username_field
    password-table: pass_table
    password-field: pass_field
    useridfield-in-usertable: user_id_field
    useridfield-in-passtable: user_id_field
    ipb:
    usertable: wurldus_members
    username-field: members_name
    userpassword-field: members_pass_hash
    rank-field: member_group_id
    wbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    kunena:
    usertable: user_table
    rank-table: rank_table
    rank-field: rank_field
    username-field: username_field
    password-field: pass_field
    useridfield-in-usertable: user_id_field
    useridfield-in-rank-table: user_id_field
    groups:
    '###''RANKID IN RANKTABLE''=GROUPMANAGER GROUP###': ''
    '1': Validating
    '2': Guest
    '3': Verified
    '4': Admins
    '5': Banned
    '6': Moderator
    whitelist:
    enable-whitelist: 'false'
    use-as-blacklist: 'true'
    kick-message: You must register @ our forums to join! http://wurld.us/forum/ (not our blog)
    whitelist-groups:
    '###''''RANKID IN RANKTABLE'': true'' TO ALLOW A RANK TO JOIN###': ''
    '###''''RANKID IN RANKTABLE'': false'' TO NOT ALLOW A RANK TO JOIN###': ''
    '1': 'true'
    '2': 'false'
    '5': 'false'
    '3': 'true'
    '4': 'true'
    '6': 'true'
    '###If use-as-blacklist is enabled, groups that aren''t specified on the whitelist will count as blacklisted###': ''
    nickname-sync:
    enable-nickname-syncing: 'true'
    nickname-field-in-usertable: ''


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

    Kalman Olah

    If you want to use old-school, you need to change your config.yml.
    Code:
    old-school-mode:
        usertable: wurldus_members
        minecraftname-field: name
        rank-field: members_group_id
        enable-multiple-tables: false
        '###If enable-multiple-tables is true, fill in the multitable section': ''
        multitable:
            minecraftname-table: mine_table
            useridfield-in-minecraftname-table: user_id_field
            useridfield-in-usertable: user_id_field
    If you set use-whitelist-as-blacklist to false now, and enable the whitelist, only those set to true should be able to join. Please note that they'd have to register with their exact minecraft names.

    EDIT: rank-field is member_group_id, not members_group_id
     
  9. Offline

    Robert McKay

    Another error after doing what you put in the above ^^
    Code:
    >22:51:19 [INFO] Trewyy [/99.226.140.83:63938] logged in with entity id 104 at ([world] 80.5, 87.0, 10.5)
    >22:51:19 [WARNING] [OKB3-MYSQL] Error at SQ Query: You have an error in your SQ syntax; check the manual that corresponds to your MySQ server version for the right syntax to use near 'FROM wurldus_members WHERE name = 'Trewyy'' at line 1
    >22:51:19 [SEVERE] Could not pass event PLAYER_JOIN to OKB3
    java.lang.NullPointerException
    at net.genericgaming.kalmanolah.okb3.OKmain.UpdateNick(OKmain.java:213)
    at net.genericgaming.kalmanolah.okb3.OKPlayerListener.onPlayerJoin(OKPlayerListener.java:155)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  10. Offline

    Kalman Olah

    Did you read my edit? Paste your current config.yml please
     
  11. Offline

    Robert McKay

    Yes, I used your edit.

    Code:
    mode: old-school
    '###The mode the plugin will run in, options are ''normal'' or ''old-school''###': ''
    ? '###In old-school mode, the server does NOT check a username/password! It just gets
        a rank from your forum DB and sets it as your group###'
    : ''
    ? '###If you''re using old-school mode, fill in the section labeled ''old-school-mode''
        If not, fill in the section labeled ''normal-mode'''
    : ''
    mysql-connection-info:
        mysql-host: 184.154.137.42
        mysql-user: wurldus_ipb
        mysql-password: PASS
        mysql-database-name: wurldus_ipb
    old-school-mode:
        usertable: wurldus_members
        minecraftname-field: name
        rank-field: member_group_id
        enable-multiple-tables: false
        '###If enable-multiple-tables is true, fill in the multitable section': ''
        multitable:
            minecraftname-table: mine_table
            useridfield-in-minecraftname-table: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        type-of-forum: ipb
        ? '###Current supported forum types md5 for MD5 encryption-based forums,phpbb
            for phpBB3, smf for SMF, vbulletin for vBulletin, mybb for myBB, xenforo for
            XenForo, ipb for IPB, wbb for WBB, kunena for Kunena###'
        : ''
        '###Fill in the fields for the forum type that matches your type-of-forum value': ''
        location-of-passgenphp: http://wurld.us/forum/webfiles/passgen.php
        password-set-in-config-inc-php: PASS
        md5:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        phpbb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        smf:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        vbulletin:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        mybb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        xenforo:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-table: pass_table
            password-field: pass_field
            useridfield-in-usertable: user_id_field
            useridfield-in-passtable: user_id_field
        ipb:
            usertable: wurldus_members
            username-field: members_name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        wbb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        kunena:
            usertable: user_table
            rank-table: rank_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            useridfield-in-usertable: user_id_field
            useridfield-in-rank-table: user_id_field
    groups:
        '###''RANKID IN RANKTABLE''=GROUPMANAGER GROUP###': ''
        '1': Validating
        '2': Guest
        '3': Verified
        '4': Admins
        '5': Banned
        '6': Moderator
    whitelist:
        enable-whitelist: 'true'
        use-as-blacklist: 'false'
        kick-message: You must register @ our forums to join! http://wurld.us/forum/ (not our blog)
        whitelist-groups:
            '###''''RANKID IN RANKTABLE'': true'' TO ALLOW A RANK TO JOIN###': ''
            '###''''RANKID IN RANKTABLE'': false'' TO NOT ALLOW A RANK TO JOIN###': ''
            '1': 'true'
            '2': 'false'
            '5': 'false'
            '3': 'true'
            '4': 'true'
            '6': 'true'
    '###If use-as-blacklist is enabled, groups that aren''t specified on the whitelist will count as blacklisted###': ''
    nickname-sync:
        enable-nickname-syncing: 'true'
        nickname-field-in-usertable: ''
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  12. Offline

    Kalman Olah

    Set
    enable-nickname-syncing: 'false'
     
  13. Offline

    Robert McKay

    It works!

    Thank you so much, btw, I sent you some cash. Not much, but just some payment for the past 2 hours you spent helping me.

    Thanks again!
    Trewyy (play.wurld.us)
     
  14. Offline

    Kalman Olah

    Thanks a lot. Glad to have been of service :).
     
  15. Offline

    transient

    I read that subgroups is in the works, does this include MultiGroups for Permissions?

    Also, if it is not supported, does this plugin overwrite the Permissions files completely or just change the primary group? My fear is something like McMyAdmin which completely overwrites the file.

    I'm really excited to use this plugin!
     
  16. Offline

    Robert McKay

    Guess what, i'm back lol.

    I get this error whenever I type any /bbb command. I have put the bbb.* permissions into my permissions file btw.

    Code:
    >10:42:55 [WARNING] [OKB3-MYSQL] Error at SQ Query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    >10:42:55 [SEVERE] Could not pass event PLAYER_PRELOGIN to OKB3
    java.lang.NullPointerException
    at net.genericgaming.kalmanolah.okb3.OKPlayerListener.onPlayerPreLogin(OKPlayerListener.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.ThreadLoginVerifier.run(ThreadLoginVerifier.java:45)
    
    Here is my config.yml:
    Show Spoiler

    Code:
    mode: old-school
    '###The mode the plugin will run in, options are ''normal'' or ''old-school''###': ''
    ? '###In old-school mode, the server does NOT check a username/password! It just gets
        a rank from your forum DB and sets it as your group###'
    : ''
    ? '###If you''re using old-school mode, fill in the section labeled ''old-school-mode''
        If not, fill in the section labeled ''normal-mode'''
    : ''
    mysql-connection-info:
        mysql-host: 184.154.137.42
        mysql-user: wurldus_ipb
        mysql-password: passwurd
        mysql-database-name: wurldus_ipb
    old-school-mode:
        usertable: wurldus_members
        minecraftname-field: name
        rank-field: member_group_id
        enable-multiple-tables: false
        '###If enable-multiple-tables is true, fill in the multitable section': ''
        multitable:
            minecraftname-table: mine_table
            useridfield-in-minecraftname-table: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        type-of-forum: ipb
        ? '###Current supported forum types md5 for MD5 encryption-based forums,phpbb
            for phpBB3, smf for SMF, vbulletin for vBulletin, mybb for myBB, xenforo for
            XenForo, ipb for IPB, wbb for WBB, kunena for Kunena###'
        : ''
        '###Fill in the fields for the forum type that matches your type-of-forum value': ''
        location-of-passgenphp: http://wurld.us/forum/webfiles/passgen.php
        password-set-in-config-inc-php: passwurd
        md5:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        phpbb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        smf:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        vbulletin:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        mybb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        xenforo:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-table: pass_table
            password-field: pass_field
            useridfield-in-usertable: user_id_field
            useridfield-in-passtable: user_id_field
        ipb:
            usertable: wurldus_members
            username-field: members_name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        wbb:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        kunena:
            usertable: user_table
            rank-table: rank_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            useridfield-in-usertable: user_id_field
            useridfield-in-rank-table: user_id_field
    groups:
        '###''RANKID IN RANKTABLE''=GROUPMANAGER GROUP###': ''
        '1': Validating
        '2': Guest
        '3': Verified
        '4': Admins
        '5': Banned
        '6': Moderator
    whitelist:
        enable-whitelist: 'true'
        use-as-blacklist: 'false'
        kick-message: Register @ http://wurld.us/forum/ and be automatically whitelisted!
        whitelist-groups:
            '###''''RANKID IN RANKTABLE'': true'' TO ALLOW A RANK TO JOIN###': ''
            '###''''RANKID IN RANKTABLE'': false'' TO NOT ALLOW A RANK TO JOIN###': ''
            '1': 'true'
            '2': 'false'
            '5': 'false'
            '3': 'true'
            '4': 'true'
            '6': 'true'
    '###If use-as-blacklist is enabled, groups that aren''t specified on the whitelist will count as blacklisted###': ''
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    
     
  17. Offline

    Kalman Olah

    Can I have a full server log, and could you tell me exactly when this error happens?
     
  18. Offline

    transient

    @Kalman Olah

    Usually I try to solve my own problems, but I'm at a loss this time.

    I do the /bbb sync command, it returns "2011-06-28 12:33:52 [INFO] [OKB3] SoAndSo's ranks successfully updated." but my Permissions group doesn't change.

    For the database, I created a user with only SELECT permissions on the vbulletin DB. And I'm using Permissions 3.1.6. I can usually read the error logs and figure out what I did wrong, but in this case, it's telling me it worked but it isn't changing my group.

    Any help is much appreciated!

    EDIT-Tried disabling permissions and using GroupManager, but it still won't work.
     
  19. Offline

    NeatMonster

    @Kalman Olah

    Any progress on multigroups support? (Yes, it's not exactly the same message :D.)
     
  20. Offline

    walruscode

    Can you add multiworld support? (Forgive me for asking if you already have.)
    I am adding a free-build world to my server, and this particular world is going to have a whitelist. The groups for this world will be the same as the groups for the normal world (Citizen, Helper, SemiMod, etc). "Citizen-NotBuilder" would be the default group for this world, and it wouldn't be linked to a phpBB group, and wouldn't be on the whitelist. The only whitelisted group would be "Builder". Anyone in the "Builder" group would be allowed to join this world, even if they are in another group as well. This would require I be able to set a per-world option like "allow-multiple-groups: true" (which, I assume, would look at the phpbb_user_groups table, to find out all the groups a user is in, and not just look in phpbb_users for a user's default group). This is how I imagine the config would look:

    Code:
    groups:
        world:
            '19': Griefer
            '2': Citizen
            '17': Helper
            '16': SemiMod
        freebuild:
            '2': Citizen
            '17': Helper
            '16': SemiMod
            '30': Builder
    
    world-options:
        world:
            allow-multiple-groups: false
        freebuild:
            allow-multiple-groups: true
    
    whitelist:
        world:
            enable-whitelist: false
            use-as-blacklist: false
            kick-message:
            whitelist-groups: []
        freebuild:
            enable-whitelist: true
            use-as-blacklist: true
            kick-message: You don't have permission to join the Free-Build world!
            whitelist-groups:
                 '30': 'true'
    
    I apologize if some of the things I said didn't make sense. I was changing what I wrote and figuring how this kind of setup would work as I wrote this post, so if there's anything I need to further explain, please tell me. I would be incredibly grateful if this idea could be implemented.

    TL;DR: I would like a "world-options:" section and an "allow-multiple-groups:" option added to the config. (Please :D)

    EDIT: Apparently I'm not the first. well um... yeah... I hope I contributed something by providing an example of how it might be configured. :p
     
  21. Offline

    Kalman Olah

    If it says it worked, it should've worked. Maybe you configured the groups in config.yml incorrectly?

    I'll give this a look during the weekend. I am currently extremely busy IRL, so I don't have a lot of time to make modifications to my plugin during the weekdays. So, yeah, weekend.

    In the weekend, I will try to add both suggestions. I'll be starting on saturday evening. I will also be removing GroupManager support because of the GroupManager-to-Permissions bridge this is going to be released.

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

    walruscode

    Thank you very much! (Too many things to look forward to this week-Pistons and an OKB3 update--why is it only Tuesday? :p)
     
  23. Offline

    transient

    Ahh thanks! You pointed me in the right direction of looking at the groups. I didn't realize the plugin doesn't read the globalGroups.yml config, it reads each world config.
     
  24. Offline

    Siriuo

    I am receiving an internal error every time i use /bbb sync
     
  25. Offline

    Kalman Olah

    Maybe you should configere the plugin correctly. Post your console log, config.yml, and possibly config.inc.php if you require help.

    You're welcome, glad it's working for you :).
    I, for one, am glad it's only tuesday. It's too bloody hot though.

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

    Siriuo

    Here is my config.yml and my config.inc.php could you assist.
    config.yml

    config.inc.php
    I have hidden all private information
     
  27. Offline

    Kalman Olah

    Host '184.22.117.20' is not allowed to connect to this MySQL server in /home/mineburs/public_html/forums/passgen.php on line 3
    Error connecting to mysql
    Your MySQL user is not allowed to perform remote MySQL connections. You'll have to give that user those permissions through PHPMyAdmin, or by contacting your webhost.
     
  28. Offline

    Siriuo

    i have set permissions for the server ip to connect to the mysql database there isnt an issue with this
     
  29. Offline

    Kalman Olah

    Code:
    Host '184.22.117.20' is not allowed to connect to this MySQL server in /home/mineburs/public_html/forums/passgen.php on line 3
    Error connecting to mysql
    See for yourself.
    http://forums.mineburst.co.uk/passgen.php
     
  30. Offline

    walruscode

    I have been experiencing connection lag on my server that I believe is linked to OKB3. The other person that admins this server has gone through each of the plugins we have installed, and has determined the source of the lag was OKB3. We recently switched to a new VPS host, and are experiencing a very slow connection, but when we contact support, they tell us the lag is being caused by something on our end, and we are only getting a 5mbit connection, instead of 100mbit. When you get to implementing the new stuff this weekend, can you do some testing to confirm that OKB3 could be causing connection lag, and if you find that it does, can you try to fix it?

    I'm running Bukkit 935 and the latest version of OKB3, with 5GB of ram allocated.
     
  31. Offline

    Chrisspitz

    Lol hello againnnnnn
    A quick question and I guess ill post my config as well.
    Trying to get whitelisting with groups working, trying to only allow 3 groups to connect which are id's 8, 9, and 4.
    Yet. I set 'true' to those groups to connect and whitelisting enabled and even looked up the id for guest which was 1 and added that and set it to false just in case and I can't seem to get it to work. Have obviously restarted my server etc. But anyways i've tried multiple accounts and didn't receive any kick message for the whitelist and anyone can freely connect.

    Running the latest version of OKB3 & it is running properly because /bbb appears in chat and the resync command and other commands work just fine.

    Here's my config.yml
    Code:
    mode: normal
    '###The mode the plugin will run in, options are ''normal'' or ''old-school''###': ''
    ? '###In old-school mode, the server does NOT check a username/password! It just gets
    a rank from your forum DB and sets it as your group###'
    : ''
    ? '###If you''re using old-school mode, fill in the section labeled ''old-school-mode''
    If not, fill in the section labeled ''normal-mode'''
    : ''
    mysql-connection-info:
    mysql-host: 173.193.4.135
    mysql-user: mymysqluser
    mysql-password: mymysqlpass
    mysql-database-name: rubikscr_forum
    old-school-mode:
    usertable: user_table
    minecraftname-field: mine_user
    rank-field: rank_field
    enable-multiple-tables: false
    '###If enable-multiple-tables is true, fill in the multitable section': ''
    multitable:
    minecraftname-table: mine_table
    useridfield-in-minecraftname-table: user_id_field
    useridfield-in-usertable: user_id_field
    normal-mode:
    type-of-forum: mybb
    ? '###Current supported forum types md5 for MD5 encryption-based forums,phpbb
    for phpBB3, smf for SMF, vbulletin for vBulletin, mybb for myBB, xenforo for
    XenForo, ipb for IPB, wbb for WBB, kunena for Kunena###'
    : ''
    '###Fill in the fields for the forum type that matches your type-of-forum value': ''
    location-of-passgenphp: http://rubikscraft.com/passgen.php
    password-set-in-config-inc-php: myphppass
    md5:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    phpbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    smf:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    vbulletin:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    mybb:
    usertable: mybb_users
    username-field: username
    userpassword-field: password
    rank-field: usergroup
    xenforo:
    usertable: user_table
    rank-field: rank_field
    username-field: username_field
    password-table: pass_table
    password-field: pass_field
    useridfield-in-usertable: user_id_field
    useridfield-in-passtable: user_id_field
    ipb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    wbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    kunena:
    usertable: user_table
    rank-table: rank_table
    rank-field: rank_field
    username-field: username_field
    password-field: pass_field
    useridfield-in-usertable: user_id_field
    useridfield-in-rank-table: user_id_field
    groups:
    '###''RANKID IN RANKTABLE''=GROUPMANAGER GROUP###': ''
    '8': TeamAqua
    '9': TeamMagma
    '4': Admin
    whitelist:
    enable-whitelist: 'true'
    use-as-blacklist: 'false'
    kick-message: RubiksCraft.Com
    whitelist-groups:
    '###''''RANKID IN RANKTABLE'': true'' TO ALLOW A RANK TO JOIN###': ''
    '###''''RANKID IN RANKTABLE'': false'' TO NOT ALLOW A RANK TO JOIN###': ''
    '8': 'true'
    '9': 'true'
    '4': 'true'
    '1': 'false'
    '###If use-as-blacklist is enabled, groups that aren''t specified on the whitelist will count as blacklisted###': ''
    nickname-sync:
    enable-nickname-syncing: 'false'
    nickname-field-in-usertable: ''
     

Share This Page