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

    alron

    Here is a version of Permissions 2.5.4 that works properly with CB560+ and ONLY CB 560+.

    Cheers.
     
  3. Offline

    cjc343

    I added a single quote on the end of line 146 after reading your errors. May have done some other stuff too...

    @Moronmaster I appear to have messed up the paste of your code last time, here's a 2nd attempt:

    Here's a hopefully fixed paste of your config (open)
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the 
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies: 
    
    ##        
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true. 
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: ''
            permissions:
                - 'essentials.afk'
                - 'essentials.back'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.kit'
                - 'essentials.kit.dirt'
                - 'essentials.kit.glass'
                - 'essentials.kit.sand'
                - 'essentials.kit.stone'
                - 'essentials.kit.tools'
                - 'essentials.kit.wood'
                - 'essentials.kit.food'
                - 'essentials.kit.workshop'
                - 'essentials.kit.torch'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.tpa'
                - 'essentials.warp'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tptoggle'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.msg'
    
        Builder:
            default: false
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
            inheritance:
                - Guest
            permissions:
                - 'woolcolor.spawn'
                - 'essentials.kit.brick'
                - 'essentials.kit.stoneslab'
                - 'essentials.kit.mossy'
                - 'essentials.kit.diamond'
                - 'essentials.kit.gold'
                - 'essentials.kit.iron'
                - 'essentials.tp'
                - 'essentials.kit.bed'
                - 'essentials.kit.bow'
                - 'essentials.kit.garden'
                - 'essentials.kit.cactus'
                - 'essentials.kit.boat'
                - 'essentials.kit.minecart'
                - 'war.player'
                - 'skypirates.player.help'
                - 'skypirates.player.air'
                - 'skypirates.player.enable'
                - 'skypirates.items.*'
        AdvBuilder:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.kit.tnt'
                - 'skypirates.modes.hoverboat'
                - 'skypirates.modes.plane'
                - 'skypirates.modes.submarine'
                - 'skypirates.modes.drill'
                - 'skypirates.modes.plane'
        Moderator:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            inheritance: ''
            permissions:
                - '*'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.spawnmob'
                - 'essentials.broadcast'
                - 'essentials.antioch'
                - 'essentials.kill'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kickall'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.setjail'
                - 'essentials.setspawn'
                - 'skypirates.admin.clear'
        Admin:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                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:
        Moronmaster:
            group: Admin
            permissions: ''
            info:
                prefix: '&5The Almighty '
                suffix: '&f'
        robbiemck:
            group: Moderator
            permissions: ''
            info:
        mikote:
            group: Builder
            permissions: ''
            info:
        Gust_swe_ha:
            group: Moderator
            permissions: ''
            info:
        sherman123:
            group: Builder
            permissions: ''
            info:
        Montebello:
            group: Builder
            permissions: ''
            info:
        z3d0m:
            group: Builder
            permissions: ''
            info:
        SweSora:
            group: Builder
            permissions: ''
            info:


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

    Karinth

    Thank you so much CJ
     
  5. Offline

    jsplayer111

    Thank you for this plugin, it is amazing! Does anyone know a good java site to learn java, I want to learn to program plugins but know nothing about Java! Please help
     
  6. Offline

    Fishwife

    Using: http://forums.bukkit.org/threads/admn-d ... -556.5974/


    My permissions were fine until today all of a sudden. Now the plugin will not load. What's strange to me is I wasn't having this issue pervious days. Now when I check server backups (I back up the entire folder) pervious backups are having this same issue. I have no idea what I can do to solve the problem.

    I've tried starting from scratch with the permissions file. For some reason the LWC permissions mod works, but if I try adding ANY other permissions the plugin will suddenly not load anymore.

    I have no idea where to go from here.

    Any help would be greatly appreciated.

    Code:
    02:24:36 [INFO] Starting minecraft server version Beta 1.3
    02:24:36 [INFO] Loading properties
    02:24:36 [INFO] Starting Minecraft server on *:25565
    02:24:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    02:24:36 [INFO] Preparing level "world"
    02:24:36 [INFO] Preparing start region
    02:24:37 [INFO] LWC     Loading shared objects
    02:24:37 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    02:24:37 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: 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:109)
            ... 8 more
    Caused by: while parsing a block mapping
     in "<reader>", line 62, column 9:
                default: true
                ^
    expected <block end>, but found FlowSequenceStart
     in "<reader>", line 68, column 38:
         ...    permissions: ['lwc.protect'] ['TradeCraft.canMakePlayerShops' ...
                                             ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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:
    82)
            ... 13 more
    02:24:37 [INFO] AutoRepair version 1.91 is enabled
    02:24:37 [INFO] Permission system not enabled. AutoRepair plugin defaulting to e
    verybody can use all commands
    02:24:37 [INFO] [FishPeople] version 1.1 is enabled!
    02:24:37 [INFO] [HeroicDeath] 1.6.1.145 enabled.
    02:24:37 [INFO] LWC     Loading SQLite
    02:24:37 [INFO] SQLite  Using: Native
    02:24:37 [INFO] LWC     At version: v1.66
    02:24:37 [INFO] MobRider enabled
    02:24:37 [INFO] MobRider - Permissions Plugin Not Detected (enabling for all use
    rs)
    02:24:37 [INFO] Nether v1.1 enabled
    02:24:37 [INFO] [PureHomes v1] Enabled.
    02:24:37 [INFO] Snowballz v1.5 has been enabled with the following options:
    02:24:37 [INFO]     Snow damage: 1
    02:24:37 [INFO]     Snow range: 10
    02:24:37 [INFO]     Snow douses fire: true
    02:24:37 [INFO]     Snow makes ice: true
    02:24:37 [INFO] Tombstone v.1.07 is enabled.
    02:24:37 [INFO] [Tombstone] No permissions plugin found, using default permissio
    n settings
    02:24:37 [INFO] [Tombstone] LWC Found, enabling chest protection.
    02:24:37 [INFO] Loaded 18 configs
    02:24:37 [INFO] Loaded 1 shops
    02:24:37 [INFO] TradeCraft version 0.7 is enabled!
    02:24:37 [INFO] WelcomeMe version 1.0.0 is enabled!
    02:24:37 [INFO] Done (0.134s)! For help, type "help" or "?"
    >
    02:24:36 [INFO] Starting minecraft server version Beta 1.3
    02:24:36 [INFO] Loading properties
    02:24:36 [INFO] Starting Minecraft server on *:25565
    02:24:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    02:24:36 [INFO] Preparing level "world"
    02:24:36 [INFO] Preparing start region
    02:24:37 [INFO] LWC     Loading shared objects
    02:24:37 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    02:24:37 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: 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:109)
            ... 8 more
    Caused by: while parsing a block mapping
     in "<reader>", line 62, column 9:
                default: true
                ^
    expected <block end>, but found FlowSequenceStart
     in "<reader>", line 68, column 38:
         ...    permissions: ['lwc.protect'] ['TradeCraft.canMakePlayerShops' ...
                                             ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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:
    82)
            ... 13 more
    02:24:37 [INFO] AutoRepair version 1.91 is enabled
    02:24:37 [INFO] Permission system not enabled. AutoRepair plugin defaulting to e
    verybody can use all commands
    02:24:37 [INFO] [FishPeople] version 1.1 is enabled!
    02:24:37 [INFO] [HeroicDeath] 1.6.1.145 enabled.
    02:24:37 [INFO] LWC     Loading SQLite
    02:24:37 [INFO] SQLite  Using: Native
    02:24:37 [INFO] LWC     At version: v1.66
    02:24:37 [INFO] MobRider enabled
    02:24:37 [INFO] MobRider - Permissions Plugin Not Detected (enabling for all use
    rs)
    02:24:37 [INFO] Nether v1.1 enabled
    02:24:37 [INFO] [PureHomes v1] Enabled.
    02:24:37 [INFO] Snowballz v1.5 has been enabled with the following options:
    02:24:37 [INFO]     Snow damage: 1
    02:24:37 [INFO]     Snow range: 10
    02:24:37 [INFO]     Snow douses fire: true
    02:24:37 [INFO]     Snow makes ice: true
    02:24:37 [INFO] Tombstone v.1.07 is enabled.
    02:24:37 [INFO] [Tombstone] No permissions plugin found, using default permissio
    n settings
    02:24:37 [INFO] [Tombstone] LWC Found, enabling chest protection.
    02:24:37 [INFO] Loaded 18 configs
    02:24:37 [INFO] Loaded 1 shops
    02:24:37 [INFO] TradeCraft version 0.7 is enabled!
    02:24:37 [INFO] WelcomeMe version 1.0.0 is enabled!
    02:24:37 [INFO] Done (0.134s)! For help, type "help" or "?"
    >
    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: ['lwc.protect'] ['TradeCraft.canMakePlayerShops'] ['TradeCraft.canBuy'] ['TradeCraft.canSell'] ['mobRider.command.goto'] ['mobRider.command.attack'] ['mobRider.command.go'] ['mobRider.command.stop'] ['mobRider.players'] ['mobRider.animals'] ['mobRider.monsters'] ['snowballz.*'] ['snowballz.aremadebyhand'] ['snowballz.changeblocks'] ['snowballz.putoutfire'] ['AutoRepair.repair'] ['AutoRepair.info']
                - '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: ['TradeCraft.canBuy'] ['TradeCraft.canSell'] ['TradeCraft.canMakePlayerShops'] ['mobRider.command.goto'] ['mobRider.command.attack'] ['mobRider.command.go'] ['mobRider.command.stop'] ['mobRider.players'] ['mobRider.animals'] ['mobRider.monsters'] ['snowballz.*'] ['snowballz.aremadebyhand'] ['snowballz.changeblocks'] ['snowballz.putoutfire'] ['bmobs.reload'] ['AutoRepair.repair'] ['AutoRepair.info']
                - '*'
    
    ##
    # 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:
        ShaunMHolder:
            group: Admins
            permissions: ['lwc.mod'] ['TradeCraft.canDestroyShops'] ['TradeCraft.canMakeInfShops'] 
        TheFrostinator:
            group: Admins
            permissions: ['lwc.mod'] ['TradeCraft.canDestroyShops'] 
        Ksera:
            group: Default
            permissions:
        The_Meatone:
            group: Default
            permissions:
        CirrusDusk:
            group: Default
            permissions:
        MeeksTape:
            Group: Default
            permissions:
     
  7. Offline

    cjc343

    Your config file is all kinds of messed up.

    rewrite it with each Node on its own line like so:

    Code:
            permissions:
                - 'lwc.mod'
                - 'TradeCraft.canDestroyShops'
                - 'TradeCraft.canMakeInfShops'
    
     
  8. Offline

    Fishwife

    Ok weird. The way I had it worked for a long time but I tried your format and I'm already getting a lot further. Thanks for the help.
     
  9. Offline

    RustyDagger

    Fish He told you some what right but what you were doing was Nealy right. What you were trying to do fish was use the groupmanager format (aka essentials) thats all well and good you just had more [] than was needed. example here:

    permissions [permission1, permission2, permission3, permission4]

    note the , and the space they are a must have and that the start and the end sit flush with nothing else.

    Now onto why i came in here to post. i would like to request a version that works with 561+ please a lot of block_placed hooks and block interact hooks were changed See Build 561's change log for more info.

    I would like to upgrade my server to said version because it fixed the ghost block bug that has been plaguing many plugins.
     
  10. Offline

    Fishwife

    Alright awesome thanks.

    I rebuilt my permissions the other way and its working so I'm happy.
     
  11. Offline

    alron

    I posted an updated version of 2.5.4 built for cb 561+ a few post above.

    Sounds like what you're looking for, at least as a stopgap measure until @TheYeti releases a new version.
     
  12. Offline

    Revenger

    Can we get some commands to change the users group ingame and nor reload the entire servers plugins?

    We really don't want to be touching the sever files manually and would rather add new users to the Member group by a command.
     
    Moronmaster likes this.
  13. Offline

    cjc343

  14. Offline

    RustyDagger

    @alron that did the trick except you renamed it so it made a new folder and a new config...

    renamed it back to just permissions and all works. now just 4 plugins left on my list ..
     
  15. Offline

    Revenger

  16. Offline

    cjc343

    Then use Yeditor?
     
  17. Offline

    HotelErotica

    Hes supposed to of fixed that in his latest update.
     
  18. Offline

    alron

    Sorry about the naming, it is how maven builds the plugins. :)
     
  19. Offline

    Revenger

    Didn't notice it was updated today will test it.

    Works great now.
     
  20. Offline

    junus123

    Please help me i have error :
    [​IMG]

    And all commands are allowed for normal player please help me
    permissions :
    @EDIT and i dont have color prefix suffix and admin doesnt work

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

    thernztrom

    Hello!
    I've been using permissions all time on my server. I started using it when 2.4 came out. I've added people to the config list as my server gained more and more people. Now i have about 85 people in the user list.
    Now I recconed that about the last 10 people on the list never got their 'Member' ranks. Only solution is to move them up in the list and replace other players. Then they get it. I wonder if there is any limit on max users with permissions?
    I tried delete the old .jar and uploaded the new 2.5.4 jar and kept the old config.. still the same..
    Any ideas why it doesnt read the whole config?

    Edit: My config here if it helps: http://pastebin.com/2V6ZknaP
     
  22. Offline

    Moronmaster

    Nope, sorry. Still struggling.
     
  23. Offline

    uncovery

    So I can use the copies: function and all additional settings in the file will be still active and overwrite the settings in the main file?

    In the wiki it simply states it clones the named world, not that you can still override specific things.
     
  24. Offline

    zaklampje

    Could u copy all ur files (incl. world, and run.bat thingy...) And then, see if it works, and if it works, what the difference is between my files and urs...
     
  25. Offline

    Reon

    Hey, what i can create Group like this:

    Code:
    groups: 
        Miner:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
            permissions:
     		- ' '   <- And now when group is Miner with tools can use only shovel and Pickaxe and cant use axe. How i can use this funcion?
    
    like "canuseitemID.ID" or "cantuseitemID.ID" but what funcion i need to use?
     
    and next
    Code:
     users:
        reon:
            group: Miner
            permissions:
    
     
  26. Offline

    fontaine

    For some reason, I keep getting these errors with Permissions 2.5.4:
    Here is my config:

    Code:
    plugin:
      permissions: {system: default}
    groups:
      Guest:
        default: true
        info: {build: false, prefix: '', suffix: ''}
        permissions: [essentials.rules, essentials.help, essentials.motd, essentials.helpop,
          essentials.list, essentials.mail, essentials.mail.send]
        inheritance: []
      Citizen:
        default: true
        info: {prefix: '&2', suffix: '', build: true}
        permissions: [essentials.list, essentials.mail, essentials.mail.send, essentials.helpop,
          essentials.getpos, essentials.help, essentials.motd, essentials.afk, essentials.rules,
          essentials.msg, essentials.me, essentials.depth, essentials.compass, essentials.whois,
          essentials.spawn, essentials.world, essentials.home, essentials.sethome, lwc.protect,
          iConomy.payment, iConomy.list, iConomy.rank, simpleshop.buy, simpleshop.sell]
        inheritance: []
      Mod:
        default: false
        info: {prefix: '&b', build: true, suffix: ''}
        inheritance: Citizen
        permissions: [essentials.list, essentials.mail, essentials.mail.send, essentials.helpop,
          essentials.getpos, essentials.help, essentials.motd, essentials.afk, essentials.rules,
          essentials.msg, essentials.me, essentials.depth, essentials.compass, essentials.kick,
          essentials.ban, essentials.unban, essentials.banip, essentials.unbanip, essentials.world,
          essentials.modgrp, essentials.spawn, lwc.protect, iConomy.access, iConomy.payment,
          iConomy.list, iConomy.rank, simpleshop.buy, simpleshop.sell]
      Admin:
        default: false
        info: {prefix: '&c', build: true, suffix: ''}
        inheritance: [Mod]
        permissions: ['*']
      Legend:
        default: false
        info: {prefix: '&6', suffix: '', build: true}
        inheritance: [Admin]
        permissions: ['*']

    Any ideas?
     
  27. Offline

    thernztrom

    I just installed the plugin Yedit so i can edit ppl in permissions in-game. But if a new tries to join as default and i try to add them to the list as 'members' Yeedit says its ok, and when i check in the permission.yml it has added the user at the last line. But it still shows up as default. This only affects the last ones on my permissions list. It seems like permissions doesnt read the whole config, just the first +- 120 lines.

    Here is my new config after Yedit: http://pastebin.com/c9mCvrd8

    At line 120 there is a user called dani. He was originally at line 125, but there he was still "default". Now i moved him up and replaced the one who was at line 120, and now it worked. There gotta be some limit or something..
    What do you think?
     
  28. Offline

    zaklampje

    Which permissions version are u using?
     
  29. Offline

    Revenger

    Hey were testing 3 worlds.

    Is it possible on the secondary worlds to have the permissions file without users in it?

    And just do a negative permission for stuff we don't need?

    Or use there plugins.

    As We don't really want 3 sets of users and permissions if we need to change anything.
     
  30. Offline

    fontaine

    Following up on this, I was able to resolve it by removing the EssentialsGroupManager.jar plugin.[/code][/FONT][/COLOR][/quote]
     
  31. Offline

    Taxen0

    Hello, im wondering if there is a way to exclude permissions. like if I don't want my admin class to have a specific command.
    something like:
    Code:
    permissions:
    
        - '*'
    
    except:
    
        - 'command'
     
Thread Status:
Not open for further replies.

Share This Page