Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 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








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    ACStache

    @thecoolman if you're using permissions 3.1.x then you don't put anything in it. it's for a different permissions plugin (the official bukkit permissions one)
     
  3. Offline

    thcoolman

    how do i know if plugin is working

    how do i know if its working

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  4. Offline

    ACStache

    how do you know if what's working? permissions 3.1.x? if you see something like:
    Code:
    2011-07-19 18:09:14 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-19 18:09:15 [INFO] [Permissions] version [3.1.5] (Yeti)  loaded
    
     
  5. Offline

    zomg a ghast

    http://pastebin.com/uvvUhx67 <-- same thing but with spaces
    Does anybody know why this isn't working?
    groups:
    Builder:
    default: true
    permissions:
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn
    - essentials.seen
    - essentials.suicide
    - essentials.sethome
    inheritance: []
    info:
    prefix: '&e'
    build: True
    suffix: ''
    Donator:
    default: false
    permissions:
    - essentials.back.ondeath
    - essentials.tp
    - magiccarpet.mc
    - magicspells.learn.spellname
    - magicspells.cast.*
    inheritance:
    - Builder
    info:
    prefix: '&c'
    build: true
    suffix: ''
    Sponsor:
    default: false
    permissions:
    - essentials.time
    - essentials.setwarp
    - essentials.tphere
    - essentials.warp
    inheritance:
    - Donator
    info:
    prefix: '&2'
    build: true
    suffix: ''
    Moderator:
    default: false
    permissions:
    - essentials.back
    - essentials.ban
    - essentials.banip
    - essentials.broadcast
    - essentials.delwarp
    - essentials.depth
    - essentials.eco
    - essentials.getpos
    - essentials.jump
    - essentials.kick
    - essentials.kill
    - essentials.setwarp
    - essentials.time
    - essentials.togglejail
    - essentials.top
    - essentials.tp
    - essentials.tphere
    - essentials.tpo
    - essentials.tpohere
    - essentials.tppos
    - essentials.tptoggle
    - essentials.unban
    - essentials.unbanip
    - essentials.whois
    - essentials.world
    - groupmanager.listgroups
    - groupmanager.mandemote
    - groupmanager.manload
    - groupmanager.manpromote
    - groupmanager.mansave
    - groupmanager.manselect
    - groupmanager.manuadd
    - groupmanager.manudel
    - essentials.ext
    inheritance:
    - Sponsor
    info:
    prefix: '&5'
    build: true
    suffix: ''
    Admin:
    default: false
    permissions:
    - -essentials.protect.damage.*
    - '*'
    inheritance:
    - Moderator
    info:
    prefix: 'Admin'
    build: true
    suffix: ''
     
  6. Offline

    Jeyge

    You are running Java v1.5 but Permissions and many other plugins require v1.6. Update to 1.6 and things should start to work again.
    You have some spacing problems but I have a feeling that isn't the problems you are seeing. What is it that is broken?

    You mean to point to the new permissions built in to Bukkit?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  7. Offline

    zomg a ghast

    I'm not sure exactly what is broken but the permissions don't seem to be applying correctly or something
     
  8. Offline

    Jeyge

    If you are running Windows, I would go to www.java.com and get the latest version of Java. If you are on a Mac, you will want to use Goggle to search for which upgrade options you have from Apple.
     
  9. Offline

    thcoolman

    k thx man i appreciate your help finally Im getting answers
     
  10. Offline

    Jeyge

    I guess you can start with the spacing issues then. It looks like you meant for all your permissions to be in column 5 but some of them are all the way over in column 17. Move them all back to column 5 and see if things are better. If they aren't, come back and say what exactly isn't working.
     
  11. Offline

    Garninc580

    many plugins are staying with this permissions, leaving the built in one alone
     
  12. Offline

    OZ4RK

    So to be clear, This Permissions WILL be updated for CB1000? I do not wish to switch when I've already learned this complicated system, lol.
     
  13. Offline

    ACStache

    as far as I can tell, the bukkit one isn't going to be required (or so I hope). it's just another alternative that's officially supported by the bukkit team. there's a bunch more technical stuff I don't understand too :p lol

    I've also heard this is still being worked on, updates are on github I guess (i don't watch there, don't really know how it all works)
     
  14. Offline

    OZ4RK

    Yea, I'm holding out on 953 for now. :)
     
  15. Offline

    ACStache

    well for me 3.1.6 works, I just occasionally get Read Time Out errors that have no consistency. 3.1.5 still also works with no issues on 1000 (that's what I'm using now)
     
  16. Offline

    Unlucky4ever

    Is there a way to get the promote command to promote users in all worlds?

    So you don't have to do it for every world.
     
  17. Offline

    dralletje

    me also searching for that. a way to have global user + promotion track, but per world different permissions.
    should that be possible?
     
  18. Offline

    Jeyge

    One developer has already said that he will only support the new permissions system and he does have at least one popular plugin. On the flip side, there have been many plugin developers that have said they won't support it at all. I personally don't understand why we needed a new API for this at all. The problems that most users complain about is the YAML files and not the API so I'm not quite sure how this helps anyone.
    I believe the PermissionsPlus plugin is in the process of being modified to promote in multiple worlds.
     
  19. Offline

    brezzo

    I have installed 3.1.6 for my server on build 953 (it appears they aren't compatible, but it WAS working last night perfectly fine).
    Now, when I start the server I get the message:
    Code:
    [SEVERE] [Permissions] Unable to load permission data.
    [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    It then goes on to say that it has disabled successfully, and many other plugins are saying no known permissions plugin detected.

    My config files are as follows:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: false
            permissions:
                - essentials.rules
         Newbie:
            default: false
            info:
                prefix: '&3[noob]&f'
                suffix: '&f'
                build: true
            permissions:
                - essentials.item
                - essentials.itemspawn.item-all
                - -essentials.itemspawn.item-10
                - -essentials.itemspawn.item-8
                - -essentials.itemspawn.item-51
                - -essentials.itemspawn.item-325
                - -essentials.itemspawn.item-326
                - -essentials.itemspawn.item-327
                - essentials.bigtree
                - essentials.kit
                - essentials.time.world
                - essentials.time
                - essentials.tree
                - essentials.unlimited
                - essentials.afk
                - essentials.compass
                - essentials.getpos
                - essentials.helpop
                - essentials.ignore
                - essentials.mail.*
                - essentials.list
                - essentials.me
                - essentials.motd
                - essentials.msg
                - essentials.nick
                - essentials.rules
                - essentials.seen
                - essentials.suicide
                - essentials.clearinventory
                - essentials.spawn
                - essentials.back
                - essentials.jump
                - essentials.tp
                - essentials.warp
                - essentials.spawn
        Trusted:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            permissions:
                - 'essentials.item'
                - 'essentials.itemspawn.*'
                - 'essentials.bigtree'
                - 'essentials.kit'
                - 'essentials.time.world'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.unlimited'
                - 'essentials.afk'
                - 'essentials.compass'
                - 'essentials.getpos'
                - 'essentials.helpop'
                - 'essentials.ignore'
                - 'essentials.mail.*'
                - 'essentials.list'
                - 'essentials.me'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.realname'
                - 'essentials.rules'
                - 'essentials.seen'
                - 'essentials.suicide'
                - 'essentials.seen'
                - 'essentials.clearinventory'
                - 'essentials.weather'
                - 'essentials.spawn'
                - 'essentials.back'
                - 'essentials.jump'
                - 'essentials.tp'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.spawn'
                - 'worldedit.wand'
                - 'worldedit.superpickaxe.replacer'
                - 'worldedit.region.walls'
                - 'worldedit.clipboard.*'
                - 'residence.create'
        Admins:
            default: false
            info:
                prefix: '&4[OP]&f '
                suffix: '&f'
                build: true
            permissions:
                - '*'
        Donator:
            default: false
            info:
                prefix: '&4[$]&f '
                suffix: '&f'
                build: true
            permissions:
                - 'worldedit.*'
                - 'essentials.nick'
                - 'essentials.back.ondeath'
                - 'essentials.god'
                - 'essentials.give'
                - 'essentials.give.*'
                - 'essentials.item'
                - 'essentials.itemspawn.*'
                - 'essentials.bigtree'
                - 'essentials.kit'
                - 'essentials.time.world'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.unlimited'
                - 'essentials.afk'
                - 'essentials.compass'
                - 'essentials.getpos'
                - 'essentials.helpop'
                - 'essentials.ignore'
                - 'essentials.mail.*'
                - 'essentials.list'
                - 'essentials.me'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.realname'
                - 'essentials.rules'
                - 'essentials.seen'
                - 'essentials.suicide'
                - 'essentials.seen'
                - 'essentials.clearinventory'
                - 'essentials.weather'
                - 'essentials.spawn'
                - 'essentials.back'
                - 'essentials.jump'
                - 'essentials.tp'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.spawn'
                - 'residence.create'
    Code:
    users:
        brezzo:
            groups:
                - Admins
            permissions:
                - '*'
        Ehxpert:
            groups:
                - Trusted
        jgavran94:
            groups:
                - Admins
            permissions:
                - '*'
        Rand0m_Guy:
            groups:
                - Trusted
        unimpaired:
            groups:
                - Trusted
        ziggily:
            groups:
                - Trusted
        iambubbleman:
            groups:
                - Trusted
        yrat:
            groups:
                - Trusted
        bigr94:
            groups:
                - Trusted
        brezzzy:
            groups:
                - Trusted
    Any help is greatly appreciated :\

    Note: it WORKS when I clear the configuration files - so it MUST be these causing the errors.
     
  20. Offline

    Jeyge

    The error that you are getting is:
    Code:
    2011-07-19 23:35:43 [SEVERE] while parsing a block mapping
     in "<reader>", line 2, column 5:
            Default:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 10, column 6:
             Newbie:
    
    and it is caused by an extra space on line 10. Newbie: should start in column 5 like the rest of the groups.
     
  21. Offline

    Pr0Failure

    Fixed it myself.
     
  22. Offline

    ArmaSteiner

    Hey everybod,
    i've got a Problem with Permisions 3. I cant see the Prefix in game ([Admin])
    Code:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players 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 inherit from other groups.
    #   To make a group inherit the permissions and info nodes from another
    #   group, simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Wildcard Permission settings:
    #
    #       You can have wildcard nodes which encompass all nodes that match it.
    #       For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    #       "modplugin.settings.view", and so on.
    #
    ##
    #   A single asterisk means that this user/group has all permissions.
    #       - '*'
    ##
    #   Negated nodes are created by prefixing a normal node with "-".
    #   They prevent less specific wildcard nodes from matching the negated node.
    #   For example:
    #
    #   permissions:
    #       - 'foo.*'
    #       - '-foo.bar'
    #
    #   In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "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.
    ##
    #
    #   For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    
    groups:
        Gast:
            default: true
            info:
                prefix: '&7[Gast]&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.helpop'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.spawn'
        Bewohner:
            default: false
            info:
                prefix: '&2[Bewohner]&f'
                suffix: ''
                build: true
            inheritance:
                - gast
            permissions:
                - 'bcvote.*'
                - 'elevators.builder'
                - 'essentials.afk'
                - 'essentials.back.ondeath'
                - 'essentials.balance'
                - 'essentials.chat.shout'
                - 'essentials.home'
                - 'essentials.kit'
                - 'essentials.kit.tools'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.me'
                - 'essentials.msg'
                - 'essentials.nick'
                - 'essentials.pay'
                - 'essentials.portal'
                - 'essentials.sethome'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.free.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.suicide'
                - 'essentials.warp'
                - 'essentials.worth'
                - 'falsebook.blocks.*'
                - 'falsebook.cart.*'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.sell'
                - 'jobs.join.Builder'
                - 'jobs.join.Digger'
                - 'jobs.join.Farmer'
                - 'jobs.join.Fisherman'
                - 'jobs.join.Hunter'
                - 'jobs.join.Miner'
                - 'jobs.join.Woodcutter'
                - 'jobs.world.world'
                - 'lottery.buy'
                - 'lwc.protect'
        Stammgast:
            default: false
            info:
                prefix: '&2[Stammgast]&f'
                suffix: ''
                build: true
            inheritance:
                - Bewohner
            permissions:
                - 'essentials.back'
        VIP:
            default: false
            info:
                prefix: '&e[VIP]&f'
                suffix: ''
                build: true
            inheritance:
                - Stammgast
            permissions:
                - 'essentials.compass'
                - 'essentials.item'
                - 'essentials.setwarp'
                - 'essentials.tp'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpahere'
                - 'essentials.tpdeny'
                - 'essentials.warp.list'
                - 'simplereserve.enter.kick'
                - 'worldedit.navigation.jumpto'
                - 'worldedit.navigation.thru'
        SuperVIP:
            default: false
            info:
                prefix: '&e[VIP]&f'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
        Moderator:
            default: false
            info:
                prefix: '&9[Mod]&9'
                suffix: ''
                build: true
            inheritance:
                - Stammgast
            permissions:
                - 'essentials.broadcast'
                - 'essentials.delwarp'
                - 'essentials.depth'
                - 'essentials.eco'
                - 'essentials.ext'
                - 'essentials.getpos'
                - 'essentials.jump'
                - 'essentials.kick'
                - 'essentials.kill'
                - 'essentials.setwarp'
                - 'essentials.time'
                - 'essentials.togglejail'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.tptoggle'
                - 'essentials.whois'
                - 'essentials.world'
                - 'groupmanager.listgroups'
                - 'groupmanager.mandemote'
                - 'groupmanager.manload'
                - 'groupmanager.manpromote'
                - 'groupmanager.mansave'
                - 'groupmanager.manselect'
                - 'groupmanager.manuadd'
                - 'groupmanager.manudel'
        Admins:
            default: false
            info:
                prefix: '&4[Admin]&f'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '-worldedit.clipboard.load'
                - '-worldedit.region.set'
                - '-essentials.protect.damage.*'
                - '*'
        Owner:
            default: false
            info:
                prefix: '&4[ServerLeitung]&4'
                suffix: ''
                build: true
            inheritance:
                - Admin
            permissions:
                - '*'
    Where is the mistake???
    I've tested the next code (It's the same spelling)
    Code:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players 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 inherit from other groups.
    #   To make a group inherit the permissions and info nodes from another
    #   group, simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Wildcard Permission settings:
    #
    #       You can have wildcard nodes which encompass all nodes that match it.
    #       For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    #       "modplugin.settings.view", and so on.
    #
    ##
    #   A single asterisk means that this user/group has all permissions.
    #       - '*'
    ##
    #   Negated nodes are created by prefixing a normal node with "-".
    #   They prevent less specific wildcard nodes from matching the negated node.
    #   For example:
    #
    #   permissions:
    #       - 'foo.*'
    #       - '-foo.bar'
    #
    #   In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "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.
    ##
    #
    #   For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'modplugin.ban'
                - 'modplugin.kick'
                - 'modplugin.unban'
        Admins:
            default: false
            info:
                prefix: '&4[Admin]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    on a testserver
    This was not a Problem.
     
  23. Offline

    Hacr

    Code:
    2011-07-20 10:28:48 [SEVERE] java.lang.NoClassDefFoundError: org/bukkit/permissions/Permission
    2011-07-20 10:28:48 [SEVERE]     at java.lang.Class.getDeclaredMethods0(Native Method)
    2011-07-20 10:28:48 [SEVERE]     at java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
    2011-07-20 10:28:48 [SEVERE]     at java.lang.Class.getMethod0(Class.java:2687)
    2011-07-20 10:28:48 [SEVERE]     at java.lang.Class.getMethod(Class.java:1620)
    2011-07-20 10:28:48 [SEVERE]     at org.bukkit.craftbukkit.command.ServerCommandListener.getName(ServerCommandListener.java:29)
    2011-07-20 10:28:48 [SEVERE]     at net.minecraft.server.ConsoleCommandHandler.handle(ConsoleCommandHandler.java:25)
    2011-07-20 10:28:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:307)
    2011-07-20 10:28:48 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    2011-07-20 10:28:48 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-20 10:28:49 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-20 10:28:49 [SEVERE] Caused by: java.lang.ClassNotFoundException: org.bukkit.permissions.Permission
    2011-07-20 10:28:49 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    2011-07-20 10:28:49 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-07-20 10:28:50 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    2011-07-20 10:28:50 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-07-20 10:28:50 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-07-20 10:28:50 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    2011-07-20 10:28:50 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    2011-07-20 10:28:50 [SEVERE]     ... 17 more
    2011-07-20 10:28:50 [SEVERE] Unexpected exception
    java.lang.NoClassDefFoundError: org/bukkit/permissions/Permission
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
        at java.lang.Class.getMethod0(Class.java:2687)
        at java.lang.Class.getMethod(Class.java:1620)
        at org.bukkit.craftbukkit.command.ServerCommandListener.getName(ServerCommandListener.java:29)
        at net.minecraft.server.ConsoleCommandHandler.handle(ConsoleCommandHandler.java:25)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:307)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.permissions.Permission
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 17 more
    I get this error at random times. And when I get it all of the players get kicked and no one can join the server. To get it to work again I need to restart the server ( /stop and start again ).

    I also get this error when someone joins:
    Code:
    2011-07-20 10:26:44 [INFO] macintosh0 [/88.89.180.208:62042] logged in with entity id 217213 at ([world] -699.5123642020976, 69.0, 17.07671315513288)
    2011-07-20 10:26:44 [SEVERE] java.lang.NoSuchFieldException: perm
    2011-07-20 10:26:44 [SEVERE]     at java.lang.Class.getDeclaredField(Class.java:1899)
    2011-07-20 10:26:44 [SEVERE]     at org.bukkitcontrib.player.ContribCraftPlayer.<init>(ContribCraftPlayer.java:87)
    2011-07-20 10:26:44 [SEVERE]     at org.bukkitcontrib.player.ContribCraftPlayer.updateBukkitEntity(ContribCraftPlayer.java:587)
    2011-07-20 10:26:44 [SEVERE]     at org.bukkitcontrib.ContribPlayerListener.onPlayerJoin(ContribPlayerListener.java:27)
    2011-07-20 10:26:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    2011-07-20 10:26:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-07-20 10:26:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-20 10:26:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-20 10:26:45 [INFO] CommandBook: No intro.mid; not playing intro song.
    2011-07-20 10:26:45 [INFO] connect from ip **.**.***.***
     
  24. Offline

    catnib

    Is there a permission that disables moderators from promoting/demoting ppl?
    I am using the - '*' for mods, but dont want them promoting/demoting
     
  25. Offline

    Jeyge

    You need to be running a chat plugin for them to work but I do see one problem with the file. Your Bewohner group is inheriting from gast but should be inheriting from Gast. Owner should inherit from Admins not Admin.
    Both errors are caused by running the CB 1000 version of BukkitContrib but not running CB 1000.
    You can remove permissions.* or permissions.promote using "- '-permissions.*'" or "- '-permissions.promote'".
     
  26. Offline

    robinsousa

    How to make default the adding of "?," in globalUsers.yml so that new users will automatically have it?
     
  27. Offline

    hofikaa

    I have a problem,

    when i start my serverm server console say

    Server : permissions file permissions.yml is empty, ignorign it.
    and when i type 'permissions':
    permissions was unable to load data during server load. and
    please post the the portion of your servere log since the server start/reload in the forums thread.

    :S:S whats the problem?
     
  28. Offline

    Jeyge

    That was something the dev was looking at before he disappeared.
    Sounds like you are trying to use the Bukkit permissions. Post your server.log as it suggests and someone should be able to see the errors.
     
  29. Offline

    robinsousa

    What do you mean? Am I not supposed to use it anymore?
     
  30. Offline

    hofikaa

    Code:
    151 recipes
    16 achievements
    12:26:05 [INFO] Starting minecraft server version Beta 1.7.3
    12:26:05 [INFO] Loading properties
    12:26:05 [INFO] Starting Minecraft server on 5.109.*********
    12:26:05 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    12:26:05 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    12:26:05 [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.
    12:26:05 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    12:26:05 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    12:26:06 [SEVERE] while scanning for the next token; found character    '\t' tha
    t cannot start any token initializing Permissions v3.1.6 (Is it up to date?)
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 2, column 1:
            storage:
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:592)
            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.composeNode(Composer.java:132)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:
    129)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    12:26:06 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    12:26:06 [INFO] Preparing level "world"
    12:26:06 [INFO] Preparing start region for level 0 (Seed: -2992201375884518629)
    12:26:07 [INFO] Preparing spawn area: 57%
    12:26:07 [INFO] Preparing start region for level 1 (Seed: -2992201375884518629)
    12:26:08 [INFO] Preparing spawn area: 52%
    12:26:08 [SEVERE] java.lang.NullPointerException
    12:26:08 [SEVERE]       at com.nijikokun.bukkit.Permissions.PrWorldListener.onWo
    rldLoad(PrWorldListener.java:11)
    12:26:08 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$53.execute(Ja
    vaPluginLoader.java:612)
    12:26:08 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    12:26:08 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:332)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:267)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    12:26:08 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    12:26:08 [SEVERE] java.lang.NullPointerException
    12:26:08 [SEVERE]       at com.nijikokun.bukkit.Permissions.PrWorldListener.onWo
    rldLoad(PrWorldListener.java:11)
    12:26:08 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$53.execute(Ja
    vaPluginLoader.java:612)
    12:26:08 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    12:26:08 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:332)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:267)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    12:26:08 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    12:26:08 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    12:26:08 [INFO] Server permissions file permissions.yml is empty, ignoring it
    12:26:08 [INFO] Done (0,270s)! For help, type "help" or "?"
    >permissions
    12:26:30 [INFO] [Permissions] Permissions was unable to load data during server
    load.
    12:26:30 [INFO] [Permissions] Please post the the portion of your server log sin
    ce the server start/reload in the forums thread.
    >
    12:28:03 [INFO] Unknown console command. Type "help" for help.
    >
    here is my server ...
     
  31. Offline

    morizuki

    Can anyone teach me how to use the Global Groups and Global User.. i want to transfer my Whole Default World Permissions to the Global Group Permissions.. I tried Copying all the text in the world permissions to the global group permissions.. but nothing happen
     
Thread Status:
Not open for further replies.

Share This Page