Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    Maxis010

    OK first off, code tags, use them

    Second
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.create'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.back.ondeath'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.signs.protection.override'
                - 'essentials.signs.free.create'
                - 'essentials.signs.free.use'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpall'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.eco'
                - 'essentials.nick'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.others'
                - 'essentials.antioch'
                - 'essentials.burn'
                - 'essentials.ext'
                - 'essentials.ping'
                - 'essentials.backup'
                - 'essentials.info'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.setjail'
                - 'essentials.deljail'
                - 'essentials.jails'
                - 'essentials.invsee'
                - 'essentials.item'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.god'
                - 'essentials.heal'
                - 'essentials.weather'
                - 'essentials.lightning'
                - 'essentials.setspawn'
                - 'groupmanager.manuadd'
                - 'groupmanager.manudel'
                - 'groupmanager.manpromote'
                - 'groupmanager.mandemote'
                - 'groupmanager.manwhois'
                - 'groupmanager.manwhois'
                - 'prefixer.self'
                - 'prefixer.other'
                - 'prefixer.remove'
        Admins:
        default: false
        info:
            prefix: ''
            suffix: ''
            build: true
        inheritance:
        permissions:
            - '*'
    users:
        dragonhippie:
            group: Admins
            permissions:
    Should work

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.*'
                - 'dc.home.self'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        Luwiego:
            group: Admins
            permissions:
    I have no idea if this works as I can't find the plugin that uses the dc permissions

    set your group to admin, NOTHING else
    I hate people that are part of admin with - '*' and then still give themselves that permission seperately
     
  3. Offline

    dragonhippie

    well mines working fine, just now everyone can use /give command...

    EDIT: i feel so stupid.......i copy'd wrong one....im so ashamed.. it works now thank you very much Maxis.
    if u need advertising a banner, or a server just ask and ill put it on my sig :)

    i have 1 more problem.....no errors on the CMD But i cant build or use commands..

    i have :
    Code:
    users:
        dragonhippie:
            group: Admins
            permissions:
    but i log on and it says i dont have permission to do that...

    Sorry for another noobie question.

    Dragonhippie.

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

    Maxis010

    Make a back up of your permissions file and then restart your server, some times (for me at least) permissions doesn't like me reloading so it removes all permissions
     
  5. Offline

    mattekure

    Ok, I feel like I want to kick myself in the head. I spent hours trying to debug some weird errors with my setup. I was getting random weird errors that always seemed to point back to permissions. Some commands would work, some wouldnt. I had updated everything, but I'd get random weird errors on the server console. After about 4 hours of debugging I finally found the problem. 4 spaces in the wrong place in the permissions file. It was so subtle, it didnt break the yml parsing, but caused all kinds of random errors in a bunch of plugins. UGH. I'm not sure how I got those spaces in there, probably due to a late night permissions change. Anyway, big thanks to all the plugin authors for all they do.
     
  6. Offline

    dragonhippie

    ok i got my SNAPSHOT jar thing, and Run.bat.
    Made a new server and placed permissions.jar in there and essentials.
    Loaded up server.
    went into Permissions and copy+paste the information back in.
    Ran the server again.
    and still same problem D:

    am i supposed to do something else?
    >_< *facepalm*
     
  7. Any date on when there will be permissions 3.0?
    Because I am relly tired if GroupManager(buggy as hell) and need the setGroup() method.
     
  8. Offline

    dragonhippie

    ok i have my brother as Moderator and he can use all the commands.....
    but i cant (im admin)
    Here is the Users:
    Code:
     Admin:
        default: false
        info:
            prefix: '&D'
            suffix: ''
            build: true
        inheritance:
        permissions:
            - '*'
    users:
        dragonhippie:
            group: Admin
            permissions:
        blazorfire:
            group: Moderator
            permissions:
     
  9. hey sorry to be a noob here but can i please get help with this?
    Code:
    [Lnet.minecraft.server.Statistic;@d08633
    146 recipes
    [Lnet.minecraft.server.Statistic;@d08633
    16 achievements
    22:56:42 [INFO] Starting minecraft server version Beta 1.5_02
    22:56:42 [INFO] Loading properties
    22:56:42 [INFO] Starting Minecraft server on *:25565
    22:56:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    22:56:42 [INFO] Preparing level "world"
    22:56:42 [INFO] Preparing start region
    22:56:43 [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 Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:138)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:108)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: mapping values are not allowed here
     in "<reader>", line 62, column 10:
          Default:
                 ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.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.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
            ... 13 more
    22:56:43 [INFO] CraftBookCommon 3.0-alpha2 enabled.
    22:56:43 [INFO] CraftBookCommon: No known permissions plugin detected. Using con
    figuration file for permissions.
    22:56:43 [INFO] CraftBookCircuits 3.0-alpha2 enabled.
    22:56:43 [INFO] CraftBookCircuits: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    22:56:43 [INFO] CraftBookCircuits: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    22:56:43 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    22:56:43 [INFO] CraftBookMechanisms: No known permissions plugin detected. Using
     configuration file for permissions.
    22:56:43 [INFO] 1 cauldron recipe(s) loaded
    22:56:43 [INFO] CraftBookVehicles 3.0-alpha2 enabled.
    22:56:43 [INFO] CraftBookVehicles: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    22:56:43 [INFO] PlgEssentials version 4.3 is enabled!
    22:56:43 [INFO] [Wings] Permission system not detected, defaulting to OP
    22:56:43 [INFO] [Wings] Wings v1.31 loaded.
    22:56:43 [INFO] [Wings] Hover multiplier set to 0.0012410253
    22:56:43 [INFO] [Wings] Hover boost multiplier set to 0.00555
    22:56:43 [INFO] [Wings] Flying consumes feathers: FALSE
    22:56:43 [INFO] [Wings] Ops allowed to fly regardless: TRUE
    22:56:43 [INFO] Done (0.093s)! For help, type "help" or "?"
    >
     
  10. Offline

    dragonhippie

    Thank You To all Members who tryed helping me on my big time of Stress of nagging of players wanting the server back up. We All Owe You One! :D
     
  11. Offline

    Ricardo Reis

    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:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'permissions.*'
                - 'general.*'
        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:
        nightl2:
            group: Admins
            permissions:
        ricardoreix:
            group: Moderator
            permissions:
    Why in some areas we (nightl2 and ricardoreix) can't build or destroy?
    I only have permissions plugin, i don't understand the problem :s
     
  12. Offline

    Flamecycle100

    Oh my god I am SUCH an idiot. Sorry you had to waste your time looking through the YML if you did, I just found out what the problem was. I put people in the admin group, but there WAS no admin group >.< Well it's fixed now, so sorry about any trouble I may have caused
     
  13. Offline

    rcjrrjcr

    Maybe end of this week.
     
  14. for some reason, multi-world permissions aren't working. I've got a world named 'world' (which is the primary world), and the permissions work there... i have another world named "EWD2", and the permissions file is named "EWD2.yml"... however, when i attempt to travel to the other world, it says:
    Code:
    [SEVERE] NC: Asking Permissions-Plugin if "playername" has permission 0 caused an Exception null; mapping values are not allowed here. Please review your permissions config file. This message is only displayed once, the player is considered to not have that permission from now on. The full stack trace is written into the nocheat logfile.
    That is from the NoCheat plugin, saying that it cannot access any permissions for me on that world (i replaced my username with 'playername' )... and its the same with ALL other plugins that rely on permissions:: I travel to the other world, and it acts as though there are no permissions for it...

    This world that is causing trouble was created with the multiverse plugin. I also have a world that was generated by the actual server, from an OLD server, as well as a nether world that was generated by a nether plugin (i think this one)
     
  15. Offline

    iiShaun

    When ever i try an command, it says i don't have permission to do so, and i have all permissions ("*") I don't know whats wrong, Please help?
     
  16. Ok... So i used multiverse to load a new map (world3), and when i do "/permissions -reload world3", it says "[Permissions] world3 does not exist"

    I do have the 'world3.yml' file in the /permissions directory... and the world DOES exist... but permissions is refusing to acknowledge it... (i haev done it with an old map, and it works fine... just any maps generated with multiverse)... not sure why its doin this... could REALLY use some help as soon as possible (ASAP)
     
  17. Offline

    Weredude

    All blocks are unbreakable if permissions are on, even OPs can't break blocks!
    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:
        Normal:
        default: true
        info:
                prefix: ''
                suffix: ''
                build: true
        inheritance:
        permissions:
        - 'essentials.sethome'
        - 'essentials.home'
        - 'essentials.motd'
        - 'essentials.list'
        - 'essentials.tpa'
        - 'essentials.tpaccept'
        - 'essentials.tpdeny'
        - 'essentials.tpall'
        - 'essentials.msg'
        Admins:
        default: false
        info:
        prefix: ''
        suffix: ''
        build: true
        inheritance:
        permissions:
        - 'essentials.sethome'
        - 'essentials.home'
        - 'essentials.motd'
        - 'essentials.list'
        - 'essentials.essentials'
        - 'essentials.broadcast'
        - 'essentials.ping'
        - 'essentials.ban'
        - 'essentials.kick'
        - 'essentials.tpa'
        - 'essentials.tpaccept'
        - 'essentials.tpdeny'
        - 'essentials.tpall'
        - 'essentials.msg'
        - 'antixray.axr.on'
        - 'antixray.axr.off'
        - 'antixray.axr.worlds'
        - 'antixray.axr.chunk'
        - 'antixray.axr.chunk.regen'
        - 'antixray.axr.chunk.regen.ore'
        - 'antixray.axr.map'
        - 'antixray.axr.show'
        - 'antixray.axr.hide'
        - 'antixray.axr.dump'
        - 'antixray.axr.diff'
        - 'antixray.axr.gen'
        - 'antixray.axr.gen.copy'
    
    ##
    # 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:
        Weredude:
        group: Admins
        permissions:
     
  18. Offline

    Ben Penhalagan

    i'm having a little problem with my permissions:

    Code:
    21:56:26 [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 Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:138)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:108)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while scanning an alias
     in "<reader>", line 103, column 16:
                    - '*'
                       ^
    expected alphabetic or numeric character, but found but found '
     in "<reader>", line 103, column 17:
                    - '*'
                        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:11
    56)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:78
    2)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:313)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:508)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
            ... 13 more
    >
    It's a pain to know what you don't know what is happening, im using
    iconomy and icoland, which is what i want to use to stop grievers attacking my server.

    the lines that are "affected" are here:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
                - 'icoland.basic.select'
                - 'icoland.basic.info'
                - 'icoland.land.sell'
                - 'icoland.land.buy'
        Admin:
            default: false
            info:
                prefix: 'Admin'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'icoland.admin.modify.owner'
                - 'icoland.admin.modify.perms'
                - 'icoland.admin.modify.addons'
                - 'icoland.admin.nolimit'
                - 'icoland.admin.nocost'
                - 'icoland.admin.notax'
                - 'icoland.admin.bypass'
                - 'icoland.admin.adminlist'
                - 'icoland.land.list'
                - 'icoland.land.edit'
                - 'icoland.misc.canbuild
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  19. Offline

    Jstn7477

    I'm new to bukkit. Downloaded recommended 740 release. Installed it. Installed autosave, plugin updater and permissions 2.7.2. Ran server. Changed name of permissionsTG422011.yml to TG422011.yml. Put in "Permissions" folder. Nothing happens. The .yml file that it generates is 0kb, there's nothing to edit. Help?

    Directory structure:
    Arandomfolder/bukkit, TG422011 world folder, plugins folder, other folders and junk
    /plugins/plugin jars, autogenerated 0kb permissions file, permissions folder
    /Permissions/TG422011.yml 0kb file.
     
  20. Offline

    Nick Lozon

    Copy the example configuration from the READ-ME.yml in the zip file and use that as a template. To reload the permissions using the reload command or reboot the server.
     
  21. Offline

    Jstn7477

    Okay, I'll give that a try. Sorry to be a n00b.

    EDIT: Would have helped if I clicked "Download" instead of just downloading the plugin.
     
  22. Offline

    Mezada

    Ok first off just wanted to say thanks for dealing with all the hassle of making and keeping up to date one of the most important plugins there is.

    My problem is really not critical, but it was something I thought you might want to know if you already didn't.
    My default group has build set to false. This works, save for one thing. They can still take paintings off the walls. Not terrible just I'd give you a heads up.
     
  23. Offline

    [qwerty]

    login as: chris0505
    [email protected]'s password:
    Linux 505ch 2.6.18-194.26.1.el5.028stab081.1 #1 SMP Thu Dec 23 20:17:23 MSK 2010 x86_64 GNU/Linux
    Ubuntu 10.10
    Welcome to Ubuntu!
    * Documentation: https://help.ubuntu.com/
    Last login: Wed May 4 23:55:15 2011 from d199-74-114-126.clv.wideopenwest.com
    chris0505@505ch:~$ ./minecraft.sh restart
    Stopping minecraft server...
    Launching minecraft server...
    craftbukkit.jar
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    22:45:50 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
    at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:352)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    22:45:53 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
    at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.java:400)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:436)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >
    Whats going on here?!
     
  24. Offline

    Yolsh

    Hi, I'm having some trouble with the plugin and have no idea if I'm supposed to get help somewhere else, so here are the errors that popup in the start up log of the server. If it's relevent I could post the entire start up log so that you can all the plugins I have going if you'd like.
    Code:
    2011-05-04 16:36:01 [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:138)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block mapping
    expected <block end>, but found Value
     in "<reader>", line 118, column 5:
            :
            ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingFirstKey.produce(ParserImpl.java:558)
        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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
     
  25. Offline

    Nick Lozon

    Post your config file?
     
  26. Offline

    Bakies

    is there in game commmands to promote/demote someone???
     
  27. Offline

    Malicious

    Click here to go to google.
    I know, Doctor Obvious. Jeez, don't make a big fuss over it.
     
  28. Offline

    Ranzear

    You need AssignPermissions

    Issue being you then have to reload permissions via /permissions -reload all

    The problem I'm having, and maybe I can get a fast answer here, is that I want to grant a permission to reload permissions.

    That is, what permissions do I give to allow use of the /permissions -reload all command?

    And thirty seconds later I see that AssignPermissions now auto-reloads permissions.
     
  29. Offline

    Nick Lozon

    Use AssignPermissions or PermissionsPlus. I've been using AssignPermissions.
     
  30. Offline

    Ranzear

    Okay no, the new version of AssignPermissions does not reload permissions automatically as it claims.
     
  31. Offline

    Matt Phillips

    is there a complete list of the default server commands so i can modify their permissions?
    i know its minecraft.(command)
    just wondering about a few certain ones, such as teleport
     
Thread Status:
Not open for further replies.

Share This Page