[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

    Yup. Enable the whitelist, and set "use-as-blacklist" to "false". Then whitelist all groups. This will make it so people not registered at all won't be allowed to join :).
     
  3. Offline

    NitrosDragon

    OKB3 is telling me it can't find my permissions plugin, but my other plugins can find it.

    CraftBukkit 1337
    OKB3 v3.1.6
    PermissionsBukkit v1.2k "Krinsdeath's Fix Build"

    bukkit/server.log
    Code:
    2011-10-19 17:28:44 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-19 17:28:44 [INFO] Loading properties
    2011-10-19 17:28:44 [INFO] Starting Minecraft server on *:25565
    2011-10-19 17:28:45 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    <WORLD LOADING OMIT>
    <BananaTweet, Essentials, WorldGuard LOADING OMIT>
    2011-10-19 17:29:05 [INFO] [OKB3] Attempting to enable OKB3 v3.1.6 by Kalman Olah...
    2011-10-19 17:29:05 [INFO] [OKB3] Initiating auto-update...
    2011-10-19 17:29:05 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-19 17:29:05 [INFO] [OKB3] Permissions plugin not found, shutting down...
    2011-10-19 17:29:05 [INFO] [OKB3] Attempting to disable OKB3...
    2011-10-19 17:29:05 [INFO] [OKB3] OKB3 disabled successfully.
    2011-10-19 17:29:05 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - v11 loaded.
    2011-10-19 17:29:05 [INFO] WorldEdit 4.7 enabled.
    2011-10-19 17:29:05 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-10-19 17:29:06 [INFO] [MobDisguise] by desmin88 version 1.63 enabled.
    2011-10-19 17:29:06 [INFO] [mChat] PermissionsBukkit 1.2 found hooking in.
    2011-10-19 17:29:06 [INFO] [mChat] MobDisguise 1.63 found hooking in.
    2011-10-19 17:29:06 [INFO] [mChat] BukkitStats Logging currently Activated. To opt-out check stats.yml.
    2011-10-19 17:29:06 [INFO] [mChat] mChat version 1.8.5_3 is enabled!
    2011-10-19 17:29:06 [INFO] PermissionsBukkit v1.2 is now enabled
    2011-10-19 17:29:06 [INFO] Essentials: Using PermissionsBukkit based permissions.
    2011-10-19 17:29:06 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-19 17:29:06 [INFO] Done (1.863s)! For help, type "help" or "?"
    bukkit/plugins/OKB3/config.yml
    Code:
    general:
    #Will you be running Bulletin Board Bridge in 'normal' mode, or 'secure' mode?
        mode: secure
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'true'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'true'
        enable-anonymous-stat-tracking: 'true'
    modes:
        secure:
    #forum type: options are phpbb, smf, vbulletin, kunena, xenforo, wbb, ipb, mybb, vanilla, #bbpress, custom
            forum: kunena
    #fill this in if you are using kunena or xenforo
            type3:
                user-table: jos_users
                rank-id-field: rank
                username-field: username
                password-field: password
                second-table: jos_kunena_users
                user-id-field-in-user-table: id
                user-id-field-in-second-table: userid
    mysql-connection:
        mysql-host: 67.133.32.44
        mysql-user: <OMIT>
        mysql-password: <OMIT>
        mysql-database-name: joomla
    #Map your rank IDs to groups here. world-specific overwrites default. You NEED atleast 1
    #entry under worlds, even if the world doesn't exist.
    #'FORUMRANKID': PERMISSIONSGROUPNAME
    group-mapping:
        default:
            '1': default
            '2': Explorer
            '3': Settler
            '4': Citizen
            '6': VIP
            '7': Owner
            '8': Admin
            '9': Griefer
            '10': Banned
            '11': Moderator
            '12': Unbanned
        worlds:
            exampleworld1:
                '1': default
                '2': Admin
            world:
                '1': Admin
                '2': default
    extras:
        whitelist:
            kick-message: You have been banned from this server. Contact an administrator for help.
            use-as-blacklist: 'true'
            groups:
                '9': 'true'
                '10': 'true'
        nickname-syncing:
            nickname-field-in-usertable: salt
        synced-banning:
            banned-user-forum-rank-id: '10'
            unbanned-user-forum-rank-id: '12'
            ban-message: You have been banned from this server. Contact an adminstrator for help.
        promotion-track:
            track: 1|2|3|4
        rank-changing:
            identifiers:
                '1': Wanderer
        post-count-rewarding:
            currency-reward-per-post: '0'
            post-count-field-in-user-table: 'like_count'
    
     
  4. Offline

    Kalman Olah

    OKB3 doesn't work with permissionsbukkit without SetRankPB
     
    NitrosDragon likes this.
  5. Offline

    NitrosDragon

    Oops! I missed reading that in the setup. I stopped using OKB3 for a while and now that I've come back to it there are so many great changes.
    Thanks for the quick reply and for making a great plugin!
     
  6. Offline

    microskies

    Hey, i get this error on start-up, don't have time to check if theres already a solution, or to give detailed info, but i will later on once i have got time:

    2011-10-19 15:52:13 [SEVERE] Error occurred while enabling OKB3 v3.1.5 (Is it up to date?): null
    java.lang.NullPointerException
    at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:156)
    at me.kalmanolah.okb3.OKConfig.configCheck(OKConfig.java:33)
    at me.kalmanolah.okb3.OKConfig.<init>(OKConfig.java:18)
    at me.kalmanolah.okb3.OKmain.onEnable(OKmain.java:123)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    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)

    Sorry about being brief :D

    OH, craftbukkit 1317, as I'm sick of updating at the moment. and okb3 3.1.7
     
  7. Offline

    Kalman Olah

    Get 1330+ :)
     
  8. Offline

    microskies

    Thanks, I did that out of neccessityand it worked :D, sorry about being so arrogant in the other post, I'm just converting to PEX from p3 and it's driving me NUTS! XD
     
  9. Offline

    NitrosDragon

    Would it be possible to specify the table used for forum post rewards in the config.yml? The main user table for kunena is actually separate from the one used to identify the joomla user information.
     
  10. Offline

    SupremeCIppy

    Im not sure if i missed something but i think there is a conflict between this and essentials, anyone who is synced on my website dose not show the join notification on my server. I am using secure mode which to my understanding resyncs when that player joins and i think that is what causes it.
     
  11. Offline

    Kalman Olah

    OKB3 saves join messages, then does its checks for whitelist/bans and stuff. If the player is whitelisted and note banned, and doesn't have the bbb.hide permissions node, the saved join message is displayed. This should work fine using all plugins.
    Please make sure your members DON'T have bbb.hide.

    Possible? Sure. But also extremely messy. I'd have to add a whole block dedicated to the location of the one field related to the main table, and I would have to look up the locations of all post counts for supported forums to be able to do proper linking in secure mode.
    It's going to stay like this for now, meaning the post count field is expected to be in the same table as the minecraft name/username.

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

    NitrosDragon

    All right, I can deal with that. At least be aware that the feature is incompatible with Kunena forums in secure mode.
     
  13. Offline

    SupremeCIppy

    ok they likely do, i wasn't expecting that to be a permission part of this, Thanks for the help.
     
  14. Offline

    microskies

    @Kalman Olah

    My server won't run after:
    2011-10-20 12:00:26 [INFO] [OKB3] Configuration file loaded.
    2011-10-20 12:00:26 [INFO] [OKB3] [DB] Initializing MySQL connection...

    and then it just hangs. I tried leaving it for a while, and i even updated, But nothing. I'm sure the database info is correct as well. Any ideas to what's up?
     
  15. Offline

    Kalman Olah

    Your webhost may not allow remote MySQL, or a firewall could be a in place. At any rate, the plugin is unable to connect to your MySQL server at all. This may be due to the server not being online in the first place.
     
  16. Offline

    microskies

    Ergh, brains fried, forget what i said in that post if i saw it. Will try to go onto my forums now, and check the remote DB settings
    Shoulnd;t have been changed though :S

    EDIT: Everythings fine now, I think my webhosts were having some connection troubles.

    @ Kalman Olah I HAVE NOT changed a single thing since it last worked fine. The database is also working fine.
    It works fine until i try to use commands.
    I get this error when i try to use /fsyncall http://pastie.org/2732094 and it is quite annoying. Any Ideas? I even checked back through the config and checked the databsase detaiuls and everythign was fine (apparently)

    EDIT: I am assuming this is to do with 3.1.6 as this was the first time since 3.1.6 i have used any of the commands

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

    Kalman Olah

    The plugin cannot connect to your MySQL database.
    Code:
    2011-10-20 16:13:38 [SEVERE] [OKB3] 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.
    Make sure your MySQL user has remote SELECT & UPDATE permissions, they could've been reset during maintenance.
    Are you SURE the MySQL server is up? Are you SURE your user has remote permissions?
     
  18. Offline

    microskies

    The MySQL user has those permissions, The MySQL server is up because i can access phpmyadmin, i can also access the forums and i added about 5 extra IP's to the remote access list, with wildcards and everything. still with the same error that crashes the server each time. :( I'm getting really frustrated because my server dpends on this plugin :/
     
  19. Offline

    Kalman Olah

    I don't know what you want me to say. My plugin isn't broken. I'm playing on a server using 3.1.6 right now, and /fsyncall is working just fine. What Craftbukkit version are you using, what OKB3 version did you update from, and post your config.yml / startup log just to be sure.
     
  20. Offline

    microskies

    You've got a good point there.
    I;m using 3.1.6 with CB 1337

    Config.yml: http://pastie.org/2732335
    Log: http://pastie.org/2732354 (not so bad this time, plus it came up with the internal error thing in game, rather than a time out and crash)

    Sorry about all this if it is something stupid i missed out...

    EDIT: I updated from 3.1.5

    FORGET EVERYTHING I AM SO SORRY.
    They only decide to notify me now that the server is under a DDoS attack. Which makes no sense, as I am able to access my website and forums.
    Again, I am so sorry for wasting your time.

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

    Kalman Olah

    It's alright. This is exactly why I only use dedicated servers :p.
     
  22. Offline

    Direct1221

    I would like to ask for a few features in the next version.

    Ability to use /frank /fpromote & /fdemote in the console. At our server, we have a special panel built for us, and we would like to remove the commands we had prior to this for promoting and demoting and replace them with this.

    Also, if possible, could you add in the ability to change usertitles in this? If I use Old-School mode (and vBulletin), I ban a user, their usertitle stays as what it was before (lets say they were a Junior Member), they will be banned but have their usertitle still as "Junior Member". This also doesnt change when I promote/demote/change their rank. This would also be nice to have for when you ban someone, an option would be to change their usertitle to what they were banned for. Possible options would be Griefing, Hacking, Flying, Stealing, etc.
     
  23. Offline

    Kalman Olah

    The commands from console thing? Sure, no problem.
    The usertitles are a bit more tricky, though. Some forums set the title automatically, or don't even have a usertitle field at all. It would be impractical for me to add such a feature.
     
  24. Offline

    microskies

    Yeah, I wish I could afford it really. Oh well. Hoepfully donations will start coming in soon enough :D

    I REALLY second this idea. I use Buycraft which uses console commands, and I am using it for VIP automatic promotion on payment. Please consider it :)

    Hmm, Leave comment box open, go for dinner, come back, post message.. Look like a complete plonker XD

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

    Raveinacave

    I cannot get this to work it just says usage /sync when iuse /sync and this is the error i get in the log
    Code:
    2011-10-23 16:11:36 [SEVERE] Error occurred while enabling OKB3 v3.1.6 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration
    java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
    Does this mean ive made an error in the config.yml and if so how can i find it? because i cant see the error
     
  26. Offline

    Kalman Olah

    You need Craftbukkit 1330+. If you don't, go back to 3.1.2.
    http://kalmanolah.net/files/dl.php?id=OKB3&ver=3.1.2
     
  27. Offline

    Raveinacave

    It still does not work??? I have registered on the forum and i am set up to be automatically promoted to owner but it just doesnt work? Any idea as to why this is (and also the log has no errors)
     
  28. Offline

    Kalman Olah

    Post your startup log, permissions plugin/version, config.
     
  29. Offline

    Raveinacave

    Code:
    2011-10-23 19:45:52 [INFO] Starting Minecraft server on *:25565
    2011-10-23 19:45:52 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1112-g54a13b2-b1240jnks (MC: 1.8.1)
    2011-10-23 19:45:52 [INFO] MLog clients using java 1.4+ standard logging.
    2011-10-23 19:45:52 [INFO] Preparing level "world"
    2011-10-23 19:45:52 [INFO] Default game type: 0
    2011-10-23 19:45:52 [INFO] Preparing start region for level 0 (Seed: 6430813551162818389)
    2011-10-23 19:45:53 [INFO] Loaded Essentials build 2.6.2 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    2011-10-23 19:45:53 [INFO] Essentials: Using config based permissions. Enable superperms in config.
    2011-10-23 19:45:53 [INFO] Loaded EssentialsChat build 2.6.2 by: essentials team
    2011-10-23 19:45:53 [INFO] GroupManager - INFO - Superperms support enabled.
    2011-10-23 19:45:53 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-10-23 19:45:53 [INFO] GroupManager version 1.2 (Phoenix) is enabled!
    2011-10-23 19:45:53 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2011-10-23 19:45:54 [INFO] Loaded EssentialsProtect build 2.6.2 by: essentials team
    2011-10-23 19:45:54 [INFO] Loaded EssentialsSpawn build 2.6.2 by: essentials team
    2011-10-23 19:45:54 [INFO] [OKB3] Attempting to enable OKB3 v3.1.2 by Kalman Olah...
    2011-10-23 19:45:54 [INFO] [OKB3] Initiating auto-update...
    2011-10-23 19:45:54 [INFO] [OKB3] A new version of OKB3, v3.1.6 is available.
    2011-10-23 19:45:54 [INFO] [OKB3] You already have the latest version of OKB3 in your /plugins/OKB3/update/ folder.
    2011-10-23 19:45:54 [INFO] Fake Permissions version 3.1.6 is enabled!
    2011-10-23 19:45:54 [INFO] Essentials: Using Permissions 3 based permissions.
    2011-10-23 19:45:54 [SEVERE] Error occurred while enabling OKB3 v3.1.2 (Is it up to date?): null
    java.lang.NullPointerException
        at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:212)
        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:123)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
        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)
    2011-10-23 19:45:54 [INFO] [MultiWorld] Enabling MultiWorld
    2011-10-23 19:45:54 [INFO] [MultiWorld] Permissions system detected!
    2011-10-23 19:45:54 [INFO] Preparing start region for level 1 (Seed: 8226540916940942940)
    2011-10-23 19:45:55 [INFO] [MultiWorld] load complete
    2011-10-23 19:45:55 [INFO] [MultiWorld] v1.7.1 enabled.
    2011-10-23 19:45:55 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-23 19:45:55 [INFO] Done (0.222s)! For help, type "help" or "?"
    2011-10-23 19:45:55 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
    Im using Group Manager i dont know what verion (up to date one for 1240),
    Cb 1240 and the only error says its not up to date and the other just appeared
    this time but i dont know what it is ?????
    This is a link to my config.yml because i dunno whats up with it<Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 27, 2016
  30. Offline

    microskies

    sorry to butt in, but I don't suppose there is an eta for the release where you can use console commands? :)
     
  31. Offline

    Kalman Olah

    Haven't started on it yet.
     
    Last edited by a moderator: Nov 27, 2016

Share This Page