Permissions Bukkit ERROR in config.yml

Discussion in 'Bukkit Help' started by isack1998, Nov 30, 2012.

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

    isack1998

    hello
    I need help with a plugin that sends me error starting the server, the plugin is "PermissionsBukkit" And I could not fix it.
    Here is the error:
    in "<string>", line 55, column 9:
    permissions:
    ^
    end> <block expected, but found Scalar
    in "<string>", line 57, column 13:
    essentials. *
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString (YamlCo
    nfiguration.java: 55)
    at org.bukkit.configuration.file.FileConfiguration.load (FileConfiguratio
    n.java: 138)
    at org.bukkit.configuration.file.FileConfiguration.load (FileConfiguratio
    n.java: 105)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.reloadConfig (Permi
    ssionsPlugin.java: 78)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.onEnable (Permissio
    nsPlugin.java: 39)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled (JavaPlugin.java: 217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin (JavaPluginLoader
    . Java: 374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin (SimplePluginManage
    R.java: 381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin (CraftServer.java: 270)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins (CraftServer.java: 252
    )
    at net.minecraft.server.MinecraftServer.j (MinecraftServer.java: 320)
    at net.minecraft.server.MinecraftServer.e (MinecraftServer.java: 299)
    at net.minecraft.server.MinecraftServer.a (MinecraftServer.java: 258)
    at net.minecraft.server.DedicatedServer.init (DedicatedServer.java: 147)
    at net.minecraft.server.MinecraftServer.run (MinecraftServer.java: 398)
    at net.minecraft.server.ThreadServerApplication.run (SourceFile: 856)
    Caused by: while parsing a block mapping
    in "<string>", line 55, column 9:
    permissions:
    ^
    end> <block expected, but found Scalar
    in "<string>", line 57, column 13:
    essentials. *
    ^

    org.yaml.snakeyaml.parser.ParserImpl at $ ParseBlockMappingKey.produce (Par
    serImpl.java: 575)
    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.composeMappingNode (Composer.java
    : 230)
    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: 399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString (YamlCo
    nfiguration.java: 53)
    ... 15 more
    19:54:47 [INFO] [PermissionsBukkit] Successfully Enabled

    Actually, I tried all the settings and permissions.yml is this:

    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build' Usually starting
    # With the name of the plugin. Refer to a plugin's documentation for what
    # Permissions it cares about. Each node Should be Followed by true to grant
    # That permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins Provide That permission nodes map to a group of permissions -
    # For example, PermissionsBukkit has 'permissions. *', Which Automatically
    # Grants all admin permissions. You can specify false for permissions Also
    # Of this type.
    #
    # Users inherit permissions from the groups They are a part of. If a user is
    # Not specified here, or does not have a 'groups' node, They will be in the
    # Group 'default'. Permissions for Individual users may be specified by Also
    # Using a 'permissions' node with a list of permission nodes, Which Will
    Their # override group permissions. World permissions may be Assigned to
    # Users with a 'worlds:' entry.
    #
    # Groups Can Be Assigned To Their players and all permissions will be Also
    # Assigned To Those players. Groups can inherit permissions from other Also
    # Groups. Like user permissions, groups may override the permissions of Their
    # Parent group (s). Unlike users, groups do NOT Automatically inherit from
    # Default. World permissions may be Assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # Will be displayed to the player if PermissionsBukkit prevents it from them
    # Building, digging, or interacting with a block. Use '&' characters to
    # Signify color codes.

    users:
    ConspiracyWizard:
    permissions:
    permissions.example: true
    Groups:
    - Admin
    Groups:
    Citizen:
    permissions:
    permissions.build
    essentials.spawn
    essentials.rules
    essentials.motd
    essentials.list
    essentials.helpop
    essentials.help
    battlenight.user
    authme.player. *
    pvpreward.getreward
    pvpreward.givereward
    Protectionstones.create
    Protectionstones.destroy
    Protectionstones.flags
    Signshop.Signs *
    Administrator:
    permissions:
    "*"
    essentials. *
    essentials.setspawn
    essentials.backup
    mcmoney.set
    mcmoney.clear
    autosave.save
    battlenight.user
    battlenight.moderator
    battlenight.admin
    fd *
    authme. *
    anticreeper.print
    anticreeper.admin
    pvpreward.getreward
    pvpreward.givereward
    essentials.gm
    norain.use
    Protectionstones. *
    Signshop.Signs *
    Signshop.Admin *
    VIPSlots.admin.add
    VIPSlots.admin.remove
    inheritance:
    - Moderator
    Moderator:
    permissions:
    permissions.build
    essentials.spawn
    essentials.tp
    essentials.mute
    essentials.clearinventory
    essentials.getpos
    essentials.kick
    essentials.tpaccept
    essentials.tpa
    essentials.back
    essentials.sethome
    essentials.home
    essentials.ban
    autosave.save
    battlenight.user
    battlenight.moderator
    authme.player. *
    anticreeper.print
    pvpreward.getreward
    pvpreward.givereward
    Protectionstones.create
    Protectionstones.destroy
    Protectionstones.flags
    Signshop.Signs *
    inheritance:
    - VIP
    VIP:
    permissions:
    permissions.build
    essentials.spawn
    essentials.tp
    essentials.tpaccept
    essentials.tpa
    essentials.back
    essentials.sethome
    essentials.home
    essentials.tppos
    essentials.tphere
    essentials.backup: false
    battlenight.user
    authme.player. *
    anticreeper.print
    pvpreward.getreward
    pvpreward.givereward
    Protectionstones.create
    Protectionstones.destroy
    Protectionstones.flags
    Signshop.Signs *
    VIPSlots.vip.warp
    inheritance:
    - Citizen
    messages:
    build: '& CTU does not have permission to build there.'

    debug: false

    PLEASE I need help D:
     
  2. Offline

    Widawizz22

    This will always (should always) pop up in the console when there is an error, unless you forget to set a default.
    Code:
    in "<string>", line 55, column 9:
    permissions:
    ^
    end> <block expected, but found Scalar
    in "<string>", line 57, column 13:
    essentials. *
    ^
    ...but put it in code and not raw text so we can see your mistake. Also if you go to the line and column of the config, you could probably see where you made the mistake.
    Column = every space ----
    Line = every line going down (3 lines>)
    >
    >
    >
     
  3. Offline

    isack1998

    Ok, I'll try
    thanks
     
Thread Status:
Not open for further replies.

Share This Page