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

    Jeyge

    One test to see if the file name isn't correct would be to delete that permissionstestworld.yml and restart the server. If it shows up again, it means that your name isn't correct on the one you have set up.

    Also, post your new permissions.yml file.
     
    Last edited by a moderator: Dec 15, 2016
  3. Offline

    Retricide

    How would I negate a negative node?
    For example,
    I have groups "A" and "B." "B" inherits from "A." "A" has the permission '-foo.bar' but I want to give "B" the ability to use 'foo.bar'
    I need to give "A" the negative node because the group below "A" has 'foo.bar', but I don't want "A" to have it.
    In groupmanager there was the '+' node, so I could do '+foo.bar' for group "B."
    How would I do that in permissions 2.7.2?
     
  4. Offline

    Slickj

    The new file is empty. Completely.
    tried replacing it with a copy&paste ver of the permissions>testworld.yml file but that didn't work. I took off the .yml and that didn't work.

    the file permissionstestworld was still made regardless.
     
  5. Offline

    1nsan3

    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:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Owner:
            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
    ##
    Builder:
            default: True
            info:
                prefix: '&a[Survival] [VIP] '
                suffix: '&a'
                build: true
            inheritance:
                - Guest
            permissions:
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - clearinventory.use
    
    Admin:
            default: false
            info:
                prefix: '&3[Admin] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
    Owner:
            default: false
            info:
                prefix: '&2[Owner] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
      users:
        1nsan3:
            group: Owner
            info:
                prefix: '&6[Owner] '
                suffix: '&6 What Can i Say?'
            permissions:
                - '*'
        Blazor11:
            group: Admin
            info:
                prefix: '&6[Admin] '
                suffix: '&6 Just  Cool'
            permissions:
                - '*'
    
    




    Why isn't it working?
     
  6. Offline

    Jeyge

    By your new permission.yml file I meant the one you modified, not the one that may or may not have been created again. So was one created? If yes and the name of your so called old file is actually testworld.yml then just remove the .yml. You have doubled up the file extensions.
    The + isn't needed. Just add a new permission like " - foo.bar.
     
  7. Offline

    Retricide

    so the negative negates the negative?
    Double negative then equals positive permission?
     
  8. Offline

    Jeyge

    That isn't a negative. A negative would be " - -foo.bar"
     
  9. Offline

    Retricide

    Oh. You didn;t put a closing quote So I wasn't sure what You meant.
    But that doesn't work for me.
    Could it be because I have the "*" with another negative node?
    I have "A" with - '-foo.bar'
    while "B" has '*' and - '-something.else'
    Is - '-something.else' messing it up?
     
  10. Offline

    Slickj

    It seems the naming and location of the file was the problem. I renamed testworld.yml to testworld and moved it to the folder "plugin" and bam no more errors.

    Thank you for your help in this matter.
     
  11. Offline

    Jeyge

    You have doubled up your defaults by copying some extra information where the users are normally. I would keep one set of groups and delete the others and if you want the second set, they will need to be moved over as needed.

    You didn't say anything about a '*'. You can't add or subtract from a '*'.

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

    1nsan3

    can you please fix it and put it in a new code thing? ( i'll donate a dollar or more i really need this.
     
  13. Offline

    Retricide

    Oh. Alright. That blows, worked differently in GM >.<
    Alright thanks
     
  14. Offline

    Jeyge

    I would have to know which is the correct set of groups.
     
  15. Offline

    1nsan3

    I just want a Builder group, Admin, and Owner

    1nsan3 which is me as the owner and Blazor11 is the Admin, and the builder is like a guest/and can build and stuff.
     
  16. Offline

    Jeyge

    Show Spoiler
    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:
        Builder:
            default: true
            info:
                prefix: '&a[Survival] [VIP] '
                suffix: '&a'
                build: true
            inheritance:
            permissions:
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - clearinventory.use
    
        Admin:
            default: false
            info:
                prefix: '&3[Admin] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
        Owner:
            default: false
            info:
                prefix: '&2[Owner] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
    ##
    # 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:
        1nsan3:
            group: Owner
            info:
                prefix: '&6[Owner] '
                suffix: '&6 What Can i Say?'
            permissions:
                - '*'
        Blazor11:
            group: Admin
            info:
                prefix: '&6[Admin] '
                suffix: '&6 Just  Cool'
            permissions:
                - '*'
    [/spoiler]
    That should do it for you.
     
  17. Offline

    1nsan3

    Show Spoiler

    It isn't working I think.. the Admin thing doesn't show in game, do you have msn/Skype?

    msn: [email protected]
    skype: coolcoldkid
     
  18. Offline

    Malcolm19988

    What are the commands and how do I use it ingame? I also added my name in the text as a moderator (on the bottom in the correct spot) and it is still not working although it is detected PLEASE HELP
     
  19. Offline

    Retricide

    I still can't get a negative permission to be overriden.
    I want my moderators to be able to use permissions.group and residence.admin, among other previously negated nodes. They can't, any idea how to fix?
    Code:
    groups:
      Default:
        default: true
        permissions:
        - 'achievements.check'
        - 'achievements.view.list'
        - 'achievements.view.own'
        - 'essentials.depth'
        - 'essentials.getpos'
        - 'essentials.helpop'
        - 'essentials.list'
        - 'essentials.mail'
        - 'essentials.me'
        - 'essentials.msg'
        - 'essentials.spawn'
        - 'essentials.afk'
        - 'mcdocs./motd'
        - 'mcdocs./news'
        - 'mcdocs./register'
        - 'mcdocs./rules'
        - 'mcdocs./trade'
        - 'nSpleef.member.deletegame'
        - 'nSpleef.member.join'
        - 'nSpleef.member.leave'
        - 'nSpleef.member.list'
        - 'parties.allow.chat'
        - 'parties.allow.join'
        - 'stats.log'
        - 'stats.view others'
        - 'stats.view.own'
        - 'stats.view.playtime'
        inheritance:
        info:
          prefix: '&f[Default] '
          build: false
          suffix: ''
      VIPs:
        default: false
        permissions:
        - 'essentials.clearinventory'
        - '-tpp.mod.notp'
        - '-permissions.group'
        - 'essentials.item'
        - 'essentials.tpo'
        - 'parties.allow.tp'
        - 'tpp.jump.*'
        - 'tpp.mod.feather'
        - '-residence.admin'
        - 'turnstile.admin.ignore.price'
        inheritance:
        - Staff
        info:
          prefix: '&f[&bVIP&f]&3 '
          build: true
          suffix: ''
      Donators:
        default: false
        permissions:
        - '-tpp.mod.notify'
        - '-tpp.mod.mass'
        - '-tpp.mod.notp'
        - '-permissions.group'
        - 'discosheep.mob.creeper'
        - 'discosheep.mob.sheep'
        - 'discosheep.party.one'
        - 'discosheep.stop'
        - 'essentials.item'
        - 'essentials.tpo'
        - 'herochat.create'
        - 'lockette.admin.snoop'
        - '-residence.admin'
        - 'tpp.mod.*'
        - 'essentials.weather'
        inheritance:
        - VIPs
        info:
          prefix: '&f[&6Donator&f]&e '
          build: true
          suffix: ''
      Staff:
        default: false
        permissions:
        - 'tpp.tp.here'
        - 'essentials.signs.disposal.create'
        - 'essentials.signs.heal.create'
        - 'essentials.time'
        - 'permissions.group'
        - 'residence.admin'
        - 'residence.create'
        inheritance:
        - Experts
        info:
          prefix: '&f[&5Staff&f]&d '
          build: true
          suffix: ''
      Admins:
        default: false
        permissions:
        - '*'
        inheritance:
        info:
          prefix: '&f[&4Admin&f]&c '
          build: true
          suffix: ''
      Experts:
        default: false
        permissions:
        - 'DeathChest.freeChest'
        - 'DeathChest.freeSign'
        - 'essentials.back'
        - 'essentials.tp'
        - 'essentials.tpahere'
        - 'magiccarpet.mc'
        - 'magiccarpet.ml'
        - 'mcbans.kick'
        - 'nSpleef.member.creategame'
        - 'signedit.*'
        - 'towny.town.claim'
        - 'tpp.tp.*'
        - 'turnstile.delete'
        - 'turnstile.link'
        - 'turnstile.make'
        - 'turnstile.owner'
        - 'turnstile.price'
        inheritance:
        - Builders
        info:
          prefix: '&f[&5Expert&f]&d '
          build: true
          suffix: ''
      Super-Moderators:
        default: false
        permissions:
        - 'worldedit.*'
        - 'residence.admin'
        - 'tpp.*'
        - 'residence.create'
        - 'lockette.*'
        - 'permissions.group'
        - 'essentials.*'
        - 'falsebook.*'
        - 'vanish.*'
        - 'mcbans.*'
        - 'localshops.*'
        - '-logblock.rollback'
        - '-essentials.backup'
        - 'logblock.*'
        - 'creativestick.*'
        - 'iConomy.*'
        - 'herochat.*'
        - 'myhome.*'
        - 'worldguard.*'
        - 'wg.*'
        - 'turnstile.*'
        - 'stats.*'
        - 'achievements.*'
        inheritance:
        - Moderators
        info:
          prefix: '&f[&8Super-Moderator&f]&7 '
          build: true
          suffix: ''
      Moderators:
        default: false
        permissions:
        - 'residence.admin'
        - 'residence.create'
        - 'tpp.*'
        - 'lockette.*'
        - 'permissions.group'
        - 'essentials.*'
        - 'falsebook.*'
        - 'vanish.*'
        - 'mcbans.*'
        - 'localshops.*'
        - '-logblock.rollback'
        - '-essentials.backup'
        - 'logblock.*'
        - 'creativestick.*'
        - 'iConomy.*'
        - 'herochat.*'
        - 'myhome.*'
        - 'worldguard.*'
        - 'wg.*'
        - 'turnstile.*'
        - 'stats.*'
        - 'achievements.*'
        inheritance:
        - Donators
        info:
          prefix: '&f[&2Moderator&f]&a '
          build: true
          suffix: ''
      Builders:
        default: false
        permissions:
        - '-falsebook.blocks.area'
        - '-tpp.tp.here'
        - '-tpp.tp.coords'
        - 'DeathChest.allowQuickLoot'
        - 'DeathChest.use'
        - 'essentials.back'
        - 'essentials.back.ondeath'
        - 'essentials.kit'
        - 'essentials.pay'
        - 'essentials.protect'
        - 'essentials.protect.pvp'
        - 'essentials.signs.buy.use'
        - 'essentials.signs.disposal.use'
        - 'essentials.signs.free.use'
        - 'essentials.signs.heal.use'
        - 'essentials.signs.protection.use'
        - 'essentials.signs.sell.use'
        - 'essentials.signs.trade.create'
        - 'essentials.signs.trade.use'
        - 'essentials.worth'
        - 'falsebook.blocks.bridge'
        - 'falsebook.blocks.door'
        - 'falsebook.blocks.gate'
        - 'falsebook.blocks.lift'
        - 'iConomy.access'
        - 'iConomy.list'
        - 'iConomy.payment'
        - 'iConomy.rank'
        - 'localshops.buysell'
        - 'localshops.create'
        - 'localshops.manage'
        - 'lockette.create.*'
        - 'mcdocs./ventrilo'
        - 'monsterhunt.usercmd.hunt'
        - 'monsterhunt.usercmd.huntscore'
        - 'monsterhunt.usercmd.huntstatus'
        - 'myhome.home.basic.*'
        - 'myhome.home.soc.*'
        - 'nSpleef.member.creategame'
        - 'parties.allow.create'
        - 'towny.wild.*'
        - 'tpp.request'
        - 'turnstile.use'
        - 'war.player'
        inheritance:
        - Default
        info:
          prefix: '&f[&1Builder&f]&3 '
          build: true
          suffix: ''
     
  20. Offline

    MadeOke

    supplysign cannot access by builder group.. how to fix that?

    Show Spoiler

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Builder:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            inheritance: null
            permissions:
            - essentials.help
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - supplysign.access
            - kit.kit
    
        Moderator:
            default: false
            info:
                prefix: '&3'
                suffix: '&f'
                build: true
            inheritance:
            - Default
            permissions:
            - essentials
            - essentials.clearinventory
            - essentials.give
            - essentials.invsee
            - essentials.item
            - essentials.jails
            - essentials.mute
            - essentials.afk
            - essentials.home
            - essentials.me
            - essentials.msg
            - essentials.protect
            - essentials.sethome
            - essentials.suicide
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - essentials.back
            - essentials.ban
            - essentials.banip
            - essentials.broadcast
            - essentials.jump
            - essentials.kick
            - essentials.kill
            - essentials.setwarp
            - essentials.time
            - essentials.top
            - essentials.tp
            - essentials.tphere
            - essentials.unban
            - essentials.unbanip
            - essentials.whois
    
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            inheritance: null
            permissions:
            - '*'
    
    users:
        MadeOke:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions: null
    
    
     
  21. Offline

    1nsan3

    can someone help me with this code? It doesn't show up in game next to my 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:
        Builder:
            default: false
            info:
                prefix: '&a[Survival] [VIP] '
                suffix: '&a'
                build: true
            inheritance:
            permissions:
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - clearinventory.use
    
        Admin:
            default: false
            info:
                prefix: '&3[Admin] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
        Owner:
            default: false
            info:
                prefix: '&2[Owner] '
                suffix: '&3'
                build: true
            inheritance: null
            permissions:
                - simplereserve.enter.full
                - supplysign.access
                - SpawnX.spawn
                - myhome.home.basic.*
                - mcbans.*
                - bb.admin.*
                - permissions.reload
                - clearinventory.use
    
    ##
    # 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:
        1nsan3:
            group: Owner
            info:
                prefix: '&6[Owner] '
                suffix: '&6 What Can i Say?'
            permissions:
                - '*'
        Blazor11:
            group: Admin
            info:
                prefix: '&6[Admin] '
                suffix: '&6 Just  Cool'
            permissions:
                - '*'
     
  22. Offline

    AJD

    i made myself admin and i cant build unless i op myself and i have tested it on the other groups and it is the same. any ideas why this happens?
     
  23. Offline

    vfern_fern

    My permissions only work when I am the op but it then seems to work for everyone after I am opped. Thanks jeyge! You are truly helpful

    EDIT: Can anyone tell me if iChat works if I have Essentials Chat in the folder or do I have to remove Essentials Chat?
     
  24. Offline

    Jeyge

    Essentials likes to steal control from every other addon so I would guess it wouldn't work but it doesn't hurt to give it a try.
     
  25. Offline

    vfern_fern

    Yeah it doesn't work! Essentials chat cannot be in the same folder!

    Hey Jeyge I just noticed something!

    My name is red when I am an op! And idk how or why! I thought it was due to essentials chat or something, but even with it my name is red!

    Maybe that is a clue?
     
  26. Offline

    MadeOke

    change
    Code:
    ops-name-color: 'c'
    to

    Code:
    ops-name-color: 'none'
     
  27. Offline

    12345blitzkrieg

    how do I allow or ban blocks?
     
  28. Offline

    Psycho Robot

    there should be a build:true/false line. Set it as appropriate for each group.
     
  29. Offline

    Hitman4Hire

    Could someone please help me with one problem I'm getting with permissions.
    Its the essentials.list , its the only command that refuses to work. I've tried the other commands like /playerlist , /L , /who and /players but to no success. I run the latest bukkit build and I'm on mac.

    Here is my config file

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - essentials.help
            - essentials.tp
            - iConomy.getBank()
            - localshops.buysell
            - localshops.manage
            - localshops.manage.owner
            - localshops.create
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            - stargate.use
            - stargate.create
            - stargate.create.personal
            - stargate.option.hidden
            - stargate.option.alwayson
            - stargate.option.private
            - stargate.option.free
            - worldedit.region.replace
            - essentials.spawn
            - worldedit.navigation.jumpto
            - lc.level.*
            - lc.shout
            - monstertamer.player.catch
            - monstertamer.player.check
            - monstertamer.player.befriend
            - monstertamer.player.target
            - monstertamer.player.release
            - monstertamer.player.whistle
            - monstertamer.player.follow
            - monstertamer.player.wait
            - monstertamer.player.select
            - mobRider.command.goto
            - mobRider.command.attack
            - mobRider.command.go
            - mobRider.command.stop
            - mobRider.command.follow
            - mobRider.command.mount
            - mobRider.command.players
            - mobRider.command.animals
            - mobRider.command.monsters
            - essentials.rules
            - essentials.help
            - clearinventory.use
            - backpack.toggle
            - backpack.open
            - backpack.save.actionbar
            - iSort.basic.all
            - iSort.basic.chest.command
            - iSort.basic.chest.wand
            - iSort.adv.stack
            - DisposalChest.create
            - DisposalChest.remove
            - PortableTorch.Allow
            - PortableTorch.Permanent
            - portalstick.command.portal
            - portalstick.command.deletegrill
            - portalstick.creategrill
            - worldedit.wand
            - worldedit.wand.toggle
            - elevators.builder
            - elevators.advancedbuilder
            - msafe.allow.fire
            - msafe.allow.water
            - essentials.me
            - icoland.basic.select
            - icoland.basic.info
            - icoland.land.list
            - icoland.land.edit
            - icoland.land.buy
            - icoland.land.sell
            - essentials.list
            - essentials.motd
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - essentials.give
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        Hitman4Hire:
            group: Defualt
            permissions:
            - preciousstones.bypass.*
            - preciousstones.override.*
            - essentials.kick
            - essentials.ban
            info:
                cm:
                    maxBoxes: -1
                    maxBoxRange: -1
        trifreak:
            group: Default
            permissions: null
        ownagesquare:
            group: Default
            permissions: null
        The_Raydeo:
            group: Defualt
            permissions:
            - worldedit.superpickaxe
            - preciousstones.bypass
        Rupert138:
            group: Default
            permissions:
            - essentials.give
    
    --------
    
    Plugins:
    ArrowWall
    Backpack
    BlastControl
    ChestLock
    ControllerBlock
    CookieMonster
    DisposalChest
    Elevators
    Essentials
    EssentialsSpawn
    FLTDetector
    HeroicDealth
    iColand
    iConomy
    health
    IOBookcase
    ItemDetector
    Lampstone
    LevelCraft
    LightingControl
    MincartManieCore
    MonsterTamer
    NoCivilSpawns
    NoDrop
    Permissions
    Pitfall
    PreciousStones
    Realshop
    SimpleAwaySleep
    Stargate
    TimeAnnounce
    WeatherSynce
    WorldEdit
    Zeus
    


    Please could someone explain this to me :(
     
  30. Offline

    vfern_fern

    Hmmmmm do I need to be an op?
     
  31. Offline

    Jesse57

    I could be mistaking but I dont see - 'essentials.list' anywhere in your permissions??
     
Thread Status:
Not open for further replies.

Share This Page