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 (Text):
    1. groups:
    2.     default:
    3.         simpleclans.anyone.*: true
    4.         simpleclans.member.*: true
    5.         simpleclans.leader.*: true
    6.     admin:
    7.         simpleclans.admin.*: true
    8.         inheritance:
    9.         - moderator
    10.     moderator:
    11.         simpleclans.mod.*: true
    I got this erros in the console:

    Code (Text):
    1. 2012-03-20 05:06:37 [SEVERE] Permission node 'groups' in server config is invalid
    2. java.lang.IllegalArgumentException: 'default' key contained unknown value
    3.     at org.bukkit.permissions.Permission.loadPermission(Permission.java:267)
    4.     at org.bukkit.permissions.Permission.loadPermission(Permission.java:237)
    5.     at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:582)
    6.     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    7.     at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    8.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    9.     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    10.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    11.     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 (Text):
    1. users:
    2.         permissions:
    3.         groups:
    4.         - admin
    5.         - moderator
    6. groups:
    7.     default: true
    8.         simpleclans.anyone.*
    9.         simpleclans.member.*
    10.         simpleclans.leader.*
    11.     admin:
    12.         simpleclans.admin.*: true
    13.         inheritance:
    14.         - moderator
    15.     moderator:
    16.         simpleclans.mod.*: true
    17.        
    18. messages:
    19.   build: '&cYou do not have permission to build here.'    
    20.  
    if I do that:

    Code (Text):
    1. users:
    2.         permissions:
    3.         groups:
    4.         - admin
    5.         - moderator
    6. groups:
    7.     default: true
    8.         - simpleclans.anyone.*
    9.         - simpleclans.member.*
    10.         - simpleclans.leader.*
    11.     admin:
    12.         simpleclans.admin.*: true
    13.         inheritance:
    14.         - moderator
    15.     moderator:
    16.         - simpleclans.mod.*: true
    17.        
    18. messages:
    19.   build: '&cYou do not have permission to build here.'    
    20.  
    the syntax checker fail
     
  5. Offline

    canaillou2k5

    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!
     
  6. Offline

    ZeroZX4

Thread Status:
Not open for further replies.

Share This Page