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

    TheVnChecker

    hey blargh,

    i have a bug for you and an idea to make the plugin better.

    First the bug!
    The Whitelist function doesn't work!

    The Idea:
    Maybe you can add a authentication function for the Server.
    Also i mean:

    Your plugin force player to login with the forumpassword (Username & Password sync).
    After entering the password, they can play on the server.

    Sry for bad english! D=
     
  2. Offline

    blargh

    TheVnChecker Öhm Whitelist worked on local tests. Could you be more precise?

    The idea simply is a login system? yes thats requested alot of time.
     
  3. Offline

    TheVnChecker

    Maybe this errorlog can help you and my config.yml =D

    19:35:54 [INFO] ForumSoftware not Found!
    19:35:54 [SEVERE] Could not pass event PlayerLoginEvent to MCbb
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:459)
    at net.minecraft.server.ServerConfigurationManager.attemptLogin(ServerCo
    nfigurationManager.java:227)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:102)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:94)
    at net.minecraft.server.Packet1Login.handle(SourceFile:68)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:6
    1)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at de.javakara.manf.mcbb.WhitePlayerListener.onPlayerLogin(WhitePlayerLi
    stener.java:24)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:301)
    ... 12 more

    Maybe it's my fault 'cause fail config but maybe you can help me ;D

    Greylist works without error. =D Whitelist doesn't work with error. xD
     

    Attached Files:

    • c.txt
      File size:
      1.9 KB
      Views:
      0
  4. Offline

    blargh

    TheVnChecker could you post your config. I didnt found the Config in the post above.
     
  5. Offline

    TheVnChecker

    Man i had upload it <.< damn bug.
    ok now i upload again. i hope without bug xD

    !Config here!
     

    Attached Files:

    • c.txt
      File size:
      1.9 KB
      Views:
      4
  6. Offline

    blargh

    2 things:

    1. are you sure your Prefix is correct? You just specified nothing.
    2. your type is Greylist? This isnt the Config for whitelist though.
     
  7. Offline

    TheVnChecker

    oh wait. xD Sry fail.

    Here.

    So this is the Whitelist config.
    The Greylist works with this Prefix. But Whitelist not. Must I change something in the database? =o

    Yeah the prefix is "nothing" because in the database it hasn't prefix. =P
     

    Attached Files:

    • c.txt
      File size:
      1.9 KB
      Views:
      5
  8. Offline

    blargh

    Mh. The Version you supplied works fine for me. I used the latest mcbb version and your config with my database it works. Do you have the latest installed?
     
  9. Offline

    TheVnChecker

    i have version 1.11 installed.
     
  10. Offline

    blargh

    Did you try to restart/reload? Use forumtype with ' ' -> 'phpbb'
     
  11. Offline

    TheVnChecker

    I had restart more then 1 time and the forumtype is phpbb =O.

    Maybe i must add a prefix.
     
  12. Offline

    blargh

    bebosny nah. I dont think this is needed very high. But you can use GroupSync and create a group for registered Persons. They can get a 1time fee Kit(this would need a kitPlugin with economy Support)
    Actually i have not enough time to add new Features now. I think of rewriting MCbb. I dont like some solution i used now.

    TheVnChecker yeah. But actually it does not find that Forum dunno why.
     
  13. Offline

    sme4gle

    After a little bit of getting annoyed cuz it didnt work got it working :)
    now using it for my server .. mc.block-smash.com
     
  14. Offline

    TheVnChecker

    So i have add a prefix. Now it find the forumtype:

    2012-05-26 00:53:22 [INFO] [MCbb] Loading Language
    2012-05-26 00:53:22 [INFO] [MCbb] Language loaded
    2012-05-26 00:53:22 [INFO] [MCbb] Language Config Check
    2012-05-26 00:53:22 [INFO] [MCbb] Language Config Check sucessfull
    2012-05-26 00:53:22 [INFO] [MCbb] loaded ->1.11.0.0
    2012-05-26 00:53:22 [INFO] [MCbb] Loading Configs
    2012-05-26 00:53:22 [INFO] [MCbb] Configs loaded
    2012-05-26 00:53:22 [INFO] ForumType: phpbb
    2012-05-26 00:53:22 [INFO] [MCbb] Validating Configs
    2012-05-26 00:53:22 [INFO] [MCbb] Configs validated
    2012-05-26 00:53:22 [INFO] [MCbb] MySql was tested by User Verifikation Anonymous!
    2012-05-26 00:53:22 [INFO] [MCbb] Whitelist aktiviert

    BUT! after joining to the server:

    2012-05-26 00:54:06 [INFO] ForumSoftware not Found!
    2012-05-26 00:54:06 [SEVERE] Could not pass event PlayerLoginEvent to MCbb
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at net.minecraft.server.ServerConfigurationManager.attemptLogin(ServerConfigurationManager.java:227)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:102)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:94)
    at net.minecraft.server.Packet1Login.handle(SourceFile:68)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at de.javakara.manf.mcbb.WhitePlayerListener.onPlayerLogin(WhitePlayerListener.java:24)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 12 more

    the same error.

    Can you give me your Whitelist config? I try it with your working config. ok?
     
  15. Offline

    mcmatyCZ

    please I have downloaded it to my server and I can not log writes me there [MCbb] Nake crap and I do what I signed up my email [email protected]
     
  16. Offline

    blargh

  17. Offline

    Mr_H4mm3r

    Could you please add the economy for posts? :)
     
  18. Offline

    blargh

    I will probably work on MCbb 1.12 .

    Planned Features of 1.12:
    - Login for offline Server -> This is WIP, i just need to add some Security Algorithm for password encryption. Should be ready tomorrow
    - Economy Support for Posts -> Will be quite difficult. May i add a SQLite Database for storage the maximum of posts (If posts get deleted the Person will not get the Gift again, but you need to punish spammers by yourself)

    But not today. Working for presentations.
     
  19. Offline

    BoorMachine

    Can this plugin be used as an automatic-whitelist, so when people register on my forum that they can play on my minecraft server?
     
  20. Offline

    blargh

    BoorMachine Actually its supposed to do this. Just use Whitelist.
     
  21. Offline

    blargh

    Oh damn. Actually Login System could be released. Unfortunately i cant, because ive got no clue how phpbb encrypts passwords. Will try to figure that out. But not for now. Try to add Economy Support now. Well, i cant work on the other Forums, because if i cant even handle phpBB.
     
  22. Offline

    BoorMachine

    Just tried this plugin on my clean test server and i seem to get some errors:
    Code:
    2012-06-11 18:10:03 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R3.0-b2203jnks (MC: 1.2.5) (Implementing API version 1.2.5-R3.0)
    2012-06-11 18:10:03 [INFO] [MCbb] Loading MCbb v1.11.0.0
    2012-06-11 18:10:04 [INFO] [MCbb] Enabling MCbb v1.11.0.0
    2012-06-11 18:10:04 [INFO] [MCbb] Loading Language
    2012-06-11 18:10:04 [INFO] [MCbb] Language loaded
    2012-06-11 18:10:04 [INFO] [MCbb] Language Config Check
    2012-06-11 18:10:04 [INFO] [MCbb] Language Config Check sucessfull
    2012-06-11 18:10:04 [INFO] [MCbb] loaded ->1.11.0.0
    2012-06-11 18:10:04 [INFO] [MCbb] Loading Configs
    2012-06-11 18:10:04 [INFO] [MCbb] Configs loaded
    2012-06-11 18:10:04 [INFO] ForumType: phpbb
    2012-06-11 18:10:04 [INFO] [MCbb] Validating Configs
    2012-06-11 18:10:04 [INFO] [MCbb] Configs validated
    2012-06-11 18:10:04 [INFO] [MCbb] MySql was tested by User Verifikation Anonymous!
    2012-06-11 18:10:04 [INFO] Type is unknown! Disabeling Plugin
    2012-06-11 18:10:04 [INFO] [MCbb] Disabling MCbb v1.11.0.0
    2012-06-11 18:10:04 [INFO] [MCbb] unloaded ->1.11.0.0
    2012-06-11 18:10:04 [SEVERE] Error occurred while enabling MCbb v1.11.0.0 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register de.javakara.manf.mcbb.RegisteredPlayerListener@1ab5dae while not enabled
    at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:486)
    at de.javakara.manf.mcbb.MCbb.addRegisteredListeners(MCbb.java:96)
    at de.javakara.manf.mcbb.MCbb.onEnable(MCbb.java:65)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-06-11 18:10:04 [INFO] Done (1,133s)! For help, type "help" or "?"
    
    Here is my config file:
    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:
      forumtype: phpbb
      verifyuser: BoorMachine
      host: xx.xxx.xx.xxx
      port: 3306
      user: #######
      password: #######
      database: #######_bb2
      prefix: bb_
    general:
      type: Whitelist
      authType: Field
      syncGroups: 'false'
      greylist:
        protection:
          damageEntities: 'true'
          lootItems: 'true'
          dropItems: 'true'
          chat: 'true'
          interact: 'true'
          command: 'true'
    field:
      id: '1'
    economy:
      moneyPerPost: '0'
    
    Any ideas?
     
  23. Offline

    blargh

    BoorMachine I tested your Settings. Works well for me. Actually your Type is wrong
     
  24. Offline

    BoorMachine

    What do you mean with Type?

    blargh When someone logs on the server, I get this error:
    Code:
    2012-06-11 18:26:19 [SEVERE]
    Could not pass event PlayerLoginEvent to MCbb
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
        at net.minecraft.server.ServerConfigurationManager.attemptLogin(ServerConfigurationManager.java:227)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:102)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at de.javakara.manf.mcbb.WhitePlayerListener.onPlayerLogin(WhitePlayerListener.java:24)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
        ... 9 more
    2012-06-11 18:26:19 [INFO] ######### [/###.###.#.##:#####] logged in with entity id 309 at ([world] -402.5, 5.620000004768372, 15.5)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  25. Offline

    blargh

    2012-06-11 18:10:04 [INFO] Type is unknown! Disabeling Plugin
    Actually that means general.type is wrong
     
  26. Offline

    BoorMachine

    Whats wrong with this then?
    Code:
    general:
      type: Whitelist
      authType: Field
      syncGroups: 'false'
      greylist:
        protection:
          damageEntities: 'true'
          lootItems: 'true'
          dropItems: 'true'
          chat: 'true'
          interact: 'true'
          command: 'true'
    
     
  27. Offline

    blargh

    try 'whitelist' not sure there is anything wrong
     
  28. Offline

    BoorMachine

    blargh its still giving me the error 'type unknown' and it disables the plugin.
    Any ideas why?
     
  29. Offline

    blargh

    Did you tried Greylist? is there an error too?
     
  30. Offline

    BoorMachine

    blargh Yeah, on greylist I get the same error.
     

Share This Page