PermissionsEx Doesn't Work

Discussion in 'Bukkit Help' started by TheDogePwner, Sep 29, 2014.

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

    TheDogePwner

    Hi,
    I'm new to permissions and I need some help with it.
    The config is inside of the attached file (in the server it's a .yml).


    Here's the error that gets put in the console:
    [19:20:48] [Server thread/WARN]: Server permissions file permissions.yml is not valid YAML.
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadCustomPermissions(CraftServer.java:806) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:383) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:773) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.Bukkit.reload(Bukkit.java:279) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]



    Thanks for the help!
     

    Attached Files:

  2. Offline

    12thTitan4Life

    This is a YAML formatting issue.
     
  3. Offline

    TheDogePwner

    Thanks for the response. What's the problem with the formatting?
    Also, when I run /plugins, PermissionsEx is red (if that helps) as oppose to the other working plugins, which are green.
    Also, in case the attached file didn't come, i'll just paste the contents.
    Thanks!

    Contents of .yml:
    Code:
    groups:
      regular:
        default: true
        prefix: '&e'
        permissions:
        - essentials.*
        - -modifyworld.damage.*
        - -modifyworld.mobtarget.*
        - modifyworld.interact.*
        options:
          rank: '100'
      owner:
        prefix: '&5'
        permissions:
        - '* users: MaYoRoFdIaMoNdS: group: - owner wooper_3000: group: - owner cheeseyman554:
          group: - guest'
    I'd like help pretty soon, as my friend (who's the owner) needs the answer.
    Thanks once again.
     
  4. Offline

    LHammonds

    It is RED in the list because it could not load the plugin. PEX cannot load a .yml file if there are YAML format errors...no plugin can do that.

    Copy/paste the permissions.yml file into an Online YAML Parser and it will tell you if format error exist, what they are and will even get you close to where the problem area is located.

    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page