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

    Maxis010

    Your welcome my good sirs
     
  3. Offline

    amunro

    Code:
    [SEVERE] Could not load 'plugins/Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:164)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block collection
     in "<reader>", line 69, column 13:
                    - 'foo.bar'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 102, column 16:
                    - 'bar.foo'
                       ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    I get this error when starting the server. It was fine until I installed iConomy and a few other plugins, and now it wont work. I have edited the config several times, and the top of the command list is always where it throws the error. either - 'bar.foo' or - 'essentials.chat' etc.
     
  4. Offline

    jbMurdock

    @amunro:
    Looks like your permissions are invalid. Please check if you have tabstops in your permissions config file and replace them with spaces.
     
  5. Offline

    Jeyge

    When you were adding the new permissions, you either missed a closing ' or your spacing is off. Post your permissions.yml file or check for those.
     
  6. Offline

    Tyrant451

    Hey guys. I'm new to hosting Minecraft servers and I recently added permissions and learned how to use it (I believe) and It's working great for admins and moderators, but for some reason anyone who logs in default who is not op'ed gets the Error - You do not have permission to enter Red Mojave. [Server name] It appears in the chat box. Please help?

    (can't figure out how to put this in scroll bar form)
    # 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:
    - 'PlgEssentials.help'
    - 'PlgEssentials.msg'
    - 'iConomy.*'
    - '-iConomy.money.grant'
    - '-iconomy.money.set'
    - '-iConomy.money.hide'
    - '-iconomy.money.create'
    - '-iConomy.money.remove'
    - '-iConomy.money.reset'
    - '-iConomy.money.purge'
    - '-iConomy.money.empty'
    - '-iConomy.bank.create'
    - '-iConomy.bank.remove'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - '*'
    Admins:
    default: false
    info:
    prefix: 'Mayor'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    ##
    # Users denote which users are included in which group.
    # Tyrant451 is in the Admin group
    # Arcus360 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:
    Tyrant451:
    group: Admins
    permissions:
    Arcus360:
    group: Admins
    info:
    prefix: ''
    suffix: ''
    permissions:
    AlphaLegitPolski:
    group: Admins
    info:
    prefix: ''
    suffix: ''
    permissions:
    meenos:
    group: Admins
    info:
    prefix: ''
    suffix: ''
    permissions:
     
  7. Offline

    amunro

    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:
                - 'essentials.chat'
                - 'essentials.motd'
                - 'essentials.getpos'
                - 'essentials.spawn'
                - 'essentials.afk'
                - 'essentials.msg'
                - 'essentials.back'
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.rules'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'myhome.home.basic.*'
                - 'myhome.home.soc.*'
                - 'lwc.protect'
                - 'warp.to.*'
                - 'runecraft.*'
                - 'realshop.shop'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.bank.*
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.*'
                - 'worldedit.*'
                - 'myhome.home.*'
                - 'lwc.mod'
                - 'warp.*'
                - 'worldguard.*'
                - 'runecraft.*'
                - 'realshop.*'
                - 'iConomy.*
                - 'bb.*'
        Donator:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.chat'
                - 'essentials.motd'
                - 'essentials.getpos'
                - 'essentials.spawn'
                - 'essentials.afk'
                - 'essentials.msg'
                - 'essentials.back'
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.rules'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'myhome.home.basic.*'
                - 'myhome.home.soc.*'
                - 'lwc.protect'
                - 'warp.to.*'
                - 'runecraft.*'
                - 'realshop.shop'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.bank.*
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-xauth.exclude'
    
    ##
    # 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:
        synergies:
            group: Admins
            permissions:
        oscarbaby:
            group: Admins
            permissions:
        Cathonic:
            group: Moderator
            permissions:
    Here it is, however I cannot see anything wrong with it.

    P.S here is the error again
    Code:
    2011-05-21 22:00:35 [SEVERE] Could not load 'plugins/Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:164)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block collection
     in "<reader>", line 69, column 13:
                    - 'essentials.chat'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 101, column 16:
                    - 'essentials.*'
                       ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
     
  8. Offline

    Jeyge

    Just as a sample set of missing closing quotes.
    Code:
                - 'iConomy.access'
                - 'iConomy.bank.*
        Moderator:
    
                - 'realshop.*'
                - 'iConomy.*
                - 'bb.*'
    
                - 'iConomy.access'
                - 'iConomy.bank.*
        Admins:
    
    If you put the permissions in [ code ] blocks (link is on the toolbar above), it will preserve the indents and add the scroll bar.

    Is Red Mojave a city/town? Are you getting any errors in your console/server.log?

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

    reverendgeneral

    Permissions 2.7.3, Bukkit #766

    Players in the "Members" group have the ability to change the time of day, teleport without using the essentials accept/deny functions, and probably more that they haven't told us about yet.

    Players in the "Mods" group, which should inherit from the "Members" group and add to it, can only perform the extra permissions that are defined. They are not inheriting anything from the "Members" group.

    File:
    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    
    groups:
    
      Guests:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: false
        inheritance: ''
        permissions:
          - ''
    
      Members:
        default: false
        info:
          prefix: '&3Member&f|'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - 'essentials.afk'
          - 'essentials.rules'
          - 'essentials.helpop'
          - 'essentials.signs.disposal.create'
          - 'essentials.signs.disposal.use'
          - 'essentials.signs.heal.use'
          - 'essentials.home'
          - 'essentials.sethome'
          - 'lwc.protect'
          - 'essentials.signs.mail.use'
          - 'essentials.motd'
          - 'essentials.me'
          - 'essentials.list'
          - 'essentials.mail.send'
          - 'essentials.mail'
          - 'essentials.warp'
          - 'essentials.world'
          - 'essentials.spawn'
          - 'iConomy.payment'
          - 'iConomyChestShop.shop.create'
          - 'iConomyChestShop.shop.buy'
          - 'iConomyChestShop.shop.sell'
          - 'iConomyChestShop.command.iteminfo'
          - 'essentials.tpa'
          - 'essentials.tpaccept'
          - 'essentials.tpdeny'
    
      Mods:
        default: false
        info:
          prefix: '&aMod&f|'
          suffix: ''
          build: true
        inheritance: 'Members'
        permissions:
          - 'essentials.kick'
          - 'essentials.ban'
          - 'essentials.banip'
          - 'essentials.mute'
          - 'essentials.togglejail'
          - 'essentials.jails'
          - 'essentials.setjail'
          - 'essentials.invsee'
          - 'essentials.ping'
          - 'essentials.broadcast'
          - 'essentials.clearinventory'
          - 'essentials.nick'
          - 'essentials.whois'
          - 'essentials.msg'
          - 'essentials.give'
          - 'essentials.time'
          - 'essentials.tp'
          - 'iConomy.access'
          - 'iConomy.list'
          - 'iConomy.admin.stats'
          - 'iConomy.admin.grant'
          - 'iConomy.bank.access'
          - 'iConomy.bank.main'
          - 'iConomy.bank.main.view'
    
      Admins:
        default: false
        info:
          prefix: '&cAdm&f|'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - '*'
    
    users:
    
      The_Noodle:
        group: 'Admins'
        permissions: ''
    
      Tutrie:
        group: 'Admins'
        permissions: '*'
    
      reverendgeneral:
        group: 'Admins'
        permissions: ''
    
      jjgang:
        group: 'Admins'
        permissions: ''
    
      kontent:
        group: 'Members'
        permissions: ''
    
      stwephanie:
        group: 'Mods'
        permissions: ''
    
      Manicben:
        group: 'Members'
        permissions: ''
    
      OldPeopleKiller:
        group: 'Members'
        permissions: ''
    
      AidanJan:
        group: 'Guests'
        permissions: ''
    
      avish:
        group: 'Members'
        permissions: ''
    
      BROSxXxDANIEL:
        group: 'Mods'
        permissions: ''
    
      141swat:
        group: 'Members'
        permissions: ''
    
      binkydonny:
        group: 'Members'
        permissions: ''
    
      Mr_Mushrooms:
        group: 'Members'
        permissions: ''
    
      teeto135:
        group: 'Members'
        permissions: ''
    
      GETxMURKED:
        group: 'Members'
        permissions: ''
    
     
  10. Offline

    SRArkan

    I need help. I create server. I want install plugin. I some install , but i cant place or break any blocks.
    Can anybody repair it and send me it on my email [email protected]
    Here is permision http://pastie.org/1947430
    I have plugin craftbook , permision , world edit and Essentials
     
  11. Offline

    Jeyge

    Your inheritance needs to be on a new line with a continuation.
    Code:
        inheritance:
          - 'Members'
        permissions:
    
     
  12. Offline

    Dendee

    Hey, I'd love to thank you i was looking for a way to keep all my friends from blowing my computer (32k tnt at once) and this was very easy to comprehend made the most difficult plugin to use easy thanks
     
  13. Offline

    blackvoid

    Is there a ETA for 3.0?
     
  14. Offline

    amunro

    Lol kinda embarrased i missed that now...
     
  15. Offline

    Jeyge

    This may or may not fix your problems. I'm a bit worried when you say you can't place or break any blocks when you don't actually post any errors from the server.log. That file had some problems with it and shouldn't have worked. I'm guessing you are probably getting BLOCK_PLACE/BLOCK_BREAK errors.

    If you are getting those errors, then you will need to make sure your permissions.yml file is in the right location and named correctly. It needs to be in the plugins\permissions directory and named <world name>.yml. If you have file extensions turned off, then the file should be named <world name>. Also, make sure you are running v2.7.4 of Permissions.
     
  16. Offline

    reverendgeneral

    Just updated the file; the Permissions are still messed up.

    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    
    groups:
    
      Guests:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: false
        inheritance:
          - ''
        permissions:
          - ''
    
      Members:
        default: false
        info:
          prefix: '&3Member&f|'
          suffix: ''
          build: true
        inheritance:
          - ''
        permissions:
          - 'essentials.afk'
          - 'essentials.rules'
          - 'essentials.helpop'
          - 'essentials.signs.disposal.create'
          - 'essentials.signs.disposal.use'
          - 'essentials.signs.heal.use'
          - 'essentials.home'
          - 'essentials.sethome'
          - 'lwc.protect'
          - 'essentials.signs.mail.use'
          - 'essentials.motd'
          - 'essentials.me'
          - 'essentials.list'
          - 'essentials.mail.send'
          - 'essentials.mail'
          - 'essentials.warp'
          - 'essentials.world'
          - 'essentials.spawn'
          - 'iConomy.payment'
          - 'iConomyChestShop.shop.create'
          - 'iConomyChestShop.shop.buy'
          - 'iConomyChestShop.shop.sell'
          - 'iConomyChestShop.command.iteminfo'
          - 'essentials.tpa'
          - 'essentials.tpaccept'
          - 'essentials.tpdeny'
    
      Mods:
        default: false
        info:
          prefix: '&aMod&f|'
          suffix: ''
          build: true
        inheritance:
          - 'Members'
        permissions:
          - 'essentials.kick'
          - 'essentials.ban'
          - 'essentials.banip'
          - 'essentials.mute'
          - 'essentials.togglejail'
          - 'essentials.jails'
          - 'essentials.setjail'
          - 'essentials.invsee'
          - 'essentials.ping'
          - 'essentials.broadcast'
          - 'essentials.clearinventory'
          - 'essentials.nick'
          - 'essentials.whois'
          - 'essentials.msg'
          - 'essentials.give'
          - 'essentials.time'
          - 'essentials.tp'
          - 'iConomy.access'
          - 'iConomy.list'
          - 'iConomy.admin.stats'
          - 'iConomy.admin.grant'
          - 'iConomy.bank.access'
          - 'iConomy.bank.main'
          - 'iConomy.bank.main.view'
    
      Admins:
        default: false
        info:
          prefix: '&cAdm&f|'
          suffix: ''
          build: true
        inheritance:
          - ''
        permissions:
          - '*'
    
    users:
    
      The_Noodle:
        group: 'Admins'
        permissions: ''
    
      Tutrie:
        group: 'Admins'
        permissions: '*'
    
      reverendgeneral:
        group: 'Admins'
        permissions: ''
    
      jjgang:
        group: 'Admins'
        permissions: ''
    
      kontent:
        group: 'Members'
        permissions: ''
    
      stwephanie:
        group: 'Mods'
        permissions: ''
    
      Manicben:
        group: 'Members'
        permissions: ''
    
      OldPeopleKiller:
        group: 'Members'
        permissions: ''
    
      AidanJan:
        group: 'Guests'
        permissions: ''
    
      avish:
        group: 'Members'
        permissions: ''
    
      BROSxXxDANIEL:
        group: 'Mods'
        permissions: ''
    
      141swat:
        group: 'Members'
        permissions: ''
    
      binkydonny:
        group: 'Members'
        permissions: ''
    
      Mr_Mushrooms:
        group: 'Members'
        permissions: ''
    
      teeto135:
        group: 'Members'
        permissions: ''
    
      GETxMURKED:
        group: 'Members'
        permissions: ''
    
     
  17. Offline

    Jeyge

    Are they perhaps in the ops.txt file and using the default /time? If not, which user is it that can use any of these commands?
     
  18. Offline

    kaasinees

    Permissions not working with 798
     
  19. Offline

    reverendgeneral

    The only players in the "ops.txt" document are the people in the "Admins" group. Every player in the "Members" group can change time, etc, and the people in the "Mods" group can only do the permissions that are listed under their group. They are not inheriting from "Members" like they should.
     
  20. Offline

    kaasinees

    nvm it works.
     
  21. Offline

    Jeyge

    Give this one a try. I cleaned up a few things that could have been causing problems.
    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    
    groups:
    
      Guests:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: false
        inheritance:
        permissions:
    
      Members:
        default: false
        info:
          prefix: '&3Member&f|'
          suffix: ''
          build: true
        inheritance:
        permissions:
          - 'essentials.afk'
          - 'essentials.rules'
          - 'essentials.helpop'
          - 'essentials.signs.disposal.create'
          - 'essentials.signs.disposal.use'
          - 'essentials.signs.heal.use'
          - 'essentials.home'
          - 'essentials.sethome'
          - 'lwc.protect'
          - 'essentials.signs.mail.use'
          - 'essentials.motd'
          - 'essentials.me'
          - 'essentials.list'
          - 'essentials.mail.send'
          - 'essentials.mail'
          - 'essentials.warp'
          - 'essentials.world'
          - 'essentials.spawn'
          - 'iConomy.payment'
          - 'iConomyChestShop.shop.create'
          - 'iConomyChestShop.shop.buy'
          - 'iConomyChestShop.shop.sell'
          - 'iConomyChestShop.command.iteminfo'
          - 'essentials.tpa'
          - 'essentials.tpaccept'
          - 'essentials.tpdeny'
    
      Mods:
        default: false
        info:
          prefix: '&aMod&f|'
          suffix: ''
          build: true
        inheritance:
          - 'Members'
        permissions:
          - 'essentials.kick'
          - 'essentials.ban'
          - 'essentials.banip'
          - 'essentials.mute'
          - 'essentials.togglejail'
          - 'essentials.jails'
          - 'essentials.setjail'
          - 'essentials.invsee'
          - 'essentials.ping'
          - 'essentials.broadcast'
          - 'essentials.clearinventory'
          - 'essentials.nick'
          - 'essentials.whois'
          - 'essentials.msg'
          - 'essentials.give'
          - 'essentials.time'
          - 'essentials.tp'
          - 'iConomy.access'
          - 'iConomy.list'
          - 'iConomy.admin.stats'
          - 'iConomy.admin.grant'
          - 'iConomy.bank.access'
          - 'iConomy.bank.main'
          - 'iConomy.bank.main.view'
    
      Admins:
        default: false
        info:
          prefix: '&cAdm&f|'
          suffix: ''
          build: true
        inheritance:
        permissions:
          - '*'
    
    users:
    
      The_Noodle:
        group: 'Admins'
        permissions:
    
      Tutrie:
        group: 'Admins'
        permissions:
    
      reverendgeneral:
        group: 'Admins'
        permissions:
    
      jjgang:
        group: 'Admins'
        permissions:
    
      kontent:
        group: 'Members'
        permissions:
    
      stwephanie:
        group: 'Mods'
        permissions:
    
      Manicben:
        group: 'Members'
        permissions:
    
      OldPeopleKiller:
        group: 'Members'
        permissions:
    
      AidanJan:
        group: 'Guests'
        permissions:
    
      avish:
        group: 'Members'
        permissions:
    
      BROSxXxDANIEL:
        group: 'Mods'
        permissions:
    
      141swat:
        group: 'Members'
        permissions:
    
      binkydonny:
        group: 'Members'
        permissions:
    
      Mr_Mushrooms:
        group: 'Members'
        permissions:
    
      teeto135:
        group: 'Members'
        permissions:
    
      GETxMURKED:
        group: 'Members'
        permissions:
    
     
  22. Offline

    reverendgeneral

    Still nothing. I'm beyond baffled here. I can't find any errors in the file itself, and console doesn't throw any errors on server start, when players use commands, or at any other time.
     
  23. Offline

    Jeyge

    Which version of Permissions are you running and are you running GroupManager at the same time?
     
  24. Offline

    Draconicus

    I have a feature request!
    It would be splendid if admins could get away with blocking certain permissions nodes (for plugin maintainers who add everything possible with the intention of letting you pick and choose) while otherwise maintaining the '*' wildcard for unlimited permissions. As it is, if I wanted to disable two features from two of my 30+ plugins, I'd have to add nodes for everything else and exclude those. An inverse function of including everything except a couple would be splendid! Do you think you could implement this with a specialized node?
     
  25. Offline

    Psycho Robot

    Actually sir, this already exists. It is as follows:
    Code:
            - '*'
            - '-redacted.nodes'
            - '-redacted.nodes'
            - '-redacted.nodes'
    
     
  26. Offline

    SierraDelta

    @Draconicus: Try adding a '-' symbol before a permission node that you want to leave out.
    Edit: Missed the post above my own. :p
     
  27. Offline

    reverendgeneral

    Permissions 2.7.3 and no GroupManager
     
  28. Offline

    Deiza

    http://pastebin.com/JhFjnqjH here it is sorry but im kind of new to all this
     
  29. Offline

    Psycho Robot

    You haven't added yourself to the list of users. TheNo1Yeti is just an example name. If you change that to your minecraft name, you'll be an admin and have all permissions. Apart from that, there are no errors in your permissions .yml. The other errors in your log are related to other plugins. You should investigate in the relevant plugin threads.
     
  30. Offline

    Jeyge

    I guess the one thing we haven't done so far is actually break Permissions. Add a tab to your file and see if it throws an error. I just went back to your original file and saw the results you were talking about and the problems all go away with the one I posted above.
     
  31. Offline

    ben1996123

    Doesn't work now, did before though. Using 766/798. Was working with 766, but some of the permissions stopped working (which has happened before) so all I did was delete the permissions plugin and re-download it. This worked before, but now for some reason, the plugin doesn't load at all. I get no errors of it not working, it just doesn't load up.
     
Thread Status:
Not open for further replies.

Share This Page