[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

    The forum-ranks part is only so you can properly use the /frank command. The sync has nothing to do with it.
    The following part controls the /sync command:
    Code:
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                '1': Banned
                '2': Non-Whitelisted
                '3': Whitelisted
                '4': Premium
                '5': Donator1
                '6': Donator2
                '7': Donator3
                '8': ProDonator
                '9': ServerSponsor
                '10': Mod
                '11': Admin
                '12': Owner
    Just make sure all IDs are mapped to the correct Permissions 3.1.x groups in there.
    Also, make sure each worlds has its own Permissions groups.yml with ALL groups in it, and that no globalgroups/globalusers.yml files are overriding it.

    Thanks. As far as I know, the lag should only be for the person joining, not for anyone else. I'll do my best to optimize/tweak it, though. I did only add it today, after all.

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

    ExplosiveBacoN

    So I would change
    Code:
    "4": Premium
    to
    Code:
    "4": Owner
    ?
     
  4. Offline

    Kalman Olah

    The format is 'FORUM RANK ID': PERMISSIONS GROUP
    So if 4 is your forum admin's rank ID, and Owner is your Admin/owner Permissions group, you change it to
    Code:
    '4': Owner
    Just remember:
    Code:
    'FORUM RANK ID': PERMISSIONS GROUPNAME
     
  5. Offline

    ExplosiveBacoN

    Thanks so much, definatley donating.
     
  6. Offline

    Kalman Olah

    You're welcome :).
     
  7. Offline

    Chrisspitz

    Sweet, and alright. Yeah before it was the entire server everyone was in a lag spike for like 10-15 seconds when someone connected, at least. Now its like 1 or 2 seconds if any, sometimes it lags sometimes it doesn't. A lot better now though
     
  8. Offline

    Kalman Olah

    You're running logblock/bigbrother too, aren't you? It's probably using MySQL storage too =/.
     
  9. Offline

    Deadlystrike

    Every time sence 2.4 even with latest version i get spamed "Error at SQL Query: query dues not return ResultSet" and spamed and spamed and crashed

    it dues that upon a sync .... it updates the player but sthen spams and crashes

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

    Kalman Olah

    You either have a typo or error in your config.yml or you are using another plugin with the same MySQL library. I'm guessing it's the config.Yml. Post it, please :).
     
  11. Offline

    Deadlystrike

    normal-mode:
    forum: ipb
    type1:
    usertable: members
    username-field: name
    userpassword-field: members_pass_hash
    rank-field: member_group_id
    type2:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    location-of-passgenphp: http://yoursite.com/passgen.php
    password-set-in-config-inc-php: 12345pass
    type3:
    usertable: user_table
    rank-field: rank_field
    username-field: username_field
    password-field: pass_field
    secondtable: second_table
    useridfield-in-usertable: user_id_field
    useridfield-in-secondtable: user_id_field
    type4:
    usertable: user_table
    username-field: username
    password-field: mine_user
    rank-field: rank_field
    location-of-passgenphp: http://yoursite.com/passgen.php
    password-set-in-config-inc-php: 12345pass
    world-groups:
    enable-multiworld-groups: 'true'
    world:
    groups:
    '1': ExampleGroup1
    '2': Guest
    '3': Member
    '4': Administrator
    '5': ExampleGroup2
    '6': Moderator
    '7': Developer
    '8': Premium
    '9': ExampleGroup2

    flatlands:
    groups:
    '1': ExampleGroup1
    '2': Guest
    '3': Member
    '4': Administrator
    '5': ExampleGroup2
    '6': Moderator
    '7': Developer
    '8': Premium
    '9': ExampleGroup2
    world_nether:
    groups:
    '1': ExampleGroup1
    '2': Guest
    '3': Member
    '4': Administrator
    '5': ExampleGroup2
    '6': Moderator
    '7': Developer
    '8': Premium
    '9': ExampleGroup2
    world_skylands:
    groups:
    '1': ExampleGroup1
    '2': Guest
    '3': Member
    '4': Administrator
    '5': ExampleGroup2
    '6': Moderator
    '7': Developer
    '8': Premium
    '9': ExampleGroup2
    flatlands:
    groups:
    '1': ExampleGroup1
    '2': Guest
    '3': Member
    '4': Administrator
    '5': ExampleGroup2
    '6': Moderator
    '7': Developer
    '8': Premium
    '9': ExampleGroup2
    exampleworld2:
    groups:
    '1': ExampleGroup1
    '2': ExampleGroup2
    whitelist:
    #optionally enable the whitelist
    enable-whitelist: 'false'
    #Global whitelist, must always be filled in when using the whitelist
    global:
    use-as-blacklist: 'false'
    kick-message: This is the message a user will see if their group isn't whitelisted.
    groups:
    '1': 'true'
    '2': 'false'
    #optionally enable nickname syncing(setting nicknames to forum nicknames)
    nickname-sync:
    enable-nickname-syncing: 'false'
    nickname-field-in-usertable: ''
    #specify the forum rank ID for banned users, and for unbanned users, for use with the
    #/fban and /funban commands
    forum-banning:
    #Should the ban feature ban players from the server too, or only the forum?
    is-server-ban-too: 'true'
    banned-forum-user-rank-id: '0'
    unbanned-forum-user-rank-id: '10'
    ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
    #If you plan to use promotions/demotions, list your track here in this format:
    #'NUMBER(ASCENDING, DON'T SKIP A NUMBER, START AT 1)': 'FORUM RANK ID'
    '1': '3'
    '2': '5'
    '3': '16'
    forum-ranks:
    #If you want to change forum ranks using the /frank command, list your forum ranks here.
    #Format: 'RANK NAME': 'RANK ID'
    'Admin': '1'
    'Registered': '0'
    'Moderator': '2'
     
  12. Offline

    Kalman Olah

    Delete all of the worlds you have listed twice (the groups). Also delete all unneeded spaces/blank lines. After this is done, post your config.Yml again, but this time click the "code" button and paste it like that :).
     
  13. Offline

    Deadlystrike

    Code:
    normal-mode:
        forum: ipb
        type1:
            usertable: members
            username-field: name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        world:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_nether:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_skylands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    whitelist:
    #optionally enable the whitelist
        enable-whitelist: 'false'
    #Global whitelist, must always be filled in when using the whitelist
        global:
            use-as-blacklist: 'false'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
    #optionally enable nickname syncing(setting nicknames to forum nicknames)
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    #specify the forum rank ID for banned users, and for unbanned users, for use with the
    #/fban and /funban commands
    forum-banning:
    #Should the ban feature ban players from the server too, or only the forum?
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
    #If you plan to use promotions/demotions, list your track here in this format:
    #'NUMBER(ASCENDING, DON'T SKIP A NUMBER, START AT 1)': 'FORUM RANK ID'
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
    #If you want to change forum ranks using the /frank command, list your forum ranks here.
    #Format: 'RANK NAME': 'RANK ID'
        'Admin': '1'
        'Registered': '0'
        'Moderator': '2'
     
  14. Offline

    Kalman Olah

    Actually dude, I think I know what your issue is. You're using the commented config.Yml from the post here. Delete it, and let my plugin generate another one on restart.
     
  15. Offline

    Deadlystrike

    still same error

    Code:
    normal-mode:
        forum: ipb
        type1:
            usertable: members
            username-field: name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        world:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_nether:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_skylands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        Registered: '0'
        Moderator: '2'
     
  16. Offline

    Chrisspitz

    I have BigBrother but it isn't using mysql just saving a huge database on the server files itself (sql lite I guess thats called)
     
  17. Offline

    Kalman Olah

    Remove these bottom 2:
    Code:
        world_skylands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    And isn't usertable supposed to be ipb_members instead of just members?

    Will keep that in mind :)

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

    Deadlystrike

    Why those are other worlds i have
    yes it is members and it worked prior to 2.4 also it dues update properly but crashes server after....
    but should i add the ipb_ prefix


    once again
    minecraft.gamingmadeeasy.com is server ip if u wish to see for yourself
     
  19. Offline

    Kalman Olah

    I don't want to see for myself, and if you refuse to correctly set up your config.yml on purpose I will refuse to provide any further support to you.
    Code:
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    You have this world listed twice. Remove one. Change your usertable to the correct one. Yes, you should add the ipb_ prefix.
     
  20. Offline

    Deadlystrike

    ok i removed the duplicate world and adding the ipb_ Prefix and got
    error: ipb_members dues not exist so im removing it :( what else is there to fix?

    update:
    /sync commands work fine
    /resync causes errors
    upon login/actions/commands ranks resync properly

    about /resync if u /sync first you can /resync however we have 20 or so synced players no info has changed but if they dont sync normaly again resync causes errors

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

    Kalman Olah

    You can ONLY /resync if you /sync first, in normal mode. What sort of error are you getting?
     
  22. Offline

    Deadlystrike

    ITS THE error that i told you about previously and spamed and crashed server
    however

    do players have to sync each time u update your plugin? ut seems that way
     
  23. Offline

    Kalman Olah

    No, only if I update the storage system, which I did recently. You can reset saved credentials by deleting the database file. This will also delete any linked bans you may have, though.
     
  24. Offline

    ScottCameron

    This is really conflicting with like Magic Carpet. Every time you go up or down on a magic carpet, the plugin syncs the account twice.

    If anything, it's causing more lag to our server then the previous versions.
     
  25. Offline

    Kalman Olah

    This exact same function has been in the plugin ever since v1.4.0. I only added a message in recent versions. It syncs your player on a teleport, meaning that you get synced both when you log in and teleport to another world.
     
  26. Offline

    ScottCameron

    No I mean, like. It'll show the message twice for each check. So when you teleport it'll show the message twice. I wonder why, as soon as I upgraded it started to lag.
     
  27. Offline

    Kalman Olah

    Because there are 2 teleport events for some reason. It has always been like this, I just added messages. I'll look into it, though.
     
  28. Offline

    Chrisspitz

    Ergh. I just started to get a problem, im looking into it. Just started getting some new members and i noticed their ranks weren't being assigned when they logged in (im running old school) but anyways i tried /fsyncall and all the new players it said rank update failed, yet they are a member on the forums. I waited about 5 minutes and tried again and still the same problem.

    Looked in the server.log and looks like something is going on with "threads"

    Code:
    2011-07-20 22:27:58 [INFO] [OKB3] NightfuryXz's rank update failed.
    2011-07-20 22:28:07 [INFO] <[Admin] Chrisspitz> very confused actually
    2011-07-20 22:28:11 [SEVERE] java.io.IOException: Received string length longer than maximum allowed (20 > 16)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.Packet.a(Packet.java:134)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.Packet1Login.a(SourceFile:30)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.Packet.a(Packet.java:81)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    2011-07-20 22:28:11 [SEVERE] 	at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
     
  29. Offline

    Kalman Olah

    This is probably not related to OKB3 at all. I'm heading to bed now, and I suggest you check if another plugin could be causing this. I'll look into it later :).
     
  30. Offline

    Chrisspitz

    ah i looked at my config.yml and I thought i had changed my mysql database back from local, but i didn't apparently. I just put it back on my running mysql database and a new problem... The server is mega lagged out now, but working. Looked in console and this is spammed 10000000 times and my server.log is like 6000 times its normal size.

    Code:
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    2011-07-20 23:45:09 [INFO] [OKB3] [BRIDGE] THESAMIAMSHOW's ranks synced.
    
    somethings deffinetly wrong now lol, can't connect to the server.. Well I can about every minute and im on for like 5 seconds but then it lags out
     
  31. Offline

    ExplosiveBacoN

    New problem, this is my set up and apparently its not working...
    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: 74.52.117.210
        mysql-user: bacon_forum
        mysql-password: '[Twf(z8]xCU7'
        mysql-database-name: bacon_forum
    old-school-mode:
        usertable: user_table
        minecraftname-field: mine_user
        rank-field: rank_field
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: mybb
        type1:
            usertable: mybb_users
            username-field: username
            userpassword-field: password
            rank-field: usergroup
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: [URL]http://yoursite.com/passgen.php[/URL]
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: [URL]http://yoursite.com/passgen.php[/URL]
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                '7': Banned
                '2': Non-Whitelisted
                '9': Whitelisted
                '11': Premium
                '12': Donator1
                '13': Donator2
                '14': Donator3
                '16': ProDonator
                '17': ServerSponsor
                '3': Mod
                '8': Admin
                '4': Owner
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'false'
            kick-message: You are currently not whitelisted.
            groups:
                '7': 'false'
                '2': 'false'
                '9': 'true'
                '11': 'true'
                '12': 'true'
                '13': 'true'
                '14': 'true'
                '16': 'true'
                '17': 'true'
                '3': 'true'
                '8': 'true'
                '4': 'true'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '7'
        unbanned-forum-user-rank-id: '2'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '1'
        '2': '2'
        '3': '3'
        '4': '4'
        '5': '5'
        '6': '6'
        '7': '7'
        '8': '8'
        '9': '9'
        '10': '10'
        '11': '11'
        '12': '12'
    forum-ranks:
        'Banned': '7'
        'Non-Whitelisted': '2'
        'Whitelisted': '9'
        'Premium': '11'
        'Donator1': '12'
        'Donator2': '13'
        'Donator3': '14'
        'ProDonator': '16'
        'ServerSponsor': '17'
        'Mod': '3'
        'Admin': '8'
        'Owner': '4'
    
    For some reason, people who should be white-listed are not.
     

Share This Page