[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

    Alienware777

  3. Offline

    Kalman Olah

    Erm, not a clue. Try deleting your config.yml and generating a new one. Make sure you only use spaces and no tabs. Also make sure you don't leave any blank lines or trailing whitespace.

    You should also fill out group-mapping and the secure forum type.
     
  4. Offline

    Alienware777

    Alright I'll do it again. Although what do you mean by the secure forum type? I have forum: vbulletin set, but I'm assuming its something else?
     
  5. Offline

    waxdt

    I disabled bbb.hide and it still lets login messages disapear.
     
  6. Offline

    microskies

    Ignore me if this is an error from my impatience and using okb3 with a dev build of CB even when you clearly said you only update for recommended builds, but just in case this is a common error on server start-up: http://pastebin.com/g0JiWkFh

    using CB 1139 just so you know :D
     
  7. Offline

    Donny

    Incase you wanted to know issues on dev builds
    craftbukkit: v1173
    okb3: v2.5.3
    not sure if this is even changed with 3.0
    Ignore this if its useless.
    Code:
    2011-09-21 21:15:14 [INFO] andthekiller [/151.63.121.154:62186] logged in with entity id 459651 at ([world] 770.2703911845566, 81.0, 183.03580343041023)
    2011-09-21 21:15:14 [SEVERE] Exception in thread "Thread-14225"
    2011-09-21 21:15:14 [SEVERE] java.util.ConcurrentModificationException
    2011-09-21 21:15:14 [SEVERE]     at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:762)
    2011-09-21 21:15:14 [SEVERE]     at java.util.WeakHashMap$KeyIterator.next(WeakHashMap.java:795)
    2011-09-21 21:15:14 [SEVERE]     at com.google.common.collect.ImmutableSet.create(ImmutableSet.java:289)
    2011-09-21 21:15:14 [SEVERE]     at com.google.common.collect.ImmutableSet.copyOfInternal(ImmutableSet.java:239)
    2011-09-21 21:15:14 [SEVERE]     at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:213)
    2011-09-21 21:15:14 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.getPermissionSubscriptions(SimplePluginManager.java:502)
    2011-09-21 21:15:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:765)
    2011-09-21 21:15:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:241)
    2011-09-21 21:15:14 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:157)
    2011-09-21 21:15:14 [SEVERE]     at java.lang.Thread.run(Thread.java:619)
    okb3 version 3.0
    CB: 1185


    Got this
    Code:
    2011-09-21 23:46:43 [INFO] SCIIPAYA [/99.237.226.214:63337] logged in with entity id 32014 at ([world] -442.2086813084803, 64.0, -847.7919312399699)
    2011-09-21 23:46:43 [SEVERE] [OKB3] SQLException! Access denied for user '******'@'localhost' (using password: YES)
    2011-09-21 23:46:43 [SEVERE] Exception in thread "Thread-1958"
    2011-09-21 23:46:43 [SEVERE] java.lang.NullPointerException
    2011-09-21 23:46:43 [SEVERE]     at com.alta189.sqlLibrary.MySQL.DatabaseHandler.sqlQuery(DatabaseHandler.java:69)
    2011-09-21 23:46:43 [SEVERE]     at com.alta189.sqlLibrary.MySQL.mysqlCore.sqlQuery(mysqlCore.java:50)
    2011-09-21 23:46:43 [SEVERE]     at me.kalmanolah.okb3.OKFunctions.getRankNormal(OKFunctions.java:193)
    2011-09-21 23:46:43 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:48)
    2011-09-21 23:46:43 [SEVERE]     at java.lang.Thread.run(Thread.java:619)




    What do these options do?

    enable-anonymous-stat-tracking: 'true'
    enable-rank-changing: 'false'

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

    dwdminecracked

    Are you going to make this plugin compatible with permissionsbukkit/Superperms??


    OMG!! ERASE your INFO! Like The MySQL PASS AND USERNAME! Did you really just post that!?!?!!?!?!?!!??!!??!!?


    mysql-connection:
    mysql-host: ********** <<<--- HERE I alrdy erased it on my reply
    mysql-user: ********** <<<--- HERE I alrdy erased it on my reply
    mysql-password: ********** <<<--- HERE I alrdy erased it on my reply
    mysql-database-name: ********** <<<--- HERE I alrdy erased it on my reply
     
  9. Offline

    Donny

    Reporting their post usually fixes it faster, along with a pm to the user.
    All this does is draw attention to it =l
     
    microskies likes this.
  10. Offline

    waxdt

    yeah thanks for the attention you could just have pm me!
     
    dwdminecracked likes this.
  11. Offline

    Kalman Olah

    OKB3 is already compatible with bukkit's permissions using bPermissions. superperms doesn't have a group changing API, so I can't add support.

    The error is because you didn't fill in your config right. Please post it.
    enable-rank-changing enables the usage of the /frank <name> <rank> command.
    enable-anonymous-stat-tracking adds info about your plugin usage to my server & plugin index, which can be found at http://cubelist.me . To prevent this from leaking private plugins, a plugin has to be used by atleast 2 servers to be displayed. All information gathered is completely anonymous (check the github source), and stat tracking can be turned off by setting it to false. The first stat sync happens 2 minutes after server start, so you CAN apply OKB3 without ever sending any stats.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  12. Offline

    dwdminecracked

    I am srry about that I was just shock and had got home from work, was very sleepy not thinking straight =/
     
  13. Offline

    Donny

    Code:
    general:
        mode: normal
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'false'
        enable-promotion-track: 'false'
        enable-rank-changing: 'false'
        enable-post-count-rewarding: 'false'
        enable-anonymous-stat-tracking: 'true'
    modes:
        normal:
            user-table: phpbb_users
            minecraft-login-name-field: pf_mine_user
            rank-id-field: group_id
            multitable:
                enable-multiple-tables: 'true'
                second-table: phpbb_profile_fields_data
                user-id-field-in-user-table: user_id
                user-id-field-in-second-table: user_id
        secure:
            forum: phpbb
            type1:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
            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
            type3:
                user-table: user_table
                rank-id-field: rank_group_field
                username-field: username_field
                password-field: password_field
                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
            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: *******
        mysql-password: ***************************
        mysql-database-name: phpbb
    group-mapping:
        default:
            '19': Griefer
            '2': Citizen
            '17': Helper
            '16': SemiMod
            '4': Mod
            '15': SemiAdmin
            '14': Admin
            '5': SuperAdmin
            '18': VIP
            '21': God
    #        Helper-VIP
            '22': Helper-VIP
    #        SemiMod-VIP
            '23': SemiMod-VIP
    #        Mod-VIP
            '24': Mod-VIP
    #        SemiAdmin-VIP
            '25': SemiAdmin-VIP
    #        Admin-VIP
            '26': Admin-VIP
    #        SuperAdmin-VIP
            '27': SuperAdmin
    #        '24': #Mod-VIP
    #        '25': #SemiAdmin-VIP
    #        '26': #Admin-VIP
    #        '27': #SuperAdmin-VIP
        worlds:
            exampleworld1:
                '1': ExampleGroup1
                '2': ExampleGroup2
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'false'
            groups:
                '1': 'true'
                '2': 'false'
        nickname-syncing:
            nickname-field-in-usertable: nickname_field_user_table
        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: 6|4|68|123|10
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            post-count-field-in-user-table: post-count-field-user-table
            currency-reward-per-post: '40'
    
     
  14. Offline

    Kalman Olah

    Config looks alright from what I can tell. But the plugin can't connect to your MySQL database.
    Code:
    2011-09-21 23:46:43 [SEVERE] [OKB3] SQLException! Access denied for user '******'@'localhost' (using password: YES)
    EDIT: please keep in mind that the OLD normal mode is now Secure mode.

    Version 3.0.1

    • Added support for new versions of currency plugins using a newer Register API.
    Confirmed to be working on CB 1185

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

    Daiver

    Please, update post "How to fill in your config.yml" with current default config.yml
     
  16. Offline

    darkcloud784

    My error:

    Code:
    2011-09-23 05:16:09 [WARNING] [OKB3] Error at SQL Query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null WHERE null.minecraft = 'DarkCloud784' AND null.null = jos_users.null' at line 1
    2011-09-23 05:16:09 [SEVERE] Exception in thread "Thread-196"
    2011-09-23 05:16:09 [SEVERE] java.lang.NullPointerException
    2011-09-23 05:16:09 [SEVERE]     at me.kalmanolah.okb3.OKFunctions.getRankNormal(OKFunctions.java:194)
    2011-09-23 05:16:09 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:48)
    2011-09-23 05:16:09 [SEVERE]     at java.lang.Thread.run(Thread.java:722)
    My config (keep in mind I am running off a joomla bridge so I use all the joomla ranks/groups)

    Code:
    general:
        mode: normal
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'false'
        enable-promotion-track: 'false'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'true'
        enable-anonymous-stat-tracking: 'true'
    modes:
        normal:
            user-table: jos_users
            minecraft-login-name-field: minecraft
            rank-id-field: usertype
            multitable:
                enable-multiple-tables: 'true'
                secondtable: jos_usermeta
                useridfield-in-secondtable: user_FK
                useridfield-in-usertable: id
        secure:
            forum: phpbb
            type1:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
            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
            type3:
                user-table: user_table
                rank-id-field: rank_group_field
                username-field: username_field
                password-field: password_field
                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
            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: **.**.**.***
        mysql-user: ****
        mysql-password: *****
        mysql-database-name: **_*******
    group-mapping:
        default:
            'Registered': Builder
            'Author': VIP
            'Editor': Moderator
            'Publisher': Moderator
            'Manager': Moderator
            'Administrator': Moderator
            'Super Administrator': Admins
        worlds:
            exampleworld1:
                '1': world
                '2': new_world
                '3': skylands
                '4': world_nether
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'false'
            groups:
                '1': 'true'
                '2': 'false'
        nickname-syncing:
            nickname-field-in-usertable: nickname_field_user_table
        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: 6|4|68|123|10
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            post-count-field-in-user-table: user_posts
            currency-reward-per-post: '40'
    Edit: forgot to add that I'm running off CB 1185
     
  17. Offline

    Donny

    Yeah =) I used to use old-school mdoe

    Sorry that error was a bit confusing. I get this

    Code:
    2011-09-21 23:46:43 [SEVERE] Exception in thread "Thread-1958"
    The sqlexpection was because I changed the database password and reloaded, it needed a restart.
     
  18. Offline

    waxdt

    Can you pleas change pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Priority.Low, this); to a higher priority so it doesnt run after all other plugins.

    Also pleas check if the login message is changed or if the Join Message is the default message and if it it isnt dont change the message or somehow handle the message so that you dont need to null it

    This will fix the problems with mchat i spoke to the developer of mchat and he suggested it.
     
  19. Offline

    fortiiiZ

    Code:
    22:53:48 [INFO] [OKB3] Attempting to enable OKB3 v3.0.1 by Kalman Olah...
    22:53:48 [INFO] [OKB3] Initiating auto-update...
    22:53:48 [INFO] [OKB3] You already have the latest version of OKB3.
    22:53:49 [SCHWERWIEGEND] Error occurred while enabling OKB3 v3.0.1 (Is it up to date?): null
    java.lang.NullPointerException
            at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:207)
            at me.kalmanolah.okb3.OKConfig.configCheck(OKConfig.java:32)
            at me.kalmanolah.okb3.OKConfig.<init>(OKConfig.java:17)
            at me.kalmanolah.okb3.OKmain.onEnable(OKmain.java:108)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    
    hmmmmmmm? :C how I can fix this?
     
  20. Offline

    microskies

  21. Offline

    ExplosiveBacoN



    Well 3.0.0 is being quite the bitch lol


    What is the expected output? What do you see instead?
    The plugin crashes before starting up
    What version of the product are you using?
    3.0.0
    Do you have an error log of what happened?
    2011-09-19 21:38:40 [SEVERE] Error occurred while enabling OKB3 v3.0.0 (Is it up to date?): null
    java.lang.NullPointerException
    at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:207)
    at me.kalmanolah.okb3.OKConfig.configCheck(OKConfig.java:32)
    at me.kalmanolah.okb3.OKConfig.<init>(OKConfig.java:17)
    at me.kalmanolah.okb3.OKmain.onEnable(OKmain.java:108)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Please provide any additional information below.
    general:
    mode: normal
    enable-whitelist: 'true'
    enable-nickname-syncing: 'false'
    enable-synced-banning: 'true'
    enable-promotion-track: 'false'
    enable-rank-changing: 'true'
    enable-post-count-rewarding: 'false'
    enable-anonymous-stat-tracking: 'false'
    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
    secure:
    forum: phpbb
    type1:
    user-table: user_table
    username-field: username_field
    password-field: password_field
    rank-id-field: rank_group_field
    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
    type3:
    user-table: user_table
    rank-id-field: rank_group_field
    username-field: username_field
    password-field: password_field
    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
    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: 74.52.***.***
    mysql-user: bacon_forum
    mysql-password: '********'
    mysql-database-name: bacon_forum
    group-mapping:
    default:
    '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
    extras:
    whitelist:
    kick-message: You are currently not whitelisted. Please visit http://www.ybgames.org for more info.
    use-as-blacklist: 'true'
    groups:
    '7': 'false'
    '2': 'true'
    '9': 'true'
    '11': 'true'
    '12': 'true'
    '13': 'true'
    '14': 'true'
    '16': 'true'
    '17': 'true'
    '3': 'true'
    '8': 'true'
    '4': 'true'
    nickname-syncing:
    nickname-field-in-usertable: nickname_field_user_table
    synced-banning:
    banned-user-forum-rank-id: '7'
    unbanned-user-forum-rank-id: '9'
    ban-message: You are banned from the forums/server.
    promotion-track:
    track: 6|4|68|123|10
    rank-changing:
    identifiers:
    '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'
    post-count-rewarding:
    post-count-field-in-user-table: post-count-field-user-table
    currency-reward-per-post: '40'
     
  22. Offline

    Bios Element

    Pretty sure I've gotten most of the 'tricky' bits down, but it doesn't seem to want to let me login. I 'do' have a space in my forum username but I tried renaming myself and changing the OKB3 'username' field to an id or e-mail and it still didn't work and it doesn't return any errors beyond "Username/password incorrect". Thoughts? And here's my config. (Using Xenforo.)

    Code:
    general:
        mode: secure
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'false'
        enable-promotion-track: 'false'
        enable-rank-changing: 'false'
        enable-post-count-rewarding: 'false'
        enable-anonymous-stat-tracking: 'true'
    modes:
        normal:
            user-table: user_table
            minecraft-login-name-field: minecraft_name
            rank-id-field: rank_group_field
            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
        secure:
            forum: xenforo
            type1:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
            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
            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
            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
    REMOVED SQL PASSWORDS
    
    group-mapping:
        default:
            '1': ExampleGroup1
            '2': ExampleGroup2
        worlds:
            exampleworld1:
                '1': ExampleGroup1
                '2': ExampleGroup2
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'false'
            groups:
                '2': 'true'
                '1': 'false'
        nickname-syncing:
            nickname-field-in-usertable: nickname_field_user_table
        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: 6|4|68|123|10
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            post-count-field-in-user-table: post-count-field-user-table
            currency-reward-per-post: '40'
    
     
  23. Offline

    madmac

    Whelp I will not be using this plugin then, I need superperms =/
     
  24. Offline

    Kalman Olah

    @fortiiiZ Add this to your group-mapping block:
    Code:
        worlds:
            exampleworld1:
                '1': default
                '2': Admin
    @ExplosiveBacoN See above.
    @microskies See above.

    I could raise the priority, but I have to null the join message...Unless you feel like seeing a "xxxxxxx has joined the game" message for any blacklisted/banned player.

    Please post the full error, not just the first line.

    If I missed any bug reports, feel free to point them out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
    fortiiiZ likes this.
  25. Offline

    waxdt

    can you place raise priority then?

    or give me a project file that you use with your IDE

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

    J0k4r

    hello, i just registered, to answer to your Plugin...

    well, i dont knowif it is possible for you, and i even don't know, if this was asked already, but...

    ... can you make this Plugin for Wbb3.1.5? but than it should be calles "burning-board-bridge" :)

    would reaalllyy great, if you make this, only for me [diamond](and all the other servers with wbb;))

    greetz
     
  27. Offline

    Daiver

    When i type in console 'bbb' i've got a error
     
  28. Offline

    darkcloud784

    I think he's getting the same error I do, when people log in this is what I see.
    Code:
    2011-09-23 05:16:09 [WARNING] [OKB3] Error at SQL Query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null WHERE null.minecraft = 'DarkCloud784' AND null.null = jos_users.null' at line 1
    2011-09-23 05:16:09 [SEVERE] Exception in thread "Thread-196"
    2011-09-23 05:16:09 [SEVERE] java.lang.NullPointerException
    2011-09-23 05:16:09 [SEVERE]     at me.kalmanolah.okb3.OKFunctions.getRankNormal(OKFunctions.java:194)
    2011-09-23 05:16:09 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:48)
    2011-09-23 05:16:09 [SEVERE]     at java.lang.Thread.run(Thread.java:722)
    plus when I attempt to use /bbb it just says usage: /bbb (this refers to all OKB3 commands)
     
  29. Offline

    Kalman Olah

    @darkcloud784 I found your error, and it is completely your own fault. You copypasted your normal multitable block from the old config, instead of remaking it. Your config:

    Code:
        normal:
            user-table: jos_users
            minecraft-login-name-field: minecraft
            rank-id-field: usertype
            multitable:
                enable-multiple-tables: 'true'
                secondtable: jos_usermeta
                useridfield-in-secondtable: user_FK
                useridfield-in-usertable: id
    Correct block setup:
    Code:
        normal:
            user-table: jos_users
            minecraft-login-name-field: minecraft
            rank-id-field: usertype
            multitable:
                enable-multiple-tables: 'true'
                second-table: jos_usermeta
                user-id-field-in-user-table: user_FK
                user-id-field-in-second-table: id
    Here's a custom .jar with the priority raised to Highest, just for you. Please tell me if it works :).
    http://kalmanolah.net/uploads/OKB3.jar

    What PEX version are you running?

    No?


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  30. Offline

    darkcloud784


    After making that correction I get this when attempting to /fsyncall
    Code:
    2011-09-24 08:06:59 [WARNING] [OKB3] Error at SQL Query: Unknown column 'jos_usermeta.id' in 'where clause'
    2011-09-24 08:06:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'fsyncall' in plugin OKB3 v3.0.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.kalmanolah.okb3.OKFunctions.getRankNormal(OKFunctions.java:194)
        at me.kalmanolah.okb3.OKFunctions.updateNormal(OKFunctions.java:238)
        at me.kalmanolah.okb3.OKCmd.onCommand(OKCmd.java:225)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 13 more
    
    Edit: I figured it out I had the ID's mixed up in the tables.
     
  31. Offline

    Daiver

    1.14
     

Share This Page