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

    Korvis

    ok... i have a problem. everything is perfect... until i try to install levelcraft. need to know if this is a permissions issue or a levelcraft issue.

    http://i53.tinypic.com/a27s4x.jpg
     
  3. Offline

    briman0094

    it looks like a levelcraft issue, as CB is having trouble loading a plugin. try reinstalling permissions and levelcraft and see if it still does it. levelcraft may not be compatible with permissions 3.0.1.
     
  4. Offline

    palz2015

    Prefixes still don't work for users.
     
  5. Offline

    Korvis

    snap :( thanks for the help :)
     
  6. Offline

    briman0094

    do you have the latest permissions and levelcraft? i just installed levelcraft and it works fine.
     
  7. Offline

    Jeyge

    Post your files as they are now again. Also, as a test, add a tab to each of the files to see if it throws any errors.
     
  8. Offline

    briman0094

    ok...posting them right now. I added a tab to both files to see what happened and it gave an error for each file, but not when i took the tabs back out. btw how do i make a section collapsable?
     
  9. Offline

    Jeyge

    Put it in spoiler tags.
     
  10. Offline

    briman0094

    Here are my files:

    groups.yml (open)

    ##
    # 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: '&fGuest'
    suffix: ''
    build: false
    inheritance:
    permissions:
    Moderator:
    default: false
    info:
    prefix: '&2Moderator'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    Admins:
    default: false
    info:
    prefix: '&4Admin'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    users.yml (open)

    users:
    briman0094:
    permissions: null
    groups:
    - Admins
    Player:
    permissions: null
    groups:
    - Moderator
     
  11. Offline

    Jeyge

    I just ran a test and it isn't anything you are doing wrong. The prefix and suffix along with the group is only being returned as the default group. I'm going to keep playing with it though to see if I can figure out why.
     
  12. Offline

    BlueLiquidPlus

  13. Offline

    tacozaregood

    y wont this work i always get errors like when i change it to a .yml file it says when i join "moving to fast hacking?" or it just says i dont have permisson to enter the world... and when its neither of those it just doesnt do anything at all....?? please help!




    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:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        trusted:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
    
         Owner:
            default: false
            info:
                prefix: 'owner'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
         co-Owner:
            default: false
            info:
                prefix: 'owner'
                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
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        tacozaregood:
            group: Owner
            info:
                prefix: 'Owner'
                suffix: ''
            permissions:
    
        AITOTWR:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions:
    
        saints98row:
            group: Admins
            permissions:
    
        theflash19980:
            group: co-Owner
            info:
                prefix: 'co-owner'
                suffix:
            permissions:
    
        poochika278:
            group: trusted
            info:
                prefix: 'trusted'
                suffix:
             permissions:
    
         cojo09:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions
    
          thusfor:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions
    
           cybertwinke:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions
    
     
  14. Offline

    Jeyge

    That was some really interesting spacing you ended up with at the end of the file. It was like you gave up trying to follow the other indentation. Here is a fixed version:
    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:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        trusted:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
    
        Owner:
            default: false
            info:
                prefix: 'owner'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        co-Owner:
            default: false
            info:
                prefix: 'owner'
                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
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        tacozaregood:
            group: Owner
            info:
                prefix: 'Owner'
                suffix: ''
            permissions:
    
        AITOTWR:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions:
    
        saints98row:
            group: Admins
            permissions:
    
        theflash19980:
            group: co-Owner
            info:
                prefix: 'co-owner'
                suffix:
            permissions:
    
        poochika278:
            group: trusted
            info:
                prefix: 'trusted'
                suffix:
            permissions:
    
        cojo09:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions:
    
        thusfor:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions:
    
        cybertwinke:
            group: Moderator
            info:
                prefix: 'Mod'
                suffix: ''
            permissions:
    
    
    As for the file name, it has to be <world name>.yml and in the plugins\permissions folder. If you have file extensions turned off, the file will be named just <world name>.
     
  15. Offline

    tehseano

    I can't seem to get any in-game commands to work. Anytime I try ANY command except permissions -reload all, none of them work. For example, I can't use /permissions -list users SFSMP (my world's name). It returns:
    Code:
    /permissions
    Example: /permissions } blah blah blah
    Example: /permissions -reload all | blah blah blah
    Example: /permissions -reload [world] | blah blah blah
    Anytime I try to do in-game commands such as trying to create a new user with "/permissions FooBob1 SFSMP create" also gives me the same error. Also, a few of the commands are confusing. It would be nice if on the wiki along with the syntax/permission node/description, you added an example of the command. Sometimes you say to input a variable, and I'm not sure what to expect. Then the things that might explain it, haven't been inputed into the wiki yet :( Anyways I just want to be able to add/promote players from in-game, rather than having to edit the config every time. I just can't figure out how to...
     
  16. Offline

    Jeyge

    You are running 2.7.4 and those commands only work with 3.0.
     
  17. Offline

    tehseano

    Ha!, Durrr. Thanks. I figured it had to be something obvious I was overlooking.
     
  18. Offline

    BobKare

    1. I'm running version 2.7.4.
    2. I'm checking for errors, but there is no-one.
    3. I tried your fixed versions and all things... Just the easy way: This is my world file:
    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: true
            inheritance:
            permissions:
                - 'mh.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'colorme.list'
                - 'plugman.list'
                - 'plugman.describe'
                - 'privatechat'
                - 'magiccarpet.*'
                - 'EasyTP.*'
                - 'mh.*'
        Administrator:
            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
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        BobKare:
            groups: Administrator
            permissions:
                - '*'
        Kristini7:
            groups: Moderator
            permissions:
                - 'colorme.list'
                - 'plugman.list'
                - 'plugman.describe'
                - 'privatechat'
                - 'magiccarpet.*'
                - 'EasyTP.*'
                - 'mh.*'
    I deleted the groups and users files, cause you said I didn't need it.
     
  19. Offline

    andrewkm

  20. Offline

    nicke937

    How do I type to move a user to a group with a command?
     
  21. Offline

    jbMurdock

  22. Offline

    andrewkm

    One of the owners of this permissions plugin just released 3.x and made a new thread, since theyeti isnt active now and doesnt update this one.
    http://forums.bukkit.org/threads/admn-dev-permissions-3-0-2-the-plugin-of-tomorrow-803.18430/
    I suggest everyone goes there, and uses 3.x Its working quite well, and the more people use it, the more feedback it gets and the better it becomes! Everyone go over to the 3.0.2 thread :)
    in-game permissions commands now exist! :)
    -
    3.0.3 now :) Very active :D
     
  23. Offline

    Jeyge

    You should also be seeing BLOCK_PLACE and BLOCK_BREAK errors if you didn't get any errors from the broken files. Those errors are indications that your permissions file isn't named correctly. Make sure you file is now in plugins\permissions with the name of <world name>.yml. If you have file extensions turned off, the file will be named just <world name>. Make sure it is cased the same way as it is in your server.properties file.
     
  24. Offline

    jbMurdock

    C
    Confirmed, agreed, whatever... Just head over to the "thread of tomorrow" :cool:
     
  25. Offline

    vfern_fern

    So the latest build is on a different thread now? Sounds good to me! Thanks!
     
  26. Offline

    Armaxxx

    help me 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: true
            inheritance:
            permissions:
                - 'choptree.chop'
                - 'lwc.protect'
                - 'meals.use'
                - 'wolfpound.use'
                - 'OwnBlocks.use'
                - 'OwnBlocks.add'
                - 'mcmmo.motd'
                - 'mcmmo.regeneration'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'choptree.chop'
                - 'bedrockcontrol.placeblock'
                - 'bedrockcontrol.destroyblock'
                - 'bedrockcontrol.getdrop'
                - 'fltd.disable'
                - 'lwc.mod'
                - 'meals.region.create'
                - 'meals.region.edit'
                - 'meals.use'
                - 'OpenInv.openinv'
                - 'wolfpound.use'
                - 'OwnBlocks.use'
                - 'OwnBlocks.add'
                - 'mcmmo.motd'
                - 'mcmmo.regeneration'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'choptree.chop'
                - 'choptree.command.check'
                - 'choptree.command.change'
                - 'choptree.command.toggle'
                - 'choptree.command.protect'
                - 'choptree.command.chunk'
                - 'lwc.admin'
                - 'meals.region.admin'
                - 'OpenInv.override'
                - 'OpenInv.openinv'
                - 'wolfpound.create'
                - 'wolfpound.admin'
                - 'wolfpound.adopt'
                - 'OwnBlocks.ignoreOwnership'
                - 'mcmmo.chat.adminchat'
                - 'mcmmo.commands.setmyspawnother'
                - 'mcmmo.tools.mmoedit'
                - 'mcmmo.tools.mcgod'
                - 'mcmmo.tools.mcrefresh'
                - 'mcmmo.commands.setmyspawn'
    ##
    # 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:
        Armax:
            group: Admins
            permissions:
        Carlos3609:
            group: Moderator
            permissions:
        kyokozuke:
            group: default
            permissions:
        arrecoño:
            group: default
            permissions:
        10max10tron:
            group: default
            permissions:
        alexsvn:
            group: default
            permissions:
        axonam:
            group: default
            permissions:
        BlueDragonKs:
            group: default
            permissions:
        Chipi17:
            group: default
            permissions:
        Daniel:
            group: default
            permissions:
        dark777:
            group: default
            permissions:
        essio azassin:
            group: default
            permissions:
        exekon:
            group: default
            permissions:
        fefar:
            group: default
            permissions:
        gatoninllu:
            group: default
            permissions:
        Herobrine:
            group: default
            permissions:
        inkisi:
            group: default
            permissions:
        Juanjose920:
            group: default
            permissions:
        JuanXD:
            group: default
            permissions:
        jukk:
            group: default
            permissions:
        Leonardo:
            group: default
            permissions:
        loquendo23:
            group: default
            permissions:
        luxx:
            group: default
            permissions:
        MadaraUchiha213:
            group: default
            permissions:
        mrrodrigoyones:
            group: default
            permissions:
        Notch:
            group: default
            permissions:
        nysor:
            group: default
            permissions:
        Player:
            group: default
            permissions:
        richarddd12:
            group: default
            permissions:
        Sixto:
            group: default
            permissions:
        thedark777:
            group: default
            permissions:
        WiiSonic1:
            group: default
            permissions:
        RaidenSB:
            group: default
            permissions:
    this is how i have configured the latest build with that, but it only tells me, [grave] cant run plugins/permissions.jar
    please help
     
  27. Offline

    Psycho Robot

    1. remove all Permissions in "moderator" that are also found in "default". When you set moderator to inherit default, they automatically get all the default group's permissions. This means that when you have them inherit permissions from default, while at the same time listing permissions that the default group also has, you're assigning them the same permission twice. That causes issues.

    2. In the admin group, you assign them '*' node, which is equivalent to every node possible, as well as a number of individual nodes. that means you're assigning nodes more than once for admins. Either remove the '*', set them to inheirt from moderators, and assign extra nodes as appropriate, or delete all the invidiual nodes and keep inheritance off.

    3. You do not need to assign people to the default group. If someone is not assigned a group when they join the server, they will be put into the default group. Yo only need to assign usergroups to place someone in a group other than default.
     
  28. Offline

    Jeyge

    The rest of the error message would really help but I'm going to make a guess that it was either something about a bad fffd character or a bad Unicode character. You need to remove arrecoño from the users list and he will have to live with the default permissions. Special Unicode characters aren't allowed in a lot of these plugins yml files.
     
  29. Offline

    Psycho Robot

    He knew what was coming when he picked a weird name like that. Shame on him.
     
  30. Offline

    Jeyge

    That he did and he won't be able to get it changed either. His only hope is for all plugins to support the full Unicode character set and I don't think he will get that anytime soon.
     
  31. Offline

    Armaxxx

    Thank you Thank youThank youThank youThank youThank youThank youThank you Thank youThank youThank youThank you that really helps, everybody that have issues should hear this!!!!
     
Thread Status:
Not open for further replies.

Share This Page