Inactive [ADMN/INFO] Permissions v2.1 - Continuing the legacy.

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 21, 2011.

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

    Nijikokun

    Permissions 2.1 (Handler)
    Download 2.1 (Jar Only)
    Older: 2.0, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0

    Permissions... Done right.
    Permissions allows plugin-authors to utalize a permission system that handles group inheritance, globalized permission settings, and more. All the features of a fine-grained permission system in one plugin.​

    Features
    1. Groups
    2. Group Inheritance, Allows for groups to gain permissions from other groups.
    3. User Permission System
    4. Fine Grained Permission system.
      1. Allowing for Globalized permissions
    5. Easy to use, setup, and implement.
    6. Two cache layers, first from file to memory, then from memory to cache.
      1. Plugins can control cache since version 2.1
    7. And much more.
    For the users


    Permissions gives server admins great control, mostly in-game reloading. Simply use /pr and the file will be re-cached and never touched again until you need to reload it. This allows you to quickly give your users the commands that they need without having to restart the server.

    Installation for 2.0 down:
    1. Download the archive.
    2. Extract contents to the /plugins folder.
    3. Open up /plugins/Permissions/config.yml
      1. Read / modify.
      2. Save.
    4. Reload Server.
    Changelog

    • 2.1
      • Multiple-World support
      • New cache layer, and cache control support for plugins
      • Editing features for plugins to hook into
      • Exempt nodes
      • World copying
    • 2.0
      • Forgot.
    • 1.9
      • Fully fixes inheritance.
        • Groups now inherit groups of groups that inherit groups of...
      • Cache system implemented.
      • Plugin authors can now delegate a variable system if needed.
      • API Updated with two new functions to get the point of what they do across.
        • Along with the new variable checks.
    • 1.8
      • Fixes the broken globalized node issue.
        • node.* is called a `globalized node`
    Supporting Plugins




    I have hit the character limit for this post.​

    Thanks to:
    • sk89q for hiearchical and node system idea.
    • Creator of GroupUsers for api implementation.
    This author has stopped development of this plugin. It is no longer supported and I wouldn't ask for help here, as you won't get any. New Permissions
    -RightLegRed
     
  2. Offline

    Lewis

    Current craftbukkit version?

    If there are no mistakes in the config.yml this is usually the culprit (Assuming you have Permissions 2.0)
     
  3. Offline

    Unit158

    that is my config
     
  4. Offline

    Richard Groot

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
     permissions: {system: default}
    groups:
     Guest:
       default: true
       info: {prefix: '&3', suffix: '&8', build: false}
       inheritance: []
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,
         essentials.rules, essentials.msg, essentials.helpop]
     Member:
       default: false
       info: {prefix: '&6', suffix: '&f', build: true}
       inheritance: Guest
       permissions: [essentials.getpos, essentials.whois, essentials.mail, essentials.mail.send,
         essentials.ping, essentials.realname, essentials.compass, essentials.depth,
         essentials.home, essentials.sethome]
     VIP:
       default: false
       info: {prefix: '&7', suffix: '&f', build: true}
       inheritance: Member
       permissions: [essentials.heal, essentials.top, essentials.tpa, essentials.jump,
         essentials.kit.KITNAME]
     Mod:
       default: false
       info: {prefix: '&8', suffix: '&f', build: true}
       inheritance: VIP
       permissions: [essentials.kick, essentials.ban, essentials.unban, essentials.unbanip,
         essentials.banip]
     Admin:
       default: false
       info: {prefix: '&1', suffix: '&a', build: true}
       inheritance: Mod
       permissions: [essentials.*]
     Owner:
       default: false
       info: {prefix: '&4', suffix: '&f', build: true}
       inheritance: Admin
       permissions: ['*']
    
     users:
     chardo440:
       group: Owner
       permissions: ['*']
    Why when I go to spawn an item or something it says I do not have access to that command?
     
  5. Offline

    monir

    i have alot of issues with permissions some plugins dont work for me becouse i dont know how to set permissions
    for example im having prolem with /home set for everybody on my server and i think its becouse i dont know to set permissions please look at this

    http://pastebin.com/PeA2aRZV
    --- merged: Feb 12, 2011 3:39 AM ---
     
  6. Offline

    Kaikz

    Multi-World Permissions soon?
    Like, one person could be normal user in world1, but admin in world2, and say builder in world3.
     
  7. Offline

    ellipsis

    I'm getting a weird error with Permissions 2.0, CraftBukkit #312.
    Error:
    Code:
    SEVERE: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
        ... 8 more
    Caused by: mapping values are not allowed here
     in "<reader>", line 6, column 9:
            info: {prefix:' ', suffix:' ',build: ...
                ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        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.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:74)
        ... 13 more
    Permissions config file:
    Code:
    plugin:
      permissions: {system: default}
    groups:
      Default:
        default:true
        info: {prefix:' ', suffix:' ',build:true}
        inheritance: []
        permissions: [essentials.spawn, essentials.help, essentials.warp, essentials.sethome, essentials.home, essentials.list, essentials.me, essentials.afk, essentials.rules, essentials.motd, essentials.ping]
      Builders:
        default:false
        info: {prefix:' ', suffix:' ', build:true}
        inheritance: [Default]
        permissions:[essentials.item, worldedit.superpickaxe.*, worldedit.clipboard.*, essentials.tp]
          worldedit.limit, worldedit.generation.*, worldedit.history.*, worldedit.region.*,
          worldedit.selection*, worldedit.wand.*, worldedit.replacenear, worldedit.removenear]
      Mod:
        default:false
        info:{prefix:' ', suffix:' ', build:true}
        inheritance:[Builder]
        permissions:[essentials.*]
      Admin:
        default:false
        info:{prefix:' ', suffix:' ', build:true}
        inheritance:[Mods]
        permissions:['*']
    users:
      macunixgeek:
        group:Admin
        permissions:[]
    
    See any problems? I can't seem to make it work, no matter how hard I try.
     
  8. Offline

    MIKUiqnw0

    Pretty blaring problems.
    Incorrect syntax, see Niji's plugin post for the correct layout.
     
  9. Offline

    BeerBaron

    I'm getting a weird error with Permissions 2.0, CraftBukkit #304.
    Error:
    Code:
    ... 13 more
    at com.nijikokun.bukkit.Permissions.Permissions.(Permissions.java:74)
    at org.bukkit.plugin.java.JavaPlugin.(JavaPlugin.java:46)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    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:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    
    ^
    build: true
    in "", line 41, column 18:
    Caused by: mapping values are not allowed here
    ... 8 more
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    Caused by: java.lang.reflect.InvocationTargetException
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
    org.bukkit.plugin.InvalidPluginException
    SCHWERWIEGEND: Could not load plugins/Permissions.jar in plugins: null
    
    My Permissions config file:
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
          Newbie:
            default: true
            info:
                prefix:'&7[&2Newbie&7]'
                suffix:'&2'
                build:  true
            inheritance:
            permissions:
                - 'essentials.spawn'
         Builder:
            default: false
            info:
                prefix:'&7[&6Member&7]'
                suffix:'&5'
                build: true
            inheritance:
                - Newbie
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.mail.clear'
                - 'essentials.mail.read'
                - 'essentials.spawn'
       Moderator:
            default: false
            info:
                prefix:'&7[&4Mod&7]'
                suffix:'&6'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.time'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.give'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'myhome.*'
                - 'essentials.kick'
                - 'essentials.unbanip'
                - 'essentials.banip'
                - 'essentials.kit'
          Admins:
            default: false
            info:
                prefix:'&7[&4Admin&7]'
                suffix:'&4'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    B33rB4r0n:
            group: Admins
            permissions:
           Filano:
            group: Moderator
            permissions:
    Name:
            group: Builder
            permissions:
    Name:
            group: Builder
            permissions:
    Name:
            group: Builder
            permissions:
    Name:
            group: Builder
            permissions:
    Name:
            group: Builder
            permissions:
    
    See any problems? I can't seem to make it work, no matter how hard I try.
     
  10. Offline

    chill1977

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    groups:
        Newbie:
            default: true
            info:
                prefix: '&7[&2Newbie&7]'
                suffix: '&2'
                build:  true
            inheritance:
            permissions:
                - 'essentials.spawn'
        Builder:
            default: false
            info:
                prefix: '&7[&6Member&7]'
                suffix: '&5'
                build: true
            inheritance:
                - Newbie
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.mail.clear'
                - 'essentials.mail.read'
                - 'essentials.spawn'
        Moderator:
            default: false
            info:
                prefix: '&7[&4Mod&7]'
                suffix: '&6'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.time'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.give'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'myhome.*'
                - 'essentials.kick'
                - 'essentials.unbanip'
                - 'essentials.banip'
                - 'essentials.kit'
        Admins:
            default: false
            info:
                prefix: '&7[&4Admin&7]'
                suffix: '&4'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        B33rB4r0n:
            group: Admins
            permissions:
        Filano:
            group: Moderator
            permissions:
        Name:
            group: Builder
            permissions:
        Name:
            group: Builder
            permissions:
        Name:
            group: Builder
            permissions:
        Name:
            group: Builder
            permissions:
        Name:
            group: Builder
            permissions:
    
    @BeerBaron Here is the code please do more reading on format next time.
     
  11. Offline

    MIKUiqnw0

    Show Spoiler
    [​IMG]
    INDENTATION INDENTATION INDENTATION INDENTATION
     
  12. Offline

    Lewis

    Because you have not indented properly in the Users section:

    Code:
    users:
    chardo440:
      group: Owner
      permissions: ['*']
    Goes to:

    Code:
    users:
      chardo440:
        group: Owner
        permissions: ['*']
     
  13. Offline

    Audifire

    This Plugin does not work on build 314 for me.
    Do you now how to fix it.
    Must I post the error? =D
     
  14. Offline

    Lewis

    Post the error / config file, yea :]
     
  15. Offline

    Kostronor

    Hello there,
    Ive just set up a Server with the newest Permissions and some other Mods.
    But after adding some Permissions to the default group, they aren't recognized (notepad++ marks them red and when using them, a Java not found Error apears)
    Here is my Config.yml, every Permission marked with # at start is not detected.
    Thanks for the Help!
    PHP:
    # Supports "Default" and "GroupUsers"
    plugin:
        
    permissions:
            
    system: default

    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: 
    true
            info
    :
                
    prefix:
                
    suffix:
                
    buildtrue
            inheritance
    :
            
    permissions:
                - 
    'general.spawn'
    #            - 'iConomy.payment'
    #            - 'simpleshop.buy'
                
    'simpleshop.sell'
    #            - 'myhome.home.basic.*'
                
    'AutoRepair.*'

        
    Admins:
            default: 
    false
            info
    :
                
    prefix:
                
    suffix:
                
    buildtrue
            inheritance
    :
                - Default
            
    permissions:
                - 
    '*'

    ##
    # DarkGrave has control over all general commands.
    # sk89q can use /spawn & /setspawn
    ##
    users:
        
    Kostronor:
            
    groupAdmins
            permissions
    :
            - 
    '*'
        
     
  16. Offline

    Codex Arcanum

    Tried installing permissions (looks like a great plugin), I altered the config.yml file, but I am getting a massive wall of errors. I don't think I did anthing that screwed up the config file, so I'm kind of flummoxed as to the cause.
    Config:
    Show Spoiler

    # Supports "Default" and "GroupUsers"
    plugin:
    permissions:
    system: default

    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:"
    # field seperated by commas.
    #
    # Example: inheritance: Default,Admins,
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    #
    # Single Asterisk denotes all commands:
    #
    # - '*'
    ##
    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    darkgrave:
    group: Admins
    permissions:
    sk89q:
    group: Default
    permissions:
    - 'general.time'
    codex_arcanum
    group: Admins
    permissions:

    Errors:
    Show Spoiler

    Feb 12, 2011 7:07:24 AM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
    ... 8 more
    Caused by: while scanning a simple key
    in "<reader>", line 81, column 5:
    codex_arcanum
    ^
    could not found expected ':'
    in "<reader>", line 82, column 5:
    group: Admins
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:502)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    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:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    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.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:74)
    ... 13 more
     
  17. Offline

    Maluzis

    I did not know whether to write it here or in the topic plug-Authorize.
    -----
    Do you would add a group that will work with Authcraft? Currently, players who are not logged in, can use the commands on the server (eg to ban people without logging in to your account administrator).

    The idea is to automatically group was a guest. After logging in our group would change on the set of permissions.
     
  18. Offline

    MIKUiqnw0

    The error is displayed in the error log.
    Code:
    Caused by: while scanning a simple key
    in "<reader>", line 81, column 5
    codex_arcanum
    ^
    could not found expected ':'
    in "<reader>", line 82, column 5:
    group: Admins
    ^
    ---

    In your config.yml:
    Code:
    codex_arcanum
        group: Admins
        permissions:
    Should be:
    Code:
    codex_arcanum:
        group: Admins
        permissions:
     
  19. Offline

    sat0n101

    first off can you please move all that info for devs to a seperate post its annoying having to scroll past it everytime i look for help.

    second can you please help me fix the attached file pl0x ?
     

    Attached Files:

  20. Offline

    Mike Krejci

    I seem to have a problem with Permissions not working when I have my name in the ops.txt file. If I take the user names out of the ops.txt file Permissions works fine, if I put the names back in the ops.txt then all commands are available to all users. If I leave the names out of the ops.txt file though, no one can build then. Any ideas?
     
  21. Offline

    lucasnrk

    Hi guys. I'm having a little problem with the Permissions. I've already defined all of the groups and users, but I can't use a certain Admin command. Is there any way to fix it?

    config.yml
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        lucasnrk:
            group: Admins
            permissions:
    Even when I'm the Admin, it looks like that the plugin doesn't recognizes it. It only recognizes when I do the command "op lucasnrk" on the console.

    Sorry for my bad english :)
     
  22. Offline

    MarioGuy

    I have a few groups on my server and was wondering whether or not one group could inherit the permissions of two or more groups. For example, Ive tried having a Moderator group which could inherit both Default and Donator groups, but it only allowed the permissions specific to Moderator group. The Donator group was only inheriting Default, with its group specific permissions, and all the permissions worked fine. Any... suggestions pl0x?
     
  23. Offline

    matejdro

    Can you add exceptions? These will allow to easily include everything but something. So

    Code:
    permissions:
                - 'general.*'
    exceptions:
                -'general.item'
                -'general.time'
    In above example, players would have access to every General command with exceptions of item and time.
     
  24. Offline

    afluffysquirrel

    hi, i tried using permisions but i just doesnt seem to work :(. in my server it say it has been enabled. i havnt edited it the config.yml at all exept to add my name a an admin. but not even the default user is working. my mate joined and he couldnt destroy anything. i think it must be to do with the the config can anybody help?
     
  25. Offline

    Gene Myers

    hey Nijikoun.. first of all i'd like to say awesome job on your plugins!.. let me get straight to the point. I like your plugins, i use almost all of them. I currently run a new powerful dedicated server.. We have games we create and make up. I however, in order to make this one game a reality i need a custom plugin. I know i can put in plugin requests but i need this one specifically for my server. If you could e-mail me or get in tocuh with me, i would be willing to pay you to write me a custom plugin. This is not a joke, and i wont waste your time with a petty $25 offer.. If you are interested please get in touch :) my website is www.wikidcraft.com so you can get intouch with me there or my email [email protected]
     
  26. Hello. I Cant get it working. I downloaded zip, got clean bukkit.
    In plugins dir I have:
    Premissions.jar
    Premissions (DIR) - inside: config.yml

    In plugins/Premissions/config.yml I didnt change anything, but 'build' option, so my config.yml looks like this:
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix: '&f'
                suffix:
                build: false
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    
    

    I start server, join and I can edit world, build etc. I have no OP, just like a fresh server, started for the first time.
    What I am doing wrong, or what I have to do to get it working?
    Bukkit: Craftbukkit git-Bukkit-0.0.0-402-g39b0804-b319 (MC: 1.2_01)
    Premissions: just downloaded from the first post (2.0 (Handler))

    Help, please :-(


    @Edit
    Ok I tried someting, command /pr working for me when I set my nick as admin on the bottom of config.yml, but 'build: false' and prefixes / suffixes are still not working :/
     
  27. Offline

    FuriousPy

    Just to share...

    For new version with The Nether...
    use

    - 'essentials.portal' (for portals to work)
    or/and
    - 'essentials.world' (for use /world normal or /world nether)
     
  28. Offline

    cyklo

    I don't see this information in the parent post, and this forum page is far too enormous to scroll through.

    What permission does a user need to have to use the /pr command to reload the permissions? I am uncomfortable with setting blanket '*' permissions for admin.
     
  29. First: Great work! This plugin is simple and works great.
    But I have a little request. If it is already possible and I have overlooked it, I'm sorry in advance.
    Would it be possible to implement a function to except a group or a user from a single or more functions of a permission node? For example, I use a plugin that has 10 permissions in one node. Admins have the '*' permission. But everyone wants to have a little secret right? So I dont't want my admin-colleague to see my secret warp point or my secret portal. So I set some kinde of negative permission that takes out the ability for admins (or just for certain users) to see every warp in the world instead of specifying all the 100 permissions of all my plugins together just to leave one out.
     
  30. Offline

    fanatik

    Heya, seems with the newest Bukkit (319) Permissions v2.0 won't start anymore. No errors show up in server.log, only various addons reporting Permissions isn't running.

    Anyone able to confirm?
     
  31. Offline

    jaybud4

    Anti-confirm.
    Working fine on both of my servers.
     
Thread Status:
Not open for further replies.

Share This Page