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

    sicksurfer123

     
  3. Offline

    NEREVAR117

    @@- Shazam, by no means am I an expert, but I might be able to help you on that. This is my config file, and it works. (except the prefixes and suffixes)

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
      member:
        default: true
        info: {prefix: '&1&3', suffix: '', build: true}
        inheritance: []
        permissions: [essentials.portal, essentials.help, essentials.home, essentials.sethome, essentials.msg, essentials.rules, essentials.motd, essentials.list, essentials.suicide, lockette.create.*]
      mods:
        default: false
        info: {prefix: 'Mod', suffix: '', build: true}
        inheritance: [member]
        permissions: [essentials.mute, essentials.kick, essentials.togglejail, essentials.jail.exempt, essentials.jails, essentials.heal, essentials.spawn]
      admin:
        default: false
        info: {prefix: Admin, suffix: '', build: true}
        inheritance: [moderator]
        permissions: ['*']
    users:
      testexample:
        group: admin
        permissions: []
      NEREVAR117:
        group: admin
      Akibaz
        group: mods
    
    It seems your format is incorrect? Is it ripped from Essentials? Conform my config to what you need and give it a try.
     
  4. Offline

    H3dr0

    can someone help me? message me cause im not getting this plugin to work for some reason.
     
  5. Offline

    kaotic

    I'm running into a problem with a user group that is getting the message "You don't have permission to use this." whenever they place blocks. I have my config set to allow this group to edit the world and they are indeed able to make changes, they just get spammed with this message while they are making changes.

    Any ideas?
     
  6. Offline

    rcjrrjcr

    Does anyone even read a bit of the thread before responding?? As I have repeatedly posted, WorldEdit isn't exactly cooperative with Permissions now.
     
  7. Offline

    kaotic

    Sorry but the thread is 138 pages long, I'm not going to start digging through it, I did however search the forums and found nothing, as well as check the FAQ at https://github.com/TheYeti/Permissions/wiki/FAQ.
     
  8. Offline

    tomcatEvE

    A little something that Meno put together to help with setting up and managing permissions. Have a look! http://www.wi-alliance.com/yamlhelper

    It's an error with craftbook. You have to give all groups this permission node craftbook.mech.cauldron

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

    kaotic

    Confirmed that was it! thanks for the quick response!
     
  10. Offline

    NEREVAR117

    Well, this sucks. Permissions doesn't block basic commands like /ban and /kick? What a massive oversight.... I leave my server for two hours (after installing permissions) and the server is in absolute chaos... yay. :/

    Reinstallation solved it. Weird.
     
  11. Offline

    tom

    Permissions doesnt seem to be working, all i have is essentials installed.

    Heres my config: (Or at pastebin : http://pastebin.com/aH1kp47c )

    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: '&8Guest'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.rules'
                - 'essentials.spawn'
                - 'essentials.protect.pvp'
                - 'SpawnX.spawn'
        Member:
            default: false
            info:
                prefix: '&2Member'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.me'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'localshops.buysell'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.skills.*'
                - 'mcbans.vote'
                - 'mcbans.vote.kick'
                - 'mcbans.vote.msg'
                - 'towny.town.new'
                - 'towny.publicspawntp'
                - 'uQuest.CanQuest'
                - 'uQuest.CanDropQuest'
                - 'lwc.protect'
                - 'towny.town.claim'
                - 'essentials.warp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'stats.log'
                - 'stats.view.own'
                - 'stats.view.others'
                - 'stats.view.playtime'
        Advanced_Member:
            default: false
            info:
                prefix: '&aAdvanced_Member'
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'falsebook.anyic'
                - 'falsebook.blocks.*'
                - 'falsebook.blocks.bridge'
                - 'falsebook.blocks.door'
                - 'falsebook.blocks.gate'
                - 'falsebook.blocks.lift'
                - 'falsebook.blocks.hiddenswitch.create'
                - 'falsebook.blocks.hiddenswitch'
                - 'falsebook.blocks.area'
                - 'falsebook.ic.standard'
                - 'falsebook.ic.detection'
        Sponsor:
            default: false
            info:
                prefix: '&bSponsor'
                suffix: ''
                build: true
            inheritance:
                - Advanced_Member
            permissions:
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.jump'
                - 'towny.nation.new'
                - 'warp.to.own'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.global'
                - 'warp.create.private'
                - 'warp.create.public'
                - 'warp.create.global'
                - 'warp.admin.invite'
                - 'warp.admin.uninvite'
        Moderator:
            default: false
            info:
                prefix: '&eModerator'
                suffix: ''
                build: true
            inheritance:
                - Sponsor
            permissions:
                - 'mcbans.kick'
                - 'mcbans.lookup'
                - 'mcbans.unban'
                - 'mcbans.ban.temp'
                - 'mcbans.ban.local'
                - 'mcbans.ban.global'
                - 'mcbans.ban.view'
                - 'mcbans.reload'
                - 'mcbans.offline'
                - 'mcbans.online'
                - 'mcbans.admin'
                - 'mcbans.mod'
                - 'essentials.back.ondeath'
                - 'essentials.ban'
                - 'essentials.kick'
        Admin:
            default: false
            info:
                prefix: '&cAdmin'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '-iConomy.admin.grant'
                - '-iConomy.admin.set'
                - '-iConomy.admin.reset'
                - '-iConomy.admin.hide'
                - '-iConomy.admin.account.create'
                - '-iConomy.admin.account.remove'
                - '-iConomy.admin.stats'
                - '-essentials.give'
                - '-essentials.item'
                - '-essentials.unlimited'
                - '-localshops.destroy'
                - '-localshops.move'
                - '-localshops.manage.owner'
                - '-localshops.manage'
                - '-localshops.admin'
                - '-lwc.mod'
                - '-lwc.admin'
                - '*'
        Developer:
            default: false
            info:
                prefix: '&5Developer'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Founder:
            default: false
            info:
                prefix: '&4Founder'
                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:
        PureIndianTalent:
            group: Founder
            info:
                prefix: ''
                suffix: ''
            permissions:
        SoftOath:
            group: Founder
            permissions:
        monkey4banannas:
            group: Admin
            permissions:
        aqila5:
            group: Admin
            permissions:
        jamesfleetwood:
            group: Guest
            permissions:
        ic_a_m:
            group: Member
            permissions:
        Stybbe1:
            group: Founder
            info:
                prefix: ''
                suffix: ''
            permissions:
        zangorr:
            group: Moderator
            permissions:
        dmakian:
            group: Member
            permissions:
        jammythunder:
            group: Founder
            permissions:
        ownageboii1:
            group: Moderator
            permissions:
        theamazingtom:
            group: Member
            permissions:
        PilzH33r:
            group: Moderator
            permissions:
        Tahuv21:
            group: Member
            permissions:
        nodeathtoall:
            group: Member
            permissions:
        RaggedWorm:
            group: Member
            permissions:
        Rapistelija:
            group: Member
            permissions:
        Veetiko:
            group: Member
            permissions:
        iDisFatGuy:
            group: Moderator
            permissions:
        Liar200:
            group: Member
            permissions:
        Galeios:
            group: Member
            permissions:
        hiimtony:
            group: Moderator
            permissions:
        wazabaza:
            group: Moderator
            permissions:
        Wantedalive:
            group: Moderator
            permissions:
        simondelang:
            group: Member
            permissions:
        xoxIzzy:
            group: Member
            permissions:
        ScourgeDL:
            group: Sponsor
            permissions:
        optimisticxPRIME:
            group: Member
            permissions:
        VILLEWOTE:
            group: Member
            permissions:
        alicat99:
            group: Member
            permissions:
        roelst:
            group: Member
            permissions:
        wailmer1:
            group: Member
            permissions:
        incinerated100:
            group: Member
            permissions:
        Kilipinen:
            group: Member
            permissions:
        Varusteleka:
            group: Member
            permissions:
        Dark_Mudkip:
            group: Member
            permissions:
        ryanhaych1:
            group: Member
            permissions:
        mr240:
            group: Member
            permissions:
        Acatalepsy:
            group: Member
            permissions:
        BGtips:
            group: Moderator
            permissions:
        Fazer3618:
            group: Member
            permissions:
        LemurFace:
            group: Member
            permissions:
        ansjovis93:
            group: Member
            permissions:
        SamNanners:
            group: Member
            permissions:
        GeckoGuy01:
            group: Member
            permissions:
        TheZebra:
            group: Member
            permissions:
        Samgie:
            group: Member
            permissions:
        RabbidWalrus:
            group: Member
            permissions:
        killermann42:
            group: Member
            permissions:
        Sheimeix:
            group: Member
            permissions:
        baileybelyeu:
            group: Member
            permissions:
        tripstacy:
            group: Member
            permissions:
        MT412:
            group: Member
            permissions:
        ChouKuuga:
            group: Member
            permissions:
        BomberGolde:
            group: Member
            permissions:
        MrHewlett10:
            group: Member
            permissions:
        TheAuxillaryJF:
            group: Member
            permissions:
        o0nebstero0:
            group: Member
            permissions:
        hullaboo:
            group: Member
            permissions:
        TAP_JC:
            group: Member
            permissions:
        Tottenham4696:
            group: Member
            permissions:
        Sotijalo:
            group: Member
            permissions:
        louisg113:
            group: Member
            permissions:
        jrj996:
            group: Developer
            permissions:
        Acrylicus:
            group: Member
            permissions:
        TRINIMEN:
            group: Member
            permissions:
        Smeargle2:
            group: Member
            permissions:
        iceman1375:
            group: Member
            permissions:
        Prestafar:
            group: Member
            permissions:
        IDeathwishIv:
            group: Member
            permissions:
        Aucun:
            group: Member
            permissions:
        Toddeh:
            group: Member
            permissions:
        dead4sure:
            group: Member
            permissions:
        Persious123:
            group: Developer
            permissions:
     
  12. Offline

    aTastyNoob

    Hi I am having troubles making a person moderator. It isn't working. :(
    Please help! :)

    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: '&2[Builder]&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.kit.starter'
        Moderator:
            default: false
            info:
                prefix: '&9[Mod]&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook.kit.starter'
        Admins:
            default: false
            info:
                prefix: '&4[Admin]&c'
                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:
        astolenheart:
            group: Admins
            permissions:
        Shehwaz:
            group: Admins
            permissions:
                - 'herp.derp'
        Scizor:
            group: Admins
            permissions:
                - '-derp.derp'
    lgiansante:
            group: Default
            permissions:
                - '-derp.derp'
    Joshhy:
            group: Moderator
            permissions:
                - '-derp.derp'
     
  13. Offline

    rcjrrjcr

    Search for DefaultPermissions.
     
  14. Offline

    H3dr0

    my permissions is being detected and the users is not working . can someone help me? it looks something like this
    Code:
    users:
     Sweetdaddyde1:
            group: Admins
            permissions:
                - '*'
        Tacooes:
            group: Admins
            permissions:
                - '*'
        Afritay:
            group: Admins
            info:
                prefix: '[Emperor]'
                suffix: 'deal with it'
            permissions:
                - '*'
        rytle:
            group: Admins
            info:
                prefix: 'rob little '
            permissions:
                - '*'
     
  15. Offline

    Celtic Minstrel

    There should really be big, red text somewhere saying:
    \t means tab
     
  16. Offline

    7007King0770

    Could you assist me in my problem? I am new to this but I have a basic understanding of it. I am atempting to set up the permissions for Movecraft in a way so that the default class can use airships, cars, and boats. Now on:
    http://forums.bukkit.org/threads/me...planes-and-boats-made-of-blocks-531-677.1007/
    Where is says Configure Group Manager, I have implemented movecraft.car.* movecraft.airship.* and movecraft.boat.* into Default and nothing occurs. Also the text movecraft.car.* and other added text comes up in red when useing notepad***. I am confused, can you assist me in a possible manner?
    I get the error:
    Caused by: while scanning a simple key
    in "<reader>", line 64, column 1:
    movecraft.airship.*
    ^
    could not found expected ':'
    in "<reader>", line 65, column 1:
    movecraft.car.*
    ^
    There is a lot of text above and below it should I include that too? As far as I can tell I am just typing it wrong, but I do not know what right is.
     
  17. Offline

    dark navi

    I want to change the group permissions between worlds, but keep the user data base the same, is there a way I can set this up like that?
     
  18. Offline

    Lecksy

    I think you have to do _permissions: ''_ for each of them, instead of just having _permissions:_ ('' is two single quotes, ' ')
     
  19. Offline

    Psycho Robot

    Incorrect. Permissions has absolutely no effect on OP. You can make someone an admin with permissions, but unless they are listed in ops.txt, they will not have access to op commands like /stop and /give. If you want someone to have access to /give, you will need to install a plugin which adds that functionality. Things like DefaultCommands, Essentials, and dozens more will do this.

    Lolwut. Did you OP everyone? Because that's the only way I can imagine this happening.
     
  20. Offline

    swedish2011

    Code:
    2011-04-18 10:28:27 [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$32.execute(JavaPluginLoader.java:392)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  21. Offline

    icecruiser

    Hi everyone, I am a new server owner and while trying to add WorldEdit to my server, I made the permissions only for me to use it, but my friend in the Members group can still use all the commands from WorldEdit, as can I but I dont want anyone else using it right now besides me.


    Code:
    #
    # WorldEdit's configuration file
    #
    # About editing this file:
    # - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
    #   you use an editor like Notepad++ (recommended for Windows users), you
    #   must configure it to "replace tabs with spaces." In Notepad++, this can
    #   be changed in Settings > Preferences > Language Menu.
    # - Don't get rid of the indents. They are indented so some entries are
    #   in categories (like "max-blocks-changed" is in the "limits"
    #   category.
    # - If you want to check the format of this file before putting it
    #   into WorldEdit, paste it into http://yaml-online-parser.appspot.com/
    #   and see if it gives "ERROR:".
    # - Lines starting with # are commentsand so they are ignored.
    #
    
    limits:
        max-blocks-changed:
            default: -1
            maximum: -1
        max-radius: -1
        max-super-pickaxe-size: 5
        max-brush-radius: 5
        disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]
    
    use-inventory:
        enable: false
        allow-override: true
    
    logging:
        log-commands: false
        file: worldedit.log
    
    super-pickaxe:
        drop-items: true
        many-drop-items: false
    
    snapshots:
        directory:
    
    navigation-wand:
        item: 345
        max-distance: 100
    
    scripting:
        timeout: 3000
        dir: craftscripts
    
    saving:
        dir: schematics
    
    history:
        size: 15
    
    wand-item: 271
    shell-save-type:
    no-double-slash: false
    no-op-permissions: false
    debug: false
    
    # See http://wiki.sk89q.com/wiki/WorldEdit/Permissions/Bukkit
    permissions:
        groups:
            Member:
                permissions:
                    -
        users:
            Icecruiser:
                permissions:
                    - '*'
    permissions:
    groups:
    Member:
    permissions:
    -

    ^ This bit here is what I am not sure about, I have left it blank and the members can still use these commands, is there anything I should put here that stops them from interacting with WorldEdit at all?
     
  22. Offline

    Mannan

    Ok, suppose I have a Moderator group. I want that group to be able to use every command except for two commands. So I just type -

    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - '-bar.foo'
    - '-bar2.foo'

    Is that correct? =/.
     
  23. Offline

    Singapore123

    It won't work for me. It says:


    And my world.yml says:

     
  24. I want to suggest a snow generator for the /brush, using /brush sphere snow 15 + /mask air will give floating snow
     
  25. Offline

    1981Thomas

    Can I have a command to assign a new user group.
    Or do I always write the new users by hand in the *. yml, and then restart the server.
     
  26. Offline

    masterkorp

    Hello, great plugin man !
    Just a question can this follow symbolic links ? i have a normal world and a nether world and i just want to have the same permissions in both wolds.
     
  27. Offline

    samsoccerboyz

    I dont Think I did this right because Iconomychestshop is saying no permission


    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.access'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.command.iteminfo'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.whois'
                - 'essentials.msg'
                - 'essentials.depth'
        Dirt:
            default: false
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'iConomy.payment'
        Stone:
            default: false
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'iConomy.payment'
        Iron:
            default: false
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'lwc.protect'
                - 'iConomy.payment'
        Gold:
            default: false
            info:
                build: true
    
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'lwc.protect'
                - 'iConomy.payment'
    
        Diamond:
            default: false
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'lwc.protect'
                - 'iConomy.payment'
        Leader:
            default: false
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
                - 'general.list'
                - 'worldguard.region'
                - 'iConomy.payment'
                - 'worldguard.region.'
     
    users:
        ChiefTiger:
            permissions:
                - '*'
        samsoccerboyz:
            permissions:
                - '*'
        Whosatm:
            permissions:
                - '*'
        Thesandvichguardian:
            permissions:
                - '*'
     
  28. Offline

    Achilles

    I keep getting this error whenever I start up the server:

    Code:
    2011-04-18 10:52:16 [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: unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 1221
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
        at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:89)
        at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:79)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:974)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    I assume it has something to do with the "Caused by: unacceptable character #FFFD special characters are not allowed in "<reader>", position 1221" line, but I don't know how to remedy that.
     
  29. Offline

    nymm

    Hi,
    I found a pretty big bug:

    The users list does not allow nicknames with only numerical characters.

    In my case, when I add the player 1550 in my users list, I got an error in the console when I start the server.

    Can you fix it please ?
    thanks
     
  30. Offline

    Celtic Minstrel

    My guess is that you forgot the "- " (without quotes) in front of all the permissions, but without seeing your entire config I can't be certain. Pastebin and link it, please.

    Uhh... that's absolutely incorrect.

    As I understand it, WorldEdit will only use those permissions if Permissions is not installed. If you have no other plugin that uses Permissions, you can just remove Permissions and I think it should work. If you have other plugins that use Permissions, you will have to move that information from the WorldEdit config to the Permissions config. If it helps, the format is mostly the same.
    You're posting in the wrong thread. This thread is for Permissions, not WorldEdit. Go post that in the WorldEdit thread.
    I'd say test it and see. If it can't, just put this in your nether config:
    Code:
    plugin:
        system: default
        copies: world
    (I think that's correct, someone want to verify?)
    No bug. You just need to put the name in quotes.
     
  31. Offline

    Mannan

    Answer for this please? :).
     
Thread Status:
Not open for further replies.

Share This Page