[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

    PlanetPros

    Whenever I join the server, I'm VIP and not Admin, although I'm admin in the forum
     
  3. Offline

    maxikg

    It works! Thanks for your great support and this great plugin. :)
     
  4. Offline

    Kalman Olah

    Double check your rank-field, group-mapping and permissions group names. They're all case sensitive and actually have to exist and such.
     
  5. Offline

    iFirez

    Having this problem at the moment:
    Code:
    2011-10-09 12:39:26 [INFO] [OKB3] Attempting to enable OKB3 v3.1.2 by Kalman Olah...
    2011-10-09 12:39:26 [INFO] [OKB3] Initiating auto-update...
    2011-10-09 12:39:26 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-09 12:39:27 [SEVERE] Error occurred while enabling OKB3 v3.1.2 (Is it up to date?): null
    
    I'm using PermissionsEx and this is my OKB3 config:
    Code:
    general:
        mode: normal
        enable-whitelist: 'true'
        enable-nickname-syncing: 'true'
        enable-synced-banning: 'false'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'false'
        enable-anonymous-stat-tracking: 'false'
    modes:
        normal:
            user-table: user_table
            minecraft-login-name-field: mine_user
            rank-id-field: rank_field
            multitable:
                enable-multiple-tables: 'false'
                second-table: mine_table
                user-id-field-in-user-table: user_id_field
                user-id-field-in-second-table: user_id_field
        secure:
            forum: xenforo
            type1:
                user-table: mybb_users
                username-field: username
                password-field: password
                rank-id-field: usergroup
            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
    mysql-connection:
        mysql-host: STUFFHERE
        mysql-user: STUFFHERE
        mysql-password: STUFFHERE
        mysql-database-name: STUFFHERE
    group-mapping:
        default:
            '2': default
            '5': guest
            '6': winner
            '7': builder
            '8': sponsor
            '9': veteran
            '11': penguin
            '10': trusted
            '4': moderator
            '12': moderator
            '3': admin
        worlds:
            exampleworld1:
                '1': default
                '2': admin
    extras:
        nickname-syncing:
            nickname-field-in-usertable: username
    
     
  6. Offline

    Kalman Olah

    I need the full error.
     
  7. Offline

    sethgandy

    Code:
    2011-10-10 00:16:07 [INFO] [OKB3] Attempting to enable OKB3 v3.1.2 by Kalman Olah...
    2011-10-10 00:16:07 [INFO] [OKB3] Initiating auto-update...
    2011-10-10 00:16:07 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-10 00:16:07 [INFO] [PermissionsEx] Superperms support enabled.
    2011-10-10 00:16:07 [INFO] [PermissionsEx] v1.14 enabled
    2011-10-10 00:16:07 [INFO] Essentials: Using PermissionsEx based permissions.
    2011-10-10 00:16:07 [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:130)
    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) 
     
  8. Offline

    Kalman Olah

  9. Could you add a default group for the normal mode so if a user already is in the permissions table and the plugin can't sync the user to the forum because he/she is not registred. Then the plugin sets the user to the default group e.x. Guests.

    Because otherwise if a forum has enabled "Delete Account" then all users have to do is register and delete the account and they will still have their rank on the server, even if the plugin can't sync.
     
  10. Offline

    McEvan

    I want users to sign up on the forum and be auto white listed & when they get banned on the forum or in minecraft they will be banned on both. I have configured the file as much as I can I must be missing something. Users can join with out being registered.

    config.yml:
    Line 13 & 14 I think are not right.

    http://pastie.org/2674481

    User Profilefields:

    http://snpr.cm/GFhb8R.png

    User Groups:

    http://snpr.cm/Q2MZJ4.png


    Note: I do have MYSQL working & i'am use vBulletin.

    Thank you.
     
  11. Offline

    iFirez

    Okay here is the server startup log:
    Code:
    2011-10-10 04:00:03 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-10 04:00:03 [INFO] Loading properties
    2011-10-10 04:00:03 [INFO] Starting Minecraft server on *:25565
    2011-10-10 04:00:03 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1112-g54a13b2-b1240jnks (MC: 1.8.1)
    2011-10-10 04:00:03 [INFO] [PermissionsEx] sql backend registered!
    2011-10-10 04:00:03 [INFO] [PermissionsEx] file backend registered!
    2011-10-10 04:00:03 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-10-10 04:00:04 [INFO] DataSourcePool [TimeShift] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-10-10 04:00:04 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-10-10 04:00:05 [INFO] Entities enhanced[0] subclassed[1]
    2011-10-10 04:00:06 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-10 04:00:06 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-10 04:00:06 [INFO] [PermissionsEx] Initializing file backend
    2011-10-10 04:00:06 [INFO] NullTerrain version 0.3.1 is enabled!
    2011-10-10 04:00:06 [INFO] Preparing level "world"
    2011-10-10 04:00:06 [INFO] Default game type: 0
    2011-10-10 04:00:06 [INFO] Preparing start region for level 0 (Seed: -1744825146322222872)
    2011-10-10 04:00:07 [INFO] Preparing spawn area: 77%
    2011-10-10 04:00:07 [INFO] Preparing start region for level 1 (Seed: 5942151507710677243)
    2011-10-10 04:00:08 [INFO] Preparing spawn area: 40%
    2011-10-10 04:00:09 [INFO] [PermissionsEx] Superperms support enabled.
    2011-10-10 04:00:09 [INFO] [PermissionsEx] v1.14 enabled
    2011-10-10 04:00:09 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:09 [INFO] WorldGuard: Blacklist loaded.
    2011-10-10 04:00:09 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-10-10 04:00:09 [INFO] WorldGuard: Blacklist loaded.
    2011-10-10 04:00:09 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-10-10 04:00:09 [INFO] WorldGuard: 73 regions loaded for 'world'
    2011-10-10 04:00:09 [INFO] WorldGuard: 1 regions loaded for 'world_nether'
    2011-10-10 04:00:09 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    2011-10-10 04:00:09 [INFO] WorldGuard 5.2.2 enabled.
    2011-10-10 04:00:09 [INFO] ItemVoid v1.1 - Loading Configuration!
    2011-10-10 04:00:09 [INFO] ItemVoid v1.1 - Loaded!
    2011-10-10 04:00:10 [INFO] [MobDisguise] by desmin88 version 1.63 enabled.
    2011-10-10 04:00:10 [INFO] NoHunger 1.3: Enabled!
    2011-10-10 04:00:10 [INFO] CommandBook 1.5.2-customized enabled.
    2011-10-10 04:00:10 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2011-10-10 04:00:10 [INFO] CommandBook: 14 banned name(s) loaded.
    2011-10-10 04:00:10 [WARNING] CommandBook: Unknown kit item 'null'
    2011-10-10 04:00:10 [INFO] CommandBook: 8 kit(s) loaded.
    2011-10-10 04:00:10 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:10 [INFO] [Multiverse-Core] - Version 2.0-b227 Enabled - By Rigby and fernferret
    2011-10-10 04:00:10 [SEVERE] [Multiverse-Core] Monster spawning has been DISABLED.
    2011-10-10 04:00:10 [SEVERE] [Multiverse-Core] In order to let Multiverse fully control your worlds:
    2011-10-10 04:00:10 [SEVERE] [Multiverse-Core] Please set 'spawn-monsters=true' in your server.properties file!
    2011-10-10 04:00:10 [INFO] [Multiverse-Core] - Attached to Permissions
    2011-10-10 04:00:10 [INFO] [AllPay] - Version 1.0.3 - using only an item based economy for Multiverse-Core v2.0-b227
    2011-10-10 04:00:10 [INFO] [Multiverse-Core] - Multiverse Config -- Loaded
    2011-10-10 04:00:10 [INFO] [Multiverse-Core] - World Config -- Loaded
    2011-10-10 04:00:10 [INFO] Preparing start region for level 2 (Seed: 8735711583539456389)
    2011-10-10 04:00:11 [INFO] [Multiverse-Core] Loading World & Settings - 'world_skyland' - SKYLANDS
    2011-10-10 04:00:11 [INFO] [Multiverse-Core] Loading World & Settings - 'world_nether' - NETHER
    2011-10-10 04:00:11 [INFO] Preparing start region for level 3 (Seed: 6985460529438308978)
    2011-10-10 04:00:12 [INFO] Preparing spawn area for old_flatland, 52%
    2011-10-10 04:00:12 [INFO] [Multiverse-Core] Loading World & Settings - 'old_flatland' - NORMAL
    2011-10-10 04:00:12 [INFO] Preparing start region for level 4 (Seed: -618396252)
    2011-10-10 04:00:13 [INFO] Preparing spawn area for rpg, 28%
    2011-10-10 04:00:15 [INFO] Preparing spawn area for rpg, 73%
    2011-10-10 04:00:15 [INFO] [Multiverse-Core] Loading World & Settings - 'rpg' - NORMAL
    2011-10-10 04:00:15 [INFO] [Multiverse-Core] Loading World & Settings - 'world' - NORMAL
    2011-10-10 04:00:15 [INFO] Preparing start region for level 5 (Seed: -7606976887625444856)
    2011-10-10 04:00:16 [INFO] [Multiverse-Core] Loading World & Settings - 'flatland' - NORMAL
    2011-10-10 04:00:16 [INFO] Preparing start region for level 6 (Seed: -947672984207429894)
    2011-10-10 04:00:17 [INFO] [Multiverse-Core] Loading World & Settings - 'adventure' - NORMAL & Custom Generator: NullTerrain
    2011-10-10 04:00:17 [INFO] [Multiverse-Core] 7 - World(s) loaded.
    2011-10-10 04:00:17 [INFO] [Modifyworld] Modifyworld enabled!
    2011-10-10 04:00:17 [INFO] [TimeShift] hooked into Permissions.
    2011-10-10 04:00:17 [INFO] TimeShift version 2.0.3 is enabled!
    2011-10-10 04:00:17 [INFO] CraftBookCommon 136-fe0e96e enabled.
    2011-10-10 04:00:17 [INFO] CraftBookCommon: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:17 [INFO] [MultiHome] Version 0.9.7 loaded.
    2011-10-10 04:00:17 [INFO] MCMACOMPAT r15A
    2011-10-10 04:00:17 [INFO] McMyAdmin Compatibility Plugin version r15A started.
    2011-10-10 04:00:17 [INFO] [MYWARP] [MYWARP]: 53 warps loaded
    2011-10-10 04:00:17 [INFO] [MYWARP] Permissions enabled using: PermissionsEx v1.14
    2011-10-10 04:00:17 [WARNING] [MYWARP] Help plugin not detected. Only providing help via /warp help.
    2011-10-10 04:00:17 [INFO] [MYWARP] MyWarp 2.0 enabled
    2011-10-10 04:00:17 [INFO] [MultiVerse-Portals] - Version 2.0-b180 Enabled - By Rigby and fernferret
    2011-10-10 04:00:18 [INFO] [VoxelSniper] Config loaded
    2011-10-10 04:00:18 [INFO] VoxelSniper version 5.019 is enabled! Snipe away.
    2011-10-10 04:00:18 [INFO] CraftBookVehicles 194-2723723 enabled.
    2011-10-10 04:00:18 [INFO] CraftBookVehicles: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:18 [INFO] Whitelist: Trying to load whitelist and settings...
    2011-10-10 04:00:18 [INFO] done.
    2011-10-10 04:00:18 [INFO] Whitelist version 2.7 is enabled!
    2011-10-10 04:00:18 [INFO] HelpPages 1.3 enabled
    2011-10-10 04:00:18 [INFO] Help Pages reloaded.
    2011-10-10 04:00:18 [INFO] HelpPages: PermissionsEx detected
    2011-10-10 04:00:18 [INFO] [OKChat] Attempting to enable OKChat v2.0.2 by Kalman Olah...
    2011-10-10 04:00:18 [INFO] [OKChat] Initiating auto-update...
    2011-10-10 04:00:19 [INFO] [OKChat] A new version of OKChat, v2.1.0 is available.
    2011-10-10 04:00:19 [INFO] [OKChat] You already have the latest version of OKChat in your /plugins/OKChat/update/ folder.
    2011-10-10 04:00:19 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-10-10 04:00:19 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:19 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:19 [INFO] [Multiverse-Core] - Attached to Permissions
    2011-10-10 04:00:19 [INFO] [OKChat] Successfully hooked into Permissions plugin.
    2011-10-10 04:00:19 [INFO] [OKChat] Attempting to load configuration file...
    2011-10-10 04:00:19 [INFO] [OKChat] Loaded 1 chat format style(s).
    2011-10-10 04:00:19 [INFO] [OKChat] Configuration file successfully loaded.
    2011-10-10 04:00:20 [INFO] [OKChat] OKChat v2.0.2 enabled successfully.
    2011-10-10 04:00:20 [INFO] WorldEdit 4.6 enabled.
    2011-10-10 04:00:20 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:20 [INFO] [MultiVerse-Portals]  Found WorldEdit. Using it for selections.
    2011-10-10 04:00:20 [INFO] [Tele++] initializing version [1.3.4]
    2011-10-10 04:00:20 [WARNING] 'Help' not detected. No Help support enabled! Using internal Help
    2011-10-10 04:00:20 [INFO] [Tele++] version [1.3.4] loaded
    2011-10-10 04:00:20 [INFO] [ChunkRegen]ChunkRegen version 1.0 is enabled!
    2011-10-10 04:00:20 [INFO] CraftBookMechanisms 194-2723723 enabled.
    2011-10-10 04:00:20 [INFO] CraftBookMechanisms: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:20 [INFO] 1 cauldron recipe(s) loaded
    2011-10-10 04:00:20 [INFO] CraftBookCircuits 136-fe0e96e enabled.
    2011-10-10 04:00:20 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:20 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:20 [INFO] [MultiVerse-NetherPortals] - Version 2.0-b182 Enabled - By Rigby and fernferret
    2011-10-10 04:00:20 [INFO] [OKB3] Attempting to enable OKB3 v3.1.2 by Kalman Olah...
    2011-10-10 04:00:20 [INFO] [OKB3] Initiating auto-update...
    2011-10-10 04:00:20 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-10 04:00:20 [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:224)
            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-10 04:00:20 [INFO] CommandHelper 3.1.2 enabled
    2011-10-10 04:00:20 [INFO] CommandHelper: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-10-10 04:00:20 [INFO] [CommandHelper]: 7 alias(es) defined.
    2011-10-10 04:00:20 [INFO] [dynmap] Using Permissions 2.7.7 for access control
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 13 shaders.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 56 perspectives.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 6 lightings.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'world'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'world_nether'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'world_skyland'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'old_flatland'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'rpg'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'flatland'.
    2011-10-10 04:00:21 [INFO] [dynmap] Loaded 1 maps of world 'adventure'.
    2011-10-10 04:00:21 [INFO] [dynmap] Dynmap WebServer started on null:80
    2011-10-10 04:00:21 [INFO] [dynmap] version 0.23 is enabled
    2011-10-10 04:00:21 [INFO] WorldBorder version 1.4.3 loading
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] Using square border, knockback of 3.0 blocks, and timer delay of 5.
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] Border-checking timed task started.
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] World "world_skyland" has border radius 6000 at X: 0.0 Z: 0.0
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] World "flatland" has border radius 3000 at X: 0.0 Z: 0.0
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] World "new_flatland" has border radius 3000 at X: 0.0 Z: 0.0
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] World "world" has border radius 6000 at X: 3817.5 Z: 2693.5
    2011-10-10 04:00:21 [INFO] [WorldBorder] [CONFIG] Will use plugin for permissions: Permissions v2.7.7
    2011-10-10 04:00:21 [INFO] For reference, the main world's spawn location is at X: 3925 Y: 69 Z: 2801
    2011-10-10 04:00:21 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-10 04:00:22 [INFO] Done (1.542s)! For help, type "help" or "?"
    
    And this is the bit specifically about OKB3:
    Code:
    2011-10-10 04:00:20 [INFO] [OKB3] Attempting to enable OKB3 v3.1.2 by Kalman Olah...
    2011-10-10 04:00:20 [INFO] [OKB3] Initiating auto-update...
    2011-10-10 04:00:20 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-10 04:00:20 [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:224)
            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)
    

    And my config file again

    Code:
    general:
        mode: normal
        enable-whitelist: 'true'
        enable-nickname-syncing: 'true'
        enable-synced-banning: 'false'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'false'
        enable-anonymous-stat-tracking: 'false'
    modes:
        normal:
            user-table: user_table
            minecraft-login-name-field: mine_user
            rank-id-field: rank_field
            multitable:
                enable-multiple-tables: 'false'
                second-table: mine_table
                user-id-field-in-user-table: user_id_field
                user-id-field-in-second-table: user_id_field
        secure:
            forum: xenforo
            type1:
                user-table: mybb_users
                username-field: username
                password-field: password
                rank-id-field: usergroup
            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
    mysql-connection:
        mysql-host: STUFFHERE
        mysql-user: STUFFHERE
        mysql-password: STUFFHERE
        mysql-database-name: STUFFHERE
    group-mapping:
        default:
            '2': default
            '5': guest
            '6': winner
            '7': builder
            '8': sponsor
            '9': veteran
            '11': penguin
            '10': trusted
            '4': moderator
            '12': moderator
            '3': admin
        worlds:
            exampleworld1:
                '1': default
                '2': admin
    extras:
        nickname-syncing:
            nickname-field-in-usertable: username
    
     
  12. Offline

    Kalman Olah

    Delete your config, let OKB3 remake it, and this time DON'T delete half of it, k?

    You will have to configure OKB3 in normal mode, not secure mode. Also, set "use-as-blacklist" to "false" in the whitelist. If you do these things, you should be able to configure it to kick any unregistered/banned forum users :).

    Version 3.1.3
    • Minor update to permissions check.
    • Added suppresswarnings("deprecation") because the new bukkit configuration API is bad.

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

    MatthewDM

    Just upgraded to 3.1.3 from an antiquated version and, after updating the config file, I am receiving this error:
    Code:
    2011-10-11 19:24:09 [INFO] [OKB3] Attempting to enable OKB3 v3.1.3 by Kalman Olah...
    2011-10-11 19:24:09 [INFO] [OKB3] Initiating auto-update...
    2011-10-11 19:24:09 [INFO] [OKB3] You already have the latest version of OKB3.
    2011-10-11 19:24:09 [SEVERE] Error occurred while enabling OKB3 v3.1.3 (Is it up to date?): null
    java.lang.NullPointerException
    at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:130)
    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: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)
    
    The following is my configuration file for use with IPB 3.1.4 with prefix ipb2_
    Code:
    general:
    #Will you be running Bulletin Board Bridge in 'normal' mode, or 'secure' mode?
        mode: normal
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'false'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'true'
        enable-anonymous-stat-tracking: 'true'
    #If you opted for normal mode, fill this in
    modes:
        normal:
            user-table: ipb2_members
            minecraft-login-name-field: name
            rank-id-field: member_group_id
            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
    #If you opted for secure mode, fill this in
        secure:
    #forum type: options are phpbb, smf, vbulletin, kunena, xenforo, wbb, ipb, mybb, vanilla, #bbpress, custom
            forum: ipb
    #fill this in if you are using smf, vbulletin, wbb, ipb, mybb
            type1:
                user-table: ipb2_members
                username-field: name
                password-field: password
                rank-id-field: member_group_id
    #fill this in if you are using phpbb, bbpress or vanilla
            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
    #fill this in if you are using kunena or xenforo
            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
    #fill this in if you are using a custom encryption
            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: root
        mysql-password: asdasfafasdasdasd
        mysql-database-name: minecraft
    #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.
    group-mapping:
        default:
            '1': Guest
            '2': Guest
            '3': User
            '4': Staff
            '5': Banned
            '7': Donor
            '8': CL
            '9': Restricted
            '10': Builder
        worlds:
            exampleworld1:
                '1': default
                '2': Admin
            world:
                '1': Admin
                '2': default
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'true'
            groups:
                '1': 'true'
                '2': 'false'
        nickname-syncing:
            nickname-field-in-usertable: salt
        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: 2|1|0
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            currency-reward-per-post: '40'
            post-count-field-in-user-table: 'like_count'
    Any assistance would be greatly appreciated.
     
  14. Offline

    sethgandy

    Nevermind, deleted all the files, got 3.1.2 and regen'd the config. Fixed now.
    But did you ever add an "tolower" option?
     
  15. Offline

    Kalman Olah

    Nope, not yet.

    In other news, all latest builds of my plugins are pretty much broken due to problems with the new bukkit configuration API. I strongly suggest you do not update until a new version of craftbukkit is released so I can fix the issues.

    Version 3.1.4
    Now using the improved configuration API. You may notice some whitespace at the top of your config. This is a low-priority issue.

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

    Raycrash

    Do permissions get transferred from the forum to minecraft or from minecraft to the forum ?

    Also this is great plugin, we probably gonna use it =)
     
  17. Offline

    Kalman Olah

    Forum to minecraft. Also shared bans, whitelist, nicknames, post count rewarding. Bunch of stuff. It can be a little difficult to set up though :).
     
  18. Offline

    thernztrom

    @Kalman Olah
    2011-10-12 22:15:47 [SEVERE] Error occurred while enabling OKB3 v3.1.4 (Is it up to date?): null
    java.lang.NullPointerException
    at me.kalmanolah.okb3.OKConfig.readStringList(OKConfig.java:66)
    at me.kalmanolah.okb3.OKConfig.loadkeys(OKConfig.java:219)
    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)

    With the following config (i deleted the old and let it make a new fresh, and transferred the details over, but it still wont work)
    config (open)
    general:
    mode: normal
    enable-whitelist: 'false'
    enable-nickname-syncing: 'false'
    enable-synced-banning: 'false'
    enable-promotion-track: 'true'
    enable-rank-changing: 'true'
    enable-post-count-rewarding: 'true'
    enable-anonymous-stat-tracking: 'true'
    modes:
    normal:
    user-table: smf_members
    minecraft-login-name-field: member_name
    rank-id-field: id_group
    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: smf
    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:
    '1': Owner
    '4': Default
    '11': Smod
    '12': Donator
    '13': Member
    '14': Member
    '15': Admin
    '16': VIP
    '18': Default
    '26': Mod
    '27': PDonator
    worlds:
    world:
    '1': Owner
    '4': Default
    '11': Smod
    '12': Donator
    '13': Member
    '14': Member
    '15': Admin
    '16': VIP
    '18': Default
    '26': Mod
    '27': PDonator
    extras:
    whitelist:
    kick-message: Apply as Member at www.memoryblock.org !
    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: 18|13|16|12|27
    rank-changing:
    identifiers:
    '12': Donator
    '16': VIP
    '13': Member
    '18': Default
    '27': PDonator
    post-count-rewarding:
    post-count-field-in-user-table: posts
    currency-reward-per-post: '10'

    This for true layout:
    Code:
    general:
      mode: normal
      enable-whitelist: 'false'
      enable-nickname-syncing: 'false'
      enable-synced-banning: 'false'
      enable-promotion-track: 'true'
      enable-rank-changing: 'true'
      enable-post-count-rewarding: 'true'
      enable-anonymous-stat-tracking: 'true'
    modes:
      normal:
        user-table: smf_members
        minecraft-login-name-field: member_name
        rank-id-field: id_group
        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: smf
        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:
        '1': Owner
        '4': Default
        '11': Smod
        '12': Donator
        '13': Member
        '14': Member
        '15': Admin
        '16': VIP
        '18': Default
        '26': Mod
        '27': PDonator
      worlds:
        world:
          '1': Owner
          '4': Default
          '11': Smod
          '12': Donator
          '13': Member
          '14': Member
          '15': Admin
          '16': VIP
          '18': Default
          '26': Mod
          '27': PDonator
    extras:
      whitelist:
        kick-message: Apply as Member at www.memoryblock.org !
        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: 18|13|16|12|27
      rank-changing:
        identifiers:
          '12': Donator
          '16': VIP
          '13': Member
          '18': Default
          '27': PDonator
      post-count-rewarding:
        post-count-field-in-user-table: posts
        currency-reward-per-post: '10'
    
     
  19. Offline

    Kalman Olah

    @thernztrom What bukkit build are you on? This will only work for 1330+.
     
  20. Offline

    thernztrom

    @Kalman Olah Im on latest RB.
    "2011-10-12 22:15:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)"
     
  21. Offline

    Kalman Olah

    You need 1330+ for OKB3 3.1.4. If you're on RB 1317, I suggest you stay at OKB3 3.1.2.
    http://kalmanolah.net/files/dl.php?id=OKB3&ver=3.1.2
     
  22. Offline

    thernztrom

    Download for that anyone? xD
     
  23. Offline

    Kalman Olah

  24. Offline

    Waffletastic

    I did everything in the config and on my webpage, but when I try a command such as sync it says the proper use is sync, and nothing happens.

    Scratch that, I got the commands working by updating to 1330, but now I can't sync without the server crashing, with no errors, it just stops responding

    Now it just keeps crashing after a couple seconds
     
  25. Offline

    Raycrash

    Features I don't want can be disabled though ?
    like whitelist/postcount reward.

    And forum registration in mode 2 is that the people register in minecraft right ?
    Man nice thing will look into it as soon as I got some time left over :)

    Oh and the forum names are chosen by the minecraft names right ?
     
  26. Offline

    Kalman Olah

    You can disable all features you don't want.

    No one registers through minecraft. Mode 2 simple requires you to "log in" through minecraft to get your rank, whereas mode 1 fetches it by username.
     
  27. Offline

    Waffletastic

    @Kalmah Olah You, you see my question?
     
  28. Offline

    Salax

    I'm still having a null pointer exception on 3.1.2 with RB 1317.
     
  29. Offline

    Kalman Olah

    Post your config, craftbukkit version, OKB3 version, server startup log. Double check that your MySQL user has remote SELECT, UPDATE permissions.
     
  30. Offline

    McEvan


    I need some help I changed it . Not sure if im doing something wrong here or not. http://pastie.org/2686821

    Error: http://pastie.org/2686835

    Note: I did fill in the MYSQL

    Thank you.
     
  31. Offline

    Waffletastic

    My config and I am using CB build 1330

    general:
    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: '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: ipb
    type1:
    user-table: members
    username-field: name
    password-field: members_pass_hash
    rank-id-field: member_group_id
    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: wafflesipboard.db.8435687.hostedresource.com
    mysql-user: wafflesipboard
    mysql-password: ********
    mysql-database-name: wafflesipboard
    group-mapping:
    default:
    '1': ExampleGroup1
    '2': ExampleGroup2
    worlds:
    NoobWorld:
    '3': Default
    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'
     

Share This Page