Multiple Groups error #11


  • New
  • Defect
Open
Assigned to greatman321
  • _ForgeUser6982638 created this issue Apr 1, 2012

    Config file looks like this:

    general:
      enable-whitelist: 'false'
      enable-nickname-syncing: 'false'
      enable-synced-banning: 'false'
      enable-promotion-track: 'true'
      enable-rank-changing: 'true'
      enable-post-count-rewarding: 'false'
    configuration:
      forum: xenforo
      prefix: xf_
      use-secondary-group: true
    mysql-connection:
      mysql-host: greatman
      mysql-user: greatman
      mysql-password: greatman
      mysql-database-name: greatman
      mysql-port: '1337'
    group-mapping:
      default:
        '1': unregistered
        '26': registered
        '17,25': gold
        '17,18,25': gold
        '17,18': gold
        '20,17': platinum
        '17,20': platinum
        '18,17': gold
        '17,2': gold
        '17,19': gold
        '17,26': gold
        '18,25': silver
        '18,2': silver
        '18,19': silver
        '18,26': silver
        '3': admins
        '4': moderator
        '27': helper
        '29': helpergold
        '7': banned
        '17': gold
        '18': silver
        '19': whitelisted
        '20': platinum
        '25': trusted
      worlds:
        exampleworld1:
          '1': ExampleGroup1
          '2': ExampleGroup2
    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'
          '26': 'true'
          '17,25': 'true'
          '17,25': 'true'
          '17,18': 'true'
          '18,17': 'true'
          '17,2': 'true'
          '17,19': 'true'
          '17,26': 'true'
          '18,25': 'true'
          '18,2': 'true'
          '18,19': 'true'
          '18,26': 'true'
          '20,17': 'true'
          '17,20': 'true'
          '3': 'true'
          '4': 'true'
          '7': 'false'
          '17': 'true'
          '18': 'true'
          '19': 'true'
          '20': 'true'
          '25': 'true'
          '27': 'true'
          '29': 'true'
      nickname-syncing:
        nickname-field-in-usertable: nickname_field_user_table
      synced-banning:
        banned-user-forum-rank-id: '0'
        unbanned-user-forum-rank-id: '0'
        ban-message: This is the message a user will see if they are banned.
      promotion-track:
        track: 7|1|26|19|25|18|17|20|27|29|4|3
      rank-changing:
        identifiers:
          '1': unregistered
          '26': registered
          '3': admins
          '4': moderator
          '27': helper
          '29': helpergold
          '7': banned
          '17': gold
          '18': silver
          '19': whitelisted
          '20': platinum
          '25': trusted
      post-count-rewarding:
        post-count-field-in-user-table: message_count
        currency-reward-per-post: '40'
    

    Error I get with 3.6 is this:

    2012-04-01 23:03:18 [SEVERE] Error occurred while enabling OKB3 v3.6.0 (Is it up to date?)
    java.lang.NumberFormatException: For input string: "17,25"
            at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
            at java.lang.Integer.parseInt(Integer.java:492)
            at java.lang.Integer.parseInt(Integer.java:527)
            at me.kalmanolah.okb3.OKConfig.<init>(OKConfig.java:80)
            at me.kalmanolah.okb3.OKmain.onEnable(OKmain.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    

    It was working fine in 3.5 and all previous versions however in 3.6 the feature of having multiple groups ('17,25') has been removed.
    As the whole forum + crons are depending on those multiple group IDs it would be a serious pain in the butt to change it all.

    Any chance of having multiple groups feature back in OKB3.6 and future again ?

  • _ForgeUser6982638 added the tags New Defect Apr 1, 2012
  • _ForgeUser6982638 posted a comment Apr 2, 2012

    the problem persists in 3.6.2

  • greatman321 posted a comment Apr 2, 2012

    @shadoom23: Go

    Yeah didin't work on it yet.

  • _ForgeUser6835602 posted a comment Apr 3, 2012

    Got the same problem too :/

  • _ForgeUser7543339 posted a comment Apr 3, 2012

    I have a similar problem, would really appreciate if you could look into fixing this.

    Thanks

  • _ForgeUser6982638 posted a comment Aug 29, 2012

    has the development for okb3 renewed been stopped?

    any chance to get this fixed?


To post a comment, please login or register a new account.