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

    JackTDawson

    That's interesting.. my problem is because I have one name that is nothing BUT numbers.. and for me, its when this mess started.. I just didn't put two and two together. :/
     
  3. Offline

    Tealk

    what i mean is, that while i am ingame, i can use a password to switch between the group of an admin and of a normal player. for example like this /sAdmin [password]
     
  4. Offline

    JackTDawson

    ohhhh. yea that would be a neat feature.
     
  5. Offline

    Renfroe

    Quick question, I've read through the posts to no avail. But when I try to add a permission node to my permissions file, and restart the server, it causes a few of my other plugins to crash. Then I can revert back to my backup permissions, and all is good. Anyone have some advice?
     
  6. Offline

    Tealk

    yea that i mean :)
     
  7. Offline

    JackTDawson

    Yes.. revert back.. make sure you have the permissions YML file the way you want it first.. then set it to read only. Try it again.. should fix it.. just remember.. when you update the file. .you have to set it to read / write.. edit the file. .then set it to read only again.. and in the server you should be able to reload without having to shut down the server.

    Although, I am having permission errors when I do it inside the game.. but I think its a permission setting I have. not sure yet.
     
  8. Offline

    Renfroe

    Most excellent, will give this a try right now. Also, I am aware that I can reload it while the server is running, I just seen this error, and have been playing with it on the test server, main server is good to go though! =)

    Edit: I'm such a tard at times, I found my problem. For some reason when I was editing my file in Notepad ++, it was putting spaces after my nodes! Go figure, took out the spaces, and boom, it worked! Let this be lesson!
     
  9. Offline

    Techcuron

    The new 2.6 config file format is almost impossible for me to configure now :(
     
  10. Offline

    SycoPrime

    Writing complimentary functions inside of permissions that account for this and infer the world (and possibly warn the user) would solve this issue without requiring sk89q or any of the rest of us make modifications.
     
  11. Offline

    sagerobot

    Please help IM running Craftbukkit 646 permissions 2.6 and i get this
    Code:
    16:39:41 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava: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: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 151, column 1:
    
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    131)
            ... 13 more
    also here is my Config
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'stargate.use'
        Trusted:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'stargate.use'
                - 'worldedit.navigation.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook.*'
                - 'magiccarpet.mc'
                - 'worldedit.superpickaxe'
        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:
        sagerobot:
            group: Admins
            info:
                prefix: ''
            permissions:
        RafaBarreto:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions:
                - ''
        dylan9710:
            group: Admins
            permissions:
                - ''
        Marada:
            group: Trusted
            info:
                prefix:
                suffix:
    
        msanchez7:
            group: Moderator
    
        poop12355:
            group: Moderator
    
        oceangabe:
            group: Moderator
    
        zearrow:
            group: Moderator
    
        Quick_Beam:
            group: Admins
    
        Almez:
            group: Moderator
    
    
     
  12. Offline

    Gratlofatic

    The build: false is not working. I have guests joining that can build even though it's set not to. Help?
     
  13. Offline

    Malkierian

    Once again, this is a case of a tab in the wrong place. Put it through a parser to check where it is, and make sure to copy and replace the WHOLE FILE once you have it working:
    http://yaml-online-parser.appspot.com/
    And also, remove those - '' lines in the user permissions. They serve no purpose.
     
  14. Offline

    zorphon

    All your replies still don't answer why Keput's permissions aren't working, and now I'm more confused than ever before?
     
  15. Offline

    Malkierian

    Have you done what we've suggested? We can't progress further until you've eliminated possibilities.
     
  16. Offline

    M0rti

    I got this Problem with my permissions.
    I did not make any changes on my permissions and it changed from this:
    Code:
    Mod:
            default: false
            info:
                prefix: '&3'
                suffix: '&b'
                build: true
            inheritance:
            - VIP
            permissions:
            - 'worldguard.region.*'
            - 'worldguard.god'
            - 'worldguard.heal'
    to this:
    Code:
    Mod:
            default: false
            info:
                prefix: '&3'
                suffix: '&b'
                build: true
                warp:
                    timers:
                        warmup:
                            public: -1
                        cooldown:
                            public: -1
            inheritance:
            - VIP
            permissions:
            - worldguard.region.*
            - worldguard.god
            - worldguard.heal

    and from this:
    Code:
    M0rtifer:
            group: Admin
            permissions:
            info:
    to this:
    Code:
    M0rtifer:
            group: Admin
            permissions: null
            info:
                warp:
                    timers:
                        warmup:
                            public: -1
                            private: -1
                        cooldown:
                            public: -1
                            private: -1
    I did not change anything ....something is changing my permissions. I hope you can help.
     
  17. Offline

    jolee1995

    PLZ HELP ME!!
    I am running on mac osx and using the following plugins:
    Can someone PLZ HELP ME? I spent 5 days trying to figure this out and have NO IDEA What i did wrong... I am using the 2.5.5 version of permissions. This config file is called "world.yml" and I have the following plugins :
    Show Spoiler
    Show Spoiler
    Show Spoiler

    Big Brother (DOes not Work at all and i Don't know y..)
    Worldedit
    WorldGuard
    Commandbook (doesnt work)
    Craftbook (doesnt work...)
    Essentials
    Myhome
    Creaturebox
    HeroSneak
    Ichat (doesnt work...)
    Iconomy
    Multiverse
    Spawn Control
    Teleplusplus
    TradeCraft (Does Not Work At All and I don't Know Y..)
    Wolfnames
    xWarp


    It says no permissions found and disables the plugins... PLZ HELP ME!! THanx in Advance!! Appreciate it!!
    Also if someone could help me with tradecraft that would be very appreciated!! I posted on the tradecraft forum but noone has replied in last few days...... When i make sign and right click, nothign comes up whether i type :
    Buy and Sell
    [Cobblestone]
    Here!

    or

    [Cobblestone]

    heres my tradecraft.txt:
    Show Spoiler

    # Item name, data value, buy exchange rate (item to gold), sell exchange rate (optional)
    # http://www.minecraftwiki.net/wiki/Data_values

    Stone, 1, 32:1
    Dirt, 3, 64:1
    Cobblestone, 4, 64:1
    Wood, 5, 32:1
    Sapling, 6, 32:1
    Bedrock, 7, 1:32
    Sand, 12, 32:1
    Gravel, 13, 32:1
    Log, 17, 8:1
    Sponge, 19, 1:8
    Glass, 20, 16:1
    Lapis Block, 22, 1:9
    Sandstone, 24, 24:1
    Wool, 35, 5:1
    Yellow Flower, 37, 8:1
    Red Flower, 38, 8:1
    Brown Mushroom, 39, 1:3
    Red Mushroom, 40, 1:3
    Brick Block, 45, 1:9
    TNT, 46, 1:40
    Moss Stone, 48, 1:5
    Obsidian, 49, 1:4
    Pig Spawner, 52, 1:128
    Seeds, 295, 16:1
    Snow Block, 80, 32:1
    Cactus, 81, 12:1
    Clay Block, 82, 1:8
    Sugar Cane, 338, 12:1
    Pumpkin, 86, 1:16
    Netherrack, 87, 64:1
    Soul Sand, 88, 64:1
    Glowstone, 89, 1:1
    Arrow, 262, 5:1
    Coal, 263, 6:1
    Diamond, 264, 1:64
    Iron, 265, 1:4
    String, 287, 1:5
    Feather, 288, 3:1
    Gunpowder, 289, 1:8
    Wheat, 296, 6:1
    Bread, 297, 2:1
    Flint, 318, 3:1
    Raw Pork, 319, 5:1
    Cooked Pork, 320, 2:1
    Painting, 321, 2:1
    Golden Apple, 322, 1:64
    Saddle, 329, 1:64
    Redstone, 331, 4:1
    Leather, 334, 5:1
    Milk, 335, 1:1
    Slimeball, 341, 2:3
    Egg, 344, 3:1
    Dye, 351, 2:1
    Bone, 352, 3:2
    Cake, 354, 1:16
    Cookie, 357, 1:5
    Gold Disc, 2256, 1:64
    Green Disc, 2257, 1:64

    Heres my configuration for permissions:
    Show Spoiler
    # System is no longer used, but may become used in the future
    Show Spoiler
    Show Spoiler

    # 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:
    Moderator:
    default: false
    info:
    prefix: '&f['
    suffix: '&f] +name&f'
    build: true
    inheritance:
    permissions:
    - 'ichat.group'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp.[warpname]'
    - 'essentials.kit.*'
    - 'essentials.list'
    - 'essentials.motd'
    - 'essentials.msg'
    - 'essentials.rules'
    - 'essentials.sethome'
    - 'essentials.spawn'
    - 'essentials.warp'
    - 'myhome.home.basic.*'
    - 'warp.to.other'
    - 'warp.to.invited'
    - 'TradeCraft.canBuy'
    - 'TradeCraft.canSell'
    - 'craftbook.mech*'
    - 'herosneak.sneak'
    - 'herosneak.auto'
    - '-multiverse.tp'
    - '-multiverse.world.spawn'
    - 'creaturebox.dropspawner'
    - 'creaturebox.placespawner'
    - 'SpawnControl.spawn.use'
    - 'SpawnControl.groupspawn.use'
    - 'SpawnControl.sethome.basic'
    - 'SpawnControl.sethome.proxy'
    - 'SpawnControl.groupspawn.use'
    - 'commandbook.kit.starter'
    - 'PhysicalShop.use'
    - 'PhysicalShop.build'
    - 'wolfnames.set'
    - 'wolfnames.show'
    Admin:
    default: false
    info:
    prefix: '&a['
    suffix: '&a] +name&f'
    build: true
    inheritance:
    permissions:
    - 'ichat.group'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp.[warpname]'
    - 'essentials.kit.*'
    - 'essentials.list'
    - 'essentials.motd'
    - 'essentials.msg'
    - 'essentials.rules'
    - 'essentials.sethome'
    - 'essentials.spawn'
    - 'essentials.warp'
    - 'myhome.home.basic.*'
    - 'warp.to.other'
    - 'warp.to.invited'
    - 'TradeCraft.canBuy'
    - 'TradeCraft.canSell'
    - 'craftbook.mech*'
    - 'herosneak.sneak'
    - 'herosneak.auto'
    - '-multiverse.tp'
    - '-multiverse.world.spawn'
    - 'creaturebox.dropspawner'
    - 'creaturebox.placespawner'
    - 'SpawnControl.spawn.use'
    - 'SpawnControl.groupspawn.use'
    - 'SpawnControl.sethome.basic'
    - 'SpawnControl.sethome.proxy'
    - 'SpawnControl.groupspawn.use'
    - 'commandbook.kit.starter'
    - 'PhysicalShop.use'
    - 'PhysicalShop.build'
    - 'wolfnames.set'
    - 'wolfnames.show'
    VIP:
    default: false
    info:
    prefix: '&c['
    suffix: '&c] +name&f'
    build: true
    inheritance:
    permissions:
    - 'ichat.group'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp.[warpname]'
    - 'essentials.kit.*'
    - 'essentials.list'
    - 'essentials.motd'
    - 'essentials.msg'
    - 'essentials.rules'
    - 'essentials.sethome'
    - 'essentials.spawn'
    - 'essentials.warp'
    - 'myhome.home.basic.*'
    - 'warp.to.other'
    - 'warp.to.invited'
    - 'TradeCraft.canBuy'
    - 'TradeCraft.canSell'
    - 'craftbook.mech*'
    - 'herosneak.sneak'
    - 'herosneak.auto'
    - '-multiverse.tp'
    - '-multiverse.world.spawn'
    - 'creaturebox.dropspawner'
    - 'creaturebox.placespawner'
    - 'SpawnControl.spawn.use'
    - 'SpawnControl.groupspawn.use'
    - 'SpawnControl.sethome.basic'
    - 'SpawnControl.sethome.proxy'
    - 'SpawnControl.groupspawn.use'
    - 'commandbook.kit.starter'
    - 'PhysicalShop.use'
    - 'PhysicalShop.build'
    - 'wolfnames.set'
    - 'wolfnames.show'
    Owner:
    default: false
    info:
    prefix: '&9[&6'
    suffix: '&9] +name&c'
    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:
    Jolee1995:
    group: Owner
    permissions:
    Marcusfarcus:
    group: Admin
    permissions:
    Zarnim:
    group: Admin
    permissions:
    Axeander:
    group: Moderator
    permissions
    acPwn30:
    group: Moderator
    permissions
    Nairboais:
    group: Moderator
    permissions
    Beef1457:
    group: VIP
    permissions
    TheBBlackknight:
    group: VIP
    permissions
    greener144:
    group: Admin
    permissions:
    Can someone PLZ HELP ME? I spent 5 days trying to figure this out and have NO IDEA What i did wrong... I am using the 2.5.5 version of permissions. This config file is called "world.yml" and I have the following plugins :
    Show Spoiler
    Show Spoiler
    Show Spoiler

    Big Brother (DOes not Work at all and i Don't know y..)
    Worldedit
    WorldGuard
    Commandbook
    Craftbook
    Essentials
    Myhome
    Creaturebox
    HeroSneak
    Ichat (doesnt work...)
    Iconomy
    Multiverse
    Spawn Control
    Teleplusplus
    TradeCraft (Does Not Work At All and I don't Know Y..)
    Wolfnames
    xWarp


    It says no permissions found and disables the plugins... PLZ HELP ME!! THanx in Advance!! Appreciate it!!
     
  18. Offline

    Malkierian

    @jolee1995 Did you try updating permissions, or any of your other plugins? It looks to me like quite a few of them are out of date. The problem seems to be in the communication between Permissions and the other plugins, not with Permissions itself.
     
  19. Offline

    kmccmk9

    By any chance are there commands for this plugin?
     
  20. Offline

    Malkierian

    PermissionsPlus
    For now, that's it. There are not yet any built-in commands for Permissions.
     
  21. Offline

    Lanuk

    Hello... I just started re-building my server and found that I would have to use Permissions now. I tried it only to find that it would not work. I had no errors and I even tried copying someone elses file. I made sure the tabs would convert to spaces in notepad++ as well. I got on my server and nothing happened... no prefixes or anything showed up and I couldn't access the plugins I listed. I named the file world.yml... is something wrong with that name? My world is named world so I used that to name the file. What am I doing wrong?? Help would be appreciated. Here is my file attached. (I got rid of the world folder since it was too big)
     

    Attached Files:

  22. Offline

    Malkierian

    You attached the wrong file.
    Prefixes and suffixes don't work from Permissions alone, you need a chat plugin that works with it to use them.
     
  23. Offline

    xZise

    @M0rti:
    1. I already linked to your post.
    2. This is only a minor problem, as these values don't change anything how xWarp behave. The only problem is, that your layout maybe was changed.
    3. Would be an answer from the developer nice. I couldn't find any interesting on the github repository and I have no idea, if I do something wrong.
    Fabian
     
  24. Offline

    zorphon

    I can't test it because he's offline atm, but I forgot the ones I wanted to give him and I deleted it so I don't remember all of them... I just gave him - '*' in his group, but a lot of - -'permission_here' for his user so he can't do adminy/config stuff.
    I tried testing it and made myself that group as well with his - -'permissions' but it still let me do them... is that because I'm on OP that it overrides the negative sign?
     
  25. Offline

    Malkierian

    Yes, OPs are automatically granted full permissions, from what I understand.
     
  26. Offline

    zorphon

    Ok, that's good to know.
     
  27. Offline

    Lanuk

    Okay, thanks for answering that Malk. Now I have another problem :p. So I got iChat and all the pretty colored prefixes work, and I gave my guy admin status with the '*' and he could use LWC fine, but when I made him a mod he could not use lwc. I gave the mod 'lwc.mod' and it said he didn't have access. I am sure that is the right permission as I have used it before (I rechecked as well). The odd part is that when I am an admin and do not have op, I can still use all lwc commands. Here is what I have typed in:

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: '&1'
                suffix: ''
                build: false
            inheritance: null
            permissions:
        Mod:
            default: false
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            - 'Default'
            permissions:
            - 'lwc.mod'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        Lanuk:
            group: Mod
            permissions: null
    Never mind! I think I got it to work now!
     
  28. Offline

    Lildirt

    Well, I obviously know NOTHING of permissions and have never used them before, I really don't know whats going on, I'm attaching my log of the last server session, it has all of my errors. If anyone can help me, please. I beg of you, I just want a server for 3 people. :/ (I am no genius at this, sorry. :/)

    Also, I am unable to use any MultiVerse commands (perhaps because I'm messing up permissions as a whole), I get "You do not have the rights to this command". Please help, I don't know what I'm doing anymore. I have two worlds, One named "CreativeWorld" and one named "NormalWorld", I use MultiINV also. Ignore the "NOT ENOUGH RAM!!!", act like this server is on a 1GB dedicated host.


    Thanks..
    -Hopelessly lost, Lildirt.
     

    Attached Files:

  29. Offline

    Malkierian

    Doesn't look like anything's wrong in the server log. All the plugins look relatively up to date, and you're on CB 670...
    Permissions file? (Honestly, I can't see anything being wrong with that either. Without errors on the log, I can't imagine what's wrong...).
     
  30. Offline

    JackTDawson


    Have you tried what Uncovery and I have mentioned in an earlier post ? You have to set the file to READ ONLY. Because Bukkit 670 overwrites the file. So before you start the server. Fix the file the way you want it. Then edit its properties and set it to read only. Then start your server. Also, get rid of the word NULL that is all over the file because thats what Bukkit puts all over your config file. Check it in YML Parser and Notepad ++ to make sure there is no "Extra" characters or errors.

    Anytime you make changes, set it to read and write, fix the file, then set it back to read only.
     
  31. Offline

    TheYeti

    @zorphon Well, first things first. WTF config file shenanigans. Your Admin users don't need additional permissions as they already have *. So don't give them more. Next, why not add the permissions to the Default group instead of to each user. Might be slightly easier to manage.
     
Thread Status:
Not open for further replies.

Share This Page