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

    RingOfStorms



    It is running on a craftbukkit, I currently have about 10 other plugins working, I want permissions to make it so I don't have to OP everyone. So it is on craftbukkit, I'm not an idiot. So it is something else, any ideas.
     
  3. Offline

    Jeyge

    Um, that was a response to TheHaHa. Take a look at my response to you.
     
  4. Offline

    RingOfStorms

    So I ended removing all unnecessary components, permissions is working atm.

    Btw what are the permission nodes for the /give player ID # command
     
  5. Offline

    Maxis010

    You need a plugin to set permissions for the built in commands
    DefaultPermissions I believe
     
  6. Code:
    [Lnet.minecraft.server.Statistic;@1319c
    146 recipes
    [Lnet.minecraft.server.Statistic;@1319c
    16 achievements
    17:50:12 [INFO] Starting minecraft server version Beta 1.5_02
    17:50:12 [INFO] Loading properties
    17:50:12 [INFO] Starting Minecraft server on *:25565
    17:50:12 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    17:50:12 [INFO] Preparing level "world"
    17:50:12 [INFO] Preparing start region
    17:50:13 [INFO] Preparing spawn area: 20%
    17:50:14 [INFO] Preparing spawn area: 65%
    17:50:15 [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:138)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:108)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
            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)
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 80, column 1:
                            - '-weather.strike.item'
        ^
    
            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$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
            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.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java: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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
            ... 13 more
    17:50:15 [SEVERE] [ArrowWall]: Permissions isn't loaded, commands can only be us
    ed by ops.
    17:50:15 [INFO] [ArrowWall]: version 0.4 enabled.
    17:50:15 [INFO] CraftBookCommon 3.0-alpha2 enabled.
    17:50:15 [INFO] CraftBookCommon: No known permissions plugin detected. Using con
    figuration file for permissions.
    17:50:15 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    17:50:15 [INFO] CraftBookMechanisms: No known permissions plugin detected. Using
     configuration file for permissions.
    17:50:15 [INFO] 1 cauldron recipe(s) loaded
    17:50:15 [SEVERE] BLOCK_RIGHTCLICKED loading Essentials v2.0.6 (Is it up to date
    ?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
            at com.earth2me.essentials.Essentials.onEnable(Essentials.java:165)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            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)
    17:50:15 [INFO] Loaded EssentialsSpawn build 2.0.6 maintained by Zenexer, ementa
    lo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    17:50:15 [INFO] iChat (v2.2.3) enabled
    17:50:15 [INFO] My Boat Enabled.
    17:50:15 [INFO] Permission system not detected, defaulting to OP
    17:50:16 [INFO] SpyerAdmin has completed updating the script successfully.
    17:50:16 [INFO] SpyerAdmin module version 1.0, a spying utility for administrato
    rs and moderators, is active. Part of the Spyer package by [nickguletskii200]
    17:50:16 [INFO] [WeatherGod] Permission system not detected. Defaulting to Op.
    17:50:16 [INFO] WeatherGod version 0.3 is enabled!
    17:50:16 [INFO] WorldEdit 4.4 enabled.
    17:50:16 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    17:50:16 [INFO] Done (0.420s)! For help, type "help" or "?"
    >
    Other mods load correctly
     
  7. Offline

    BaconFace

    Can I promote a player, in all worlds, with 1 or 2 commands? If not, will I be able to eventually?

    With GroupManager and 4 worlds, I have to type 8 commands to promote one player. This incurs suicidal thoughts.
     
  8. Offline

    Jeyge

    Ah, you have at least one tab on line 80 right before:
    - '-weather.strike.item'
    Remove that and all others and you should be good to go.

    With the plugin Permissions, you do most of your editing in notepad++. You best bet is what you were given in PermissionsPlus.

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

    XilDarkz

    Alrighty, Ive looked through the permissions guide here, and the wiki.

    Maybe im blind/Retarded, but how do we go about adding a permission?

    Like if I wanted admins to only use warpz0r, what would I write under the permissions catagory?

    Thanks in advance :D
     
  10. Offline

    Jeyge

    Warpz0r uses the following:
    so your permissions for Admins would look like:
    Code:
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - warpz0r.warp
                - warpz0r.set
                - ...
    or
                - warpz0r.*
    or just
                - '*' # for everything
    
     
  11. Offline

    XilDarkz

    Code:
     Admins:
            default: false
            info:
                prefix: '&4[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - warpz0r.*
                - warpz0r.home 
    Thats what mine looks like ATM

    The Home works, everything else does not.
     
  12. Offline

    Jeyge

    Post your permissions file so I can see what permissions Moderator has. Also, which commands are not working?

    Edit - what errors are you receiving?
     
  13. Offline

    XilDarkz

    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:
                - warpz0r.warp
                - warpz0r.home
                - warpz0r.list
                - warpz0r.warpto
                - warpz0r.sethome
                - warpz0r.worldwarp
                - warpz0r.worldhome
                - warpz0r.sethome
        Builder:
            default: false
            info:
                prefix: 'BUILD'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - warpz0r.warpto
        Admins:
            default: false
            info:
                prefix: '&4[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - warpz0r.*
    
    ##
    # 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:
        XilDarkz:
            group: Admins
            info:
                prefix: '&4[Admin]'
                suffix: ''
        Rofl_Marine:
            group: Builder
            info:
                prefix: '&5[Build]'
                suffix: ''
            permissions:
        Tabletop1000:
            group: Moderator
            info:
                prefix: '&3[Mod]'
                suffix: ''
        Sirrofl360:
            group: default
            info:
                prefix: '&5[Build]'
                suffix: ''

    Thats what ive done, and im pretty sure all the coding is correct, might be missing like a gap or something.
     
  14. Offline

    Jeyge

    That looks fine. What are the commands that aren't working, who aren't they working for and what are the errors?
     
  15. Offline

    ALufkin24

    Can someone tell me what I am doing wrong with the world.yml? I am trying to get big brother to work. It was working great before I added permissions. Here is my world.yml. Thanks!

    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.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    plugin:
        permissions:
            system: default
            copies:
    
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Guest:
            default: true
            info:
                prefix: '§7'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.help'
        Builder:
            default: false
            info:
                prefix: '§1'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.depth'
                - 'essentials.world'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.spawn'
        Mods:
            default: false
            info:
                prefix: '§1'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.whois'
                - 'essentials.getpos'
                - 'essentials.nick'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpo'
                - 'essentials.clearinventory'
                - 'essentials.tphere'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.kickall'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'bb.admin'
                - 'bb.admin.info'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
    users:
    
        # ALufkin24 is in the Admin group
        ALufkin24:
            group: Admins
            permissions: 
     
  16. Offline

    XilDarkz

    The Commands that arn't working are the ones that ARN'T listed under the Default Group.

    Basically, the Warpz0r.* and '*' arn't working.

    Id rather not have to input the manually, but if need be I can always do that.

    EDIT: Error displayed is something like this: [Warpz0r] Permission Denied
     
  17. Offline

    Jeyge

    If you aren't using Multiplay, remove the '§' and replace it with '&'.

    :) You typed something in the game (command) and it didn't work. Which commands were those, what was the error and who couldn't use them?

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

    XilDarkz

    Also, I just read that if your using the '*' Command, you shouldnt have any inheritence or other commands in permissions, so I removed those, but still to no avail

    Command: /setwarp Herp
    Admin Permission was denied, and so was permission for eveyone else.
     
  19. Offline

    thepackett

    still no way to add players to groups in game?
     
  20. Offline

    Jeyge

    I just tried with your exact permissions putting my name in the users list and didn't have any problems with it. Are you sure your permissions.yml file is being loaded? Do you have any other plugins which you could test it with? Also, are you getting any BLOCK_BREAK or BLOCK_PLACE errors in your server.log file?

    Not by default with Permissions but you can still use PermissionsPlus to do it in game.

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

    XilDarkz

    When I hit the .bat I made, the server Boots to 100% and says everything is loaded successfully

    The ONLY commands that army working are the "warpz0r.*" ( havnt tried it with any other programs) or the '*'.
     
  22. Offline

    rcjrrjcr

    Remove EssentialsGroupBridge and EssentialsGroupManager.
     
  23. Offline

    thepackett

    thank you so much, i've been looking everywhere for something like that! :D
     
  24. Offline

    XilDarkz

    Okay, so ive got it to work (kinda)

    I can add User Specified Permissions and such, but the Group Permissions isnt working.

    Here is my world1.yml (Renamed to my server name)

    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:
                - warpz0r.warp
                - warpz0r.home
                - warpz0r.list
                - warpz0r.warpto
                - warpz0r.sethome
                - warpz0r.worldwarp
                - warpz0r.worldhome
                - warpz0r.sethome
        Builder:
            default: false
            info:
                prefix: 'BUILD'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
        Admins:
            default: false
            info:
                prefix: '&4[Admin]'
                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:
        XilDarkz:
            group: Admins
            info:
                prefix: '&4[Admin]'
                suffix: ''
            permissions:
                - '*'
        Rofl_Marine:
            group: Builder
            info:
                prefix: '&5[Build]'
                suffix: ''
            permissions:
                - '*'
        Tabletop1000:
            group: Moderator
            info:
                prefix: '&3[Mod]'
                suffix: ''
        Sirrofl360:
            group: Builder
            info:
                prefix: '&5[Build]'
                suffix: ''
     
  25. Offline

    Psycho Robot

    You have warpz0r.home assigned to admins twice.

    You haven't typed it twice, but warpz0r.* includes ALL warz0r nodes, including warpz0r.home. By using that AND warpz0r.home, you are assigning warpz0r.home twice. Permissions encounters issues when permission nodes are assigned twice. Remove warpz0r.home and use just warpz0r.*. Hopefully that fixes your issues.
     
  26. Offline

    Kudos

    Alrighty, I've posted about problems before with Permissions but haven't been able to fix the problem yet.

    It does not appear as though Permissions is finding my world.yml file. Do I have everything set up correctly? (See images below)

    If they are set up correctly, what else might I need to do to get it to work properly? I've been over the tutorial video several times and have re-read the installation instructions bit by bit but nothing seems to be working. minecraftserverfolder.png minecraftpluginfolder.png minecraftpermissionsfolder.png

    And for the record:

    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:
        Players:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.regeneration'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.party'
                - 'mcmmo.ability.*'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
                - 'mcmmo.commands.*'
                - '-mcmmo.commands.setmyspawnother.'
                - 'vampire.default.*'
        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:
        ChaosKudos:
            group: Admins
            permissions:
        corso1:
            group: Players
            info:
                prefix: ''
                suffix: ''
            permissions:
        meto8:
            group: Players
            permissions:
        Avalerios:
            group: Players
            permissions:
        psychoticpotato:
            group: Players
            permissions:
    
     
  27. Offline

    Jeyge

    Your world.yml file is actually named world.yml.yml. Change it to world.yml and you should be golden.
     
    Kudos likes this.
  28. Offline

    Kudos

    Hahahaha! That was actually it! Oh boy, I guess I'm not used to the new conventions used with Windows 7! Thanks very much!
     
  29. Offline

    Jeyge

    Some day it would be nice if Microsoft would wake up and not turn off file extensions by default.
     
  30. Offline

    Maxis010

    Commence idiot spam as their files break from them renaming without extensions
    Windows, because the average user is a dumbarse

    This obviously does not include us as we know what file extensions are but you get my point
     
  31. Offline

    MineFreakz

    Alright, somehow, my users will only get permission if i add the permission to the user permissions and not to the group permissions for example:
    Xlr hasnt got the '*' commands, even though he is in the mod group which grants the '*' commands
    Code:
    
    plugin:
        permissions:
            system: default
            copies:
    
    
    groups:
        Builder:
            default: true
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'PhysicalShop.build'
                - 'PhysicalShop.use'
                - 'commandbook.msg'
        Peter:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'PhysicalShop.build'
                - 'PhysicalShop.use'
                - 'commandbook.msg'
        Mod:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Donater:
            default: false
            info:
                prefix: '&1'
                build: true
            permissions:
                - 'PhysicalShop.use'
                - 'PhysicalShop.build'
                - 'commandbook.msg'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    
    users:
        adi:
            group: Admin
            permissions:
            info:
                 prefix: ''
                 suffix: '&7'
                 var1: 'Adel'
        xlR:
            group: Mod
            permissions:
            info:
                 prefix: ''
                 suffix: '&a'
                 var1: 'Farmer'
        Sthullen:
            group: Donater
            permissions:
            info:
                 prefix: ''
                 suffix: '&7'
                 var1: 'Adel'
        nikx:
            group: Donater
            permissions:
            info:
                prefix: ''
                suffix: '&1'
                var1: 'Burgherr'
        Fabi:
            group: Donater
            permissions:
            info:
                prefix: ''
                suffix: '&1'
                var1: 'Burgherr'
        MrG:
            group: Donater
            permissions:
            info:
                prefix: ''
                suffix: '&1'
                var1: 'Burgherr'
        redbulli:
            group: Mod
            permissions:
                - '*'
            info:
                 prefix: ''
                 suffix: '&8'
                 var1: 'Miner'
        SanDiego:
            group: Peter
            permissions:
            info:
                 prefix: ''
                 suffix: '&a'
                 var1: 'Farmer'
        knoedelklopfer:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&8'
                 var1: 'Miner'
        TimiTrooper:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&e'
                 var1: 'Schmied'
        Moip:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&a'
                 var1: 'Farmer(english)'
        OloBlizz:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&e'
                 var1: 'Schmied(english)'
        RepulsiveSniper:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&8'
                 var1: 'Miner(englisch)'
        Mangekyou_Itachi:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&8'
                 var1: 'Miner'
        tasili:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&8'
                 var1: 'Miner'
        PornLike:
            group:
            permissions:
            info:
                 prefix: ''
                 suffix: '&a'
                 var1: 'Farmer'
    I have checked the name its called world.yml and not world.yml.yml. so i have totally no clue...
    Adi has got every permission somehow but he is ops so guess it isnt working for him either and he just has the permissions because he is an ops..
     

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page