[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

    I'm guessing it will.
     
  3. Offline

    Boost

    When I try to use this plugin on my server it loads up fine console info about okb3:

    2011-07-18 16:49:11 [INFO] [OKB3] Attempting to enable OKB3 v2.3.3 by Kalman Olah...
    2011-07-18 16:49:11 [INFO] [OKB3] Initiating auto-update...
    2011-07-18 16:49:11 [INFO] [OKB3] A new version of OKB3, v2.3.4 is available.
    2011-07-18 16:49:11 [INFO] [OKB3] Starting download of OKB3 v2.3.4...
    2011-07-18 16:49:12 [INFO] [OKB3] OKB3-2.3.4-OKB3.zip downloaded to /plugins/OKB3/update/.
    2011-07-18 16:49:12 [INFO] [OKB3] Successfully hooked into permissions plugin.
    2011-07-18 16:49:12 [INFO] [OKB3] Attempting to load configuration file...
    2011-07-18 16:49:12 [INFO] [OKB3] Configuration file successfully loaded.
    2011-07-18 16:49:12 [INFO] [OKB3] Attempting to load PlayerList file...
    2011-07-18 16:49:12 [INFO] [OKB3] PlayerList file successfully loaded.
    2011-07-18 16:49:12 [INFO] [OKB3] Attempting to load BanList file...
    2011-07-18 16:49:12 [INFO] [OKB3] BanList file successfully loaded.
    2011-07-18 16:49:12 [INFO] [OKB3] [DB] Initializing MySQL connection...
    2011-07-18 16:49:13 [INFO] [OKB3] [DB] MySQL connection successful.
    2011-07-18 16:49:13 [INFO] [OKB3] OKB3 v2.3.3 enabled successfully.

    everything goes fine until I try to use some commands /bbb

    gives these errors:

    org.bukkit.command.CommandException: Unhandled exception executing command 'bbb' in plugin OKB3 v2.3.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    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)
    Caused by: java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
    at me.kalmanolah.okb3.OKmain.CheckPermission(OKmain.java:347)
    at me.kalmanolah.okb3.OKCmd.onCommand(OKCmd.java:41)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    and prints internal error to chat so it might have something to do with permissions. (/reload crashed the server)

    what can I do?
     
  4. Offline

    Kalman Olah

    Post your config.yml and CraftBukkit version.
     
  5. Offline

    Chrisspitz

    Updated to 2.3.4 and still have these mega lag spikes when someone connects, fixed by removing OKB3
    :'(
     
  6. Offline

    Kalman Olah

    Myeah, wasn't able to focus on that since I've got someone over atm. Will be looked into tomorrow, along with this RB1000 stuff.
     
  7. Offline

    Chrisspitz

    Alright :p I just saw "Performance fixes" and thought it may have been pertaining to my problems lol.
    Thanks
     
  8. Offline

    Dec64

    Sorry if this has been asked before, but installing via new method, with a xenforo forum, and im stuck at filling out the "type 3" section in the config. "password-field", i cant not find that in my mysql database under xf_user, nor can i see it anywhere else, does anyone know what the password field in xenforo database is called and where it is?

    Thanks.
     
  9. Offline

    Kalman Olah

    The password field is called "data", it's in the table "xf_user_authenticate", which you should also be filling in in type3.
     
  10. Offline

    Dec64

    Right, so now im totally lost then? i have atm

    Your saying that user table should be "xf_user_authenticate" ?
     
  11. Offline

    ryguy222

    I am using permissionsEX.jar I will try the latest version and see what happens.
     
  12. Offline

    Kalman Olah

    Code:
    type3:
    usertable: xf_user
    rank-field: user_group_id
    username-field: username
    password-field: data
    secondtable: xf_user_authenticate
    useridfield-in-usertable: user_id
    useridfield-in-secondtable: user_id
     
  13. Offline

    CheeseKeg

    Here's an exception that I've been getting since CraftBukkit 953 when players login:

    It doesn't appear to be obstructing the usage of OKB3 v2.3.4 in any way, but I just thought that I'd report it.

    If you'd like any additional information in order to help troubleshoot this, just let me know!

    Thank you,
    - Brandon.
     
  14. Offline

    Boost

    Here is version and config.yml.
    Console prints this as the version when it starts:
    [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    (updated to 1000 no difference)
    and config.yml here (censored out some stuff):
    mode: normal
    mysql-connection-info:
    mysql-host: boostsminecraftserver.com
    mysql-user: ************
    mysql-password: **************
    mysql-database-name: boostsmi_SMF
    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: smf
    type1:
    usertable: smf_members
    username-field: member_name
    userpassword-field: passwd
    rank-field: id_group
    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': Default
    '2': Builder
    '3': AdvBuilder
    '4': VIP
    '5': Moderator
    '6': Admins
    '7': SuperAdmin
    '8': Owner
    exampleworld1:
    groups:
    '1': ExampleGroup1
    '2': ExampleGroup2
    exampleworld2:
    groups:
    '1': ExampleGroup1
    '2': ExampleGroup2
    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: 'false'
    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': '1'
    '2': '2'
    '3': '3'
    '4': '4'
    '5': '5'
    '6': '6'
    forum-ranks:
    '1': '8'
    '2': '7'
    '13': '6'
    '12': '5'
    '11': '4'
    '10': '3'
    '9': '2'
    '0': '1'
     
  15. Offline

    Kalman Olah

    What Permissions version are you using?

    Your whitelist doesn't seem to be set up correctly. Could you post your config.yml?

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

    Deadlystrike

    im upgrading from 2.1.3 you told me i need to rebuild my cfg file do i also need to reupload webfiles?
     
  17. Offline

    Kalman Olah

    Can't remember. Do it anyway :p
     
  18. Offline

    Boost

    I'm using multiplays hosting service and it has this strange permissions: Permissions (v3.0a+MP)(if that's the problem I could try to ask support to put some other version avaible)
     
  19. Offline

    Kalman Olah

    This plugin has been tested and known to work with PermissionsEx and Permissions 3.1.5 & 3.1.6. Just saying.
    According to your error, your issue has something to do with Permissions:
     
  20. Offline

    Boost

    actually this is almost same as when you have multiple worlds and permissions try to get your rank. There is a fix for this /reload and then /pr -reload all. This might even fix this problem but it seems that okb3 doesn't like reloading.
     
  21. Offline

    Donny

    *cough* multiple groups.


    Guessing no response from the permissions folk about SQL?
     
  22. Offline

    Kalman Olah

    Nothing yet. Now that you remind me of it, I should probably bump the thread too.

    Version 2.4.0
    • Bulletin Board Bridge now stores player data in an SQLite Database. The same goes for bans. This should hopefully help with the performance issues some users have been experiencing.
    • The /fban, /funban and /bbb reload commands are now usable from the console... Because unbanning myself after testing the /fban command is a little hard when it's stored in a SQLite db...
    I'll look into threading if the performance issues still aren't solved. Please provide feedback if OKB3 is causing server lag.

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

    SpeakingCactus

    Well i don't even know what is MySQL :/
    So i can't complete that.
    I don't know what is usertable, or where they are stored...
    All that i can tell you is that my forum link is:
    http://cactusworld.xooit.fr/index.php
    I don't know anything else :/
    The IP adress is written in the main page
     
  24. Offline

    Boost

    Now I was able to do reload and permissions reload, but it didn't work. It still gives the same error as above. Any suggestions, anybody?
    here is the error that comes with /sync
    2011-07-19 16:05:58 [WARNING] [OKB3] Error at SQL Query: Communications link failure

    The last packet successfully received from the server was 882,511 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
    2011-07-19 16:05:58 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sync' in plugin OKB3 v2.3.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    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)
    Caused by: java.lang.NullPointerException
    at me.kalmanolah.okb3.OKmain.UpdateNormal(OKmain.java:473)
    at me.kalmanolah.okb3.OKCmd.onCommand(OKCmd.java:97)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    it says communication link failure. So it can't connect to the database, but it could in server start?
     
  25. Offline

    Kalman Olah

    If you don't know what MySQL is, you shouldn't even be trying to set up this plugin.

    What happens when you try to do it from the console, using v2.4.0?
    EDIT: Is Permissions turned on when you try to reload OKB3? Because OKB3 requires Permissions to be present and turned on in order to even work...at all.

    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

    There defiantly is a noticeable difference w/ OKB3 than with out when the server is under pressure.

    Any news about multiple group support?

    When I first started MySQL I read the guides offered by the BigBrother team. Lots of google searches and reading. More recently an admin on my server that is a coder =).

    This plugin is to bridge forum ranks with in game ranks. Do you have a forum? Do you have database access to that forum (would most likely mean its ran off your server)?

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

    Kalman Olah

    I currently don't see how I can add it. It clashes with the promotion/demotion/forum rank change functions of OKB3...
     
  28. Offline

    Boost

    Reloading from server console has same effect. I made local testserver with permissions 3.1.6(or something that was on get plugins section) it also has essentials. I'm experiencing almost same problem here. It just doesn't give internal error on /bbb, but when I try to use /sync it gives internal error and says this "[okb3] error sql query: communications link failure". I'd now bet that there is something wrong with the plugin.
     
  29. Offline

    Kalman Olah

    Nope. Communications link failure points towards my plugin not being able to connect to your MySQL server. Please double-check the MySQL connection information in your config.yml file, and make sure your MySQL user has remote access to your MySQL server. I'd also appreciate if you wouldn't call my plugin broken when it is clearly working for others, and when I've told you it is an issue on your end.

    EDIT: You should also make sure that your Permissions folder contains a groups.yml with all of the groups you have mapped in OKB3's config.yml in all of the world's folders. So plugins/Permissions/<worldname>/groups.yml must exist, with all groups you plan to use with OKB3 inside of it, for all worlds.
     
  30. Offline

    Boost

    Sorry about that, I'm just so frustrated trying to get this working. I used MySQL query browser with details from okb3 config, and guess what of course it gets all the tables and their contents and I'm even able to edit them. What to do now?
     
  31. Offline

    Kalman Olah

    Yeah, but if it says "Mysql Communication Failure" it means that the IP you are trying to connect from doesn't have remote access to the MySQL server. Either that, or a firewall is blocking access. I highly it's a firewall, though. See if you can add remote access for the IP address of your temp server through PHPMyAdmin or cPanel.
     

Share This Page