permissions.yml

Discussion in 'Bukkit Help' started by canaillou2k5, Mar 20, 2012.

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

    canaillou2k5

    Hi,

    I have installed the plugin simple clans.

    I add lines SuperPrems Node Groups in the file permissions.yml as it's tells here: groups: http://dev.bukkit.org/server-mods/simpleclans/pages/permissions/

    There is my file:

    Code:
    groups:
        default:
            simpleclans.anyone.*: true
            simpleclans.member.*: true
            simpleclans.leader.*: true
        admin:
            simpleclans.admin.*: true
            inheritance:
            - moderator
        moderator:
            simpleclans.mod.*: true
    I got this erros in the console:

    Code:
    2012-03-20 05:06:37 [SEVERE] Permission node 'groups' in server config is invalid
    java.lang.IllegalArgumentException: 'default' key contained unknown value
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:267)
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:237)
        at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:582)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Thanks for help
     
  2. Offline

    ZeroZX4

    all permissions need to have
    minus and space before them i believe

    - simpleclans.anyone.*: true
     
  3. The permissions nodes should not begin with the hyphen for PermsBukkit. Is that the entire code file? There should also be a users section to it.
     
  4. Offline

    canaillou2k5

    this is my last file:

    Code:
    users:
            permissions:
            groups:
            - admin
            - moderator
    groups:
        default: true
            simpleclans.anyone.*
            simpleclans.member.*
            simpleclans.leader.*
        admin:
            simpleclans.admin.*: true
            inheritance:
            - moderator
        moderator:
            simpleclans.mod.*: true
           
    messages:
      build: '&cYou do not have permission to build here.'     
    
    if I do that:

    Code:
    users:
            permissions:
            groups:
            - admin
            - moderator
    groups:
        default: true
            - simpleclans.anyone.*
            - simpleclans.member.*
            - simpleclans.leader.*
        admin:
            simpleclans.admin.*: true
            inheritance:
            - moderator
        moderator:
            - simpleclans.mod.*: true
           
    messages:
      build: '&cYou do not have permission to build here.'     
    
    the syntax checker fail

    I tried a lot of things.

    I installed permissionEX

    I got this: in the premission.yml

    groups:
    default:
    default: true
    permissions:
    - simpleclans.anyone.* #Give to all guests
    - simpleclans.member.* #Give to those who can be invited into clans
    - simpleclans.leader.* #Give to those who will be able to create clans or be promoted to leaders

    But nothing works, I deleted the modify wold permission, and anybody cant destroy it!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  5. Offline

    ZeroZX4

Thread Status:
Not open for further replies.

Share This Page