[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

    bocaj812

    didn't work, getting the 'No permission tracks found' I was also under the assumption that '1': '2' was like on the left is what rank you would demote to from on the right. visa versa

    WEll I seem to have broke it, I reverted back to the '1': '2' and its still giving me that error, so the promotion track that you suggested may work.

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

    Chrisspitz

    Here is the config.yml that was generated after I updated to 2.0 and deleted my config.yml then restarted, looks the exact same.. I know it isn't right because it doesn't look like some of the other configs which have something about the new ban feature in it which mine obviously doesnt. Im using filezilla as ftp which has file caching, but before I open the file I select an option to delete the local file (which is the cached version) so this is the new version that was created. I'm doing something wrong apparently.

    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: 173.193.4.135
        mysql-user: mysqluser
        mysql-password: mysqlpass
        mysql-database-name: rubikscr_forum
    old-school-mode:
        usertable: mybb_users
        minecraftname-field: username
        rank-field: usergroup
        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: mypass
        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###': ''
        '4': Admin
        '8': TeamAqua
        '9': TeamMagma
        '6': Moderator
        '10': Donater
    whitelist:
        enable-whitelist: 'false'
        use-as-blacklist: 'false'
        kick-message: This is the message a user will see if their group isn't whitelisted.
        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'
            '6': 'true'
            '10': 'true'
            '7': '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: ''
    
    EDIT: Alrighttt got the new config to generate finally, had to complete okb3.jar replace it (did that first) but also had to complete the okb3 folder completely for some reason yet I was deleting config.yml somehow deleting the folder instead fixed the problem lol.

    But now im having a mysql problem of some sort I think my config might be wrong mainly where I have replaced "type1" with "mybb" im not sure if I was supposed to do this.

    Heres my new config.yml
    Code:
    mode: old-school
    mysql-connection-info:
        mysql-host: 173.193.4.135
        mysql-user: mysqluser
        mysql-password: mysqlpass
        mysql-database-name: rubikscr_forum
    old-school-mode:
        usertable: mybb_users
        minecraftname-field: username
        rank-field: usergroup
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: mybb
        mybb:
            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: 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'
        default:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        freeworld:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        pvpworld:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        world:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: Register to Play - www.RubiksCraft.com
            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: '8'
        ban-message: You are banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    
    Heres the server.log cutout for the OKB3 Portion of the startup
    Code:
    2011-07-10 13:22:22 [INFO] [OKB3] Attempting to enable OKB3 v1.3.1 by Kalman Olah...
    2011-07-10 13:22:22 [INFO] [OKB3] Successfully hooked into GroupManager.
    2011-07-10 13:22:22 [INFO] [OKB3] Attempting to create configuration file...
    2011-07-10 13:22:23 [INFO] [OKB3] Configuration file successfully created.
    2011-07-10 13:22:23 [INFO] [OKB3] Attempting to load PlayerList file...
    2011-07-10 13:22:23 [INFO] [OKB3] PlayerList file successfully loaded.
    2011-07-10 13:22:23 [INFO] [OKB3-MYSQL] Initializing MySQL connection...
    2011-07-10 13:22:25 [SEVERE] [OKB3-MYSQL] SQLException! Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-07-10 13:22:25 [INFO] [OKB3-MYSQL] MySQL connection successful.
    2011-07-10 13:22:25 [INFO] [OKB3] OKB3 v1.3.1 enabled successfully.
    
    my mysql user and pass is correct, same details as my old working config.. I just think its because of the new arrangement of the config that i'm not familiar with.

    EDIT2: Oh and the reason why I chose type1 is because I didn't think that the passgen thing or w/e is needed for old-school mode. That's why I dont have the other sections filled out. Hopefully you can find the problem im puzzled D:
     
  4. Offline

    Kalman Olah

  5. Offline

    bocaj812

    I've generated 3 new yml's and filled them in, but it still says no promotion tracks found

    Code:
    mode: old-school
    mysql-connection-info:
        mysql-host: ***
        mysql-user: ***
        mysql-password:***
        mysql-database-name: ***
    old-school-mode:
        usertable: users
        minecraftname-field: username
        rank-field: rank
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: phpbb
        type1:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        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: 'false'
        default:
            groups:
                '1': High_King
                '2': Kings
                '3': Dukes
                '4': Knights
                '5': Architects
                '6': Nobles
                '7': Commoners
                '8': Nomads
                '9': Fugitives
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'false'
            kick-message: Please visit http://jmcs.tk/ to play on this server.
            groups:
                '1': 'true'
                '2': 'true'
                '3': 'true'
                '4': 'true'
                '5': 'true'
                '6': 'true'
                '7': 'true'
                '8': 'true'
                '9': 'true'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '10'
        unbanned-forum-user-rank-id: '9'
        ban-message: You have been banished! Go to the forum to plead your case!
    promotion-tracks:
        '1': '9'
        '2': '8'
        '3': '7'
        '4': '6'
        '5': '5'
        '6': '4'
        '7': '3'
        '8': '2'
     
  6. Offline

    Kalman Olah

    Nah, the promotion track is bugged, fixing it now. Sorry.
     
  7. Offline

    bocaj812

    Ok, I thought I was going insane!
     
  8. Offline

    Kalman Olah

    Updated to v2.2.1
    Version 2.2.1
    • Fixed the promotion/demotion track.
    Use it in this format:
    Code:
    # 'number 1-x, HAS TO START WITH 1)': 'RANKID'
    #The lowest rank should be the '1': 'rankid'
    #Work your way down
        '1': 'SLAVE'S RANK ID'
        '2': 'PEASANT'S RANK ID'
        '3': 'VILLAGER'S RANK ID'
        '4': 'KNIGHT'S RANK ID'
        '5': 'MAYOR'S RANK ID'
    etc...
    example: I have 3 groups mapped in world-groups in config.yml (Admin, Moderator, Default)
    Code:
    '1': '3' ('FIRST': 'DEFAULT RANK ID')
    '2': '2' ('SECOND': 'MODERATOR RANK ID')
    '3': '1' ('THIRD': 'ADMIN RANK ID')
     
  9. Offline

    bocaj812

    So should I invert my sql ranks?

    Edit: Nevermind, just saw that
     
  10. Offline

    Kalman Olah

    Fuck no, just use
    Code:
    promotion-tracks:
        '1': '9'
        '2': '8'
        '3': '7'
        '4': '6'
        '5': '5'
        '6': '4'
        '7': '3'
        '8': '2'
    It should work now :)

    EDIT: You can't promote/demote a player whose current rank isn't in the track. Just saying. It'll say "promotion track not found'
     
  11. Offline

    bocaj812

    AWESOME!!!! THANKS!
     
  12. Offline

    Kalman Olah

    Np man, sorry about the issues :p
     
  13. Offline

    bocaj812

    no worries

    What does the 'f' stand for in the commands?

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

    Kalman Olah

    Short for forum, I suppose...
    I didn't want to be a dick and use /promote & /demote & /ban & /unban since some plugins already use those.
    EDIT: /fsync and /fsyncall are short for Force sync and Force sync all
     
  15. Offline

    bocaj812

    I didn't know they did, wellI knew the native /ban /unban but thats minecraft itself. Thats cool I suppose
     
  16. Offline

    transient

    Since there's a promotion track, I'm curious...is it possible to have a command to change a player's Permissions group and forum group through a BBB command?

    EDIT: Command such as /bbb forcegroup <groupname>

    The reason being is my server has multiple kingdoms each with their own ranks, so I couldn't really use a promotion track until after they're in the kingdom's track.

    I love this plugin BTW!
     
  17. Offline

    Kalman Olah

    It's not possible yet, but I'll consider adding it.
     
  18. Offline

    bocaj812

    I like that idea very much too, but not so much the syntax, maybe /fgroup <username> <rank/group>
     
  19. Offline

    Kalman Olah

    It'll be /fgroup <username> <world> <group> if you have multiworld groups on, /fgroup <username> <group> if you don't. Give me a few days though... I pretty much spent most of my day today updating Bulletin Board Bridge :p.
     
  20. Offline

    bocaj812

    oh yeah no rush at all, okb3 is doing all I need it to do right now, I'm gonna try out realmrestrict too. wait how will that work with world? wouldn't you need another cell or two on the table? so confusing.
     
  21. Offline

    Kalman Olah

    RealmRestrict basically lets you restrict world access using permissions. Think about it this way: Don't have the permissions node to get into world "TestWorld1"? -> You get an error message and you can't teleport/portal in there, not even using commands. It also lets you ban players from specific worlds, even if they have the permissions node. Check the RealmRestrict thread for more information.
    (To answer your question, RealmRestrict doesn't do anything with forum groups. It does stuff using Permissions. But since OKB3 updates permissions groups on teleport, it works well with RealmRestrict)
     
  22. Offline

    bocaj812

    gotcha thanks
     
  23. Offline

    transient

    Woohoo thanks. I just noticed all the commands changed with the update as well as going to yml...I haven't been a very good server admin lately
     
  24. Offline

    Chrisspitz

    Got the new config working properly and now ranks aren't being assigned again when a new player joins.

    Heres the server.log (the starting portion of OKB3 everything started successfully)
    Code:
    2011-07-10 21:34:50 [SEVERE] Could not pass event PLAYER_JOIN to OKB3
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
        at me.kalmanolah.okb3.OKmain.changeGroup(OKmain.java:249)
        at me.kalmanolah.okb3.OKPlayerListener.onPlayerJoin(OKPlayerListener.java:194)
        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:74)
        at net.minecraft.server.Packet1Login.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
        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)
    2011-07-10 21:34:50 [INFO] [MultiInv] Shared worlds loaded with no errors
    2011-07-10 21:34:50 [SEVERE] Could not pass event PLAYER_TELEPORT to OKB3
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
        at me.kalmanolah.okb3.OKmain.changeGroup(OKmain.java:249)
        at me.kalmanolah.okb3.OKPlayerListener.onPlayerTeleport(OKPlayerListener.java:52)
        at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:293)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:388)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:98)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
        at net.minecraft.server.Packet1Login.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
        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)
    
    and heres my new config.yml

    Code:
    mode: old-school
    mysql-connection-info:
        mysql-host: 173.193.4.135
        mysql-user: rubikscr_admin2
        mysql-password: astr0bing0isgreat
        mysql-database-name: rubikscr_forum
    old-school-mode:
        usertable: mybb_users
        minecraftname-field: username
        rank-field: usergroup
        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: 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'
        default:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        freeworld:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        pvpworld:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
        world:
            groups:
                '4': Admin
                '8': TeamAqua
                '9': TeamMagma
                '6': Moderator
                '10': Donater
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: Register to Play - www.RubiksCraft.com
            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: '8'
        ban-message: You are banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    
    EDIT:
    Alright I used my common sense and believe the error was caused because I was still using GroupManager, and I believe I read a reply a week or so ago you said you weren't going to be supporting groupmanager anymore, and in the server.log it spams about permissions so yeah I got rid of GroupManager and set up Permissions and everything seems to be working fine so far.

    I hope i'm correct about this ^ if not oh well I guess lol ill let you know if I have any more trouble thanks.
     
  25. Offline

    Kalman Olah

    Yup, Bulletin Board Bridge only supports Permissions 3.x.x now.
    EDIT: Bulletin Board Bridge is supposed to disable itself if Permissions is not present, but you were using GroupManagerBridge too I guess, which pretends it's Permissions =/.

    Version 2.3.0
    • Added the /frank <name> <rank> command. This command allows you to change a user's forum rank. Permissions node: bbb.rank
    • New config.yml values for the /frank command: 'forum-ranks'. These must be filled in in the format 'RankName': 'Rank ID' in order for you to be able to change a player's rank. If these rank IDs are also mapped in 'world-groups', the player whose rank you are changing will have his rank updated too.
    Example:
    Code:
    forum-ranks:
        'Admin': '1'
        'Registered': '0'
        'Moderator': '2'
    You can now use /frank <player> Admin/Registered/Moderator.
    (If the rank IDs are also mapped to permissions groups in world-groups in config.yml the player whose rank you're changing will also have his ranks synced on the spot.

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

    Donny

    No success. Still just says "rank updated successfully". Shouldn't one of the fields (group_id, user_rank) make it throw an error, as one of them is wrong? I have verified that ranks aren't updating at all anymore

    Edit: Um, wait a minute. This does work with permissionsSQL right? What I don't get is it was working fine and I didn't change anything, and it just stops working.
    Also I changed back "User_rank" as we use groups
     
  27. Offline

    Kalman Olah

    Did you try running it in flatfile permissions mode, to tell if that's the issue or not? I've only tested with flatfile.

    I am currently testing your exact configuration (same database structure, phpbb, old-school mode). I'll let you know what happens.

    Not having any issues here =/.
    OKB3 v2.3.0
    CraftBukkit #953
    Permissions 3.1.6(FlatFile mode, not using globalGroups.yml, each world has its own groups.yml)
    HeroChat 4.x.x(To show prefixes)
    My old-school config.yml:
    Code:
    mode: old-school
    mysql-connection-info:
        mysql-host: localhost
        mysql-user: root
        mysql-password: password
        mysql-database-name: phpbb
    old-school-mode:
        usertable: phpbb_users
        minecraftname-field: pf_mine_user
        rank-field: group_id
        enable-multiple-tables: 'true'
        multitable:
            secondtable: phpbb_profile_fields_data
            useridfield-in-secondtable: user_id
            useridfield-in-usertable: user_id
    My result:
    [​IMG]

    So yeah...I really don't know what your problem could be =/. Try running Permissions in flatfile mode, make sure all worlds have their own groups.yml which in turn include all of your ranks, just in case(OKB3 can't set "Builder" as a rank if it's not in groups.yml). Double-check your group names in config.yml, make sure multiworldgroups are turned off too...

    EDIT: Do all of the above and post your config.yml again, I'll check every letter to make sure it's filled in right :p.

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

    Donny

    Code:
    mode: old-school
    mysql-connection-info:
        mysql-host: localhost
        mysql-user: **********
        mysql-password: **********
        mysql-database-name: phpbb
    old-school-mode:
        usertable: phpbb_users
        minecraftname-field: pf_mine_user
        rank-field: group_id
        enable-multiple-tables: 'true'
        multitable:
            secondtable: phpbb_profile_fields_data
            useridfield-in-secondtable: user_id
            useridfield-in-usertable: user_id
    normal-mode:
        forum: phpbb
        type1:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        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: 'false'
        default:
            groups:
                '19': Griefer
                '2': Citizen
                '17': Helper
                '16': SemiMod
                '4': Mod
                '15': SemiAdmin
                '14': Admin
                '5': SuperAdmin
                '18': VIP
                '21': Op
                #Helper-VIP
                '22': Helper
                #SemiMod-VIP
                '23': SemiMod
                #Mod-VIP
                '24': Mod
                #SemiAdmin-VIP
                '25': SemiAdmin
                #Admin-VIP
                '26': Admin
                #SuperAdmin-VIP
                '27': SuperAdmin
    #            '24': #Mod-VIP
    #            '25': #SemiAdmin-VIP
    #            '26': #Admin-VIP
    #            '27': #SuperAdmin-VIP
        exampleworld1:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
        exampleworld2:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
    whitelist:
        enable-whitelist: 'false'
        enable-multiworld-whitelist: 'false'
        main-world-name: exampleworld0
        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'
        exampleworld1:
            use-as-blacklist: 'true'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
        exampleworld2:
            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:
        banned-forum-user-rank-id: '19'
        unbanned-forum-user-rank-id: '2'
        ban-message: This is the message a player will see if they get banned.
    
    I got to go in a few. Thanks for all your help. I was going to try to set permissions into flatfile really quickly, but it threw all types of errors as we have donation databases and so on running through permissionsSQL. I'll test this later today and post the results, my config, my permissions (groups and user .yml).
     
  29. Offline

    Kalman Olah

    This looks fine...I'm going to upload a custom .jar for you. If you get any SQL errors while logging in / trying to /sync, post them here.
    You'll have to delete your config.yml first, and let my plugin remake it.
    http://kalmanolah.net/files/OKB3.jar
     
  30. Offline

    transient

    i <3 you!
     
  31. Offline

    Kalman Olah

    Glad you're liking the update :p.

    Currently working on my new plugin, "CheckPoints".
     

Share This Page