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

    alexhoodg

    which one do you suggest and if so what is the command for promoting and demoting and does we conflict in any way
     
  3. Offline

    Stales89

    Having a slight problem...
    I have been using Permissions for a while now but I just booted up my server and it didn't even load. No error messages or anything. Just no sign of Permissions.

    I have it in the Plugins directory as normal, as well as an accompanying folder but still not being picked up.

    Here is my server test when booted:
    Code:
    [Lnet.minecraft.server.Statistic;@57240e
    146 recipes
    [Lnet.minecraft.server.Statistic;@57240e
    16 achievements
    03:43:56 [INFO] Starting minecraft server version Beta 1.5_02
    03:43:56 [INFO] Loading properties
    03:43:56 [INFO] Starting Minecraft server on *:25560
    03:43:56 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-
    gf3ae4c3-b733jnks (MC: 1.5_02)
    03:43:56 [INFO] Preparing level "Wilderion"
    03:43:56 [INFO] Preparing start region
    03:43:58 [INFO] [ecoCreature] v0.0.5a (Lederhosen) loaded.
    03:43:58 [INFO] [WormholeXTreme][v0.833][By Lologarithm & alron]Load Beginning.
    03:43:59 [INFO] [WormholeXTreme]5 Wormholes loaded from WormholeDB.
    03:43:59 [INFO] [WormholeXTreme][v0.833]Load Completed.
    03:43:59 [INFO] [ArrowWall]: Permissions enabled.
    03:43:59 [INFO] [ArrowWall]: version 0.4 enabled.
    03:43:59 [INFO] CraftBukkitUpToDate version 2.5.1 is enabled!
    03:43:59 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    minutes!
    03:43:59 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    03:43:59 [INFO] Fake Permissions version 2.7 is enabled!
    03:44:00 [INFO] CButD: CraftBukkit is up to Date
    03:44:00 [INFO] creaturebox version 0.7.3 is enabled!
    03:44:00 [INFO] Loading map 'org.dynmap.flat.FlatMap'...
    03:44:00 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    03:44:00 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    03:44:00 [INFO] Loading renderer 'org.dynmap.kzedmap.CaveTileRenderer'...
    03:44:00 [INFO] Activated world 'Wilderion' in Dynmap.
    03:44:00 [INFO] Loading map 'org.dynmap.flat.FlatMap'...
    03:44:00 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    03:44:00 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    03:44:00 [INFO] Dynmap WebServer started on null:8123
    03:44:00 [INFO] [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.
    yml) before continuing. Plugin disabled.
    03:44:00 [INFO] Loaded Essentials build 2.2.5 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    03:44:00 [INFO] Loaded EssentialsChat build 2.2.5 by Zenexer, ementalo, Aelux, B
    rettflan, KimKandor, snowleo and ceulemans.
    03:44:00 [INFO] Fake Permissions version 2.5.1 is enabled!
    03:44:00 [INFO] CButD: Permission didn't work, defaulting to OP
    03:44:00 [INFO] Loaded EssentialsProtect build 2.2.5 maintained by Zenexer, emen
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    03:44:00 [INFO] Loaded EssentialsSpawn build 2.2.5 maintained by Zenexer, ementa
    lo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    03:44:00 [INFO] FakeMessage version 0.5 is enabled!
    03:44:00 [INFO] FalseBookBlock v0.83.5alpha by GeMo enabled
    03:44:00 [INFO] FalseBookCart v0.83.5alpha by GeMo enabled
    03:44:00 [INFO] [FalseBook Core] FalseBookCore v0.83.5alpha by GeMo enabled!
    03:44:00 [INFO] FalseBookExtra v0.83.5alpha by GeMo enabled
    03:44:00 [INFO] FalseBookIC v0.83.5alpha by GeMo enabled
    03:44:00 [INFO] GlassPlugin version 1.0 is enabled with permissions!
    03:44:00 [INFO] [GoldenSprint] Enabled
    03:44:00 [INFO] [HeroicDeath] 1.7.3.148 enabled.
    03:44:00 [INFO] [iConomy] Logging enabled.
    03:44:00 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    03:44:00 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    03:44:00 [INFO] [iConomy] hooked into Permissions.
    03:44:00 [INFO] [iTown] Version 1 is now enabled!
    03:44:00 [INFO] [Jail] Loaded 1 jail zones.
    03:44:00 [INFO] [Jail] Loaded 0 prisoners.
    03:44:00 [INFO] [Landmarks] Loading C:\Users\Stales89\Desktop\Minecraft bukkit S
    erver\plugins\Landmarks\markers.json
    03:44:00 [INFO] [Landmarks] Successfully loaded 0 markers.
    03:44:00 [INFO] [Landmarks] Landmarks 0.1 enabled.
    03:44:00 [INFO] LocalShops: Permissions found.
    03:44:00 [INFO] LocalShops: iConomy found.
    03:44:00 [INFO] LocalShops: Loading shop Dillids
    03:44:00 [INFO] LocalShops: Loading shop Jeramiah's_Fishing
    03:44:00 [INFO] LocalShops: Loaded 2 shop(s).
    03:44:00 [INFO] LocalShops: version 2.2.1 is enabled!
    03:44:00 [INFO] Lockette version 1.3.7 is being enabled!  Yay!  (Core version 1.
    0)
    03:44:00 [INFO] Lockette: Detected craftbukkit build [733] ok.
    03:44:00 [INFO] Lockette: Linked to GroupManager plugin version 1.0(alpha-5)
    03:44:00 [INFO] Lockette: Using ops file for admin permissions.
    03:44:00 [INFO] Lockette: Ready to protect your containers.
    03:44:00 [INFO] [mcMMO] Permissions enabled.
    03:44:01 [INFO] mcMMO version 0.9.30 is enabled!
    03:44:01 [INFO] [MotherNature] Using GroupManager version 1.0(alpha-5) for permi
    ssion handling
    03:44:01 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    03:44:01 [INFO] [MultiVerse] Permissions Found
    03:44:01 [INFO] [MultiVerse] - Version 1.6.3 Enabled
    03:44:01 [INFO] [MultiVerse] Found iConomy, enabling payments.
    03:44:01 [INFO] [MultiVerse] Loading World & Settings - 'Wilderion' - NORMAL
    03:44:01 [INFO] [MultiVerse] 1 - World(s) loaded.
    03:44:01 [INFO] [MultiVerse] Loading Portals
    03:44:01 [INFO] [MultiVerse] 0 - Portal(s) loaded.
    03:44:01 [INFO] PorteCoulissante plugin version 1.1.0 by Captain_Chaos enabled
    03:44:01 [INFO] PvPReward 0.5 is enabled!
    03:44:01 [INFO] PvPReward Successfully linked with Permissions!
    03:44:01 [INFO] PvPReward Successfully linked with iConomy!
    03:44:01 [INFO] RedstonePlugin version 2.1 is enabled with permissions!
    03:44:01 [INFO] [Runecraft] Rune blacklist with 0 runes loaded.
    03:44:01 [INFO] [Runecraft] Loaded 0 waypoints, 0 teleporters, 1 position runes,
     0 player data sets.
    03:44:01 [INFO] [Runecraft] Loaded 0 block runes.
    03:44:01 [INFO] [Runecraft] World 'Wilderion': id 0
    03:44:01 [INFO] [Runecraft] Runecraft 2.4.6 initialized.
    03:44:01 [INFO] Runecraft plugin version 0.2 is enabled!
    03:44:01 [INFO] Simple Barter version 1.2 is enabled!
    03:44:01 [INFO] SimpleSave: 2.2 Initialized
    03:44:01 [INFO] SimpleSave: Current save interval is 10 minute(s)
    03:44:01 [INFO] SimpleSave: Current backup interval is 60 minute(s)
    03:44:01 [INFO] SimpleSignEdit v1.3.1 enabled.
    03:44:01 [INFO] Using Permissions for sign editing.
    03:44:01 [INFO] [SpawnControl] version [0.8.1] loaded
    03:44:01 [INFO] [Sprint] v0.9 is enabled!
    03:44:01 [INFO] Tombstone v.1.2.7 is enabled.
    03:44:01 [INFO] [Tombstone] Using Permissions (v2.7)
    03:44:01 [INFO] Turnstile 1.5 is enabled!
    03:44:01 [INFO] Turnstile Successfully linked with Permissions!
    03:44:01 [INFO] Turnstile Successfully linked with iConomy!
    03:44:01 [INFO] [Vegetation]: Vegetation v2.31 enabled.
    03:44:01 [INFO] [WeatherControl] version 1.0.0 Permissions detected...
    03:44:01 [INFO] [WeatherControl] version 1.0.0 enabled!
    03:44:01 [INFO] [WolfPound] - Version 0.11 Enabled
    03:44:01 [INFO] [WolfPound] using iConomy Economy!
    03:44:01 [INFO] [WolfPound] using Permissions
    03:44:01 [INFO] WorldEdit 4.3 enabled.
    03:44:01 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    03:44:01 [INFO] [WormholeXTreme][v0.833]Enable Beginning.
    03:44:01 [WARNING] [WormholeXTreme]Not a supported version of Permissions. Recom
    mended is 2.6.x
    03:44:01 [INFO] [WormholeXTreme]Attached to Permissions version 2.7
    03:44:01 [INFO] [WormholeXTreme]Complex Permissions Enabled
    03:44:01 [INFO] [WormholeXTreme]iConomy Plugin support disabled via settings.txt
    .
    03:44:01 [INFO] [WormholeXTreme]Help Plugin not yet available - there will be no
     Help integration until loaded.
    03:44:01 [INFO] [WormholeXTreme][v0.833]Enable Completed.
    03:44:01 [INFO] -------[WorldWarp]-------
    03:44:01 [INFO] -------[Enabled]-------
    03:44:01 [INFO] -------[Permissions activated]-------
    03:44:01 [INFO] -------[/WorldWarp]-------
    03:44:01 [INFO] Done (0.495s)! For help, type "help" or "?"
    03:44:01 [INFO] [FalseBook Block] 0 Areas loaded.
    03:44:01 [INFO] [FalseBook Block] 0 Bridges successfully loaded.
    03:44:01 [INFO] [FalseBook Block] 0 Doors successfully loaded.
    03:44:01 [INFO] [FalseBook Block] Gates successfully loaded.
    03:44:01 [INFO] [FalseBook IC] plugins/FalseBook/Transmitter.db not found.
    03:44:01 [INFO] [FalseBook IC] plugins/FalseBook/Receiver.db not found.
    03:44:01 [INFO] [FalseBook IC] plugins/FalseBook/SensorList.db not found.
    03:44:10 [INFO] The automatic update-Check only work every 6 hours, the last che
    ck was 33 minutes ago.
    >
    No Permissions to be seen.

    Any ideas? Cheers!
     
  4. Offline

    Jeyge

    Are either of you perhaps running any client mods? Maybe Single Player Commands?

    That is a hard one to answer. I've only been doing this for a couple weeks now. I started with GroupManager but quickly realized that the omni-plugin Essentials just wasn't what I wanted so I switched to Permissions and individual plugins for everything else. I can say I'm much happier now with the exception that I have to modify the permissions file manually but I have a multi-monitor setup here so I just make all additions using another monitor. I do sometimes miss using in-game commands but at the same time the whole manu/manp/mang/must keep the GroupManager page open on my laptop was getting a little old.

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

    alexhoodg

    ok when you say individual commands for everything else what do you mean?

    o and yea i just took out groupmanager and ran the server still says i dont have access to like warp and stuff

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

    tom

    Did you configure anything with McMyAdmin? ( If you have it )
     
  7. Offline

    xlLolz

    Can somebody help me my users of my server cannot build even though i gave them permission to
    my config:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Builder:
            default: false
            info:
                prefix: '&1[&aBuilder&1]&f'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - ''
        Admins:
            default: false
            info:
                prefix: '&1[&aBuilder&1]&e'
                suffix: '&e'
                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:
        zhee:
            group: Admins
        Hassi:
            group: Builder
        vpNinja:
            group: Builder
            
     
  8. Offline

    Jeyge

    I switched to plugins like MyHome, MyWarp, CommandBook, iChat, iConomy and Help. I'm really glad I did things the way I did though. I read on here for days before I even started up my first server. Using Essentials in the beginning really taught me a lot about running a Minecraft server so I wouldn't trade that experience for anything. Once I became more comfortable with everything, I wanted to expand a bit and used the change to 1.5 as my opportunity.

    The #1 cause of not being able to build right now seems to be running the client mod pack called Single Player Commands. See if they are running that and have them remove it if they are.

    The only other thing I can see from your .yml file is that you give every group access to pretty much the same commands. Not all commands, but duplicates from the group above. And your admin group inherits from a group which it shouldn't since it has '*'. I'm not sure if that will fix things, but it is worth fixing.

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

    Zerco

    Remove the duplicate from the Moderator group or just remove the Builder inheritance from it. Do the same for your Builder group, you've given every single group aside Admin the same commands so when it reaches Mod it's stacked 3 times. Remember giving a group the same permission twice, whether through inheritance, or '- *', or even just typing the same one twice by accident will completely lock down the groups. No group aside your Admin group will even work properly.
     
  10. Offline

    gamingvortex

    I have made sure of this but the error keeps appearing... im editing it in Notepad ++, should i make it so there is no spaces at all on anything so it is all formatted to the left?

    My Map Name: 11042011
    My YML File: 11042011
    YML Contents:

    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.
    ##
    # 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:
                - ''
        Respected:
            default: false
            info:
                prefix: 'a[Respected] '
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
    
        VIP1:
            default: false
            info:
                prefix: 'a[VIP1] '
                suffix: ''
                build: true
            inheritance:
                - Respected
            permissions:
                - 'commandbook.teleport'
        - 'commandbook.kit.kits.stone'
        - 'commandbook.kit.list'
    
        VIP2:
            default: false
            info:
                prefix: 'a[VIP2] '
                suffix: ''
                build: true
            inheritance:
                - VIP1
            permissions:
                - 'commandbook.kit.kits.iron'
                - 'commandbook.time'
    
        VIP3:
            default: false
            info:
                prefix: 'a[VIP3] '
                suffix: ''
                build: true
            inheritance:
                - VIP2
            permissions:
                - 'commandbook.kit.kits.diamond'
                - 'commandbook.give'
                - 'magiccarpet.mc'
    
        Admins:
            default: false
            info:
                prefix: '4[ADMIN] '
                suffix: ''
                build: true
            inheritance:
    - VIP3
            permissions:
                - 'commandbook.give.other'
                - 'commandbook.give.infinite'
                - 'commandbook.more'
                - 'commandbook.more.infinite'
                - 'commandbook.time'
                - 'commandbook.spawnmob'
                - 'commandbook.weather'
                - 'commandbook.weather.thunder'
                - 'commandbook.teleport.other'
                - 'commandbook.slap'
                - 'commandbook.slap.other'
                - 'commandbook.rocket'
                - 'commandbook.rocket.other'
                - 'commandbook.kick'
                - 'commandbook.bans.ban'
                - 'commandbook.bans.isbanned'
                - 'commandbook.bans.save'
                - 'magiccarpet.ml'
    
        Managers:
            default: false
            info:
                prefix: '3[Management] '
                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:
        Hostingvortex:
            group: Managers
            permissions:
                - '*'
    
        Corey_M_R1:
            group: vip1
            info:
                prefix: ''
                suffix: ''
            permissions:
                - ''
        Derpina:
            group: Admins
            permissions:
                - 'derp.derp'
    Thanks
     
  11. Offline

    killj0y

    I am having issue with allowing normal users to use the simple command /list which shows players online. users in ops.txt can use this but normal users can not. Does anyone know the simplest way around this to allow normal users to use this command?
     
  12. Offline

    Stales89

    I don't know what McMyAdmin is so I probably don't have it. I use PhPMyAdmin for the databases on my server if that's what you mean?

    What I don't understand is how it can be working one day, change my craftbukkit to the new recommended build, then Permissions doesn't load....

    Strange because I have literally changed nothing but my craftbukkit jar.
     
  13. Offline

    Malkierian

    First off, it looks like you've somehow deleted the plugin: entries at the top. After the part talking about copies in the comments, put this:
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    Second, line up all of your inheritance and permissions nodes with permissions: and inheritance: (i.e. the dash for each node is directly under the "i" or "p" in those sections).
    Third, all your color codes need & in front of them. When you install a chat plugin, the VIP2 prefix, for example, will read "a[VIP2]", and if you use iChat, you don't need the [] around it either, it will do that automatically.
    Fourth, remove empty permissions (i.e. - '').
    Fifth, remove the - '*' from your personal permissions. It's redundant, and in fact possibly negates your inheritance from the Managers group.
     
  14. Offline

    Celtic Minstrel

    Then you're doing something wrong, because it works fine on 733. Can you be more explicit about what does not work?

    I am aware of five plugins that provide a /give or /item command: General, PlgEssentials, DefaultCommands, CommandBook, and Essentials. Naturally, I recommend General. ;) (See my signature. :p )

    Oh, come on... stop assuming that it can't possibly work on a build higher than the one in the topic! And @TheYeti - thanks for updating the title to reflect that it works. :D

    ...not that's an odd error. I'm going to suggest moving your yml file to a different location and re-creating it.

    EDIT: Unless you already solved it?

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

    zebras

    It does work fine atfer update for 733 :)
     
  16. Offline

    Celtic Minstrel

    Oh, well in that case, carry on... but why did you say it didn't work in the first place then?
     
  17. Offline

    paradox77

    hey guys,
    i installed permissions 2.7 and essentials 2.2 on bukkit 733
    but i dont have any rights its all default i have only added my nickname in the user group
    edit// ok it works it was a space fail :D
     
  18. Offline

    gamingvortex

    Server Error Log:

    Code:
    12:49:30 [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(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java: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 103, column 1:
    
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
            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.java: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:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
            ... 13 more
    
    New YML

    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
    #
    plugin:
    permissions:
    system: default
    copies:
    
    # 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: false
    inheritance:
    permissions:
    Respected:
    default: false
    info:
    prefix: '&a[Respected] '
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    
    VIP1:
    default: false
    info:
    prefix: '&a[VIP1] '
    suffix: ''
    build: true
    inheritance:
    - Respected
    permissions:
    - 'commandbook.teleport'
    - 'commandbook.kit.kits.stone'
    - 'commandbook.kit.list'
    
    VIP2:
    default: false
    info:
    prefix: '&a[VIP2] '
    suffix: ''
    build: true
    inheritance:
    - VIP1
    permissions:
    - 'commandbook.kit.kits.iron'
    - 'commandbook.time'
    
    VIP3:
    default: false
    info:
    prefix: '&a[VIP3] '
    suffix: ''
    build: true
    inheritance:
    - VIP2
    permissions:
    - 'commandbook.kit.kits.diamond'
    - 'commandbook.give'
    - 'magiccarpet.mc'
    
    Admins:
    default: false
    info:
    prefix: '&4[ADMIN] '
    suffix: ''
    build: true
    inheritance:
    - VIP3
    permissions:
    - 'commandbook.give.other'
    - 'commandbook.give.infinite'
    - 'commandbook.more'
    - 'commandbook.more.infinite'
    - 'commandbook.time'
    - 'commandbook.spawnmob'
    - 'commandbook.weather'
    - 'commandbook.weather.thunder'
    - 'commandbook.teleport.other'
    - 'commandbook.slap'
    - 'commandbook.slap.other'
    - 'commandbook.rocket'
    - 'commandbook.rocket.other'
    - 'commandbook.kick'
    - 'commandbook.bans.ban'
    - 'commandbook.bans.isbanned'
    - 'commandbook.bans.save'
    - 'magiccarpet.ml'
    
    Managers:
    default: false
    info:
    prefix: '&3[Management] '
    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:
    Hostingvortex:
    group: Managers
    permissions:
    
    Corey_M_R1:
    group: vip1
    info:
    prefix: ''
    suffix: ''
    permissions:
    Derpina:
    group: Admins
    permissions:
    Any help please!
     
  19. Offline

    paradox77

    are u using the newest version?
    2.7 linux debian x64 no problems excepts the rights
     
  20. Offline

    TheYeti

    @gamingvortex Did you bother to read the error message? It tells you that you have a tab on line 103 of your YAML file. Correct it and try again.
     
  21. Offline

    tom

    Perhaps Permissions isnt compatible with the build you installed?
     
  22. Offline

    Simse

    I just tryed this with 733.
    I put both of the folders in my plugins folder, rename the config file, restart the server, but the config file isn't generating the default commands that it should be?
     
  23. Offline

    alexhoodg

    but thats just it it wont even let me be admin even though ive classified myslef as one it says im not allowed or i dont have permission to use commands
     
  24. Offline

    killj0y

    Any thoughts? :)
     
  25. Offline

    Specops343

    Hey, i'm kind of new to permissions and im getting these errors. I have the latest RB and only two plugins, permissions and big brother.
    Errors:
    Code:
    2011-04-27 17:29:15 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    
    java.lang.NullPointerException
    
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
    
    at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:352)
    
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:519)
    
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    2011-04-27 17:29:15 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    
    java.lang.NullPointerException
    
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
    
    at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:352)
    
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:519)
    
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    2011-04-27 17:29:17 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    
    java.lang.NullPointerException
    
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
    
    at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.java:400)
    
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:156)
    
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:434)
    
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    this is the yml setup:(not changed much yet)
    Code:
    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:
    
    Specops343:
    
    group: Admins
    
    permissions:
    
    Herpina:
    
    group: Moderator
    
    info:
    
    prefix: 'Moo'
    
    suffix: 'Cow'
    
    permissions:
    
    - 'herp.derp'
    
    Derpina:
    
    group: Admins
    
    permissions:
    
    - '-derp.derp'
    Sorry about the length of this.
     
  26. Offline

    Fluub

    Hey guys i used permissions with towny but then it switched it off it worked except that player are spamed with the message :"You don't have the permission for that." I temporary desactivated permissions but they still goet that message all the time. Would you know a way to get rid of it?
     
  27. Offline

    Vanderburg

    Okay, so I was having a LOT of problems with GroupManager/EssentialsGroupManager so I switched to Permissions today and I still seem to be having one problem. When my server starts up, I get the following error:
    Code:
    2011-04-27 17:52:04 [SEVERE] java.lang.Integer cannot be cast to java.lang.String initializing Permissions v2.7 (Is it up to date?)
    Error:  Minecraft server error. Server will be restarted.
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    
    When in game, permissions work fine, in that all the guests have what guests should having, permission-wise. The problem is that everyone in the game is considered a guest (Which is my default rank) and those in the list to not get their proper rank. In short, groups is working, users is not. I've included a paste of my world.yml file that includes all of the groups and some of the users (The format is consistent throughout and I didn't think you needed to see 800 users)

    http://www.rafb.me/results/HEvCJS26.html

    I'd really appreciate any help. Thanks.

    -EDIT: Also, On bukkit 733, using Permissions 2.7
     
  28. Offline

    tom

    please use
    Code:
    [code]
    tags on that so we can see yyour spacing.
     
  29. Offline

    Specops343

    alright sorry ill edit. Any idea how to fix it though?
     
  30. Offline

    Psycho Robot

    It is important to relalise that this plugin has absolutely no effect on ops.txt or any op command. Admin (or rather, whatever you choose to call your '*' permission group) is not equal to an OP. Therfore, if you want to use permissions to give access to the standard OP commands, you will have to use a permissions-supporting plugin which duplicates these commands. I would recommend DefaultCommands, however there are dozens others.
     
  31. Offline

    Jleary

    Permissions wasnt working, so I deleted the plugins/permissions folder, and installed it again. now all thats in the folder is a 'world.yml' folder that only says { } instead of the config. Did I do something stupid? please help.
     
Thread Status:
Not open for further replies.

Share This Page