[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

    bocaj812

    I think your host went down, or your domain expired :( I can't download the zip, and when i visit your website, I says

    This domain is parked free, courtesy of Dynadot.com
    $9.75 domains, $2.00 privacy, $1.00 hosting, $15.99 ssl certs

    Do you have this up on github?​
     
  3. Offline

    Kalman Olah

  4. Offline

    bocaj812

    Thanks!

    Hey, how do we link to the location of the passgen.php if we are using a custom cms?

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

    Kalman Olah

    *cough*...
    Updated to v2.0.1:
    Minor bugfixed

    You use the 'forum' value 'custom' and fill in type4

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

    bocaj812

    I can't get the config file to generate anymore, all it outputs is a blank file.
    and the the users.yml is no where to be found :/

    14:18:48 [SEVERE] Error occurred while enabling OKB3 v2.0.1 (Is it up to date?): Unresolved compilation problems:
    The method write(String, Object) in the type OKConfig is not applicable for the arguments (String)
    The method write(String, Object) in the type OKConfig is not applicable for the arguments (String)

    java.lang.Error: Unresolved compilation problems:
    The method write(String, Object) in the type OKConfig is not applicable for the arguments (String)
    The method write(String, Object) in the type OKConfig is not applicable for the arguments (String)

    at net.genericgaming.kalmanolah.okb3.OKConfig.addDefaults(OKConfig.java:118)
    at net.genericgaming.kalmanolah.okb3.OKConfig.configCheck(OKConfig.java:26)
    at net.genericgaming.kalmanolah.okb3.OKmain.onEnable(OKmain.java:102)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    minor bug?

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

    Kalman Olah

    Reuploaded. My bad. As I said...There will be bugs, as I didn't really test it.
     
  8. Offline

    bocaj812

    totally understand
     
  9. Offline

    Kalman Olah

    Heading to bed now. If there are any bugs, please post a console log and config.yml, and I'll fix it first thing in the morning.
     
  10. Offline

    NeatMonster

    Great update but it doesn't support multigroup?
     
  11. Offline

    bocaj812

    Working great, like the new ban feature, also got the whitelist working :) thanks for explaining that.

    My only two request would be that when your banned, if you try to log back on, you get the banned message instead of the whitelisting message, and promotion and demotion via command, /bbb change [username] [rank]

    Other than that, I think its great!
    Thank you for your time and effort!

    I'm getting this error now

    [SEVERE] Could not pass event PLAYER_TELEPORT to OKB3
    java.lang.NullPointerException
    at net.genericgaming.kalmanolah.okb3.OKPlayerListener.onPlayerTeleport(OKPlayerListener.java:150)
    at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:293)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:373)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:342)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    This only started happening after I enabled multi-world. Then I disabled it, reset the configs, and it's still doing this...
    Not sure what it is

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

    Kalman Olah

    Post your config.yml. Make sure your GLOBAL is filled in, as well as your other worlds.
    Note: If you're using multiworld whitelisting, all worlds MUST be filled in under global. GLOBAL MUST REMAIN.
    EDIT: I meant that you must fill in the global world, and all worlds under that one.

    Updated to v2.0.2.
    • Fixed a bug where the whitelisting message would show up instead of the ban message if a user was banned.

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

    NeatMonster

    Sorry for my useless question, I haven't read the whole topic so I haven't seen your post.

    Suggestion for an other plugin: Link PayPal/AlloPass with iConomy.
     
  14. Offline

    Kalman Olah

    You can only pay with paypal on their own website, using their encrypted connection. I think.

    Updated to v2.0.3
    • Minor bugfixes
    • New config.yml value: If multiworld whitelisting is turned on, fill in 'main-world-name'. Anyone will be able to join this world(if they're allowed to join your server through the global whitelist).

    Updated to v2.0.4

    Version 2.0.4
    • Bugfixes.
    • Players that somehow end up in worlds where they are not whitelisted will now be teleported to the spawn location of the main world set in config.yml. e.g.: A player has access to world2, he logs out, he gets demoted and no longer has access, he logs back in, he gets teleported to world1's spawn.

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

    bocaj812

    Code:text
    1. mode: old-school
    2. mysql-connection-info:
    3. mysql-host: db4free.net:3306
    4. mysql-user: ********
    5. mysql-password: ***********
    6. mysql-database-name: jmcserver
    7. old-school-mode:
    8. usertable: users
    9. minecraftname-field: username
    10. rank-field: rank
    11. enable-multiple-tables: 'false'
    12. multitable:
    13. secondtable: mine_table
    14. useridfield-in-secondtable: user_id_field
    15. useridfield-in-usertable: user_id_field
    16. normal-mode:
    17. forum: custom
    18. type1:
    19. usertable: user_table
    20. username-field: username_field
    21. userpassword-field: user_pass_field
    22. rank-field: rank_field
    23. type2:
    24. usertable: user_table
    25. username-field: username_field
    26. userpassword-field: user_pass_field
    27. rank-field: rank_field
    28. location-of-passgenphp: [URL]http://yoursite.com/passgen.php[/URL]
    29. password-set-in-config-inc-php: 12345pass
    30. type3:
    31. usertable: user_table
    32. rank-field: rank_field
    33. username-field: username_field
    34. password-field: pass_field
    35. secondtable: second_table
    36. useridfield-in-usertable: user_id_field
    37. useridfield-in-secondtable: user_id_field
    38. type4:
    39. usertable: users
    40. username-field: username
    41. password-field: password
    42. rank-field: rank
    43. location-of-passgenphp: [URL]http://jmcs.tk/minecraft/passgen.php[/URL]
    44. password-set-in-config-inc-php: johnnyboy118
    45. world-groups:
    46. enable-multiworld-groups: 'false'
    47. default:
    48. groups:
    49. '1': High_King
    50. '2': Kings
    51. '3': Dukes
    52. '4': Knights
    53. '5': Architects
    54. '6': Nobles
    55. '7': Commoners
    56. '8': Fugitives
    57. '9': Foreigners
    58. '10': Banished
    59. JMCS:
    60. groups:
    61. '1': High_King
    62. '2': Kings
    63. '3': Dukes
    64. '4': Knights
    65. '5': Architects
    66. '6': Nobles
    67. '7': Commoners
    68. '8': Fugitives
    69. '9': Foreigners
    70. '10': Banished
    71. JMCS_skylands:
    72. groups:
    73. '1': High_King
    74. '2': Kings
    75. '3': Dukes
    76. '4': Knights
    77. '5': Architects
    78. '6': Nobles
    79. '7': Commoners
    80. '8': Fugitives
    81. '9': Foreigners
    82. '10': Banished
    83. whitelist:
    84. enable-whitelist: 'true'
    85. enable-multiworld-whitelist: 'true'
    86. global:
    87. use-as-blacklist: 'false'
    88. kick-message: Please visit [URL]http://jmcs.tk/[/URL] to play on this server.
    89. groups:
    90. '1': 'true'
    91. '2': 'true'
    92. '3': 'true'
    93. '4': 'true'
    94. '5': 'true'
    95. '6': 'true'
    96. '7': 'true'
    97. '8': 'true'
    98. JMCS:
    99. use-as-blacklist: 'false'
    100. kick-message: Please visit [URL]http://jmcs.tk/[/URL] to play on this server.
    101. groups:
    102. '1': 'true'
    103. '2': 'true'
    104. '3': 'true'
    105. '4': 'true'
    106. '5': 'true'
    107. '6': 'true'
    108. '7': 'true'
    109. '8': 'true'
    110. JMCS_skylands:
    111. use-as-blacklist: 'false'
    112. kick-message: Please visit [URL]http://jmcs.tk/[/URL] to play on this server.
    113. groups:
    114. '1': 'true'
    115. '2': 'true'
    116. '3': 'true'
    117. '4': 'true'
    118. '5': 'true'
    119. '6': 'true'
    120. '7': 'true'
    121. '8': 'true'
    122. nickname-sync:
    123. enable-nickname-syncing: 'false'
    124. nickname-field-in-usertable: ''
    125. forum-banning:
    126. banned-forum-user-rank-id: '10'
    127. unbanned-forum-user-rank-id: '8'
    128. ban-message: You have been banished! Go to the forum to plead your case!
    129.  





    Currently, the stupid mysql server is down :/

    But anywho, when it was up, and I generated this with 2.0.4, and filled it in, but only single world, I disabled multi-world, and it worked fine, then when I filled in the other stuff and enabled mutliworld, on either world I have the (above) console errors.

    In permissions, The groups.yml is the same for both, I even went ahead and took the world copy out of my storage config.yml and just used a straight up groups.yml in both

    Edit:
    JMCS is the default world, should that not be in there?
     
  16. Offline

    Kalman Olah

    I did some updating while you were offline, delete your config.yml, let OKB3 2.0.4 generate a new one, try it, and post results + config.yml.
    EDIT: Use the "code" or "syntax" bbcode to post your config.yml please
     
  17. Offline

    bocaj812

    this should be the new yml, I logged on here and saw that you updated to 2.0.4 I deleted my old stuff and threw it in there, configured it, all this stuff is from within the past hour

    Well I say I donwloaded the new one, but it still says 2.0.1 in the console


    Done, sorry was in a hurry atm

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

    Kalman Olah

  19. Offline

    bocaj812

    Oh yes that linked worked thank you, although my database is still down atm, so as far as testing it goes... well... i'll get back to you on that
     
  20. Offline

    Kalman Olah

    Fill in your config.yml though, and post it here so I can check it.
     
  21. Offline

    bocaj812

    Only registered 1-8, I'm using old-school mode since it checks on login, I like that, I have the normal mode filled in, in case we decide to switch, so we dont have to do a ton of config. Skylands is an exact copy of the default world as far as permissions and plugins go

    If I dont enable multiworld whitelist, will it just be global? for everyworld?​

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

    Kalman Olah

    Yes. And if you enable multiworld whitelisting, people can be blacklisted/whitelisted on specific worlds and such.
    EDIT: Please note that if you enable multiworld whitelisting and you somehow end up in a world you don't have permission to be in, you will be teleported to the Bukkit spawn location of the main world you fill in in config.yml. I say Bukkit spawn location, and not just spawn location, because the Bukkit spawn location is....weird.
     
  23. Offline

    bocaj812

    Code:text
    1. mode: normal
    2. mysql-connection-info:
    3. mysql-host: db4free.net:3306
    4. mysql-user: ***********
    5. mysql-password: **********
    6. mysql-database-name: jmcserver
    7. old-school-mode:
    8. usertable: users
    9. minecraftname-field: username
    10. rank-field: rank
    11. enable-multiple-tables: 'false'
    12. multitable:
    13. secondtable: mine_table
    14. useridfield-in-secondtable: user_id_field
    15. useridfield-in-usertable: user_id_field
    16. normal-mode:
    17. forum: custom
    18. type1:
    19. usertable: user_table
    20. username-field: username_field
    21. userpassword-field: user_pass_field
    22. rank-field: rank_field
    23. type2:
    24. usertable: user_table
    25. username-field: username_field
    26. userpassword-field: user_pass_field
    27. rank-field: rank_field
    28. location-of-passgenphp: [URL]http://yoursite.com/passgen.php[/URL]
    29. password-set-in-config-inc-php: 12345pass
    30. type3:
    31. usertable: user_table
    32. rank-field: rank_field
    33. username-field: username_field
    34. password-field: pass_field
    35. secondtable: second_table
    36. useridfield-in-usertable: user_id_field
    37. useridfield-in-secondtable: user_id_field
    38. type4:
    39. usertable: users
    40. username-field: username
    41. password-field: password
    42. rank-field: rank
    43. location-of-passgenphp: [URL]http://jmcs.tk/minecraft/passgen.php[/URL]
    44. password-set-in-config-inc-php: ***********
    45. world-groups:
    46. enable-multiworld-groups: 'true'
    47. JMCS:
    48. groups:
    49. '1': High_King
    50. '2': Kings
    51. '3': Dukes
    52. '4': Knights
    53. '5': Architects
    54. '6': Nobles
    55. '7': Commoners
    56. '8': Fugitives
    57. '9': Foreigners
    58. '10': Banished
    59. JMCS_skylands:
    60. groups:
    61. '1': High_King
    62. '2': Kings
    63. '3': Dukes
    64. '4': Knights
    65. '5': Architects
    66. '6': Nobles
    67. '7': Commoners
    68. '8': Fugitives
    69. '9': Foreigners
    70. '10': Banished
    71. whitelist:
    72. enable-whitelist: 'true'
    73. enable-multiworld-whitelist: 'true'
    74. main-world-name: JMCS
    75. global:
    76. use-as-blacklist: 'false'
    77. kick-message: Please visit [URL]http://jmcs.tk/[/URL] to play on this server.
    78. groups:
    79. '1': 'true'
    80. '2': 'false'
    81. JMCS_skylands:
    82. use-as-blacklist: 'false'
    83. kick-message: Please visit [URL]http://jmcs.tk/[/URL] to play on this server.
    84. groups:
    85. '1': 'true'
    86. '2': 'false'
    87. nickname-sync:
    88. enable-nickname-syncing: 'false'
    89. nickname-field-in-usertable: ''
    90. forum-banning:
    91. banned-forum-user-rank-id: '10'
    92. unbanned-forum-user-rank-id: '8'
    93. ban-message: You have been banished! Go to the forum to plead your case!
    94.  


    Is this correct?

    So is it same with groups? if I disable multiworld groups and just fill in Global or Default, It would apply to both worlds?

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

    Kalman Olah

    Yes. You deleted the default from your config.yml though, you should put that back...
     
  25. Offline

    bocaj812

    Code:text
    1. [SEVERE] Could not load 'plugins/OKB3.jar' in folder 'plugins':
    2. while parsing a block mapping
    3. in "<reader>", line 60, column 9:
    4. groups:
    5. ^
    6. expected <block end>, but found BlockMappingStart
    7. in "<reader>", line 62, column 13:
    8. '2': Kings
    9. ^
    10.  
    11. at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    12. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    13. at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    14. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    15. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    16. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    17. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    19. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    20. at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    21. at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    22. at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    23. at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    24. at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    25. at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    26. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    27. at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    28. at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    29. at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    30. at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    31. at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    32. at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    33. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    34. at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    35.  


    Idk what I messed up in my config, line 60 where it says groups:
     
  26. Offline

    Kalman Olah

    You should remember that, if you're not using multiworld groups, you must have the same permissions groups in all worlds, or you'll get errors. Like, you could have more on one world, but the ones listed in config.yml must be in all of them.

    Could you post your current config.yml again, this time in a code or quote tag please? :p

    EDIT: Remove a single space before
    '1': High_King

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

    bocaj812

    NVM fixed it, added back the default, as you said. but I had to remove JMCS_skylands I disabled multiworld, hope it will still work, should default be replaced with global in this case?

    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: db4free.net:3306
        mysql-user: ******
        mysql-password: *****
        mysql-database-name: jmcserver
    old-school-mode:
        usertable: users
        minecraftname-field: username
        rank-field: rank
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: custom
        type1:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: users
            username-field: username
            password-field: password
            rank-field: rank
            location-of-passgenphp: http://jmcs.tk/minecraft/passgen.php
            password-set-in-config-inc-php: *******
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                '1': High_King
                '2': Kings
                '3': Dukes
                '4': Knights
                '5': Architects
                '6': Nobles
                '7': Commoners
                '8': Fugitives
                '9': Foreigners
                '10': Banished
    whitelist:
        enable-whitelist: 'true'
        enable-multiworld-whitelist: 'false'
        main-world-name: JMCS
        global:
            use-as-blacklist: 'false'
            kick-message: Please visit http://jmcs.tk/ to play on this server.
            groups:
                '1': 'true'
                '2': 'false'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        banned-forum-user-rank-id: '10'
        unbanned-forum-user-rank-id: '8'
        ban-message: You have been banished! Go to the forum to plead your case!
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    Kalman Olah

    It's default for the groups, global for the whitelist.
     
  29. Offline

    bocaj812

    whoops! forgot to add the whitelist groups
     
  30. Offline

    Kalman Olah

    Formatting looks good enough, you should fill in the following though:
    Code:
        global:
            use-as-blacklist: 'false'
            kick-message: Please visit http://jmcs.tk/ to play on this server.
            groups:
                '1': 'true'
                '2': 'false'
     
  31. Offline

    bocaj812

    Flawless! thanks!

    Thanks for all your help!

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

Share This Page