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

    Latros

    Same with me. Still no word from the OP :(
     
  3. Offline

    Windwaker

    Yeah.. I posted this a few pages back...



    Hey If this is in the OP excuse me but I can't really understand it and need it dummed down...​

    Whenever I edit the permissions file in game like "/modgrp <playername> <group>" It changes the whole file format (still a .yml just looks different) Then if I try adding permission nodes to it it screws up the whole configuration.​

    My questions are.​

    1. Can I add permissions to groups without editing the .yml?​

    2. If not how can I edit the .yml without screwing up the config?​

    3. How do I make new groups without messing up the config?​

    4. Can I make it so my name is like "[GroupName] <playersname>" and that's what shows up when that person talks?​

    4. How do I change the color of a groups name?​

    Thanks in advance,​
    Walker Crouse​

    EDIT: Okay my permissions looks like this after using the /modgrp command.

    Code:
    plugin:
      permissions: {system: default}
    groups:
      Default:
        default: true
        info: {prefix: '', suffix: '', build: true}
        inheritance: []
        permissions: [general.spawn, essentials.help, essentials.depth, essentials.getpos,
          essentials.compass, essentials.top, essentials.jump, essentials.portal, essentials.msg,
          essentials.rules, essentials.motd, essentials.list, essentials.mail, essentials.mail.send,
          essentials.helpop, essentials.whois, essentials.kit, essentials.kit.*, essentials.worth,
          essentials.sell, essentials.tpa, essentials.home, essentials.sethome, essentials.warp,
          essentials.spawn]
      Moderator:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Default]
        permissions: [general.time, general.teleport, general.teleport.here, general.player-info,
          essentials.afk, essentials.me, essentials.nick, essentials.give, essentials.item,
          essentials.ban, essentials.kick, essentials.tpaccept, essentials.tpdeny, essentials.tppos,
          essentials.setwarp, essentials.delwarp]
      Admins:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Moderator]
        permissions: ['*']
    users:
      darkgrave:
        group: Admins
        permissions: []
      sk89q:
        group: Default
        permissions: [general.time]
      ManiacMike360:
        permissions: []
        group: moderator
      wjcrouse913:
        permissions: []
        group: admins
    
     
  4. Offline

    vortal

    Thx for the help, i did what you said but... now i got a fresh new config.yml, how i put the mcmmo permission in it ?
     
  5. Offline

    AnjoCaido

    Is there a way to change the permissions on the fly without touching the file?

    I miss in the API a class structure making easy to handle everything this plugin can do, by using other plugins. Without need to change the file, just like hMod had.
     
  6. Offline

    unrivaledneo

    Wonder if there is a way to grant permission to certain groups to allow the use of certain armor/weapons/item/crafting. Sorta create a job system outta it?
     
  7. Offline

    Semperverus

    Vortal, to add permissions, it's now in this format:
    permissions: [essentials.msg, essentials.help, essentials.afk, essentials.mail] (etc.)
     
  8. Offline

    RustyDagger

    @Semperverus it don't have to be in that format unless you use essentials. mine is not in that format and i don't want to use essentials because it changes the permissions config to that format that format is butt ugly and hard to read.

    Now onto why i really came in to post about.

    i want to know if its permissions plugin granting every single command to Ops or the plugins that join to the permissions system im down right sick of having every single command even some i never ever intend on using. If its permissions doing it Please make a way to turn it off.

    If i wanted every single command i would use - '*'
     
  9. Offline

    AdamDavda

    I was told to go here from iConomy because the commands for iConomy wont work and it is apparently a Permissions error. Also iChat wont work.
    Here is my Permissions:
    groups:
    Follower:
    default: true
    info:
    prefix: '1Follower_'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    - '/homeset'
    - '/homedel'
    - ' myhome.home.basic.'
    - 'iConomy.access'
    - 'iConomy.payment'
    King:
    default: false
    info:
    prefix: '3King_'
    suffix:
    build: true
    inheritance:
    - Follower
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    God:
    default: false
    info:
    prefix: '5Admin_'
    suffix:
    build: true
    inheritance:
    - King
    permissions:
    - '*'
    - 'general.spawn.set'
    - 'general.spawn'
    - 'general.items'
    - 'general.teleport.here'
    - 'general.time'
    Owner:
    default: false
    info:
    prefix: 'aOwner_'
    suffix: '&3'
    build: true
    inheritance:
    - God
    permissions:
    - '*'

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    FletcherG15:
    group: King

    sk89q:
    group: Default
    permissions:
    - 'general.time'
    AdamDavda:
    group: Owner
     
  10. Offline

    John Paul

    I'm having a problem, every time i try to run the server it writes this.
    Code:
    2011-02-15 21:32:21 [INFO] [General] version [1.9] (Yakuza) loaded
    15-Feb-2011 9:32:21 PM 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.j
    ava: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(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            ... 8 more
    Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to jav
    a.lang.String
            at com.nijiko.permissions.Control.load(Control.java:112)
            at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permiss
    ions.java:144)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    100)
            ... 13 more
    2011-02-15 21:32:21 [INFO] [General] Permission system not enabled. Disabling plugin
    And heres what i have in my Permission properties.
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    #Version 2.0
    # 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:
        Pawn:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Rook:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Bishop:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Rook
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Knight:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Bishop
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        RightHand:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Knight
            permissions:
                - '*'
        Queen:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - RightHand
            permissions:
                - '*'
        King:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Queen
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Default
            permissions:
        sk89q:
            group: Default
            permissions:
        johnpaul2304:
            group: King
            permissions:
        Bomb_King:
            group: RightHand
            permissions:
        MattSXQ:
            group: RightHand
            permissions:
        3131600:
            group: RightHand
            permissions:
    
     
  11. Offline

    RustyDagger

    @AdamDavda Use paste bin please it keeps the spaces and makes it a lot easier to read. and find errors + it wont fill up this page if you could edit your post with a link to paste bin instead your more likely to be helped.
     
  12. Offline

    Semperverus

    If you guys had been listening to me, you'd have a working Permissions plugin right now (even with the latest build of Bukkit). Your code should look like this:
    Code:
    plugin:
      permissions: {system: default}
    groups:
      Peon:
        default: false
        info: {prefix: '8', suffix: '', build: false}
        inheritance: []
        permissions: []
      Default:
        default: true
        info: {prefix: '7', suffix: '', build: true}
        inheritance: []
        permissions: [essentials.compass, essentials.getpos, essentials.portal, essentials.msg,
          essentials.afk, essentials.help, essentials.motd, essentials.me, essentials.list,
          essentials.mail, essentials.mail.send, essentials.helpop, essentials.whois,
          essentials.help, essentials.tpaccept, essentials.tpdeny, essentials.home, essentials.sethome,
          essentials.spawn]
      VIP:
        default: false
        info: {prefix: '6', suffix: '', build: true}
        inheritance: [Default]
        permissions: [essentials.top, essentials.back, essentials.world, essentials.tpa,
          essentials.tp, essentials.tpa, essentials.tpahere, essentials.warp, flashlight.normal]
      Moderator:
        default: false
        info: {prefix: '2', suffix: '', build: true}
        inheritance: [VIP]
        permissions: [essentials.jump, essentials.clearinventory, essentials.broadcast,
          essentials.kill, essentials.item, essentials.time, essentials.heal, essentials.kick,
          essentials.tptoggle, essentials.tppos, essentials.setwarp]
      SuperModerator:
        default: false
        info: {prefix: d, suffix: '', build: true}
        inheritance: [Moderator]
        permissions: [essentials.*]
      Admin:
        default: false
        info: {prefix: b, suffix: '', build: true}
        inheritance: [SuperModerator]
        permissions: ['*']
    users:
      semperverus:
        group: Admin
        permissions: []
      atlasrune:
        group: SuperModerator
        permissions: []
      Valkir:
        group: VIP
        permissions: []
      cowsinmybathtub:
        group: VIP
        permissions: []
      alexgdorman:
        group: VIP
        permissions: []
      nsanidy:
        permissions: []
        group: Moderator
    none of those nasty lists with " - 'permission.type' " crap.
     
    vortal likes this.
  13. Offline

    Euthyphro

    Just to clarify, build: false is not yet working? It should be mentioned in the OP if that is the case.
     
  14. Offline

    TheDarkness73

    Is there anyway to move someone's group in game?
    --- merged: Feb 16, 2011 1:34 PM ---
    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: N00B
                suffix:
                build: false
            inheritance: 
            permissions:
    
        Regular:
            default: false
            info:
                prefix: Reg
                suffix: 
                build: true
            inheritance:
                 - Default
            permissions:
                 - 'blockhead.hat.items'
                 - 'general.spawn'
                 - 'blockhead.hat.items'
                 - 'monsterhunt.usercmd.hunt'
                 - 'monsterhunt.usercmd.huntscore'
                 - 'monsterhunt.usercmd.huntstatus'
                 - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix: Mod
                suffix:
                build: true
            inheritance:
                - Regular
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'monsterhunt.admincmd.huntstart'
                - 'monsterhunt.admincmd.huntstop'
        Admins:
            default: false
            info:
                prefix: Awesome
                suffix: Yoshi
                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'
        thedarkness73:
            group: Admins
            permissions:
        critcapped:
            group: Regular
            permissions: 
        makjin:
            group: Regular
            permissions: 
        maxmachine3:
            group: Regular
            permissions: 
        mysticsod:
            group: Regular
            permissions: 
        knome249:
            group: Regular
            permissions: 
        shishkebables:
            group: Regular
            permissions: 
        larsvisser:
            group: Regular
            permissions: 
        cod36:
            group: Regular
            permissions: 
        madtoker:
            group: Regular
            permissions: 
        mac1077:
            group: Regular
            permissions: 
        willekid123:
            group: Regular
            permissions: 
        danny246810:
            group: Regular
            permissions: 
        s9mew:
            group: Regular
            permissions:
    
    
    These are my settnigs so that no random person can come in and grief. Im using the latest build of bukkit, but it doesn't work. help plz?
     
  15. Offline

    Novemberman

    I wrote a permission text last night and this morning with was all messed up and lost everything in it.....

    i have this plugin and essentials.

    so i rewrote it and was hoping someone could just check it to make sure its ok
    also how do i add different people to different groups

    the way i work is they spawn there "Peon" after a mod talks to them and asks them the 'secret word' they get access to world with "Default" after being on a a bit more and we think he is not a Griefer we promote them to "Builder" where they can now start there new life

    also how to promote my mods to the "mod" group

    Code:
    plugin:
      permissions: {system: default}
    groups:
      Peon:
        default: true
        info: {prefix: '8', suffix: '', build: false}
        inheritance: []
        permissions: []
      Default:
        default: false
        info: {prefix: '7', suffix: '', build: false}
        inheritance: []
        permissions: [essentials.msg, essentials.motd, essentials.me, essentials.list,
          essentials.whois, essentials.tpaccept, essentials.tpdeny, essentials.home, essentials.sethome,
          essentials.spawn]
      Builder:
        default: false
        info: {prefix: '6', suffix: '', build: true}
        inheritance: [Default]
        permissions: [essentials.warp,lwc, general.items]
      Moderator:
        default: false
        info: {prefix: '2', suffix: '', build: true}
        inheritance: [VIP]
        permissions: [essentials.broadcast, essentials.heal, essentials.kick]
    
      Admin:
        default: false
        info: {prefix: b, suffix: '', build: true}
        inheritance: [SuperModerator]
        permissions: ['*']
    users:
      novemberman:
        group: Admin
        permissions: []
     
  16. Offline

    Calvin

    Is there any way to get this plugin to load first? Because my WorldEdit plugin doesn't see it's permissions because it loads after WorldEdit which screws up some commands.
     
  17. Offline

    crowebird

    build: false needs an external plugin to take advantage of it.
    I have written one which is my sig (AntiGrief), or there is the original called AntiBuild
     
  18. Offline

    Ditto8353

    I have an issue and I believe the problem lies with the Permissions plugin. I have a user that plays on my server who's Minecraft tag is made entirely of numbers. I am unable to add them to the config.yml without getting the InvalidPlugin error when loading the Permissions plugin. I have tried using the /modify command as well as editing in both notepad and notepad++
    A fix for this issue would be greatly appreciated as I am desperate to get away from the fan-updated hMod. If the problem does not, in fact, lie within Permissions I would appreciate being corrected on the matter and any further information would also be appreciated.

    Here is the important bits of the error report.
    Code:
    Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
         at com.nijiko.permissions.Control.load(Control.java:112)
         at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:144)
         at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:100)
         ... 13 more
     
  19. Offline

    arcanezzz

    thanks now it work :)
     
  20. Offline

    Ditto8353

    If you use the Essentials plugin, it includes a /mod, /modgrp command which uses the syntax /mod <player> <Permissions Group> in order to change a player's group from within the game. The only problem is that it destroys the readability of the config.yml
     
  21. Offline

    Shurris

    Hey, I don't get this plugin to work. Some commands works for all and some does not work. I don't understand. I also get errors when I start the server. Any suggestions?

    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:
        Guest:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
        User:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.clearinventory'
                - 'essentials.getpos'
                - 'essentials.whois'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.ping'
                - 'essentials.realname'
                - 'essentials.home'
                - 'essentials.sethome'
        Mod:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - User
            permissions:
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.kit.tools'
                - 'essentials.nick'
                - 'essentials.heal'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.banip'
        Admin
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    users:
        Shurris:
            group: Admin
            permissions:
    Code:
    2011-02-16 17:00:18 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-407-g247dfc4-b326 (MC: 1.2_01)
    2011-02-16 17:00:18 [INFO] Preparing level "world"
    2011-02-16 17:00:18 [INFO] Preparing start region
    2011-02-16 17:00:19 [INFO] Preparing spawn area: 16%
    2011-02-16 17:00:20 [INFO] Preparing spawn area: 40%
    2011-02-16 17:00:21 [INFO] Preparing spawn area: 61%
    2011-02-16 17:00:22 [INFO] Preparing spawn area: 73%
    2011-02-16 17:00:23 [INFO] Preparing spawn area: 97%
    2011-feb-16 17:00:23 org.bukkit.plugin.SimplePluginManager loadPlugins
    ALLVARLIG: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava: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(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            ... 8 more
    Caused by: while scanning a simple key
     in "<reader>", line 87, column 5:
            Admin
            ^
    could not found expected ':'
     in "<reader>", line 88, column 16:
                default: false
                       ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            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.jav
    a: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:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.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
    2011-02-16 17:00:23 [INFO] Done! For help, type "help" or "?"
     
  22. Offline

    arcanezzz

    How do I now add a new group??? like Vip
     
  23. Offline

    Lewis

    Where you have the Admin group put a : after the "Admin".

    Code:
    Admin:
      default: false 
    That should be all.
    --- merged: Feb 16, 2011 4:26 PM ---
    Firstly, the code is fine. Secondly to promote people in game you need a plugin which will alter the file for you. For instance Essentials had /modgrp "name" "group", once you do this command type /pr to reload permissions and done.

    There are other Permission editors out there like yeditor which does a similar thing but isn't as bulky if you don't want Essentials.
     
  24. Offline

    Heinz Harald

    Is it possible to allow one person without adminrights use /pr?
     
  25. Offline

    Semperverus

    Wow dude, way to copy my code line for line. You didn't even correct the inheritances you broke with your 'new' classes or anything. Thanks.
     
  26. Offline

    Maddin

    Can i use WordPad for YAML files too?
     
  27. Offline

    Shurris

    Ah! Damn! How could I miss that..? Thanks![​IMG]
     
  28. Offline

    arcanezzz

    plzz help me how do i now make another group like VIP or builder
     
  29. Offline

    Novemberman

    well it doesn't matter essentials breaks this everytime i fix it so i have to figure out a dif way to do it
     
  30. Offline

    Nathan C

    No, YAML parser only.
     
  31. Offline

    AnjoCaido

    One question....

    Can users have the info node with variables too? Or isn't it on a specific node? Or are variables available only for groups?
     
Thread Status:
Not open for further replies.

Share This Page