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

    DonutEcstasy

    Can somebudy halp me? XD I get this error!

    Code:
    17:54:29 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    77)
            ... 13 more
     
  3. Offline

    EniGmA1987

    Id really like to know how to deny permission for something in this plugin? I know how to add, but how to deny?
     
  4. Offline

    UnicornKid

    Hey everyone, it seems like a lot of people are getting this error.
    Code:
    [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: 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:109)
        ... 8 more
    Caused by: java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    Because sadly enough, even I am getting this error. Thats why I decided to check out the forum to see if anyone had a fix. Sadly, it doesn't seem that way.
    Hopefully someone can help us out with this error soon.

    Bukkit: 556
    Plugins:
    -ColorMe
    -Craftbook
    -CraftbookCircuits
    -CraftbookMechanisms
    -CraftbookVehicles
    -Essentials
    -iZone
    -Lockette
    -MinecartManiaAutoCart
    -MinecartManiaCore
    -Prefixer
    -WorldEdit
    -WorldGuard
     
  5. Offline

    cjc343

    @DonutEcstasy

    Did you rename your config after your world? Do you have a config for each world?

     
  6. Offline

    UnicornKid

    Can we have a raise of hands on how many people this is working for?
     
  7. Offline

    cjc343

    Works just fine for me, has worked just fine since I first set it up properly.
     
  8. Offline

    EmanuxJade

    Hello, i would report a issue, i had to host in offline-mode the craftbukkit with your plugin but when i make in .yml file the permissions for use a command Ex: - 'essentials.give' for a single user not work, so if i change the random user from Default to Admins is work ....

    i use Win7x64 JAVA JDK6(x86)

    I use notepad++ for editing yml

    i test also on linux and all work fine



    regard
     
  9. Offline

    UnicornKid

    Cj, is there any chance you could help me? Maybe upload your permissions folder and .jar onto a hosting site for me to download? It would help out a ton!
     
  10. Offline

    cjc343

    Here's a working Permissions config from my test server:

    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.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'mcdocs./news'
                - 'general.player-info'
                - 'generalessentials.kit.tools'
                - 'timeshift.startup'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    ##
    users:
        cjc343:
            group: Admin
            permissions:
    


    I'm running 2.5.4 from the top post on the latest RB, 556.
     
  11. Offline

    UnicornKid

    Well its not that.
    Its the whole .jar file, it just doesn't work for me.
     
  12. Offline

    cjc343

    @DonutEcstasy
    I get that exact error when I rename my "world.yml" to "config.yml"

    Make sure your configuration file is named after the name of your world!
     
    DonutEcstasy likes this.
  13. Offline

    alron

    Ok, I just checked out the code at the location that a lot of you seem to be seeing the error.

    The simplest fix/workaround should be to have a proper config file in place.

    The cause of the problem should be easy enough for @TheYeti to fix. He just needs to stop initializing his config files in his constructor, and use the onEnable or onLoad methods for that. :)
     
  14. Offline

    Taxen0

    works for me, like everyone else is saying. Make sure to rename the config file to the name of the world you want it to work on. Also make sure the config does not contain ant tabs (replace those with 4 spaces)
     
  15. Offline

    Affegiraffe

    well here it is :D

    plugin:
    permissions:
    system: default
    copies:


    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'simplehome.*'
    - 'essentials.afk'
    - 'essentials.list'
    - 'essentials.help'
    - 'essentials.ping'
    - 'essentials.motd'
    - 'essentials.r'
    - 'essentials.me'
    - 'essentials.mail'
    - 'essentials.rules'
    - 'essentials.whois'
    - 'iconomy.*'

    Moderator:
    default: false
    info:
    prefix: '[&3vice king]&4'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - '*'
    - 'tplus.*'
    - 'essentials.*'
    - 'worldedit.*'
    - 'worldguard.*'
    - 'magiccarpet.*'
    - 'fakemessage.*'
    King:
    default: false
    info:
    prefix: '&1[&4king&1]&2'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'tplus.*'
    - 'essentials.*'
    - 'worldedit.*'
    - 'worldguard.*'
    - 'magiccarpet.*'
    - 'iconomy.*'
    - 'fakemessage.*'
    - 'zones.*'
    - 'TradeCraft.*'
    - 'TradeCraft.canBuy'
    - 'TradeCraft.canSell'
    - 'TradeCraft.canMakeInfShops'
    - 'TradeCraft.
    users:
    affegiraffe:
    group: King
    info:
    prefix: '&1[ &4king &1]&6'
    suffix: ''
    permissions:
    nallenye:
    group: Moderator
    info:
    prefix: '&1[ &2vice &2king &1]&6'
    suffix: ''
    permissions:
    - 'herp.derp'
    loooop:
    group: Defualt
    permissions:
    klintaan:
    group: Defualt
    permissions:
    tkdkid_96:
    group: Defualt
    permissions:
    player:
    group: Defualt
    permissions:
    OK95:
    group: Defualt
    permissions:
    Arresfield:
    group: Default
    permissions:
     
  16. Offline

    Moronmaster

    Right. My "error" is that i want to exclude certain commands from the '*' permission.

    My config (open)
    Code:
    
    groups:
        Stripped:
            default: false
            info:
                prefix: '&8'
                suffix: '&f'
            inheritance: ''
            permissions: ''
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: ''
            permissions:
                - 'essentials.afk'
                - 'essentials.back'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.kit'
                - 'essentials.kit.dirt'
                - 'essentials.kit.glass'
                - 'essentials.kit.sand'
                - 'essentials.kit.stone'
                - 'essentials.kit.tools'
                - 'essentials.kit.wood'
                - 'essentials.kit.food'
                - 'essentials.kit.workshop'
                - 'essentials.kit.torch'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.tpa'
                - 'essentials.warp'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tptoggle'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.msg'
                - 'stargate.use'
                - 'woolcolor.spawn'
    
        Builder:
            default: false
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.kit.brick'
                - 'essentials.kit.stoneslab'
                - 'essentials.kit.mossy'
                - 'essentials.kit.diamond'
                - 'essentials.kit.gold'
                - 'essentials.kit.iron'
                - 'essentials.tp'
                - 'essentials.kit.bed'
                - 'essentials.kit.bow'
                - 'essentials.kit.garden'
                - 'essentials.kit.cactus'
                - 'essentials.kit.boat'
                - 'essentials.kit.minecart'
                - 'war.player'
                - 'skypirates.player.help'
                - 'skypirates.player.air'
                - 'skypirates.player.enable'
                - 'skypirates.items.*'
        AdvBuilder:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.kit.tnt'
                - 'skypirates.modes.hoverboat'
                - 'skypirates.modes.plane'
                - 'skypirates.modes.submarine'
                - 'skypirates.modes.drill'
                - 'skypirates.modes.plane'
        Moderator:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            inheritance: ''
            permissions:
                - '*'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.spawnmob'
                - 'essentials.broadcast'
                - 'essentials.antioch'
                - 'essentials.kill'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kickall'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.setjail'
                - 'essentials.setspawn'
                - 'skypirates.admin.clear'
                - 'essentials.ping'
        Admin:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            inheritance: ''
            permissions:
                - '*'
    
    users:
        Moronmaster:
            group: Admin
            permissions: ''
            info:
                prefix: '&5The Almighty '
                suffix: '&f'
        robbiemck:
            group: Moderator
            permissions: ''
            info:
        mikote:
            group: Builder
            permissions: ''
            info:
        Gust_swe_ha:
            group: Moderator
            permissions: ''
            info:
        sherman123:
            group: Builder
            permissions: ''
            info:
        Montebello:
            group: Builder
            permissions: ''
            info:
        z3d0m:
            group: Builder
            permissions: ''
            info:
        SweSora:
            group: Builder
            permissions: ''
            info:
    
     
  17. Offline

    cliff777

    here is my config...# 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:
    - 'SpawnX.spawn'
    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:
    Cliff777:
    group: Admins
    permissions:
    Will12525:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    Derpina:
    group: Admins
    permissions:
    - '-derp.derp'


    as I said when my friend, will12525 joined he was already a mod and could build

    =)
     
  18. Offline

    DonutEcstasy

    Heyy! :D I had to rename it world not world.yml, afterall i dunt know why it still has the .yml extension ^^ Thanks for telling me though, you reminded me! :D
     
  19. Offline

    Euge Chin

    Hi guys, I have a server running that I share amongst my friends, so I downloaded Permissions. After I downloaded it, I dragged it into plugins, restart server. But, nothing appears in my plugins folder. Specifically there is no "Permissions" folder in there... What have I done wrong? What should I do? Since I have downloaded a nother plugin(LWC Chest protect) and it doesn't work without me configuring permissions(other plugin use permissions, so I must use permission)
     
  20. permisions will need to be updated for the next bukkit update! just fyi
     
  21. Offline

    zaklampje

    Or someone else with a working server. Copy everything...
     
  22. Offline

    AFakeman

    Is there any possiblity to permit everything by one command? So I wouldn't need to write lots o' letters after I install every plugin?
     
  23. Offline

    Iaconic

    Is there anyway to make people go into group default when they log in? i cant get it to allow people just some basic simple commands when they first start...
     
  24. Offline

    DeathQueen

    Code:
    plugin:
      permissions: {system: default, copies: warworld}
    groups:
      Default:
        default: true
        info: {prefix: '', suffix: '', build: false}
        inheritance: null
        permissions: [lwc.blockinventory]
      Builders:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: null
        permissions: [iConomy.payment, iConomy.rank, iConomy.list, iConomy.access, auction.bid,
          localshops.buysell, localshops.manage, localshops.create, auction.start, turnstile.use]
      Advbuilders:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Builders]
        permissions: [localshops.create.free, general.spawn]
      Moderator:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Advbuilders]
        permissions: [auction.end, localshops.destroy, localshops.reload, general.teleport.*,
          worldedit.navigation.jumpto, lwc.mod]
      Admins:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: [Moderator]
        permissions: [mcbans.*, worldedit.*, iConomy.*, general.*, turnstile.*, lwc.admin]
      SuperAdmins:
        default: false
        info: {prefix: '', suffix: '', build: true}
        inheritance: null
        permissions: ['*']
    users:
      DynastyW:
        group: SuperAdmins
        info: {prefix: '&9[God]', suffix: ''}
        permissions: [iConomy.admins.*, iConomy.*]
      VmKid:
        group: SuperAdmins
        info: {prefix: '&e[The Kid]', suffix: ''}
        permissions: ['']
      gyrofest:
        group: SuperAdmins
        info: {prefix: '&a[Shaman]', suffix: ''}
        permissions: ['']
      hawkmanvicto:
        group: Moderator
        info: {prefix: '&b[DynsHelper]', suffix: ''}
        permissions: ['']
      miseryfe:
        group: Admins
        info: {prefix: '&3[First Mod]', suffix: ''}
        permissions: ['']
      Barrkei:
        group: Admins
        info: {prefix: '&b[DynsHelper]', suffix: ''}
        permissions: ['']
      ROFLBlackJesus:
        group: Admins
        info: {prefix: '&6[DynsBitch]', suffix: ''}
        permissions: ['']
      Tman3806:
        group: Admins
        info: {prefix: '&5[Borderlands]', suffix: ''}
        permissions: ['']
      Mike_064:
        group: Admins
        info: {prefix: '&6[OldAdmin]', suffix: ''}
        permissions: ['']
      candydad:
        group: Admins
        info: {prefix: '&6[OldAdmin]', suffix: ''}
        permissions: ['']
      Leonardo1013:
        group: Admins
        info: {prefix: '&b[DynsHelper]', suffix: ''}
        permissions: ['']
      TimBNL:
        group: Advbuilders
        info: {prefix: '&d[BNL Leader]', suffix: ''}
        permissions: ['']
      xEPICxWINx:
        group: Advbuilders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      GreenTuxMan:
        group: Admins
        info: {prefix: '&d[Secret Admin]', suffix: ''}
        permissions: ['']
      JDM242:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Jawesome2:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      AdamHilditch:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      PuRPLE_NEMESiiS:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      firewoven:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      KingFap:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      haley2:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      KapiteinKoffie:
        group: Builders
        info: {prefix: '&d[BNLAdmin]', suffix: ''}
        permissions: ['']
      Garry_Culbert:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      CybaPriest:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Vinnice:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      zMoBacon:
        group: Admins
        info: {prefix: '&6[OldAdmin]', suffix: ''}
        permissions: ['']
      ccdowell672:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Keitho15:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      ArchGaden:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Dragonmare:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      zteacup:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Knight_Mendrel:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      LifeIsGood26:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      sirdaws:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      lilneoman1:
        group: Builders
        info: {prefix: '&d[Player]', suffix: ''}
        permissions: ['']
      Aris:
        permissions: []
        group: member
    
    Did the format of Permissions change for no reason? That doesn't look like it normally should. It looked normal and then suddenly, it changed format in the txt file. Not sure if I did something.
     
  25. Offline

    Quixxnaaar

    I understand how most of this works, but how do I know what to enter to give people permissions to a plugin? For example, I want to give people my default group the abillity to us the /list command. Do I just enter "/list" under the permissions for Default?
     
  26. Offline

    Dothackking

  27. Offline

    SeanMalloy

    I have succesfully downloaded the permissions, but now that it is recognized, there is no users or groups.yml inside of my folder?
     
  28. Offline

    cjc343

    Code blocks. Or pastebin. The spacing needs to be there.

    Will12525 is a Mod in your config... that's going to make him a Mod when he joins. If you want further help, put it in code blocks.

    I'm having trouble getting 'permission exemptions' to work. I've used them previously, but they don't appear to work with the latest RB. ( @TheYeti hopefully I'm just doing something wrong)

    Make your own folder, edit your config file, name it after your world, and put it in there.

    '*'

    That's what the "default: true" line is for.

    Some plugins reformat the Permissions file :/

    It depends on the plugin providing the /list command. If it supports Permissions, it'll likely have permission nodes listed.

    Either you forgot to rename your config, or you need to post your config.

    Config file should be named after your worldname.
     
  29. Offline

    Iaconic

    i did do that and it didnt work i tried changing some other stuff and i think it worked but im usure thanks though for keeping this plugin up to date you rock!!!
     
  30. Offline

    Euge Chin

    Sorry if someone posted this already, but can someone upload a folder so I can paste it in my plugins folder as said before I don't have that folder.

    Hi, can you please look at my code to see if what is wrong? I set this up, this is the only file in my Permissions folder (except another .yml which I renamed to something else) I want to use "LWC chest protect" so eagerly! So my players don't need to worry about their stuff being stolen... Here's the code.
    http://pastebin.com/VJ1gsWw4

    Thanks

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

    cjc343

    try this (open)
    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:
                - 'lwc.protect'
        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:
        luxuri:
            group: Admins
            permissions:
        kriz:
            group: Admins
            permissions:
     
Thread Status:
Not open for further replies.

Share This Page