Permissions 3.x error

Discussion in 'Bukkit Help' started by darkcloud784, Jun 12, 2011.

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

    darkcloud784

    I have recently been trying to set up permissions 3.x on my server. I believe I have everything set up properly however everytime I try to load the server it gives me this error

    Code:
    11:44:33 [SEVERE] expected '<document start>', but found BlockMappingStart
     in "<reader>", line 2, column 1:
        users:
        ^
    
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentSta
    rt.produce(ParserImpl.java:233)
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:108)
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    11:44:33 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    11:44:33 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:54)
    11:44:33 [SEVERE]       at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:31)
    11:44:33 [SEVERE]       at com.nijiko.data.YamlCreator.getUserStorage(YamlCreato
    r.java:34)
    11:44:33 [SEVERE]       at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:76)
    11:44:33 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:92)
    11:44:33 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:84)
    11:44:33 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:104)
    11:44:33 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:186)
    11:44:33 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:139)
    11:44:33 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:112)
    11:44:33 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    11:44:33 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    11:44:33 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    11:44
    

    Here is my users.yml

    Code:
    {}
    users:
        Darkcloud784:
            groups:
            - Admins
            permissions: []
        Gutika113:
            groups:
            - Admins
            permissions: []
        brendal100:
            groups:
            - Moderator
            permissions:
        zombies_track_u:
            groups:
            - Moderator
            permissions:
        emil_karmov:
            groups:
            - Moderator
            permissions:
    Here is my Groups.yml
    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Moderator:
            default: false
            info:
                prefix: 'MOD'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
            - essentials.back
            - essentials.ban
            - essentials.banip
            - essentials.broadcast
            - essentials.delwarp
            - essentials.depth
            - essentials.eco
            - essentials.getpos
            - essentials.jump
            - essentials.kick
            - essentials.kill
            - essentials.setwarp
            - essentials.time
            - essentials.togglejail
            - essentials.top
            - essentials.tp
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            - essentials.tptoggle
            - essentials.unban
            - essentials.unbanip
            - essentials.whois
            - essentials.world
            - groupmanager.listgroups
            - groupmanager.mandemote
            - groupmanager.manload
            - groupmanager.manpromote
            - groupmanager.mansave
            - groupmanager.manselect
            - groupmanager.manuadd
            - groupmanager.manudel
            - essentials.ext
        Admins:
            default: false
            info:
                prefix: 'ADMIN'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    and storageconfig.yml

    Code:
    permissions:
        storage:
            type: YAML
     
  2. Offline

    Jeyge

    @darkcloud784
    Remove the {} at the top of your users.yml file.
     
  3. Offline

    darkcloud784

    I did but got the same result
     
  4. Offline

    Jeyge

    Are you sure you don't have the same problem in multiple files? I only ask because if you removed that line, then the error would say on line 1 and not line 2.
     
  5. Offline

    darkcloud784

    I removed it from all my user.yml and globalusers.yml and the error stops but the only person that can view said permissions is the person on the first line of the user.yml ie darkcloud784
     
Thread Status:
Not open for further replies.

Share This Page