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

    You forgot a closing ' on - 'commandbook.kit.kits.moderator.

    Code:
    permissions:
                 - 'commandbook.give'
                 - 'commandbook.kit.kits.moderator
                 - 'commandbook.teleport'
                 - 'commandbook.return'
                 
     
  3. Offline

    Paarng11b

    Thanks you. I don't know how i missed that
     
  4. Offline

    jonathanyan

    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'
                - 'kit.kit'
                - 'kit.proxy'
                - 'kit.starterkit'
                - 'kit.mining'
                - 'kit.farming'
                - 'kit.woodcutting'
                - 'kit.shoveling'
                - 'kit.hunting'
                - 'kit.huntingpro'
                - 'kit.mechanics'
                - 'kit.redstone'
                - 'kit.adventurin'
                - 'kit.building'
                - 'kit.trap'
                - 'kit.wool'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'kit.kit'
                - 'kit.proxy'
                - 'kit.starterkit'
                - 'kit.mining'
                - 'kit.farming'
                - 'kit.woodcutting'
                - 'kit.shoveling'
                - 'kit.hunting'
                - 'kit.huntingpro'
                - 'kit.mechanics'
                - 'kit.redstone'
                - 'kit.adventurin'
                - 'kit.building'
                - 'kit.trap'
                - 'kit.wool'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Jonathan:
            group: Admins
            permissions:
        mousyi:
            group: Default
            permissions:
        Derron Yu:
            group: Default
            permissions:
        maxerix99:
            group: Default
            permissions:
        gyeongjunkim:
            group: Default
            permissions:
        mika:
            group: Default
            permissions:
        Raphael:
            group: Default
            permissions:
    That's the yml file.
     
  5. Offline

    Bot003

    Code:
    2011-05-24 22:03:40 [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(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:172)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:101)
        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:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 69, column 1:
                    - 'foo.bar'
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        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.composeNode(Composer.java:132)
        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
    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: '&7Player'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'TradeCraft.canMakePlayerShops'
                - 'simplewarp.list'
                - 'simplewarp.warp'
                - 'chaircraft.sit'
        Moderator:
            default: false
            info:
                prefix: '&9Mod'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '&2Admin'
                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:
        Mr_Gash:
            group: Admins
            permissions:
        EpicTortul:
            group: Admins
            permissions:
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
     
  6. Offline

    Jeyge

    You have a tab on line 69 and it should be the first thing on the line. Delete the entire line as it isn't needed.
     
  7. Offline

    Bot003

    What do you mean I have a tab on line 69? Care to show me my mistake?
     
  8. Offline

    Jeyge

    Sure.
    Code:
    Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 69, column 1:
                    - 'foo.bar'
        ^
    
    \t is code for a tab character. The error is saying it is on line 69 at or around column 1. I would guess it is on column 1 but it isn't always exactly accurate in the column. It is always accurate in what it found though.
     
  9. Offline

    Bot003

    I fixed it, thanks for the help :)
     
  10. Offline

    Trevor Bradley

    Are there instances in which Group Permissions are inherited from world to world? I'm having some real frustration with Multiverse.. it looks like when I set server.properties to point to a world, that world's group properties propagate to other worlds... for example, if world 1 (alpha) has ping permission for Default users, and beta doesn't, if server.properties = alpha, then default users on beta can ping. However, for some reason, if the default world is "world" and not "alpha", it works as expected.

    More documented here: http://forums.bukkit.org/threads/mi...multiple-worlds-766.3707/page-108#post-324348
     
  11. Offline

    Jeyge

    That is the most complete set of instructions I've seen to recreate this bug. It has come up many times but the only thing anyone could ever say about it is that it happens with MultiVerse and Permissions. This probably won't help but what I saw from the code was that the world retrieved with getWorld wasn't being updated when you moved from one world to another which is why you would see the results you have. Perhaps someone with more coding experience could take a look at it.
     
  12. Offline

    Trevor Bradley

    I've solved it. If the secondary world is named with a capital letter, permissions are inherited. If the secondary world is uncapitalized, permissions are not inherited. *Why* that's the case has me stumped, but I'll hand this off to you folks!

    EDIT: Double verified... I applied this back on my big server, permissions now don't inherit in a more complex setting when I renamed all the worlds to lowercase.

    EDIT2: A little more info.. I'm on Ubuntu Linux, which means "Beta" and "beta" aren't the same thing in the filesystem... likely that's relevant.
     
  13. Offline

    M_bot

    I'm sure this has been mentioned before but are there permission nodes for default server commands, such as /save-all or /kill? Or do I need to get a plugin like essentials to use them in permissions.
     
  14. Offline

    Maxis010

    Get DefaultPermissions to assign nodes for the built in commands
     
  15. Offline

    M_bot

    Thanks for the quick reply.
     
  16. Offline

    joebmxx

    iv done everything correct and how its suppose to be installed iv even checked the coding YMAL parser and it says everything is fine and yes i have the permissions jar installed into plugins and my folder named the same as my server but no matter what i cant get my plugins to work

    my coding is:

    Plugin:
    permissions:
    system: default
    Default:
    default: true
    info:
    prefix: 'Resident'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'essentials.signs.mail.use'
    - 'essentials.msg'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.warp.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.signs.balance.use'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.mail.send'
    - 'essentials.mail'
    - 'essentials.helpop'
    - 'essentials.nick'
    - 'essentials.realname'
    - 'essentials.worth'
    - 'essentials.sell'
    - 'essentials.pay'
    - 'essentials.msg'
    - 'essentials.suicide'
    - 'essentials.spawn'
    - 'essentials.list'
    - 'essentials.afk'
    - 'essentials.portal'
    Moderator:
    default: false
    info:
    prefix: 'Mod'
    suffix: ''
    build: True
    inheritance:
    - Default
    permissions:
    - 'essentials.signs.balance.use'
    - 'essentials.tpo'
    - 'essentials.tpohere'
    - 'essentials.tpall'
    - 'essentials.clearinventory'
    - 'essentials.clearinventory.others'
    - 'essentials.broadcast'
    - 'essentials.ban'
    - 'essentials.tempban'
    - 'essentials.mute'
    - 'essentials.kick'
    - 'essentials.togglejail'
    - 'essentials.jails'
    - 'essentials.invsee'
    - 'essentials.give'
    - 'essentials.item'
    - 'essentials.unlimited'
    - 'essentials.time'
    - 'essentials.tree'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.heal.others'
    - 'essentials.weather'
    - 'essentials.thunder'
    - 'essentials.lightning'
    Admins:
    default: false
    info:
    prefix: 'Admin'
    suffix: ''
    build: True
    inheritance:
    - moderator
    - default
    permissions:
    - '*'
    - 'essentials.setspawn'
    - 'groupmanager.manuadd'
    - 'groupmanager.manudel'
    - 'groupmanager.manpromote'
    - 'groupmanager.mandemote'
    - 'groupmanager.manwhois'
    - 'essentials.chat.color'
    - 'essentials.setspawn'
    - 'essentials.powertool'
    - 'essentials.heal.cooldown.bypass'
    - 'essentials.god.others'
    - 'essentials.bigtree'
    - 'essentials.unlimited'
    - 'essentials.setjail'
    - 'essentials.deljail'
    - 'essentials.setjail'
    - 'essentials.unbanip'
    - 'essentials.unban'
    - 'essentials.backup'
    - 'essentials.kill'
    - 'essentials.ext'
    - 'essentials.burn'
    - 'essentials.antioch'
    - 'essentials.spawnmob'
    - 'essentials.plugin'
    - 'essentials.gc'
    - 'essentials.reloadall'
    - 'essentials.essentials'
    - 'essentials.seen'
    - 'essentials.whois'
    - 'essentials.motd'
    - 'essentials.info'
    - 'essentials.setworth'
    - 'essentials.eco'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    - 'essentials.warp.otherplayers'
    - 'essentials.warp.[warpname]'
    - 'essentials.world'
    - 'essentials.top'
    - 'essentials.compass'
    - 'essentials.getpos'
    - 'essentials.depth'
    - 'essentials.signs.trade.create'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.sell.create'
    - 'essentials.signs.balance.create'
    - 'essentials.signs.warp.create'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.disposal.create'
    - 'essentials.signs.free.create'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.override'
    - 'essentials.signs.mail.create'
    - 'essentials.help'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.heal'
    - 'worldguard.heal.other'
    - 'worldguard.locate'
    - 'worldguard.stack'
    - 'worldguard.region.define'
    - 'worldguard.region.redefine'
    - 'worldguard.region.claim'
    - 'worldguard.region.select'
    - 'worldguard.region.info'
    - 'worldguard.region.list'
    - 'worldguard.region.flag'
    - 'worldguard.region.setpriority'
    - 'worldguard.region.setparent'
    - 'worldguard.region.remove'
    - 'worldguard.region.addmember'
    - 'worldguard.region.addowner'
    - 'worldguard.region.removemember'
    - 'worldguard.region.removeowner'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.reload'
    - 'magiccarpet.mc'
    - 'magiccarpet.ml'
    - 'worldedit.brush.sphere'
    - 'worldedit.brush.cylinder'
    - 'worldedit.brush.clipboard'
    - 'worldedit.brush.smooth'
    - 'worldedit.brush.ex'
    - 'worldedit.chunkinfo'
    - 'worldedit.listchunks'
    - 'worldedit.delchunks'
    - 'worldedit.clipboard.copy'
    - 'worldedit.clipboard.cut'
    - 'worldedit.clipboard.paste'
    - 'worldedit.clipboard.rotate'
    - 'worldedit.clipboard.flip'
    - 'worldedit.clipboard.load'
    - 'worldedit.clipboard.save'
    - 'worldedit.clipboard.clear'
    - 'worldedit.generation.cylinder'
    - 'worldedit.limit'
    - 'worldedit.generation.sphere'
    - 'worldedit.generation.forest'
    - 'worldedit.generation.pumpkins'
    - 'worldedit.history.undo'
    - 'worldedit.history.redo'
    - 'worldedit.history.clear'
    - 'worldedit.navigation.unstuck'
    - 'worldedit.navigation.ascend'
    - 'worldedit.navigation.descend'
    - 'worldedit.navigation.ceiling'
    - 'worldedit.navigation.thru'
    - 'worldedit.navigation.jumpto'
    - 'worldedit.navigation.up'
    - 'worldedit.region.set'
    - 'worldedit.region.replace'
    - 'worldedit.region.overlay'
    - 'worldedit.region.faces'
    - 'worldedit.region.smooth'
    - 'worldedit.region.move'
    - 'worldedit.region.stack'
    - 'worldedit.regen'
    - 'worldedit.scripting.execute'
    - 'worldedit.selection.pos'
    - 'worldedit.selection.hpos'
    - 'worldedit.selection.chunk'
    - 'worldedit.wand'
    - 'worldedit.wand.toggle'
    - 'worldedit.selection.expand'
    - 'worldedit.selection.contract'
    - 'worldedit.selection.shift'
    - 'worldedit.selection.outset'
    - 'worldedit.selection.inset'
    - 'worldedit.selection.size'
    - 'worldedit.analysis.count'
    - 'worldedit.analysis.distr'
    - 'worldedit.snapshots.list'
    - 'worldedit.snapshots.restore'
    - 'worldedit.superpickaxe'
    - 'worldedit.superpickaxe.area'
    - 'worldedit.superpickaxe.recursive'
    - 'worldedit.tool.info'
    - 'worldedit.tool.tree'
    - 'worldedit.tool.replacer'
    - 'worldedit.tool.data-cycler'
    - 'worldedit.brush.options.mask'
    - 'worldedit.brush.options.material'
    - 'worldedit.brush.options.size'
    - 'worldedit.fill'
    - 'worldedit.fill.recursive'
    - 'worldedit.drain'
    - 'worldedit.fixlava'
    - 'worldedit.fixwater'
    - 'worldedit.removeabove'
    - 'worldedit.removebelow'
    - 'worldedit.removenear'
    - 'worldedit.replacenear'
    - 'worldedit.snow'
    - 'worldedit.thaw'
    - 'worldedit.extinguish'
    - 'worldedit.butcher'
    - 'worldedit.remove'
    - 'worldedit.reload'
    users:
    Pixelguy:
    group: Admins
    info:
    prefix:
    suffix:
    permissions:
    jimmybrick:
    group: moderator
    info:
    prefix:
    suffix:
    permissions:

    but for some reason it does not work!? iv even uninstalled every other plugin incase of a conflict and it still deosnt work! :mad:

    some commands work but on some sort of default settings i guess because when i type a command thats clearly noded onto the permission list it comes up with "an internal error occurred while attempting to perform this command"
    PLEASE HELP AHHHHHHHHHHH
     
  17. Offline

    Jeyge

    I see you have permissions set up for GroupManager so I'm going to guess you have it installed. You will want to remove that before you do anything else as it conflicts with Permissions. I also saw that you said that you changed the folder name to your world name so I'm going to assume you are running the 3.0 version of permissions. With 3.0, your users section needs to look like this:
    Code:
        jimmybrick:
            groups:
                - moderator
            permissions:
    
    If you are running 2.7.4, then your permissions.yml file should be in the plugins\permissions directory and named <world name>.yml.

    Finally, if none of this works, what commands aren't working and what are the actual error messages you are receiving?
     
  18. Offline

    joebmxx

    im not sure what version it is its the one of the latest stable zip folder whatever that one is, and yes i have bukkit essentials groupmanager installed and iv changed my group coding section and still nothing the command im trying to use is /spawn then it says "an internal error occurred while attempting to perform this command" :/ urghhhhh there must be something im doing wrong! :( iv just noticed though that groupmanager and permissions have two completley different set up configs? iv not set up group managers because they dont make sense :/ AH this is so annoying.
     
  19. Offline

    Jeyge

    You really will need to remove GroupManager if you want to use permissions. If you take a look at your console/server.log, you will see that GroupManager actually took over all control of your permissions so making changes to Permissions really won't make any difference. Once you remove it, you should start to see the results you would like.
     
  20. Offline

    joebmxx

    iv removed the groupmanager and now for some reason me as admin i cant do anything but all my members can do everything... what the hell is going on :|
     
  21. Offline

    Jeyge

    At some point, you are going to need to take a look at your console/server.log to see which version you are running. As I said above, if you are running 3.0, your permissions file isn't set up correctly. If you are running 2.7.4, then your permissions file isn't set up correctly. Getting that fixed should also help.
     
    joebmxx likes this.
  22. Offline

    joebmxx

    haha thanks for the help, but iv just got the internal exception error of death and now i cant even log into my server :( thanks anyway
     
  23. Offline

    jamietech

    Okay, so I'm having some issues with block placement/right clicking. Everytime a player (not - '*') try's to place a block, the error "You don't have permission to use that" pops up, but their block places. Weird, eh?
    world.yml (open)
    Yes, yes. world.yml is the default name, but I'm using that as my world name :p Also, if indentation doesn't show up, it's correct in the proper file.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Player:
            default: true
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'ichat.color'
                - 'modtrs.command.modreq'
                - 'chaircraft.sit'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.command.iteminfo'
                - 'uQuest.CanQuest.*'
                - 'lockette.user.create.*'
                - 'choptree.chop'
                - 'multihome.home'
                - 'multihome.namedhome'
                - 'multihome.sethome'
                - 'multihome.setnamedhome'
                - 'multihome.deletehome'
                - 'multihome.listhomes.myself'
                - 'craftbook.mech.bookshelf.use'
                - 'craftbook.mech.elevator.*'
                - 'craftbook.mech.gate'
        Administrator:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
                - Player
            permissions:
                - 'ichat.color'
                - 'worldedit.region.*'
                - 'worledit.superpickaxe.*'
                - 'worldedit.butcher'
                - 'worldedit.fixlava'
                - 'worledit.fixwater'
                - 'worldedit.navigation.*'
                - 'worldedit.wand'
                - 'vanish.*'
                - 'worldedit.selection.pos'
                - 'warnfreeze.*'
                - 'adminchat.*'
                - 'modtrs.mod'
                - 'modtrs.command.check'
                - 'modtrs.command.teleport'
                - 'modtrs.command.complete'
                - 'lockette.admin.bypass'
                - 'multihome.othershome'
                - 'multihome.deleteothershome'
        Trusted:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Player
            permissions:
        Owner:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        CamperNoCamping:
            group: Trusted
        jamietech:
            group: Administrator
        Diego96:
            group: Administrator
        isybub:
            group: Administrator
        joeHOOPER:
            group: Administrator
        tkell44:
            group: Trusted

    Server Log (open)
    Nothing to see here! No errors in console!
     
  24. Offline

    Jeyge

    Nice tease with the server.log. I've never understood why but it is like pulling teeth to get people to post them. But it isn't needed for your problem. Everyone gets it and it is all over the forums. You just need to add craftbook.mech.cauldron to everyone who is getting the error.
     
  25. Offline

    briman0094

    I am having troubles with my setup. I followed all of the instructions, but I'm encountering something quite weird. I have my files as so:

    Code:
    ##
    # 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:
                - Default
            permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: '&4Admin'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Code:
    ##
    # 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:
        briman0094:
            groups:
                - Admins
            permissions:
        fuzz9350:
            groups:
                - Moderator
            permissions:
    As you can see, Admins has the prefix "Admin", and Guest has the prefix "Guest", and briman0094 should be an Admin. When I do /pr briman0094 has * it says that I have that permission. The weird part is that when briman0094 talks, it uses the "Guest" prefix. Same with fuzz9350.
     
  26. Offline

    Jeyge

    Your Moderator is inheriting from Default but you don't have a Default. Might be causing problems with the prefixes. Also, I would guess you are running 3.0 but do you have the latest released build from the 3.0 thread?
     
  27. Offline

    briman0094

    Oh, I didn't see that inheritance. I'll try to fix that. I just downloaded the jar today so I would guess it's the latest one.
     
  28. Offline

    Jeyge

    Did you get it from this thread or the 3.0 thread? If here, I don't think it will be the latest.
     
  29. Offline

    briman0094

    oh i guess i posted in the wrong thread; i had 2 tabs open :p i got it from the 3.0 thread.

    server log says: [INFO] [Permissions] version [3.0] (Yeti) loaded

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

    Jeyge

    I was only wondering because the one here is the dev build and the one over there is 3.0.1. There was a bug fixed earlier today.
     
  31. Offline

    briman0094

    hmm i still can't get it to work. the players now have the "guest" prefix and don't have any permissions.
     
Thread Status:
Not open for further replies.

Share This Page