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

    saturnine_nl

    make sure every line is indented properly.
    the first commandbook rule is good, the rest need to be alligned with first one.

    be aware that you don't use tabs. (that's why notepad ++ turns a line red)
    if a line is turning red, delete all empty space in front of it and add spaces until the line is properly indented
     
  3. Offline

    ToshNeox

    I think you should use HeroChat as it seems a better plugin than iChat. iChat only adds basic functionality whereas HeroChat adds a lot more. First of all I got a load of errors from iChat every time I started the server. It's also better because you can create channels, and as many as you want with custom colours, passwords, prefixes. You have one for help, alert, global and staff ( The four standard channels ) then one for trade, builders, farms etc. etc. and etc. All the channels you can customize, remove and add (including the default ones)

    I hope that explains the reason why you should use HeroChat.
     
  4. Offline

    charlie k-j

    THANKYOU!!! IT WORKS!! :D :D
     
  5. Offline

    zaklampje

    Okey, 2.5.4 doesn't work... So I use 2.5.3... But one problem, if I do /reload it says 'You do not have sufficient acces to reload this server'. Anybody?
     
  6. Offline

    ToshNeox

    Try doing the /permissions -reload all command from the server console.
     
  7. Offline

    unv_annihlator

    @TheYeti How would I be able to change a users group through API? Or is that even possible? I'm guessing if it is then it would be something along the lines of using the .addUserInfo()? But if so how would that work?
     
  8. Offline

    Malkierian

    OK, so I installed 2.5.3 and it loads just fine, but I can't get it to recognize the permissions .yml. I have one copy each of one named "world" (as the folder is named) and one named "Molokai" (as that is the name of my server, and what Permissions 2.5.4 worked with), in the server root, plugins/permissions, and in the world folder root. None of them gets loaded. What's going on?
     
  9. Offline

    korin125

    Reloading permissions works in the server console but not in-game. It just says I don't have permissions to do that. I really need this use Yeditor.
     
  10. Offline

    Scott

    Hey guys, I'm having a little difficulty getting permissions working for people. They seem to work perfectly for me but other users keep getting permission denied. I'm not sure if multiple groups is even a valid but I have tried with multiple groups for a user and with just one group for each user.

    I am using CraftBukkit Version: 527
    Permissions Version: 2.5.4

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # GROUPS
    ##
    groups:
        default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
    
        users:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - default
            permissions:
                - 'essentials.getpos'
                - 'essentials.portal'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.spawn'
                - 'lwc.protect'
                - 'wormhole.use'
                - 'wormhole.build'
                - 'myhome.home.*'
                - 'wormhole.use.sign'
                - 'wormhole.use.dialer'
                - 'wormhole.remove.own'
                - 'wormhole.build'
                - 'wormhole.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'AutoRepair.warn'
                - 'AutoRepair.access'
                - 'AutoRepair.info'
                - 'AutoRepair.repair'
                - 'tombstone.*'
                - 'iConomyChestShop.shop.use'
                - 'war.player'
                - '/regionclaim'
    
        ignite:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        town:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        museum:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        science:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        mods:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
                - 'general.time'
                - 'essentials.world'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kick'
                - 'essentials.heal'
                - 'essentials.whois'
                - 'essentials.modgrp'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.nicks'
                - 'lwc.mod'
                - 'essentials.time'
                - 'wormhole.remove'
                - 'essentials.give'
                - 'essentials.item'
                - 'myhome.*'
                - 'wormhole.config'
                - 'wormhole.remove.all'
                - 'iConomy.admin.stats'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.admin.grant'
                - 'iConomy.access'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.shop.create'
                - 'war.build'
                - '/region'
                - 'war.*'
    
        ezco:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
    
        admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
                - 'essentials.setspawn'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.kill'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'wormhole.config'
                - 'essentials.kickall'
                - 'essentials.eco'
                - 'lwc.admin'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.set'
                - 'war.*'
    
        uber:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
    
    ##
    # USERS
    ##
    users:
        extant1:
            group: admins
            group: uber
            group: town
            group: museum
            group: science
            permissions:
                 - '*'
        nanneh:
            group: admins
            group: uber
            group: town
            permissions:
                 - '*'
        EZDecker:
            group: ezco
            permissions:
    
        TheMoleKing:
            group: uber
            group: town
            permissions:
    
        EZPoli:
            group: mods
            group: ezco
            group: town
            permissions:
    
        EZJack:
            group: ezco
            permissions:
    
        EZDecker:
            group: ezco
            permissions:
    
        montyiii:
            group: users
            permissions:
    
        nairbic:
            group: ignite
            group: town
            group: mods
            permissions:
    
        armeh07:
            group: ignite
            group: town
            group: museum
            group: mods
            group: science
            permissions:
    
        lordcouty:
            group: ignite
            permissions:
    
     
  11. Offline

    Malkierian

    OK, guys, I finally figured it out. Because the server I'm on automatically loads from their backup folder (don't ask me why...), Permissions was trying to load backup/world from permissions. Which means, it was looking for world.yml inside /plugins/Permissions/backup/ instead of just inside /plugins/Permissions/. So, putting a /backup folder inside /Permissions, I finally got it to load! Hurray! Anyone else who is having troubles might want to check on that themselves.

    Also, @Scott, a user can only be part of one group at a time. I think you might be causing undue problems by listing multiple groups for each user.
     
  12. Offline

    Scott

    I suspected that could be an issue so I made another config file leaving only one group per user and had the same issue. I have access to commands listed but any other user is returned as permission denied.

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # GROUPS
    ##
    groups:
        default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
    
        users:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - default
            permissions:
                - 'essentials.getpos'
                - 'essentials.portal'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.spawn'
                - 'lwc.protect'
                - 'wormhole.use'
                - 'wormhole.build'
                - 'myhome.home.*'
                - 'wormhole.use.sign'
                - 'wormhole.use.dialer'
                - 'wormhole.remove.own'
                - 'wormhole.build'
                - 'wormhole.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'AutoRepair.warn'
                - 'AutoRepair.access'
                - 'AutoRepair.info'
                - 'AutoRepair.repair'
                - 'tombstone.*'
                - 'iConomyChestShop.shop.use'
                - 'war.player'
                - '/regionclaim'
     
        ignite:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        town:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        museum:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        science:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
    
        mods:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - users
            permissions:
                - 'general.time'
                - 'essentials.world'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kick'
                - 'essentials.heal'
                - 'essentials.whois'
                - 'essentials.modgrp'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.nicks'
                - 'lwc.mod'
                - 'essentials.time'
                - 'wormhole.remove'
                - 'essentials.give'
                - 'essentials.item'
                - 'myhome.*'
                - 'wormhole.config'
                - 'wormhole.remove.all'
                - 'iConomy.admin.stats'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.admin.grant'
                - 'iConomy.access'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.shop.create'
                - 'war.build'
                - '/region'
                - 'war.*'
    
        ezco:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
    
        admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
                - 'essentials.setspawn'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.kill'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'wormhole.config'
                - 'essentials.kickall'
                - 'essentials.eco'
                - 'lwc.admin'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.set'
                - 'war.*'
    
        uber:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                 - '*'
    
    ##
    # USERS
    ##
    users:
        extant1:
            group: admins
            permissions:
    
        nanneh:
            group: admins
            permissions:
    
        EZDecker:
            group: ezco
            permissions:
    
        TheMoleKing:
            group: uber
            permissions:
    
        EZPoli:
            group: mods
            permissions:
    
        EZJack:
            group: ezco
            permissions:
    
        EZDecker:
            group: ezco
            permissions:
    
        montyiii:
            group: users
            permissions:
    
        nairbic:
            group: mods
            permissions:
    
        armeh07:
            group: mods
            permissions:
    
        lordcouty:
            group: ignite
            permissions:
    
     
  13. Offline

    Mrjibidi

    What name should i put to my permissions/Rename me.YML file??? My server name? or config? Tell me plz
     
  14. Offline

    tenach

    Uh, it says your world name. So if your world name is Bukkitopia, you would rename it to Bukkitopia.yml
     
  15. Offline

    Mrjibidi

    ok, but there is a problema, when i put the name as my server name THEN some of my plugins wont work and i cant use commands from those plugins! So what is going on??
     
  16. Offline

    Fyridor

    Ehm, I see that you had the ''Could not pass event [x] to plugin [y]'' error. I've fixed these errors a few times by updating all files to the latest version, so that's CraftBukkit and all your plugins. Did you try that one already?
     
  17. Offline

    Arkona

    This plugin is a serious flop. Its difficult to use and set up, mostly due to the fact that the instructions seem to be designed for experianced coders.
     
  18. Offline

    tenach

    Can you post your permissions file?
     
  19. Offline

    Malkierian

    Are you TheMoleKing? Because he's the only one that has total command control in that file.
     
  20. Offline

    Scott

    I am extant1 at the top, and in the multi-group config I posted prior I also had access to the 'uber' group with the wildcard and things still work, I remove myself from the uber group and replaced it with just admins and I still have access to all the commands. However others, e.g. EZPoli or nanneh appear to have access to no commands regardless what group I've added to them. Before posting I even gave wildcard permission to nanneh as a test and reloaded the permissions (and restarted the server) and he had no command access other than the users group.

    Also after some more testing the multiple groups seems to work with worldguards regions without an issue but again I am unsure if they have an impact with permissions. (Same issue regardless of multiple groups per user or single group.)
     
  21. Offline

    Malkierian

    Perhaps try removing the blank lines between the entries under users: ?
     
  22. Offline

    Mrjibidi

    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    Rakentaja:
    default: False
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essnetials.worth'
    - 'essnetials.sell'
    - 'essnetials.balance'
    - 'essnetials.pay'
    - 'essentials.spawn'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.kick'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.help'
    - 'essentials.kit'
    - 'essentials.clearinventory'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.jump'
    - 'essentials.top'
    - 'essentials.depth'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.heal.use'
    - 'lwc.protect'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.use'
    - 'essentials.signs.free.use'
    - 'essentials.signs.disposal.use'
    - 'uQuest.CanQuest'
    - 'lc.level.woodcut'
    - 'lc.level.mining'
    - 'lc.level.slaying'
    - 'lc.level.fisticuffs'
    - 'lc.level.range'
    - 'lc.level.archery'
    Resurssimies:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essnetials.worth'
    - 'essnetials.sell'
    - 'essnetials.balance'
    - 'essnetials.pay'
    - 'essentials.spawn'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.kick'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.help'
    - 'essentials.kit'
    - 'essentials.clearinventory'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.jump'
    - 'essentials.top'
    - 'essentials.depth'
    - 'essentials.signs.heal.use'
    - 'lwc.protect'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.use'
    - 'essentials.signs.free.use'
    - 'essentials.signs.disposal.use'
    - 'uQuest.CanQuest'
    - 'lc.level.woodcut'
    - 'lc.level.mining'
    - 'lc.level.slaying'
    - 'lc.level.fisticuffs'
    - 'lc.level.range'
    - 'lc.level.archery'
    Soturi:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essnetials.worth'
    - 'essnetials.sell'
    - 'essnetials.balance'
    - 'essnetials.pay'
    - 'essentials.spawn'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.kick'
    - 'essentials.heal'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.help'
    - 'essentials.kit'
    - 'essentials.clearinventory'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.portal'
    - 'essentials.jump'
    - 'essentials.depth'
    - 'essentials.signs.heal.use'
    - 'lwc.protect'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.use'
    - 'essentials.signs.free.use'
    - 'essentials.signs.disposal.use'
    - 'uQuest.CanQuest'
    - 'lc.level.woodcut'
    - 'lc.level.mining'
    - 'lc.level.slaying'
    - 'lc.level.fisticuffs'
    - 'lc.level.range'
    - 'lc.level.archery'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - '*'
    - 'essnetials.eco'
    - 'essnetials.worth'
    - 'essnetials.sell'
    - 'essnetials.balance'
    - 'essnetials.pay'
    - 'essentials.*'
    - 'essentials.spawn'
    - 'essentials.setspawn'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.ban'
    - 'essentials.kick'
    - 'essentials.unban'
    - 'essentials.mute'
    - 'essentials.kickall'
    - 'essentials.jail'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.help'
    - 'essentials.time'
    - 'essentials.item'
    - 'essentials.clearinventory'
    - 'essentials.spawnmob'
    - 'essentials.reloadall'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.portal'
    - 'essentials.jump'
    - 'essentials.top'
    - 'essentials.depth'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.heal.use'
    - 'lwc.protect'
    - 'lwc.mod'
    - 'lwc.admin
    - 'lwc.blockinventory'
    - 'citizens.create'
    - 'citizens.settext'
    - 'citizens.remove.singular'
    - 'citizens.remove.all'
    - 'citizens.help'
    - 'citizens.colour'
    - 'citizens.setitem'
    - 'citizens.move'
    - 'uQuest.CanQuest'
    - 'lc.admin'
    - 'lc.level.woodcut'
    - 'lc.level.mining'
    - 'lc.level.slaying'
    - 'lc.level.fisticuffs'
    - 'lc.level.range'
    - 'lc.level.archery'
     
  23. Offline

    saturnine_nl

    @Mrjibidi : there is a typo 'essnetials.sell' in some of the lines ...
     
  24. Offline

    BeerBaron

    can we hope for a ingame command to add player into groups?
     
  25. Offline

    Mrjibidi

    i removed the essentials.sell, but still my citizens and uquest plugin wont work until i change the name of the file and after that nobody cant use any commands

    It removed some error thingys from my console
     
  26. Offline

    Connor E

    I have these same problems, Permissions keeps messing up other plugins and i am the only one who can do anything even though i have many people with '*' permissions.
    [MERGETIME="1299961697"][/MERGETIME]
    Also, does the [522] mean it only works with build 522?
     
  27. Offline

    ZeroPointTsuna

    Hey I'm sort of a noob. I have no idea how to set up Permissions. I mean I have it setup, but how do I setup permissions for the different plugins? A simple easy to understand for morons type explanation? If I need to do something like post which plugins and how I want them setup so someone can give me an example that would be fine. I would just like to get my permissions working but after reading the guide still don't understand how.
     
  28. Offline

    yeahMan

    anyone want to answer this? I'm sure it's a simple thing i'm missing.
     
  29. Offline

    Connor E

    I cannot get permissions to work with essentials at all. can someone help me with my above threads?
     
  30. Offline

    saturnine_nl

    i was just thinking about to write a decent tutorial of the ins and outs of permissions, but I'm quite hesitant because since i began helping people here I notice one thing. people don't read. So if I'm going to put in all the effort to make it nice and understandable I want to be sure it's not for nothing.

    Please leave a comment if you want me to make a tutorial.

    Greetzzz Saturnine
     
  31. Offline

    Alpha

    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:
                - iConomy.payment
                - iConomy.access
                - iConomy.rank
                - iConomy.list
                - iConomy.admin.grant
                - iConomy.admin.set
                - iConomy.admin.stats
                - iConomy.admin.reset
            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:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # Alphakid16 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:
        Alphakid16:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    Is this right? If not can someone help me, I am so confused. :s
     
Thread Status:
Not open for further replies.

Share This Page