Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

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

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    zaklampje

    And... U did that?
     
  3. Offline

    Daan

    That's just stupid of me. Thanks for helping @sheepyowl
     
  4. Offline

    FiraGun90

    Hey guys. I kinda need some help with my Permissions... Well this is what I get whenever I start my server.

    Heres my config.yml file (copied from Notepad++)

    And here is the list of my plugins

    AuthorizeFanUpdate
    Essentials
    EssentialsSpawn
    iConomy
    LocalShops
    LWC
    MyHome
    MyWarp
    Permissions (2.5.4)
    Tpack
    Whitelist

    Help is greatly appreciated.
     
  5. Offline

    Kia Hanson

    Can someone seriously help me using this plugin, i cant tell you want i dont understand because i dont even know anything about it. If any one of you can help me message me your skype or add me on skype fusion908
     
  6. Offline

    DJ_Idol

    Permissions has always worked fine for me, until today. Any command I try using that isn't a default user command gives me an internal error message.

    This is my permissions set-up:

    Code:
        Admin:
            default: false
            info:
                prefix: '&f[&cAdmin&f]'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        DJ_Idol:
           group: Admin
           info:
               prefix: '&f[&cCaptain&f]'
               suffix:
           permissions:
    
    and this is the error message: (When I try to use /mc for MagicCarpet)
    Code:
    2011-03-17 14:37:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mc' in plugin MagicCarpet v1.4.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at com.Android.magiccarpet.MagicCarpet.onCommand(MagicCarpet.java:93)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    Also happens when I try to use the DynamicMarket /shop command:

    Code:
    2011-03-17 14:37:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin DynamicMarket v0.5.beta2r2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at com.gmail.haloinverse.DynamicMarket.iListen.hasPermission(iListen.java:54)
        at com.gmail.haloinverse.DynamicMarket.iListen.parseCommand(iListen.java:889)
        at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:160)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    Any ideas? Thanks :)
     
  7. Offline

    Mylo104

    Guys, can i have more than just 3 groups ?
     
  8. Offline

    Wolfwood

    You need to configure iChat's format in it's config file that's what I think.
     
  9. Offline

    DJ_Idol

    Yeah, just add another group but keep the same formatting.
     
  10. Offline

    Triggjo2

    Ya sorry haven't had time to get on here it works fine for me
     
  11. Offline

    Superhykle

    So your saying I got to get rid of essentials and use something like generals, and instead of prefixer and simple colours to use Ichat and it should work? im bugging again default can build and members can use other commands than permitted
     
  12. Offline

    Triggjo2

    I prefer Essentials, Permissions, and iChat not General but if you want to get rid of Essentials then go ahead I'm not stopping you
     
  13. Offline

    karl

    hey umm ive just started with my server and this is my second plugin after essentials and ive set it all up il paste my ylm file in ehre after ive finsihed writing it will let me do the essentials commands but wont let me do /give /time any of the defualt commands? can you help please



    Code:
         # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
    
                - 'falsebook.'
                - 'Essentials.'
                - 'give'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
             'Moderator'
            permissions:
             - /'worldedit.'
             - /'reloadwe.'
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    
        rich_penguin:
            group: Admins
            permissions:
           '*'
    
    
        Bobbytruman:
            group: Moderator
            info:
                prefix:
                suffix:
            permissions:
    
    
        


    it would be amazing if someone could clean this up for me i downloaded this and i have no idea what 90% of it means please help me out
     
  14. Offline

    TheYeti

    Fixed (open)
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'falsebook.*'
                - 'essentials.give'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        rich_penguin:
            group: Admins
            permissions:
        Bobbytruman:
            group: Moderator
            permissions:
    


    How about something actually useful. How does it not work? What error messages are you getting? Do you have the output from the console? Which version of craftbukkit are you referring to?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  15. Offline

    Xrimson

    I'm on CB #556 and it works fine. [​IMG]
     
  16. Offline

    karl

    ok sorry, when i type /give rich_penguin 62 i get 'you do not have access to that command'
    when i type this in terminal i get the message '[WARNING] rich_penguin was denied access to command.'

    i just downloaded bukkit so i presume i am using the latest version

    also it dosn't allow me to use any of the world edit commands either

    also dosnt allow me to do the command /time add 12000


    this is what my terminal says when i first run the server if this helps

    Code:
    Last login: Thu Mar 17 22:17:22 on ttys000
    /Users/karlwestley/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    Karl-westleys-iMac:~ karlwestley$ /Users/karlwestley/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    23:17:38 [INFO] Starting minecraft server version Beta 1.3
    23:17:38 [INFO] Loading properties
    23:17:38 [INFO] Starting Minecraft server on *:25565
    23:17:38 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    23:17:38 [INFO] Preparing level "Minecraft"
    23:17:38 [INFO] Preparing start region
    23:17:39 [INFO] Loaded Essentials build 2.0.296 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    23:17:39 [INFO] WorldEdit 4.1 enabled.
    23:17:39 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    23:17:39 [INFO] Done (0.104s)! For help, type "help" or "?"
    >
     
    
     
  17. Offline

    FiraGun90

    Does anybody know what my problem is???
    I posted it on page 59
     
  18. Offline

    Superhykle

    But I thought you said essentials and permissions bugged? I think we have misunderstanding XD What do I have to do agains the bugs(members can use commands they shouldnt use and default can build)
    Also wanna say its great your so active and anwering my questions TNX!
     
  19. Offline

    sneakysmith12

    So is it me or is it impossible to set a user's permissions in game? Please help.
     
  20. Offline

    Latros

    Hmm, I can't get personal permissions to work.

    AKA I put essentials.sethome in "Latros" personal permissions, and it doesn't work.

    Then I put essentials.sethome in Latros' GROUPS permissions, and it works.

    Any idea what the fix is? Our server NEEDS personal permissions :(

    edit; sorry, CBB531jnks,
    most recent permissions
    and essentials if thats of any use?

    5$ USD and I'll teach you :p

    /evil

    anyone? anyone?

    qqqqqqqqqqqqqq

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  21. Offline

    Aaron Warshaw

    I had it working but now I get the following error with Build
    Code:
    2011-03-17 22:50:46 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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:109)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 1, column 1:
    plugin:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 259, column 2:
    Leac:
    ^
    
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    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.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 com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:82)
    ... 13 more
    build 544 @ post above me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  22. Offline

    TheYeti

    Post your config file
     
  23. Offline

    Latros

    No need found the issue. When a group didn't have any permissions, it was like;

    permissions: ['']

    and I was putting the permissions nodes INSIDE the '' (2 apostraphes) when what I was supposed to do is just get rid of them and it worked ^>^
     
  24. Offline

    A554551N

    what am i doing wrong for this permission for /money pay it doesnt work !

    System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If this file is for your default world (the one in server.properties) then you must
    # leave copies blank.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name. So if it is level-name: world then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
    permissions:
    system: default
    copies:
    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'iConomy.payment'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
     
  25. Offline

    Scott Chi

    Having An Issue With The Permissions System Can Someone Take A Look At It And Tell Me What They Think I Did Wrong.

    Error Message:
    Code:
    2011-03-18 05:28:55 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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 Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
        ... 8 more
    Caused by: mapping values are not allowed here
     in "<reader>", line 92, column 13:
                info:
                    ^
    
        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 com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:82)
        ... 13 more
    D3GN.yml(World Name):
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'lwc.blockinventory'
                - 'hp.use'
                - 'hp.chathealth'
                - 'autosave.save'
                - 'autosave.status'
                - 'autosave.version'
                - 'autosave.world'
                - 'commandbook.who'
                - 'commandbook.msg'
                - 'commandbook.spawn'
                - 'commandbook.rules'
                - 'commandbook.whereami.compass'
                - 'commandbook.whereami'
                - 'AutoRepair.warn'
                - 'AutoRepair.info'
                - 'AutoRepair.access'
                - 'kit.kit'
                - 'kit.starter'
                - 'monstertamer.player.check'
                - 'SuperBow.info'
                - 'SuperBow.help'
        Reg:
            default:false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'izone.zones.list'
                - 'cleaner.clean.force'
                - 'izone.zones.check'
                - 'lwc.protect'
                - 'tplus.tp.toggle'
                - 'mywarp.warp.soc.invite'
                - 'mywarp.warp.soc.uninvite'
                - 'mywarp.warp.soc.public'
                - 'mywarp.warp.soc.private'
                - 'myhome.home.soc.list'
                - 'myhome.home.soc.invite'
                - 'myhome.home.soc.uninvite'
                - 'myhome.home.basic.home'
                - 'myhome.home.basic.set'
                - 'myhome.home.basic.delete'
                - 'kit.reload'
                - 'monstertamer.player.catch'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
                - 'monstertamer.player.wait'
                - 'mobRider.command.stop'
                - 'mobRider.command.go'
                - 'mobRider.players'
                - 'mobRider.animals'
                - 'mobRider.monsters'
        Mods:
            default: false
            info:
                prefix: '4M§eO§2D §b'
                suffix: ''
                build: true
            inheritance:
                - Reg
            permissions:
                - 'cleaner.scan.*'
                - 'izone.zones.create'
                - 'lwc.mod'
                - 'tplus.tp.to'
                - 'tplus.tp.coords'
                - 'tplus.jump.up'
                - 'tplus.jump.jump'
                - 'tplus.jump.qjump'
                - 'tplus.tp.here'
                - 'tplus.tp.others'
                - 'tplus.history'
                - 'tunnelr.basic.*'
                - 'tunnelr.reload.*'
                - 'mywarp.warp.sign.warp'
                - 'mywarp.warp.sign.create'
                - 'hp.nohealth.admin'
                - 'hp.heal'
                - 'hp.heal.admin'
                - 'hp.nohealth'
                - 'hp.harm'
                - 'myhome.home.soc.others'
                - 'Spells.commands.spells'
                - 'Spells.commands.cast'
                - 'Spells.cast.*'
                - 'spawnmob.chicken'
                - 'spawnmob.cow'
                - 'spawnmob.pig'
                - 'spawnmob.sheep'
                - 'spawnmob.spider'
                - 'spawnmob.zombie'
                - 'spawnmob.squid'
                - 'spawnmob.pigzombie'
                - 'spawnmob.slime'
                - 'commandbook.give'
                - 'commandbook.give.other'
                - 'commandbook.give.stacks'
                - 'commandbook.time'
                - 'bflight.bgive'
                - 'bflight.bfly'
                - 'timeshift.shift'
                - 'invtools.allow'
                - 'AutoRepair.auto'
                - 'AutoRepair.repair'
                - 'kit.*'
                - 'CrowdControl.commands.*'
                - 'creaturebox.set'
                - 'creaturebox.give'
                - 'creaturebox.creature.*'
                - 'creaturebox.dropspawner'
                - 'creaturebox.placespawner'
                - 'monstertamer.player.target'
                - 'SuperBow.damage'
                - 'SuperBow.flight'
                - 'movecraft.aircraft.*'
                - 'movecraft.car.*'
                - 'movecraft.boat.sail'
                - 'movecraft.boat.info'
                - 'mobRider.command.goto'
                - 'mobRider.command.attack'
        Help:
            default: false
            info:
                prefix: '6A§5D§6M§5I§6N §5'
                suffix: ''
                build: true
            inheritance:
                - Mods
            permissions:
                - 'epiczones.ignorepermissions'
                - 'epiczones.*'
                - 'izone.zones.ignoreowner'
                - 'izone.zones.expand'
                - 'izone.zones.delete'
                - 'izone.zones.rename'
                - 'izone.zones.flag'
                - 'izone.zones.allow'
                - 'izone.zones.disallow'
                - 'izone.zones.define'
                - 'tplus.tp.world'
                - 'mywarp.warp.soc.give'
                - 'mywarp.admin'
                - 'hp.harm.admin'
                - 'spawnmob.creeper'
                - 'spawnmob.skeleton'
                - 'commandbook.give.infinite'
                - 'commandbook.give.stacks.unlimited'
        Admin:
            default: false
            info:
                prefix: '4A§eD§2M§1I§7N §4'
                suffix: ''
                build: true
            inheritance:
                - Help
            permissions:
                - '*'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        MiracleM4n:
            group: Admin
            permissions:
                - ''
        Jessica_RS:
            group: Help
            permissions:
                - ''
        SilberB:
            group: Help
            permissions:
                - ''
        Watto:
            group: Mods
            permissions:
                - ''
     
  26. Offline

    OrtwinS

    Oh please, all the issues you guys post on the last 5 pages have been solved a long time ago, by Groupmanager.

    - In-game and file permission changing
    - personal permissions, prefixes etc.
    - sub-groups (get the permissions, not the prefix etc. like a member of a faction can still chose between serveral sets abilities without making a huge ammount of different groups)
    - Exception nodes, for example give ppl essentials.* but withold them -essentials.setspawn, also works the other way around, make sure a moderator with OP status is denied all worldedit access, except for the few things you do want him to have.
    - full essentials compatibility
    - full compatibility with plugins made for permissions
    - multiworld permission mirroring, if you want it to of course.
    - many more things I now take for granted but forgot about, since its not an issue anymore...

    No disrespect meant for Nijikokun, without her we never got this far, and TheYeti who took up the burden, but I do think its time to move on now.
     
  27. Offline

    dark_hunter

    When edited the config for adding permissions, do I put a space between the nodes?
    PHP:
    Moderator:
            default: 
    false
            info
    :
                
    prefix''
                
    suffix''
                
    buildtrue
            inheritance
    :
                - Default
            
    permissions:
                - 
    'bar.foo' 'bar.foo'
    Or without a space like this?
    PHP:
    Moderator:
            default: 
    false
            info
    :
                
    prefix''
                
    suffix''
                
    buildtrue
            inheritance
    :
                - Default
            
    permissions:
                - 
    'bar.foo''bar.foo'
    Need to know this, could not find the answer on the wiki.

    Cheers.
     
  28. Offline

    Tylrx69

    Hmm i got a problem, im solely getting this for the "NSpleef" Plugin, i tried to avoid getting it because it seems complicated, and i was right. :/

    I've followed your guide all the way threw and it dosent seem to work. I've added my name to the Admins group and set my Prefix to '&cAdmin&c' for it to say Admin in red before my name but when i type in game it wont show or color it. ALSO. The Spleef Plugin still wont work even after i added the Nspleef Permissions thing.

    Admins: 'Tyl3rx69'
    default: false
    info:
    prefix: '&1Admin&1'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'nSpleef.admin'

    I've also watched this guys video - http://www.youtube.com/watch?v=B3sxuGjb534 and followed that threw to and still wont work. And when i check my server CMD when i start up, some plugins say "Permissions syestem not detected" so i toye daround with it and deleted all thata useless stuff and left the Plugins part, the Groups part and the users part. And now i get this error. I could just reinstall. but damn i want this to work! And yes i did rename my .yml config file to my world name which is named world lol.
    Error - http://img810.imageshack.us/i/permissionsproblem.jpg/
     
  29. Offline

    Xin_TiGeR

    i have not read the latests post but dont you think its time to put a comand in order to change the group ingame?
    its a bit lame having a great plugin such as this and still have to add people through the files..
     
    dark_hunter likes this.
  30. Offline

    thorncrown

    Hey there!
    My problem is
    1. Inheritance of my "Major" group doesn't work! As major you should able to use the defaults commands. But something seems to be wrong.

    2. I wanna access our major to use /region info, /region addmember and /region removemember. I don't know the permission parameters, so I tried these: 'worldguard.region.info' 'worldguard.region.addmember' 'worldguard.region.removemember'
    Whats wrong here? Another parameter?


    Heres my config:

    Code:
    plugin:
        permissions:
            system: default
            copies: hell
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'lwc.protect'
                - 'essentials.spawn'
                - 'essentials.motd'
                - 'essentials.home'
                - 'essentials.mail'
                - 'essentials.help'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.list'
                - 'essentials.afk'
                - 'essentials.sell'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
    
        Major:
            default: false
            info:
                prefix: '&eMajor&6'
                suffix:
                build: true
            inheritance: Default
            permissions:
                - 'essentials.kick'
                - 'essentials.msg'
                - 'worldguard.region.info'
                - 'worldguard.region.addmember'
                - 'worldguard.region.removemember'
    
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Thorncrown:
            group: Admins
            permissions:
        Toubsh:
            group: Major
            permissions:
     
  31. Offline

    GmK

    And how often should we say that you can simpy use the plugin Yeditor which works perfectly?

    You add them one below the other, so in your case:

    PHP:
    Moderator:
            default: 
    false
            info
    :
                
    prefix''
                
    suffix''
                
    buildtrue
            inheritance
    :
                - Default
            
    permissions:
                - 
    'bar.foo'
                
    'bar.foo'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
Thread Status:
Not open for further replies.

Share This Page