Need help with GroupManager, Mirroring permission on worlds.

Discussion in 'Bukkit Help' started by trusebruse, Sep 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    trusebruse

    I have a problem i have been trying to solve for 2 days. The problem is that when i try to mirror the permissions from the main world to others it comes error messages in the console.
    What i have done:
    Code:
    settings:
      config:
        # With this enabled anyone set as op has full permissions when managing GroupManager
        # The user will be able to promote players to the same group or even above.
        opOverrides: true
       
        # Default setting for 'mantoglevalidate'
        # true will cause GroupManager to attempt name matching by default.
        validate_toggle: true
       
      data:
        save:
          # How often GroupManager will save it's data back to groups and users.yml
          minutes: 10
          # Number of hours to retain backups (plugins/GroupManager/backup)
          hours: 24
         
      logging:
        # level of detail GroupManager will use when logging.
        # Acceptable entries are - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
        level: INFO
       
      mirrors:
            # Worlds listed here have their settings mirrored in their children.
            # The first element 'world' is the main worlds name
            # subsequent elements 'world_nether' and 'world_the_end' are worlds which will use
            # the same user/groups files as the parent.
            # Each child world can be configured to mirror the 'groups', 'users' or both files from it's parent.
            world:
              world_nether:
              - users
              - groups
              world_the_end:
              - users
              - groups
              world2:
              - users
              - groups
              flatworld:
              - users
              - groups
        #  world2:      (World2 would have it's own set of user and groups files)
        #    world3:
        #    - users    (World3 would use the users.yml from world2, but it's own groups.yml)
        #    world4:
        #    - groups  (World4 would use the groups.yml from world2, but it's own users.yml)
        #  world5:
        #    - world6  (this would cause world6 to mirror both files from world5)
    Please help me!
     
  2. Offline

    Widawizz22

    I just copy mine and paste them in the "_THE_END" groups file. Works for me.
     
  3. Offline

    Necrodoom

    what are the errors on the console?
     
  4. Offline

    trusebruse

    Code:
            ... 17 more
    Caused by: while scanning for the next token
    found character        '\t' that cannot start any token
    in "<reader>", line 30, column 17:
                - world2
                        ^
     
  5. Offline

    Necrodoom

    i dont see line 30 in the given config.yml, paste the startup log so i can see on what file it errors exactly.
     
  6. Offline

    trusebruse

    I dont know whats the startup log is but line 30 is the world_nether:
     
  7. Offline

    Necrodoom

    basically, from where you pasted the error, paste the entire part that showed before it.
     
  8. Offline

    trusebruse

    Okey.. Here it is:
    Code:
    18:43:27 [INFO] [GroupManager] Enabling GroupManager v2.0 (2.9.3) (Phoenix)
    18:43:27 [SEVERE] GroupManager - SEVERE - ======================================
    =============
    18:43:27 [SEVERE] GroupManager - SEVERE - = ERROR REPORT START =
    18:43:27 [SEVERE] GroupManager - SEVERE - ======================================
    =============
    18:43:27 [SEVERE] GroupManager - SEVERE - === PLEASE COPY AND PASTE THE ERROR.LO
    G FROM THE ==
    18:43:27 [SEVERE] GroupManager - SEVERE - = GROUPMANAGER FOLDER TO AN ESSENTIALS
      DEVELOPER =
    18:43:27 [SEVERE] GroupManager - SEVERE - ======================================
    =============
    18:43:27 [SEVERE] GroupManager - SEVERE - The following file couldn't pass on Pa
    rser.
    plugins\GroupManager\config.yml
    18:43:27 [SEVERE] GroupManager - SEVERE - ======================================
    =============
    18:43:27 [SEVERE] GroupManager - SEVERE - = ERROR REPORT ENDED =
    18:43:27 [SEVERE] GroupManager - SEVERE - ======================================
    =============
    18:43:27 [SEVERE] Error occurred while enabling GroupManager v2.0 (2.9.3) (Phoen
    ix) (Is it up to date?)
    java.lang.IllegalArgumentException: The following file couldn't pass on Parser.
    plugins\GroupManager\config.yml
            at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:23
    0)
            at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:85
    )
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247
    )
            at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.IllegalArgumentException: The following file couldn't pass
    on Parser.
    plugins\GroupManager\config.yml
            at org.anjocaido.groupmanager.GMConfiguration.load(GMConfiguration.java:
    66)
            at org.anjocaido.groupmanager.GMConfiguration.<init>(GMConfiguration.jav
    a:38)
            at org.anjocaido.groupmanager.GroupManager.prepareConfig(GroupManager.ja
    va:314)
            at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:15
    3)
            ... 12 more
    Caused by: while scanning for the next token
    found character        '\t' that cannot start any token
    in "<reader>", line 30, column 16:
                world2:
                      ^
     
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:358)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17
    9)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:591)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    3)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
     
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:121)
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
            at org.anjocaido.groupmanager.GMConfiguration.load(GMConfiguration.java:
    62)
            ... 15 more
     
  9. Offline

    Necrodoom

  10. Offline

    trusebruse

    A
    Awesome! what did you do? I would like to know because i am going to add more worlds soon so i would really appreciate that!
     
  11. Offline

    breezeyboy

    Just copy and paste it or go with a permisssions plugin that multiworld permissions is not needed but optinal, (use permissions ex).
     
  12. Offline

    trusebruse

    I can not do the same thing below the other worlds.. The text becomes red and that error comes in the console.
     
  13. Offline

    breezeyboy

    Then dump groupmanager
     
  14. Offline

    Necrodoom

    breezeyboy: if you dont have anything to say, dont post. you arent helping with useless messages.

    trusebruse: the problem is that while you are adding the lines, you are also putting tabs in. consider using a YML parser before putting it in.
     
  15. Offline

    trusebruse

    Thank you verry much! :)
     
  16. Offline

    CraftedNight

    Thank you necrodoom! My server should be up and hosted within a week or so now. :)
     
  17. dont do that it fucks everything up.You might have same groups but not users this is where groupmanager can bug when people configurate it shitty and wrong
     
  18. Offline

    Widawizz22

    This was from September... Why did you bring it back up?
     
  19. Offline

    Necrodoom

    you are also using the wrong term.
    it doesnt "bug".
    it works fine as you told it to do so, keep world files split.
     
  20. necrodoom im saying that if you configure groupmanager wrong it can get buggy the world miroring should bendone in the config.yml and not manual
     
  21. Offline

    Necrodoom

    its still not a bug.
    theres no such a thing as a "manual mirroring". either the worlds share a YML, or they dont. this is set using config.yml only.
     
  22. what the guy did the other day was copy his groups.yml and his user.yml in other world folder wothout configurating the config.yml
     
  23. Offline

    Kiokel

    Hello, I need your help!

    I'm trying to mirror my "world" settings to "world_nether" and "world_the_end" but no matter what format I used, it doesn't work. Every world uses their own users.yml and groups.yml

    For example I'm a Builder in world, but when I enter the nether, it reads from the nether's users.yml, and I became Moderator.

    Here's my current config.yml
    Code:
    settings:
      config:
        # With this enabled anyone set as op has full permissions when managing GroupManager
        # The user will be able to promote players to the same group or even above.
        opOverrides: true
     
        # If enabled any plugins bukkit permissions which default to true will be left enabled.
        # If the player is op any permissions set to Op will follow suit.
        bukkit_perms_override: false
     
        # Default setting for 'mantoglevalidate'
        # true will cause GroupManager to attempt name matching by default.
        validate_toggle: true
     
      data:
        save:
          # How often GroupManager will save it's data back to groups and users.yml
          minutes: 10
          # Number of hours to retain backups (plugins/GroupManager/backup)
          hours: 24
       
      logging:
        # level of detail GroupManager will use when logging.
        # Acceptable entries are - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
        level: INFO
     
      mirrors:
            # Worlds listed here have their permissions mirrored in their children.
            # the first element 'world' is the main worlds name
            # subsequent elements '- world_nether' are worlds which will use the same
            # user/groups permissions as the parent.
            world:
              - world_nether:
              - world_the_end:
    
    I also tried this, but the same happened.
    Code:
    mirrors:
            # Worlds listed here have their permissions mirrored in their children.
            # the first element 'world' is the main worlds name
            # subsequent elements '- world_nether' are worlds which will use the same
            # user/groups permissions as the parent.
            world:
              world_nether:
              - users
              - groups
              world_the_end:
              - users
              - groups
    

    Any advice? Thank you!
     
Thread Status:
Not open for further replies.

Share This Page