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

    Brain

    What version of Permissions do you use?
    Do you run multiple worlds? If not, leave "copies:" blank as it was in the default file.
    Make sure your configuration file is named <worldname>.yml where <worldname> is the exact name of the folder where the world resides. If you don't have your world in a direct subfolder of your main folder you need to recreate that part of the directory structure in the plugins/Permissions/ subdirectory and place the file there. I've only read this, but haven't actually tried it because my world folder is a direct subfolder of the main craftbukkit folder.
     
  3. Offline

    Kile

    I'm using this version of Permissions, I've just recently set up a bukkit server. My world folder is located directly in my server folder.
     
  4. Offline

    Celtic Minstrel

    ...port 5555? I use 6667...
     
  5. Sorry, I had to post in TXT format for some reason I can't upload YML files to the forum. I adjusted the spacing for my permissions and inheritance, but for some reason inheritance and grouping is still not working. I'm not getting any errors on my server log, so it has to be in my formatting.

    Running Craftbukkit 677, perm 2.7, essentials (updated), newest ichat, worldedit, and worldguard.

    Thanks
     

    Attached Files:

  6. Offline

    IonKnight

    I'm having the same problems as the above user. I have notepad++ and set tabs disabled (it turns a [TAB] into 4 spaces, and for extra reliance I replaced all tabs with 4 spaces), so I know tabbing is not the problem.

    (Normally its world.yml but I had to add .txt at the end so it would upload)

    I am using the very latest version of both craftbukkit and permissions (677 and 2.7 respectively.)
     

    Attached Files:

  7. Offline

    Piggysan

    Code:
        Moderator:
            default: false
            info:
                prefix: 'MOD'
                suffix: ''
                build: true
            permissions:
                - 'defaultcommands.*'
                - '-essentials.say'
    
    Doesn't seem to work.
     
  8. Offline

    IonKnight

    @Piggysan

    Essentials.kick has an extra "-", maybe that might be your problem? :eek: (I dont know though, it could be that your removing that command...)
    Code:
        Mod:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
                - Governor
            permissions:
                - essentials.tp
                - essentials.tphere
                - essentials.mute
                - - essentials.kick
     
  9. Offline

    Kile

    Why does it seem that this is a lot harder then it is meant to be. I'm following every step told and none of it is working. I've checked the folders, spacing, text everything and nothing has worked thus far. Here is my new code. It has been renamed Server.yml as that is the folder where the world folder resides.

    Code:
    plugin:
        permissions:
            system: Default
            copies:
    groups:
        Newbie:
            default: true
            info:
                prefix: '[Newbie]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.ping'
                - 'essentials.list'
                - 'essentials.playerlist'
        Builder:
            default: false
            info:
                prefix: '[Builder]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.item'
                - 'essentials.nuble'
                - 'essentials.top'
                - 'essentials.give'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.time'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.playerlist'
        Admin:
            default: false
            info:
                prefix: '[Admin]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                 - '*'
        Owner:
            default: false
            info:
                prefix: '[God]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                 - '*'
    users:
        ramiam402:
            group: Owner
            permissions:
        Fore772:
            group: Admin
            permissions:
        luiskill95:
            group: Builder
            permissions:
        cameron510:
            group: Builder
            permissions:
        surplusbread:
            group: Builder
            permissions:
        syAWEdis:
            group: Builder
            permissions:
    Can anyone see what I might be doing wrong. I'm running Permissions 2.7 as well
     
  10. Offline

    Malkierian

    No, that's not what it should be named. What is the exact name of your world, including capitalization?
     
  11. Offline

    Vikerus

    2010-04-16 09:24:47 [SEVERE] [mcMMO] Permissions isn't loaded, there are no restrictions.
    2010-04-16 09:24:47 [INFO] mcMMO version 0.9.29 is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaPressurePlates version 1.08 is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.09b is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaStation version 1.09 is enabled!
    2010-04-16 09:24:47 [INFO] MoveCraft 0.6.8 beta plugin enabled
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.09 is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaAutocart version 1.09 is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.09 is enabled!
    2010-04-16 09:24:47 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.09e is enabled!
    2010-04-16 09:24:47 [INFO] Done (0.083s)! For help, type "help" or "?"
    2010-04-16 09:24:53 [INFO] [Minecart Mania] Loading Sensor Data.
    2010-04-16 09:26:50 [INFO] Stopping the server..
    2010-04-16 09:26:50 [INFO] CONSOLE: Stopping the server..
    2010-04-16 09:26:50 [INFO] Stopping server
    2010-04-16 09:26:50 [INFO] mcMMO was disabled.
    2010-04-16 09:26:50 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is disabled!
    2010-04-16 09:26:50 [INFO] [Minecart Mania] Saving Sensor Data.
    2010-04-16 09:26:50 [INFO] 2010-04-16 09:26:50 [INFO] MoveCraft 0.6.8 beta plugin disabled
    2010-04-16 09:26:50 [INFO] Saving chunks
    2010-04-16 09:26:54 [INFO] Starting minecraft server version Beta 1.4
    2010-04-16 09:26:54 [INFO] Loading properties
    2010-04-16 09:26:54 [INFO] Starting Minecraft server on *:25565
    2010-04-16 09:26:54 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-g9992fff-b677jnks (MC: 1.4)
    2010-04-16 09:26:54 [INFO] Preparing level "Forrest Craft"
    2010-04-16 09:26:54 [INFO] Preparing start region
    2010-04-16 09:26:54 [INFO] 144 recipes
    2010-04-16 09:26:54 [INFO] Invalid config file found and converted to proper name/format.
    2010-04-16 09:26:54 [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:136)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: mapping values are not allowed here
    in "<reader>", line 63, column 13:
    info:
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:126)
    ... 13 more
    2010-04-16 09:26:54 [SEVERE] [mcMMO] Permissions isn't loaded, there are no restrictions.
    2010-04-16 09:26:54 [INFO] mcMMO version 0.9.29 is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaPressurePlates version 1.08 is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.09b is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaStation version 1.09 is enabled!
    2010-04-16 09:26:55 [INFO] MoveCraft 0.6.8 beta plugin enabled
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.09 is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaAutocart version 1.09 is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.09 is enabled!
    2010-04-16 09:26:55 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.09e is enabled!
    2010-04-16 09:26:55 [INFO] Done (0.082s)! For help, type "help" or "?"
    2010-04-16 09:27:00 [INFO] [Minecart Mania] Loading Sensor Data.

    ^ this is causing major head aches and im not sure what to do, ill continute trying to fix it but help would be appresiated
     
  12. Offline

    rcjrrjcr

    You have a YAML problem. Post your config please. And use code and spoiler tags.
     
  13. Offline

    Vikerus

    im new to all this sorrry.
     
  14. Offline

    Brain

    I've downloaded your permissions file and modified it to look like mine (which works). I've also replace the Windows-style linebreaks with Unix-style linebreaks. That shouldn't matter, but I did it for consistency's sake.
    I noticed you capitalized the main sections "plugin", "groups" and "users" - that might be trouble.
    I've also added apostrophes (') to the permission lists.

    I used the default template supplied with 2.7 for my server and everything worked right away, by the way.
     

    Attached Files:

  15. Offline

    Vikerus

    I dont know how to do those things, and not sure what the config file your asking for is.

    you want the Bukkit.yml, the sever.properties or what file?
     
  16. Offline

    rcjrrjcr

    Just put them in [SPOILER][CODE]<insert yaml here>[/CODE][/SPOILER].
     
  17. Offline

    Vikerus

    thats the permissions file.

    I really need help.
     

    Attached Files:

  18. Offline

    Vikerus

    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:
        Default:
            default:true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party' 
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords' 
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
                - 'mcmmo.regeneration'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        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:
        Vikerus:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp' 
     
  19. Offline

    Brain

    Looks good so far. Is your world folder named "Forrest Craft" as well?


    Whoops, found something:
    Code:
    groups:
        Default:
            default:true
    
    default:true might need a space between "default:" and "true"
     
  20. Offline

    Vikerus

    yeah it is, it stoped working after i updated permissions, i was running 2.5.5 and it work kinda, at least it loaded.
    Even then permissions wouldn't work for movecraft.

    If theres anymore info or files yo uneed let me know, im just lurking this page till its fixed.
     
  21. Offline

    rcjrrjcr

    Found it. The default group settings for Default doesn't contain a space between the key and the value.
    In other words, change this:
    Code:
    groups:
        Default:
            default:true
            info:
                prefix: ''
                suffix: ''
                build: true
    
    to this:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
    
    Note the space between "default:" and "true".
     
  22. Thanks for taking the time to do that for me. I installed the new world.yml. I also made sure that my world name was exactly world and that is was in plugins/permissions/world/. Unfortunately this still hasn't solved the problem. I can access permissions in game using /permissons, so it is working in game, but no one has any permissions, or is in any group.
     

    Attached Files:

  23. Offline

    Vikerus

    see but it was that way before and said it didnt like it, but ill try.
     
  24. Offline

    IonKnight

    I think permission's prefixes are broken for the newest bukkit. I re-downloaded the default file and the newest version of both, and edited JUST the prefixes in all 3 default groups.

    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: 'default - '
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: 'moderator - '
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: 'admin - '
                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:
        TheNo1Yeti:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    And there is no change to the prefixes of anyone.
     
  25. Offline

    Vikerus

    THANKS!

    hope fully movecraft will work for my players, lol
     
  26. Offline

    rcjrrjcr

    Do you have a chat plugin (e.g. iChat)? Permissions doesn't provide prefixes/suffixes directly.
     
  27. Offline

    IonKnight

    Umm.. no not anymore... could that be the reason :confused:

    Although I am almost positive that it use to work in an older version without iChat (though it may have been included before too) I'll test it out now.

    I guess this was the problem.. thanks :)
     
  28. Offline

    rcjrrjcr

    ???? iChat has never been bundled with Permissions. They were/are both Nijikokun's plugins, though.

    EDIT: Maybe you were using Essentials, which has EssentialsChat.
     
  29. what is the permissionsworld.yml in the plugin directory for? Just for multiworld right?
     
  30. Offline

    Brain

    I just noticed something in the permissions config file:
    Code:
    groups:
        Peon:
            Default: true
    
    This "Default" should be "default" - no capitalization.
     
  31. Offline

    Malkierian

    No, it doesn't go inside a subdirectory. It's named exactly after your world (including capitalization. Try to not name worlds or groups with spaces) and placed directly in /plugins/Permissions/.
    No, that's telling you that your permissions.yml isn't in the right place. Yeti missed a "/" somewhere, and when it doesn't find the world, it creates that, instead of /Permissions/world.yml.
     
Thread Status:
Not open for further replies.

Share This Page