Inactive [WEB/SEC/ADMN] MCbb v.1.12 phpbb/mybb Forum White and Greylist Connection Server<->Forum[1.2.5]

Discussion in 'Inactive/Unsupported Plugins' started by blargh, Jan 4, 2012.

  1. Offline

    polkunus

    We can give you a clean xenforo forum + database you can play around with :D
     
  2. Offline

    TheHandsomePete

    Hello,
    I'm running Bukkit 1.1-R3 and getting this following error, when a player, who is registered, joins the server.

    Code:
    2012-02-03 22:20:12 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to MCbb
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
        at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
        ... 12 more
    Caused by: java.lang.NullPointerException
        at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:10)
        at de.javakara.manf.mcbb.GreyPlayerListener.onPlayerJoin(GreyPlayerListener.java:32)
        ... 17 more
    2012-02-03 22:20:12 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'pf_null' in 'where clause'
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    2012-02-03 22:20:12 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    2012-02-03 22:20:12 [SEVERE]    at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    2012-02-03 22:20:12 [SEVERE]    at de.javakara.manf.boards.phpBB.isCustomFieldRegistered(phpBB.java:143)
    2012-02-03 22:20:12 [SEVERE]    at de.javakara.manf.boards.phpBB.getRegistrationValue(phpBB.java:32)
    2012-02-03 22:20:12 [SEVERE]    at de.javakara.manf.mcbb.RegisteredPlayerListener.onPlayerJoin(RegisteredPlayerListener.java:22)
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2012-02-03 22:20:12 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-02-03 22:20:12 [SEVERE]    at java.lang.reflect.Method.invoke(Method.java:616)
    2012-02-03 22:20:12 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    2012-02-03 22:20:12 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    2012-02-03 22:20:12 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    2012-02-03 22:20:12 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    I use the following plugins: EasyBan, FirstLastSeen, Lockette, MCbb, MyMessages, WorldEdit, WorldGuard, WormholeXTreme.
    And actually Dynmap (+DynmapWorldGuard + DynmapMobs), but I disabled it on my test-server.
     
  3. Offline

    blargh

  4. Offline

    TheHandsomePete

    Code:
    #Minecraft server properties
    #Mon Jan 30 23:50:19 CET 2012
    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=true
    server-port=20000
    level-type=DEFAULT
    enable-rcon=false
    level-seed=
    server-ip=
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    online-mode=false
    pvp=true
    difficulty=1
    server-name=Unknown Server
    gamemode=0
    max-players=10
    spawn-monsters=true
    view-distance=10
    generate-structures=true
    motd=Hasute\!

    With 1.9 I get the same error:

    Code:
    2012-02-04 00:41:31 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to MCbb
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
        at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
        ... 12 more
    Caused by: java.lang.NullPointerException
        at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
        at de.javakara.manf.mcbb.GreyPlayerListener.onPlayerJoin(GreyPlayerListener.java:32)
        ... 17 more
    2012-02-04 00:41:31 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'pf_null' in 'where clause'
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    2012-02-04 00:41:31 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    2012-02-04 00:41:31 [SEVERE]    at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    2012-02-04 00:41:31 [SEVERE]    at de.javakara.manf.boards.phpBB.isCustomFieldRegistered(phpBB.java:143)
    2012-02-04 00:41:31 [SEVERE]    at de.javakara.manf.boards.phpBB.getRegistrationValue(phpBB.java:32)
    2012-02-04 00:41:31 [SEVERE]    at de.javakara.manf.mcbb.RegisteredPlayerListener.onPlayerJoin(RegisteredPlayerListener.java:22)
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2012-02-04 00:41:31 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-02-04 00:41:31 [SEVERE]    at java.lang.reflect.Method.invoke(Method.java:616)
    2012-02-04 00:41:31 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    2012-02-04 00:41:31 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    2012-02-04 00:41:31 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    2012-02-04 00:41:31 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  5. Offline

    blargh

    TheHandsomePete the config of mcbb,of course...

    Okay, then it should be no problem to add XenForo Support.

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

    joasiee

  7. Offline

    KlaasT

    When I want to use the command /mcbb lookup <player> I get a "permission error" even if I am an admin :(

    Edit:

    And I get an exception when a user joins:

     
  8. Offline

    blargh

  9. Offline

    TheHandsomePete

    Oh sorry, I'm so dumb. :D Here's my Mcbb config:

    Code:
    System:
      lang:
        teach: 'Teaching MCbb '
      Validate:
        start: '[MCbb] Validating Configs'
        confSucess: '[MCbb] Configs validated'
        mysql:
          host: localhost
          port: '3306'
          user: root
          password: ********
          database: phpbb3
          prefix: phpbb_
          testedSucess: '[MCbb] MySql was tested by User Verifikation Anonymous!'
      conf:
        loading: '[MCbb] Loading Configs'
        loadSucess: '[MCbb] Configs loaded'
      state:
        seton: '[MCbb] turned on'
        'on': '[MCbb] Plugin is currently activated'
        'off': '[MCbb] Plugin is currently deactivated'
        setoff: '[MCbb] turned off'
      info:
        registerFirst: '[MCbb] First register on the Forum!'
        auth: '[MCBB] Player <player> is authenticated!'
        kick: Server is Reloading; Please register on the Forum!
        whitelist: Not on Whitelist! Register on the Forum;
        newUpdate: '[MCbb] New Update!'
        greyActivated: '[MCbb] Greylist activated'
        whiteActivated: '[MCbb] Whitelist activated'
      error:
        unknownType: Type is unknown! Disabeling Plugin
        noPerm: '&2[MCbb] Permission error!'
      update:
        version: Version
        currversion: 'Current Version: '
        latestversion: 'Latest Version: '
        location: http://exo-network.de/manf/index.php
      misc:
        enabled: '[MCbb] loaded ->'
        disabled: '[MCbb] unloaded ->'
    mysql:
      forumtyp: phpbb
      verifyuser: root
      host: localhost
      port: '3306'
      user: root
      password: ********
      database: phpbb3
      prefix: phpbb_
    general:
      type: Greylist
      authType: Field
      syncGroups: 'false'
      greylist:
        protection:
          damageEntities: 'true'
          lootItems: 'true'
          dropItems: 'true'
          chat: 'true'
          interact: 'true'
          command: 'true'
    field:
      id: '1'
    economy:
      moneyPerPost: '0'

    EDIT: With the version 1.9.1 I get the same error as well.
     
  10. Offline

    blargh

  11. Offline

    TheHandsomePete

    Which value do I have to fill in?
     
  12. Offline

    KlaasT

    My config:

    Code:
    System:
      lang:
        teach: 'Teaching MCbb '
      Validate:
        start: '[MCbb] Validating Configs'
        confSucess: '[MCbb] Configs validated'
        mysql:
          host: '[MCbb] Creating MySQL Host'
          port: '[MCbb] Creating MySQL Port'
          user: '[MCbb] Creating MySQL User'
          password: '[MCbb] Creating MySQL Password'
          database: '[MCbb] Creating MySQL Database'
          prefix: '[MCbb] Creating MySQL Prefix'
          testedSucess: '[MCbb] MySql was tested by User Verifikation Anonymous!'
      conf:
        loading: '[MCbb] Loading Configs'
        loadSucess: '[MCbb] Configs loaded'
      state:
        seton: '[MCbb] turned on'
        'on': '[MCbb] Plugin is currently activated'
        'off': '[MCbb] Plugin is currently deactivated'
        setoff: '[MCbb] turned off'
      info:
        registerFirst: '[MCbb] First register on the Forum!'
        auth: '[MCBB] Player <player> is authenticated!'
        kick: Server is Reloading; Please register on the Forum!
        whitelist: Not on Whitelist! Register on the Forum;
        newUpdate: '[MCbb] New Update!'
        greyActivated: '[MCbb] Greylist activated'
        whiteActivated: '[MCbb] Whitelist activated'
      error:
        unknownType: Type is unknown! Disabeling Plugin
        noPerm: '&2[MCbb] Permission error!'
      update:
        version: Version
        currversion: 'Current Version: '
        latestversion: 'Latest Version: '
        location: http://exo-network.de/manf/index.php
      misc:
        enabled: '[MCbb] loaded ->'
        disabled: '[MCbb] unloaded ->'
    mysql:
      forumtyp: phpbb
      verifyuser: anonymous
      host: 127.0.0.1
      port: '3306'
      user: XXX
      password: XXX
      database: 'XXX'
      prefix: phpbb3_
    general:
      type: Greylist
      authType: Field
      syncGroups: 'false'
      greylist:
        protection:
          damageEntities: 'true'
          lootItems: 'false'
          dropItems: 'false'
          chat: 'true'
          interact: 'true'
          command: 'true'
    field:
      id: 3
    economy:
      moneyPerPost: '0'
    
     
  13. Offline

    blargh

    @KlaaasT mh.. i dont see anything wrong.. mh will think about it.
    if you can post more details it would be good
     
  14. Offline

    KlaasT

    Hm. The exception happens as soon as a user joins the server. On my board I created a profile field with the identifier "minecraft_name" and the shown name "Minecraft-Name" and inside the link I can see it has the database ID "3".

    Currently I'm using phpBB 3.0.9

    What would you need more as information?
     
  15. Offline

    TheHandsomePete

    Can someone tell me what do i have to fill in for field - id and where I can find this value?
     
  16. Offline

    blargh

    TheHandsomePete
    field id is for ppl. who do not want a authentification(who is that user, which loged in now?) by forum name.
    Then you create a Profile field where users enter their account name.
    The id is the number the field has in the database. (mostly in the url when you watching the field.

    KlaasT
    mh. Is that the whole Errorlog? what about your database strukture and other Plugins?
     
  17. Offline

    TheHandsomePete

    Okay, thank you for this explanation. I got it. But changed it in 'Username' - still got some errors.
    When an user joins the server I get this:
    Code:
    17:19:06 [SCHWERWIEGEND] Could not pass event org.bukkit.event.player.PlayerJoinEvent to MCbb
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
            at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:616)
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
            ... 12 more
    Caused by: java.lang.NullPointerException
            at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
            at de.javakara.manf.mcbb.GreyPlayerListener.onPlayerJoin(GreyPlayerListener.java:32)
            ... 17 more
    And when I use "mcbb lookup <username>" in the server-console, i get this:
    Code:
    17:21:16 [WARNUNG] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'mcbb' in plugin MCbb v1.8.0.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
            at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
            at de.javakara.manf.mcbb.MCbbCommands.onCommand(MCbbCommands.java:44)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 7 more
    


    EDIT: Even if the player is registered in the forum with his ingame-username he can't do anything. Only if he is an operator on the server. Then he can chat, build etc.
     
  18. Offline

    FrancoisBerg

    I will make the video asap. :)
     
  19. Offline

    Hacym

    When I start my server it stops here and doesn't do anything else.

    Here is my config file:

    Using MyBB 1.6.5, Bukkit 1.1 and remotely connecting to the database.
     
  20. Offline

    KlaasT

    The database structure is just the default phpBB one. Didn't make any changes on that side. There are no other errors in the server.log.

    Other plugins I'm using:
    - Citizen
    - PermissionsBukkit
    - WeatherSync
    - Spout
    - BedHeal
    - Multiverse
    - iConomy
    - TeslaCoil
    - BetterMechanics
    - Spawnbed
    - Essentials
    - BukkitIRCD
    - Towny
    - Dynmap
    - Chestshop
     
  21. Offline

    blargh

    Hacym i think the server is trying to connect to mysql but it needs to long for it. Maybe it times out?
    KlaasT are you using the latest RB?, If that doesnt help make a rar/zip of your whole Server plugins, your mysql User table and the server.properties, ofc you can remove mysqlPasswords etc and usernames.
     
  22. Offline

    KlaasT

    Yes I've got the latest recommended build.

    When I use Spout and have the 1.9 dev version of MCbb running the following stack trace appears using /mcbb lookup <player>:

    Code:
    2012-02-05 13:23:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mcbb' in plugin MCbb v1.8.0.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
        at de.javakara.manf.mcbb.MCbbCommands.onCommand(MCbbCommands.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 14 more
    
    Without Spout following stacktrace happens:

    Code:
    2012-02-05 13:32:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mcbb' in plugin MCbb v1.8.0.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
        at de.javakara.manf.mcbb.MCbbCommands.onCommand(MCbbCommands.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    
     
  23. Offline

    Hacym

    Any suggested fix for that? Do I have the credentials wrong?

    Is there a way to test the connection?

    Edit: After running my configuration through a php test script, I can say that it is indeed having trouble connecting. Not sure why, I'm pretty sure I have all the information 100% correct. In a browser it just says "Waiting..."

    Any tips?
     
  24. Offline

    blargh

    Hacym yea. There are tools like navicat or something, you install then you can edit database
    there is a test connection possibility either
    KlaasT could you upload your Plugins ordner then? i dont have a idea yet.
     
  25. Offline

    KlaasT

    I just tried removing all plugins except for MCbb. Same error appears. Here is the full log:

    Code:
    2012-02-05 18:39:43 [INFO] [MCbb] Loading MCbb v1.8.0.0.
    2012-02-05 18:39:43 [INFO] [MCbb] Loading Language
    2012-02-05 18:39:44 [INFO] [MCbb] Language loaded
    2012-02-05 18:39:44 [INFO] [MCbb] Language Config Check
    2012-02-05 18:39:44 [INFO] [MCbb] Language Config Check sucessfull
    2012-02-05 18:39:44 [INFO] [MCbb] loaded ->1.9.0.1
    2012-02-05 18:39:44 [INFO] [MCbb] Loading Configs
    2012-02-05 18:39:44 [INFO] [MCbb] Configs loaded
    2012-02-05 18:39:44 [INFO] [MCbb] Validating Configs
    2012-02-05 18:39:44 [INFO] [MCbb] Configs validated
    2012-02-05 18:39:44 [INFO] [MCbb] MySql was tested by User Verifikation Anonymous!
    2012-02-05 18:39:44 [INFO] [MCbb] Greylist activated
    2012-02-05 18:39:44 [INFO] Version
    2012-02-05 18:39:44 [INFO] Current Version: 1.9.0.1
    2012-02-05 18:39:44 [INFO] Latest Version: 1.6.4.0
    2012-02-05 18:39:44 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-02-05 18:39:44 [INFO] Done (1,801s)! For help, type "help" or "?"
    2012-02-05 18:39:56 [INFO] KlaasT [/-:60117] logged in with entity id ??? at ([world] 139.5625, 63.5, 317.21875)
    2012-02-05 18:39:56 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to MCbb
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
            ... 9 more
    Caused by: java.lang.NullPointerException
            at de.javakara.manf.software.ForumSoftware.getSoftwareObject(ForumSoftware.java:11)
            at de.javakara.manf.mcbb.GreyPlayerListener.onPlayerJoin(GreyPlayerListener.java:32)
            ... 14 more
    
    So I don't think it is a conflict between plugins. Now I have moved the user database to a faster MySQL Server (external). Connection via the CLI MySQL client is possible and iConomy works perfectly with the database.
     
  26. Offline

    blargh

    KlaasT Could you export phpbb SQL Table for users and customeProfileFields?, want to test it on local server too.
     
  27. Offline

    aciid

    MANY thanks am testing now :)

    Edit: Possible to use custom database/tables? So that my mybb forum users can register with any username but the plugin checks a custom profile field (minecraft username) to match with the username trying to log in to the server? Thanks and great work so far
     
  28. Offline

    Nick Hooper

    I am having a problem with bpermissions and group sync. Group sync is working but maybe not with bpermissions.

    In bpermissions there is a users.yml and a groups.yml in the directory of bpermissions. Then there is also individual user/group ymls for each world.

    example: /bpermissions/world/users.yml

    When a user joins the server for the first time they automatically are placed as the 'default' group in the individual world file "/bpermissions/world/users.yml" by permissions. When they register, group sync places them as 'member' in the file "/bpermissions/users.yml" which doesn't do anything because the individual users.yml overrides the "/bpermissons/users.yml".

    (/bpermissions/users.yml)
    Code:
    player:
    permissions: []
    groups:
    - member
    (/bpermissions/world/users.yml)
    Code:
    player:
    permissions: []
    groups:
    - default
    If i delete (/bpermissions/world/users.yml) then permissions uses (/bpermissions/users.yml). Which means in order for players to be synced with the forums i have to keep deleting that file everytime a new player joins...

    I am doing something incorrect?
     
  29. Offline

    blargh

    aciid this is acactly the function of field..

    Nick Hooper öhm. Will have a look i personally use pex, will look how vault helps.
     
  30. Offline

    Nick Hooper

    I tried out PEX and group sync works but i cannot login receiving this error. What does this mean?
    Code:
    [MCBB] Permissions error!


    EDIT: I figured it out, i forgot to add the join permissions...
     

Share This Page