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

    Chromana

    Having some major problems here. I am a long time Permissions user and know exactly how to layout the yml etc.

    I just upgraded to CB740. I backed up and then deleted my permissions file for the upgrade of Permissions (to have a fresh start). However, the plugin does not create a yml file in the folder it creates. Instead it creates a blank file called PermissionsWORLDNAME.yml directly in the Plugins folder. So I assume that this is where I should be pasting my permissions stuff, yet it doesn't seem to work properly, if at all.

    I then created two files in the Permissions folder, one called PermissionsWORLDNAME.yml and one called WORLDNAME.yml. Neither of these seem to work.

    Before I start seeing if it's another plugin which is causing issues can someone please tell me the correct location of where the permissions file should go, and what name it should have? Thanks.
     
  3. Offline

    Yetzirah

    I have some questions regarding player groups in the permissions.yml file. Does it support multiple groups per player like "Yetzirah: group: Regulars, Extra1" ? If so, what sign do you seperate them with? I've tried with an , and a regular space but it does not work. If it doesn't work, well too bad. Thanks. PS: Awesome plugin. [diamond]
     
  4. Offline

    maetthew

    Has anyone experienced some issues with users using special characters like underscore(_)? I have a user on my server who has an underscore(_) as the last character on his name and I he can't get any building rights.

    I can add him to the appropriate group, and he gets the appropriate prefix according to the group I've added him/her to. But they still can't build for some reason.

    Could someone PLEASE advise me here. It's very annoying
     
  5. Offline

    Nick Lozon

    Permissionsworld.yml

    If you are getting this, its due to CraftBukkit's getDataFolder() is no longer providing the trailing file separator.

    On line 191 in Permissions.java, replace:

    com.nijiko.Misc.touch(getDataFolder() + DefaultWorld + ".yml");

    with:

    com.nijiko.Misc.touch(getDataFolder() + File.separator + DefaultWorld + ".yml");


    Technically, the author of Permissions should check to see if a File.separator was returned and append one on if it hasn't. If you are ambitious and don't have access to renaming/moving files, you can compile the JAR on your own after making the change. Worked out for me.
     
  6. Offline

    hAvAAck

    Hi All,

    I have a question. Is there a way to use chat commands to add someone to the config file? Like if someone doesn't have physical access to the config.yml can they put users in to a group? I didn't see this as a possibility in the thread or on the wiki, is there a plugin that will plug in to this one and allow for this functionality?
     
  7. Offline

    Invididom

    Permissions Broke; Tried Deleting File; It Worked. Could You All Help Me Scan For The Problemo?

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.rules'
                - 'commandbook.spawn'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.slap.other'
                - 'commandbook.slap'
                - 'commandbook.bans.isbanned'
                - 'myhome.home.basic.set'
                - 'myhome.home.basic.home'
                - 'myhome.home.soc.uninvite'
                - 'myhome.home.soc.invite'
                - 'mywarp.warp.basic.warp'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'iConomy.access'
                - 'lockette.create.*'
                - 'craftbook.mech.ammeter.use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.bookshelf.use'
                - 'craftbook.mech.cauldron'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light-switch'
                - 'craftbook.ic.safe'
                - 'craftbook.ic.restricted'
                - 'craftbook.ic.safe.mcxxxx'
                - 'craftbook.ic.restricted.mcxxxx'
        VIP5:
            default: false
            info:
                prefix: '&c[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'movecraft.*'
                - 'guestprev.is.authorized'
                - 'tpp.tp.*'
        VIP10:
            default: false
            info:
                prefix: '&a[Donator]'
                suffix: ''
                build: true
            inheritance:
                - VIP5
            permissions:
                - 'tpp.others.*'
        VIP15:
            default: false
            info:
                prefix: '&c[Admin]'
                suffix: ''
                build: true
            inheritance:
                - VIP10
            permissions:
                - 'tplus.history'
        VIP20:
            default: false
            info:
                prefix: '&a[Sponsor]'
                suffix: ''
                build: true
            inheritance:
                - VIP15
            permissions:
                - 'worldedit.navigation.jumpto'
        VIP50:
            default: false
            info:
                prefix: '&d[UberSponsor]&d'
                suffix: ''
                build: true
            inheritance:
                - VIP20
            permissions:
                - ''
    
        MiT:I
            default: false
            info:
                prefix: '&3[MiT]'
                suffix: ''
                build: true
            inheritance:
                - VIP50
            permissions:
                - 'guestprev.advanced.add'
                - 'guestprev.advanced.remove'
                - 'griefalertr.view'
                - 'griefalertr.ignore'
                - 'lockette.admin.reload'
                - 'lockette.admin.snoop'
                - 'lockette.admin.bypass'
                - 'lockette.admin.break'
                - 'lockette.admin.create.*'
                - 'commandbook.kick'
    
        Mod:
            default: false
            info:
                prefix: '&9[Mod]'
                suffix: ''
                build: true
            inheritance:
                - MiT
            permissions:
                - 'guestprev.advanced.add'
                - 'griefalertr.use'
                - 'myhome.home.soc.others'
                - 'tpp.mod'
                - 'commandbook.bans.ban'
    
        Mod2:
            default: false
            info:
                prefix: '&1[Mod]'
                suffix: ''
                build: true
            inheritance:
                - Mod
            permissions:
                - 'worldedit.superpickaxe'
                - 'griefalertr.stick'
                - 'commandbook.bans.unban'
    
        Admins:
            default: false
            info:
                prefix: '&c[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Mod2
            permissions:
                - '*'
    
        SAdmins:
            default: false
            info:
                prefix: '&c[SuperAdmin]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Founder:
            default: false
            info:
                prefix: '&4[Founder]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Epic:
            default: false
            info:
                prefix: '&d[UberSponsor]&c[Admin]&c'
                suffix: ''
                build: true
            inheritance:
                - SAdmins
            permissions:
                - '*'
    
        ModD:
            default: false
            info:
                prefix: '&a[Donator]&9[Mod]'
                suffix: ''
                build: true
            inheritance:
                - MiT
            permissions:
                - 'griefalertr.use'
                - 'myhome.home.soc.others'
                - 'tpp.mod'
        Criminal:
            default: false
            info:
                prefix: '&7[Criminal]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'guestprev.bypass.walls '
                - '-guestprev.access.commands'
    
    ##
    # 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:
        x_Invididom_x:
            group: Founder
            permissions:
        Aindreas_SYN:
            group: SAdmins
            permissions:
        AmongTheShelves:
            group: Admins
            permissions:
        DrewmanX:
            group: Epic
            permissions:
        Codemonkeybc:
            group: Admins
            permissions:
        Cantorus100:
            group: VIP20
            permissions:
        HerrDokktor_X:
            group: VIP50
            permissions:
        Goombaki:
            group: ModD
            permissions:
        Daioro:
            group: Mod2
            permissions:
        Coolzire:
            group: Mod
            permissions:
        NannerManCan:
            group: Mod
            permissions:
        KevinLee:
            group: MiT
            permissions:
        jfk0128:
            group: Mod
            permissions:
        g4dget:
            group: MiT
            permissions:
        Shiranui_Sun:
            group: MiT
            permissions:
     
  8. Offline

    Theotherguyyyyy

    Is there a way to restrict the usage of a plugin rather than enabling all other plugins
     
  9. Offline

    Joseph3262

    Is there a way to take away specific commands from a play and what does exempting a node mean
     
  10. Offline

    MadeOke

    Show Spoiler


    hmm, its like my problem.. if you install craftbook, delete it
     
  11. Offline

    hi00ih

    Hi, i can set users to a group but when they join the game they have the chat prefix but cant use any commands. Here is my example
    Code:
    00:42:37 [INFO] º9[PLAYER_COMMAND] º2 Moderator(playername): /item obsidian 100
    00:42:37 [WARNING] º2 Moderator(playername) was denied access to command.
    And also here is my configuration for my moderator group which i'm positive has the permissions i set.
    Code:
        Moderator:
            default: false
            info:
                prefix: '&2 Moderator '
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.modgrp'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory'
                - 'essentials.kill'
                - 'essentials.tree'
                - 'essentials.help'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'magiccarpet.mc'
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'travelportals.portal.destroy'
                - 'tpack.*'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.free.create'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.override'
                - 'essentials.god'
                - 'bankaccount.admin'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.togglejail'
                - 'turnstile.*'
                - 'BOSEconomy.admin.money'
                - 'BOSEconomy.admin.bank'
                - 'AdminChat.use'
                - 'BOSEconomy.common'
                - 'war.*'
                - 'mothernature.*'
     
  12. Offline

    Joseph3262

    is there a way to use permissions to take away the vanilla commands like kill
     
  13. Offline

    TuRmoiLxx

    Yes, remove the node essentials.kill for the users you don't want to use. If they can still use it deop them.
     
  14. Offline

    Zerco

    So many groups... well lets get started:

    First up: You have a tag along I after the " : " get rid of that and it should be a happy parser.
    Code:
        MiT:I <---- Here's the rascal
            default: false
            info:
                prefix: '&3[MiT]'
                suffix: ''
                build: true
            inheritance:
                - VIP50
            permissions:
                - 'guestprev.advanced.add'
                - 'guestprev.advanced.remove'
                - 'griefalertr.view'
                - 'griefalertr.ignore'
                - 'lockette.admin.reload'
                - 'lockette.admin.snoop'
                - 'lockette.admin.bypass'
                - 'lockette.admin.break'
                - 'lockette.admin.create.*'
                - 'commandbook.kick'
    
    Second up: You overloaded Admins by having them inherit and then giving them every permission. Either specify the permission nodes separately, or get rid of the inheritance.
    Code:
        Admins:
            default: false
            info:
                prefix: '&c[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Mod2
            permissions:
                - '*'
    
    Third: See the above, its the same problem as #2
    Code:
     
        Epic:
            default: false
            info:
                prefix: '&d[UberSponsor]&c[Admin]&c'
                suffix: ''
                build: true
            inheritance:
                - SAdmins
            permissions:
                - '*'
               
    In essence SAdmin / Admin / Founder / Epic are all the same when it comes to the permissions you have granted, make sure they all either have a single - '*' with NO inheritance or extra permissions, or get rid of the - '*' and specify each node separately making sure you don't use the same one twice for a single group ( including any inherited ones, more is not better it breaks it).

    I do believe you're missing the first one under the Permission nodes for "General" which would be:

    Permission Nodes:
    1. general.items: Controls /i, /give, /item

    The node
    Code:
    - craftbook.mech.*
    
    Should solve the block place errors, be sure to give it to all of your groups that can build.

    To clarify giving people that node enables:
    Code:
     
    craftbook.mech.ammeter.use Allows the use of the ammeter
    craftbook.mech.bridge Allows the creation and use of bridges
    craftbook.mech.bookshelf.use Allows the players to read books
    craftbook.mech.cauldron Allows the players to craft in cauldrons
    craftbook.mech.elevator Allows the players to create and use elevators
    craftbook.mech.elevator.use Allows the players to use but not create elevators
    craftbook.mech.gate Allows the players to create and use gates
    craftbook.mech.light-switch Allows the players to create and use light switches
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  15. Offline

    Strongit

    Getting this on my server as well. It's been happening for a while.
     
  16. Offline

    [qwerty]

    yea its spamming people "you don't have permission for this area"
     
  17. Offline

    valdark

    This is nice to know but where do I locate Permissions.java? I am working on a Mac and no matter how I extract the files I cannot locate Permissions.java

    Any chance we can get an upload with this change?

    I use a server that does not give me access to renaming files so I am having to use OP for all or nothing privileges until I can get this resolved.
     
  18. Offline

    fifth

    I was getting a bunch of errors with permissions, and narrowed it down to where as far as I can tell, the problem was a new player on my server whose name is all numbers.

    Does anyone else have problems with this? If so, can Permissions be fixed to allow for all-numeral playernames?

    EDIT: to specify which problems were being caused - it seems like the particular player as well as several other players became unable to build (this player and others were added to my Regulars group, while my Default group has build set to false) and I got the following error when restarting the server / loading permissions

    Code:
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
        at com.nijiko.permissions.Control.load(Control.java:215)
        at com.nijiko.permissions.Control.load(Control.java:130)
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:174)
        at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:145)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:88)
        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)
    and this error when doing permissions -reload

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v2.7
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:247)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:394)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:379)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
        at com.nijiko.permissions.Control.load(Control.java:215)
        at com.nijiko.permissions.Control.forceLoadWorld(Control.java:114)
        at com.nijiko.permissions.Control.reload(Control.java:80)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:256)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 6 more
     
  19. Offline

    freddan962

    Greetings,

    This might sound like a stupid question, but how do I disable a command for a group?

    Thanks.
     
  20. Offline

    UnrealEgg

    What do you need to put in the permissions file to stop commands like /plugins being use? (The console commands)
     
  21. Offline

    Luckz

    Don't know if it's related, but I (and my players) get "You cannot do that in this world!" even when I just try to swing a sword in another world.
     
  22. Offline

    Nick Lozon

    You would need to download the source then compile and JAR it. If you never done this before, could be complicated.


    I'm not taking ANY credit here, going to message the author on IRC to make appropriate changes. But, here is the "patched" JAR.
     

    Attached Files:

  23. Offline

    rcjrrjcr

    It's a known bug, as I have said many times. However, I'm too lazy to select one line and press backspace. Thanks for providing a temp fix (assuming there is no malicious code in there :p).

    EDIT: Fix'd. Will be in 2.7.3.
     
  24. Offline

    hAvAAck

    you either delete the permissions node
    or
    you give them the node with a minus sign, to remove it
    Code:
                - '*'
                - '-weather.strike'
    this would allow for every permission except weather.strike
     
  25. Offline

    Alex H

    hey, i really need help with permissions, is there a way to separate the user list from the individual world permissions files, so that groups can be different on each world but who is in the groups i only have to update once.
     
  26. Offline

    RugRats

    Players in my server are getting this message "you don't have permission to use this" and they said it was on almost everything. But yet they can still place and destroy things, they just get that annoying message. My permissions file has no errors in it so I don't know what's going on.
     
  27. Offline

    ryseff724

    Hi- this might be something stupid, but I don't really know. Someone please help!

    I want to let me (the admin) use all commands, but disable an assortment of them for anyone not specified as a specific group (should be set to default). Here are my config files:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-essentials.plugin'
                - '-essentials.spawnmob'
                - '-essentials.clearinventory.others'
                - '-essentials.antioch'
                - '-essentials.burn'
                - '-essentials.kill'
                - '-essentials.ban'
                - '-essentials.banip'
                - '-essentials.kickall'
                - '-essentials.jail.exempt'
                - '-essentials.setjail'
                - '-essentials.deljail'
                - '-essentials.invsee'
                - '-essentials.weather'
                - '-essentials.lightning'
                - '-essentials.thunder'
                - '-essentials.setspawn'
                - '-weather.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        ryseff724:
            group: Admins
            permissions:
    The other players in my server can use commands such as /lightning, /spawnmob, etc. EVEN THOUGH I specified that they can't. Can someone please help me??

    EDIT: Wait- to use permissions correctly do I need to deop everyone?? That might be the problem...
     
  28. Offline

    jimjim617

    Can u just please have Permissions i luv this Plugin but i Luv Permissions too! and i Can't use it now!
     
  29. Offline

    John Tuley

    Hello, Permissions users.

    I seem to be having trouble with setting up groups. I'm using Permissions 2.7.1 on top of MC 1.5_02 and yesterday's "latest" Bukkit. The only other installed plugins are MultiVerse 1.6.3 and General 3.3.3.

    I have the following in plugins/Permissions/world.yml:

    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    groups:
      Admins:
        default: false
        info:
          prefix: '&normal'
          suffix: '-multiplay'
          build: true
        inheritance: ''
        permissions:
          - '*'
      Builder:
        default: ''
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Default'
        permissions:
          - 'general.give'
          - 'general.time.set'
          - 'general.teleport'
      Default:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - 'general.basic'
      Moderator:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Default'
        permissions:
          - 'general.teleport'
          - 'general.heal'
          - 'general.hurt'
    users:
      jmtuley:
        group: 'Admins'
        permissions: ''
    
    There are no tabs and this validates as clean YAML. However, my user cannot do anything: no building, no commands to General, Permissions or MultiVerse (which are the only installed plugins). If I copy the permissions from the group node to my user's node, I do have access (though no build capabilities).

    Can anyone see what I'm doing wrong?

    Edit: After rebuilding using the config generator linked from the top post, now everything works except I can't build anything, no matter what!

    Edit 2: If I add my username to ops.txt, I regain the ability to interact with the world, but it seems that Permissions is doing its job and blocking commands as instructed. Bug, or feature?

    Thanks!
    -- John.
     
  30. Offline

    Jack Bartlett

    People that arent in the Permissions (Guests) can destroy blocks, but cannot place them? Somebody please help
     
  31. Offline

    [qwerty]

    my server says "you don't have permission for this area" to players that were give access and it says that on land that there are no regions even there! can someone tell my what the heck is going on?!?!?!!?!?
     
Thread Status:
Not open for further replies.

Share This Page