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

    jumika

    Ok. Sorry for not reading back, just saw there are 167 page, and didn't really know what keyword to use for a search.
     
  3. Offline

    Maxis010

    I didn't mean that as a RTFM, I meant that as my source of info
     
  4. Offline

    Weredude

    Whenever a non-op uses a command, they get an error "You do not have access to this command." I tried fixing this by replacing all the spacing with four spaces and it seemed to work. However, no one could place or destroy blocks when all were set to four spaces. Help?

    CURRENT:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # 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:
        Weredude:
        group: Admins
        permissions:
        - essentials.help
        - essentials.sethome
        - essentials.home
        - essentials.motd
        - essentials.list
        - essentials.essentials
        - essentials.broadcast
        - essentials.ping
        - essentials.ban
        - essentials.kick
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.tpall
        - essentials.msg
    
    
    WOULD"T LET BUILD/DESTROY-
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
        default: true
        info:
        prefix: ''
        suffix: ''
        build: true
        inheritance:
        permissions:
        - 'foo.bar'
        Moderator:
        default: false
        info:
        prefix: ''
        suffix: ''
        build: true
        inheritance:
        - Default
        permissions:
        - 'bar.foo'
        Admins:
        default: false
        info:
        prefix: ''
        suffix: ''
        build: true
        inheritance:
        permissions:
        - '*'
    
    ##
    # Users denote which users are included in which group.
    # 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:
        Weredude:
        group: Admins
        permissions:
        - essentials.help
        - essentials.sethome
        - essentials.home
        - essentials.motd
        - essentials.list
        - essentials.essentials
        - essentials.broadcast
        - essentials.ping
        - essentials.ban
        - essentials.kick
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.tpall
        - essentials.msg
    
     
  5. Offline

    Kilajawa

    Okay so, why I dont know but whenever my players place blocks, they can build, but it spams hem with "you do not have permission to do this." Please help :(

    Edit: Just found out that the guy above me is having the same problem
     
  6. Offline

    rmb938

    For devs:

    Is there a way to add a player to a group through the API? If not can you add that? I would like to have some sort of
    "session" permissions.
     
  7. Offline

    Deages

    I've had some issues recently, I added a new group (of admins -JuniorStaff is the role in the below config) and they're still receiving access to commands that they aren't given the permission node to. EG /burn, super pickaxe from WE, /give and /item, /slay from essentials (only the normal Admin role and up have it in the below config)

    Any help?
    Hm /code skews it a bit.
    http://www.aussiegamerhub.com/world.yml
     
  8. Offline

    ShadowDrakken

    having a problem with permissions

    Using Perm 2.7.2 on CB740, CB shows everything loads fine, no error messages at all, even Permissions reports that it's loaded, but when I get in game every plugin that depends on Perm says that I don't have permission.

    I also verified that my world.yml (below) is using spaces, not tabs, and that there's no accidental trailing spaces (although YML errors would produce a console error, and I get NO console errors)

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'dropchest'
                - 'dropchest.create'
                - 'dropchest.filter'
                - 'dropchest.radius.set'
                - 'dropchest.remove'
                - 'dropchest.which'
                - 'general.spawn'
                - 'kit'
                - 'kit.*'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'lwc.mod'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        ShadowDrakken:
            group: Admin
            permissions:
    
     
  9. Offline

    hi00ih

    I believe that is for the general plugin though, which i don't use. I use essentials fine for items. Also, it randomly started working for the person who I promoted to moderator so i just don't know hat happened. It just takes a long time and several server restarts in order for peoples new rank to update.
     
  10. Offline

    Bakies

    is this the same as Fake Permissions and Essentials Group Manager?
     
  11. Offline

    r1c3ball

    23:20:28 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    23:20:28 [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: expected '<document start>', but found Scalar
    in "<reader>", line 93, column 1:
    -Moderator
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(Parse
    rImpl.java:233)
    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.getSingleNode(Composer.java:108)

    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

    Mainly what do i need to fix in my permissions .yml file to fix this problem?
    This is what my permissions look like at the moment. For the sake of privacy I have removed the users names. I honestly have no idea what is going on here.
    # 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.
    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'foo.bar'
    User:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'lwc.protect'

    Operator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - User
    permissions:
    - 'herochat.admin'
    Admins:
    default: false
    info:
    prefix: 'Lord'
    suffix: ''
    build: true
    inheritance:
    -Moderator
    permissions:
    - 'defaultEnter: true
    defaultDestroy: true
    defaultBuild: true
    mapRadius: 1000
    enableRadius: true
    iConomy.admin.grant
    iConomy.admin.set
    iConomy.admin.reset
    iConomy.admin.hide
    iConomy.admin.account.create
    iConomy.admin.account.remove
    iConomy.admin.stats
    iConomy.access
    iConomy.rank
    iConomy.list
    iConomy.payment
    iConomy.bank.access
    iConomy.bank.main.view
    herochat.admin
    herochat.create
    lwc.admin
    epiczones.admin'
     
  12. Offline

    Jeyge

    For starters, add a space after the -. The rest will be hard to find without the correct formatting. Putting the file in "spoiler" and "code" tags will help with that but I do also see that your last line ends with a ' but doesn't start with one and you have some strange lines in there:
    - 'defaultEnter: true
    defaultDestroy: true
    defaultBuild: true
    mapRadius: 1000
    enableRadius: true

    Actually, the whole permissions section under Admin is missing the -'s.
    Fake Permissions mimics the Permissions calls to allow plugins that only use Permissions to interface with Group Manager so I think the reverse way of saying that is better.
    I don't see anything wrong with the permissions so I would guess your file isn't named correctly. Check to see if you have a file called permissions<world name>.yml in your plugins directory. If it is there, you have a naming problem. If it isn't, then make sure your permissions file in the plugins\permissions directory is named <world name>.yml and not <world name>.yml.yml. If you are hiding some file types, you will want the name to actually be just <world name>.
     
  13. Offline

    ShadowDrakken

    I have the file as /plugins/Permissions/world.yml which matches the auto-generated world

    Interestingly, Permissions keeps creating an empty file /plugins/permissionsworld.yml all on its own, somewhat annoying to be honest. If I rename the Permissions folder, it regenerates the folder and world.yml but still doesn't work.
     
  14. Offline

    Jeyge

    It will only create the permissionsworld.yml file when it doesn't find a valid <world name>.yml file so if it continues to create that file, you will find the problem in the way the world.yml file is named. Make sure the filename is cased correctly and doesn't have an extra extension if you are hiding known file types. I've seen quite a few which are actually named world.yml.txt.
     
  15. Offline

    ShadowDrakken

    I already told you exactly how it's named. I have Windows set to always show file extensions, I'm not even sure why MS hides them in the first place but that's neither here nor there.

    Can clearly see that Permissions is loading correctly, and that other plugins are seeing and hooking into Permissions correctly... my YML is named correctly, in the correct place and correctly formatted... so this is really an annoying issue, and may be the result of some bug or other.

    Code:
    [Lnet.minecraft.server.Statistic;@6025e7
    146 recipes
    [Lnet.minecraft.server.Statistic;@6025e7
    16 achievements
    02:53:22 [INFO] Starting minecraft server version Beta 1.5_02
    02:53:22 [INFO] Loading properties
    02:53:22 [INFO] Starting Minecraft server on *:25565
    02:53:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    02:53:22 [INFO] Preparing level "world"
    02:53:22 [INFO] Preparing start region
    02:53:23 [INFO] LWC     Loading shared objects
    02:53:23 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    02:53:23 [INFO] [Permissions] (Phoenix) was Initialized.
    02:53:23 [INFO] ControllerBlock: 1.18 by Hell_Fire
    02:53:23 [INFO] ControllerBlock: Using NOTE_BLOCK (25) as ControllerBlock, loade
    d 0 disallowed types from config
    02:53:23 [INFO] [AutoSave] Server Version is Recommended Build 740
    02:53:23 [INFO] [AutoSave] Loading config file
    02:53:23 [INFO] [AutoSave] Version 1.3.0 is enabled: 69ed3510-0109-40e5-b755-f11
    188fc63bc
    02:53:23 [INFO] BlastControl version 1.0.4 is enabled!
    02:53:23 [INFO] [ChocolateFever] version 1.4.4 is enabled!
    02:53:23 [INFO] ChopTree 1.0 enabled!
    02:53:23 [INFO] ControllerBlock: Enabling 'quick' redstone check - this mode of
    operation is depreciated and may be removed later
    02:53:23 [INFO] ControllerBlock: Events registered
    02:53:23 [INFO] DropChest version 0.7.3 is enabled!
    02:53:23 [INFO] [Permissions] version [2.7.1] (Phoenix)  loaded
    02:53:23 [INFO] Loading map 'org.dynmap.flat.FlatMap'...
    02:53:23 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    02:53:23 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    02:53:23 [INFO] Loading renderer 'org.dynmap.kzedmap.CaveTileRenderer'...
    02:53:23 [INFO] Activated world 'world' in Dynmap.
    02:53:23 [INFO] Dynmap WebServer started on null:80
    02:53:23 [INFO] HomeSweetHome: Using Permissions v2.7.1!
    02:53:23 [INFO] HomeSweetHome: Version 0.8 loaded!
    02:53:23 [INFO] [JSONAPI] Logging to file: false
    02:53:23 [INFO] [JSONAPI] Logging to console: true
    02:53:23 [INFO] [JSONAPI] IP Whitelist = None, all requests are allowed.
    02:53:23 [INFO] [JSONAPI] JSON Server listening on 20059
    02:53:23 [INFO] [JSONAPI] JSON Stream Server listening on 20060
    02:53:23 [INFO] [JSONAPI] Active and listening for requests.
    02:53:23 [INFO] [Kit] plugins/KitPlugin/kits.txt reloaded OK
    02:53:23 [INFO] [Kit] Permission system detected. Good.
    02:53:23 [INFO] [Kit] iConomy not found, some features will be unavailable.
    02:53:23 [INFO] KitPlugin version 1.15 is enabled!
    02:53:23 [INFO] Lockette version 1.3.7 is being enabled!  Yay!  (Core version 1.
    0)
    02:53:23 [INFO] Lockette: Detected craftbukkit build [740] ok.
    02:53:23 [INFO] Lockette: Linked to Permissions plugin version 2.7.1
    02:53:23 [INFO] Lockette: Using ops file for admin permissions.
    02:53:23 [INFO] Lockette: Ready to protect your containers.
    02:53:23 [INFO] LWC     Loaded 116 locale strings (0 overrides)
    02:53:24 [INFO] LWC     Using Nijikokun's permissions plugin for permissions
    02:53:24 [INFO] LWC     Loading SQLite
    02:53:24 [INFO] SQLite  Using: Native
    02:53:24 [INFO] LWC     At version: v2.31
    02:53:24 [INFO] Portable Torch 1.04 Started! LightTime:2400
    02:53:24 [INFO] Tombstone v.1.2.9 is enabled.
    02:53:24 [INFO] [Tombstone] Using Permissions (v2.7.1)
    02:53:24 [INFO] [Tombstone] Using LWC (v2.31)
    02:53:24 [INFO] Done (0.171s)! For help, type "help" or "?"
    02:53:24 [INFO] ControllerBlock: Loaded v1 data - 0 ControllerBlocks loaded
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  16. Offline

    dragonhippie

    Permissions:-

    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If this file is for your default world (the one in server.properties) then you must
    # leave copies blank.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name. So if it is level-name: world then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
    permissions:
    system: default
    copies:

    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'essentials.signs.mail.create'
    - 'essentials.signs.mail.use'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.use'
    - 'essentials.signs.disposal.create'
    - 'essentials.signs.disposal.use'
    - 'essentials.signs.trade.create'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.create'
    - 'essentials.signs.sell.use'
    - 'essentials.back.ondeath'
    - 'essentials.home'
    - 'essentials.home.others'
    - 'essentials.sethome'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'essentials.balance'
    - 'essentials.pay'
    - 'essentials.msg'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.mail'
    - 'essentials.helpop'
    - 'essentials.whois'
    - 'essentials.clearinventory'
    - 'essentials.kit'
    - 'essentials.kit.<kitname>'
    - 'essentials.kit.*
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.signs.protection.override'
    - 'essentials.signs.free.create'
    - 'essentials.signs.free.use'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.heal.use'
    - 'essentials.jump
    - 'essentials.top'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.tpall'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    - 'essentials.eco'
    - 'essentials.nick'
    - 'essentials.essentials'
    - 'essentials.reloadall'
    - 'essentials.gc'
    - 'essentials.plugin'
    - 'essentials.spawnmob'
    - 'essentials.clearinventory.others'
    - 'essentials.antioch'
    - 'essentials.burn'
    - 'essentials.ext'
    - 'essentials.ping'
    - 'essentials.backup'
    - 'essentials.info'
    - 'essentials.ban'
    - 'essentials.banip'
    - 'essentials.mute'
    - 'essentials.kick'
    - 'essentials.unban'
    - 'essentials.unbanip'
    - 'essentials.togglejail'
    - 'essentials.jail.exempt'
    - 'essentials.setjail'
    - 'essentials.deljail'
    - 'essentials.jails'
    - 'essentials.invsee'
    - 'essentials.item'
    - 'essentials.time'
    - 'essentials.tree'
    - 'essentials.bigtree'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.weather'
    - 'essentials.lightning'
    - 'essentials.setspawn'
    - 'groupmanager.manuadd'
    - 'groupmanager.manudel'
    - 'groupmanager.manpromote'
    - 'groupmanager.mandemote'
    - 'groupmanager.manwhois'
    - 'groupmanager.manwhois'
    - 'prefixer.self'
    - 'prefixer.other'
    - 'prefixer.remove'
    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:
    TheNo1Yeti:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    dragonhippie:
    group: Admins
    permissions:
    - '*'


    Error on CMD: --------------------------------------------------------------------------

    [Lnet.minecraft.server.Statistic;@1592174
    146 recipes
    [Lnet.minecraft.server.Statistic;@1592174
    16 achievements
    18:02:32 [INFO] Starting minecraft server version Beta 1.5_02
    18:02:32 [INFO] Loading properties
    18:02:32 [INFO] Starting Minecraft server on 192.168.0.4:25565
    18:02:32 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    18:02:32 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    18:02:32 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    18:02:32 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    18:02:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    18:02:32 [INFO] Preparing level "world"
    18:02:32 [INFO] Preparing start region
    18:02:33 [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 parsing a block collection
    in "<reader>", line 69, column 13:
    - 'essentials.signs.mail.create'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 113, column 16:
    - 'essentials.signs.protection.over ...
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
    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
    18:02:33 [INFO] Loaded Essentials build 2.2.6 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    18:02:33 [INFO] [Prefixer]: Permission system not detected. Defaulting to OP per
    missions.
    18:02:33 [INFO] [Prefixer] v2.2 has been enabled.
    18:02:33 [INFO] Done (0.100s)! For help, type "help" or "?"
    >






    PLease Help D:
    Thank you,
    Dragonhippie
     
  17. Offline

    ShadowDrakken

    You're missing the closing quote on - 'essentials.jump'
     
  18. Offline

    Jeyge

    Ah, that helps identify it. You are running 2.7.1 which wouldn't load any permissions files no matter how they were named. Give 2.7.2 a try and I'm sorry for pointing out how the code works for creating the dummy file when it couldn't find a file.
     
  19. Offline

    ShadowDrakken

    hrm... the log does say 2.7.1... that's really bizarre, cause I used the 2.7.2 download link :confused: re-downloading, but nice catch, thanks
     
  20. Offline

    Ricardo Reis

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Player:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
    #            -
            permissions:
                - 'lockette.user.create.*'
                - 'iConomyChestShop.command.iteminfo'
                - 'iConomyChestShop.shop.create'
    #            - 'iConomyChestShop.shop.create.*'
    #            - 'iConomyChestShop.shop.exclude.*'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'ecoCreature.Creature.*'
                - 'localshops.buysell'
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        ricardoreix:
            group: Admin
            permissions:
                - 'permissions.*'
    
        nightl2:
            group: Admin
            permissions:
    
        rollszinho:
            group: Player
            permissions:
    
        deadcracker:
            group: Player
            permissions:
    
        adrenalin10:
            group: Player
            permissions:
    
        decapitador:
            group: Player
            permissions:
    My permissions aren't working properly. For example: I am an admin and I can't destroy/build in some areas (and I haven't done anything in WorldEdit/WorldGuard, fresh new server), some commands like general (/give, /tp, etc etc) doesn't work. I don't want to give op to anyone because I don't want to give all commands to players. I don't know if it is a plugin conflict or a bad line code, I would apreciate if anyone could help me.
    PS: My plugins are daily bonus, ecocreature, iConomy, iConomyChestShop, Landmarks, Localshops, Lockette, MultiVerse, Permissions, WorldEdit, WorldGuard.

    When I Start the server, there is no errors.
     
  21. Offline

    ShadowDrakken

    you can't overload permissions, since your Admin group already has - '*' you're overloading the - 'permissions.*'
     
  22. Can Anyone help me/I use SimpleWarp plugin and when i try to warp,it says You do not have rights for this or something along the lines
     
  23. Offline

    Ricardo Reis

    I did that now and doesn't work (I put '#' in the begin of the line), and nightl2 can't too.
     
  24. Offline

    Flamecycle100

    Thanks, I'll see if using that fixes it, So just to check, you removed the parts where it would say something like

    permissions:
    - ''
    And one last question. I'll use classes I have on the YML, so say I have a guest, who has the permission 1, and I make a peasant who inherits the Guest and has 2, for the next class, do I write

    inheritance:
    - 'Guest'
    - 'Peasant'

    or will just setting the inheritance to peasant include guest commands now? Thanks again

    EDIT: I forgot, here's the command prompt thing, I included the message I get on minecraft :http://i.imgur.com/4Rmwb.png
     
  25. Offline

    Bakies

    i have essentials group manager and essentials group bridge is this the same plugin i know esssentials group bridge is the same as fake permissions?
     
  26. Offline

    dragonhippie

    [Lnet.minecraft.server.Statistic;@a352a5
    146 recipes
    [Lnet.minecraft.server.Statistic;@a352a5
    16 achievements
    21:06:50 [INFO] Starting minecraft server version Beta 1.5_02
    21:06:50 [INFO] Loading properties
    21:06:50 [INFO] Starting Minecraft server on 192.168.0.4:25565
    21:06:50 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    21:06:50 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    21:06:50 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    21:06:50 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    21:06:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    21:06:50 [INFO] Preparing level "world"
    21:06:50 [INFO] Preparing start region
    21:06:51 [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 parsing a block collection
    in "<reader>", line 69, column 13:
    - 'essentials.signs.mail.create'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 113, column 16:
    - 'essentials.signs.protection.over ...
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
    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
    21:06:51 [INFO] Loaded Essentials build 2.2.6 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    21:06:51 [INFO] [Prefixer]: Permission system not detected. Defaulting to OP per
    missions.
    21:06:51 [INFO] [Prefixer] v2.2 has been enabled.
    21:06:51 [INFO] Done (0.092s)! For help, type "help" or "?"
    >




    i keep getting this -.-
    when i start server.
    my permissions are:



    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'essentials.signs.mail.create'
    - 'essentials.signs.mail.use'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.use'
    - 'essentials.signs.disposal.create'
    - 'essentials.signs.disposal.use'
    - 'essentials.signs.trade.create'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.create'
    - 'essentials.signs.sell.use'
    - 'essentials.back.ondeath'
    - 'essentials.home'
    - 'essentials.home.others'
    - 'essentials.sethome'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'essentials.balance'
    - 'essentials.pay'
    - 'essentials.msg'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.mail'
    - 'essentials.helpop'
    - 'essentials.whois'
    - 'essentials.clearinventory'
    - 'essentials.kit'
    - 'essentials.kit.<kitname>'
    - 'essentials.kit.*
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.signs.protection.override'
    - 'essentials.signs.free.create'
    - 'essentials.signs.free.use'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.heal.use'
    - 'essentials.jump'
    - 'essentials.top'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.tpall'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    - 'essentials.eco'
    - 'essentials.nick'
    - 'essentials.essentials'
    - 'essentials.reloadall'
    - 'essentials.gc'
    - 'essentials.plugin'
    - 'essentials.spawnmob'
    - 'essentials.clearinventory.others'
    - 'essentials.antioch'
    - 'essentials.burn'
    - 'essentials.ext'
    - 'essentials.ping'
    - 'essentials.backup'
    - 'essentials.info'
    - 'essentials.ban'
    - 'essentials.banip'
    - 'essentials.mute'
    - 'essentials.kick'
    - 'essentials.unban'
    - 'essentials.unbanip'
    - 'essentials.togglejail'
    - 'essentials.jail.exempt'
    - 'essentials.setjail'
    - 'essentials.deljail'
    - 'essentials.jails'
    - 'essentials.invsee'
    - 'essentials.item'
    - 'essentials.time'
    - 'essentials.tree'
    - 'essentials.bigtree'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.weather'
    - 'essentials.lightning'
    - 'essentials.setspawn'
    - 'groupmanager.manuadd'
    - 'groupmanager.manudel'
    - 'groupmanager.manpromote'
    - 'groupmanager.mandemote'
    - 'groupmanager.manwhois'
    - 'groupmanager.manwhois'
    - 'prefixer.self'
    - 'prefixer.other'
    - 'prefixer.remove'
    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:
    TheNo1Yeti:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    dragonhippie:
    group: Admins
    permissions:
    - '*'


    please help. I fixed the 'essentials.jump' problem but it still isnt working....
     
  27. Offline

    Luwiego

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

    dragonhippie

    btw i also dont know 100% how to add people to be admin. Do i just put my name as Admin and have in Permissions:
    '*' ?
    and do i need to inherent anything form Moderator or from deafult?

    Im Sorry but r u posting this for me to copy? or r u helping someone else?
    Sorry if i didnt understand .. >_<

    Thanks.
    dragonhippie

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

    Luwiego

    I wanted help because you can see i added permissions but they didnt work...

    EDIT: Using some other permission nodes did help.But now i think that my essentials and default commands plugins are not working together properly.
     
  30. Offline

    Maxis010

    OK first off, code tags, use them

    Second
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.create'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.back.ondeath'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.signs.protection.override'
                - 'essentials.signs.free.create'
                - 'essentials.signs.free.use'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpall'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.eco'
                - 'essentials.nick'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.others'
                - 'essentials.antioch'
                - 'essentials.burn'
                - 'essentials.ext'
                - 'essentials.ping'
                - 'essentials.backup'
                - 'essentials.info'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.setjail'
                - 'essentials.deljail'
                - 'essentials.jails'
                - 'essentials.invsee'
                - 'essentials.item'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.god'
                - 'essentials.heal'
                - 'essentials.weather'
                - 'essentials.lightning'
                - 'essentials.setspawn'
                - 'groupmanager.manuadd'
                - 'groupmanager.manudel'
                - 'groupmanager.manpromote'
                - 'groupmanager.mandemote'
                - 'groupmanager.manwhois'
                - 'groupmanager.manwhois'
                - 'prefixer.self'
                - 'prefixer.other'
                - 'prefixer.remove'
        Admins:
        default: false
        info:
            prefix: ''
            suffix: ''
            build: true
        inheritance:
        permissions:
            - '*'
    users:
        dragonhippie:
            group: Admins
            permissions:
    Should work

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.*'
                - 'dc.home.self'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        Luwiego:
            group: Admins
            permissions:
    I have no idea if this works as I can't find the plugin that uses the dc permissions

    set your group to admin, NOTHING else
    I hate people that are part of admin with - '*' and then still give themselves that permission seperately
     
  31. Offline

    dragonhippie

    well mines working fine, just now everyone can use /give command...

    EDIT: i feel so stupid.......i copy'd wrong one....im so ashamed.. it works now thank you very much Maxis.
    if u need advertising a banner, or a server just ask and ill put it on my sig :)

    i have 1 more problem.....no errors on the CMD But i cant build or use commands..

    i have :
    Code:
    users:
        dragonhippie:
            group: Admins
            permissions:
    but i log on and it says i dont have permission to do that...

    Sorry for another noobie question.

    Dragonhippie.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
Thread Status:
Not open for further replies.

Share This Page