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

    m5k

    So, any plans on adding a simple "remove user from all groups" command?
     
    e_zach likes this.
  3. Offline

    manyak

    Is there any in-game method to check the permissions/groups this user is granted?
     
  4. Offline

    e_zach

    returning a user to complete default (including specific permissions) would be nice

    Code:
    Syntax: /permissions (g:)<target> (w:<world>) perms list
    Permission node: permissions.perms.list
    Description: This commands lists all non-inherited permissions of the target.
    check the wiki first next time :)

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

    TnP

    But it's difficult for me to read all post in english,it would be easier for me if there is a good video tutorial....
     
  6. Offline

    ACStache

    there's one in the first post in the install section (also it was posted by someone 1 page back). it's 18 minutes long, and shows you what to do. granted, it's spoken in english, but it gives a good idea of what to do.
     
  7. Offline

    Tiernan Watson

    Sorry for late reply thanks!
     
  8. Offline

    EpicATrain

    I've looked around the wiki and other places and i'm trying to figure out how the global users and groups work. mine are blank and all I want to do is have a single file that covers all my worlds. How do I do this and how do I successfully add a person in-game to a new global list I create such as Builder? Thanks guys.
     
  9. Offline

    Revenger

    Read my previous post on it.
     
  10. Offline

    Marco van Dijk

    For the creator of this plugin: If i have the jail plugin installed i also get this error
     
  11. Offline

    e_zach

    a few people have had this error, a downgrade seems to fix it, (3.1.1 works like a charm)
     
  12. Offline

    darkyat

    Hi Guyz,

    has anyone an idea why noone is able to kick on our server.

    Hereby the configs:

    globalGroups.yml & world/groups.yml
    PHP:
    groups:
        Default:
            default: 
    true
            permissions
    :
                - 
    'multihome.home'
                
    'multihome.sethome'
                
    'multihome.deletehome'
                
    'multihome.homeondeath'
                
    'multihome.invitehome'
                
    'multihome.uninvitehome'
                
    'multihome.listinvites.tome'
                
    'multihome.listinvites.toothers'
                
    'admincmd.player.msg'
            
    inheritance:
            
    info:
                
    prefix''
                
    suffix''
                
    buildtrue
        Moderator
    :
            default: 
    false
            permissions
    :
                - 
    'multihome.namedhome'
                
    'giveto.*'
                
    'admincmd.tp.from'
                
    'admincmd.tp.to'
                
    'admincmd.player.heal'
                
    'admincmd.player.list'
                
    'admincmd.weather.clear'
                
    'essentials.kick'
                
    'admincmd.mob.spawn'
            
    inheritance:
                - Default
            
    info:
                
    prefix''
                
    suffix''
                
    buildtrue
        Admins
    :
            default: 
    false
            permissions
    :
                - 
    '*'
            
    inheritance:
            
    info:
                
    prefix'&4[ServerAdmin]&f'
                
    suffix''
                
    buildtrue
    globalUsers.yml
    PHP:
    users:
        
    admin123:
            
    permsissions:
            
    groups:
            - 
    Admins
    We are running Permissions 3.1.4.

    thanks in advance.
     
  13. Offline

    Maxis010

    last I heard the globals are disabled, move these from global to each individual world and try it again
     
  14. Offline

    grapeman

    Is the web app (http://www.utopiafps.pl/perm/) to convert the 2.x yml file into an SQL script outdated?

    I have just created the tables using the latest jar, and the script generated by the app seems to try and insert data into non-existant tables (PrGroupPermissions, PrGroups... ect.) This is the error: Duplicate entry '1' for key 'PRIMARY'.

    I've got perl installed and not to sure how to use the provided perl script. Could the web app be updated please?
     
  15. Offline

    foster.lingle

    I have all the stuff up and running. but for whatever reason, it won't let me place or destroy blocks. i have all build: set to true on all the groups but it still has this problem. also cuboid had some issues. i had all groups able to use cuboid but when i tried a cuboid command it said i didnt have permission. everything else is working fine aside from those 2 things. Help?
     
  16. Offline

    Revenger

    Global Groups and Users work if you look back at this thread a page ago.
     
  17. Offline

    manyak

    But this will not display the groups which are occupied by the user.
     
  18. Offline

    charlie k-j

    Oh, yes I am running MyWarp + these plugins:

    Backup
    OpenInv
    CommandSigns
    CommandBook
    Deathmessageplugin
    HelpCenter
    Falsebook
    SimpleGod
    LWC
    Plugman
    SimpleSave
    Stargate
    VanishNoPickup
    WorldEdit
    WorldGuard
    PorteCoullissante
    +Permissions 3.1.4
     
  19. Offline

    TnP

    I have installed Permissions now correctly and the commands work etc. , but i can't build!
    I have turned build: false ---to---> build: true .

    Groups File:

    groups:
    Default:
    default: true
    info:
    prefix: '[Test]'
    suffix: '[/]'
    build: true <------ True!
    inheritance:
    permissions:
    - 'foo.bar'
    - 'pvptoggle.use'
    - 'pvptoggle.command.toggle'
    - 'pvptoggle.command.status'
    - 'SpawnX.spawn'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'SpawnX.setspawn'


    Users File:

    users:
    Terry23:
    groups:
    - Default (I think it doesn't matter if i am Default,Moderator or Admin)
    permissions:


    Maybe someone knows what's wrong.....or had the same problem.
     
  20. Offline

    palz2015

    In a word, I hate these new commands. Imagine having to teach all of the staff to use them! Where's good ole' /promote and /demote?
     
  21. Offline

    dUc0N

    Still having some problems. I've got identical configs for each world's folder now (there are three, main, main_nether, and sphere, which was generated by SphereWorld), but I seem able to build in only main and main_nether, even though I'm in a group that can build on all three. Is it some problem with multiworld maybe? Perhaps the Bukkit problem that was being talked about earlier in the thread? I ran this to try and figure out what's up with all this trouble I'm having:
    Code:
    14:13:47 [INFO] [Permissions] Permissions: essentials.seen, essentials.me, essentials.tree, essentials.back, essentials.teleport.*, essentials.jail.exempt, essentials.help, essentials.tppos, essentials.broadcast, essentials.heal, essentials.essentials, essentials.balance.others, essentials.bigtree, worldguard.region.bypass.*, essentials.home.others, essentials.powertool, essentials.portal, essentials.pay, essentials.ban, essentials.list, essentials.backup, essentials.togglejail, essentials.mail, worldedit.*, essentials.warp.*, essentials.god, worldguard.*, essentials.invsee, essentials.give, essentials.setspawn, essentials.nick, essentials.tpdeny, essentials.mute, groupmanager.*, essentials.compass, essentials.sethome, essentials.tpaccept, essentials.tp, essentials.protect.*, essentials.helpop, essentials.msg, essentials.jump, essentials.unbanip, essentials.clearinventory, essentials.time, essentials.warp, essentials.banip, essentials.worth, essentials.world, runecraft.rune.*, signreadmore.srm, essentials.setworth, essentials.nuke, essentials.tpall, essentials.god.others, essentials.geoip.show, essentials.tpahere, permissions.list.*, essentials.eco, chunkregenerate.chunkregenerate, essentials.afk, essentials.setjail, essentials.tpa, essentials.burn, essentials.clearinventory.others, essentials.plugin, essentials.shout, permissions.promote.*, essentials.top, essentials.antioch, essentials.question, essentials.depth, essentials.realname, labyrinth.*, essentials.unban, essentials.mail.send, runecraft.teleport, essentials.sell, essentials.ping, essentials.spawnmob, essentials.weather, essentials.tpo, essentials.tphere, essentials.suicide, essentials.delwarp, essentials.unlimited, essentials.ext, essentials.deljail, essentials.info, essentials.home, essentials.chat.*, essentials.item, essentials.tempban, essentials.tpohere, essentials.rules, essentials.getpos, essentials.gc, essentials.signs.*, essentials.setwarp, essentials.whois, essentials.kick, essentials.back.ondeath, essentials.lightning, essentials.balance, permissions.reload.*, essentials.tptoggle, essentials.reloadall, essentials.kill, essentials.helpop.receive, essentials.thunder, essentials.heal.*, essentials.motd, essentials.spawn
    I tried disabling any inheritance in the storageconfig as well, no luck there, either. Here are my configs.
    users.yml:
    Code:
    users:
        dUc0N:
            groups:
            - Admin
    groups.yml:
    Code:
    ##
    # 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
    ##
    #   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:
    #
    #       - '*'
    ##
    #   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.
    #
    # Basic YAML guide: https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    # PERMISSIONS REFERENCES:
    # Essentials - http://ess.earth2me.com/index.php/Command_Reference#Group_Manager_Commands
    # Labyrinth -  labyrinth.* allows everything
    # WorldGuard - http://forums.bukkit.org/threads/sec-worldguard-5-0-alpha10-multi-world-fire-polygonal-region-protection-with-blacklist-818.790/
    # WorldEdit -  http://forums.bukkit.org/threads/edit-sec-worldedit-4-6-new-2x-faster-global-masks-world-editing-de-griefing-818.62/
    # RuneCraft -  http://forums.bukkit.org/threads/fun-tp-mech-runecraft-v2-7-magic-effects-using-runes-766-818.14897/
    #
    groups:
        Visitor:
            default: true
            info:
                prefix: '&8'
                suffix: '&f'
                build: false
            inheritance:
            permissions:
    #            - '-*'
                - 'essentials.help'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tpa'
                - 'essentials.tpahere'
                - 'essentials.balance'
                - 'essentials.tptoggle'
                - 'essentials.pay'
                - 'essentials.info'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.realname'
                - 'essentials.seen'
                - 'essentials.clearinventory'
                - 'essentials.suicide'
                - 'groupmanager.manwhois'
                - 'essentials.signs.warp.use'
        Member:
            default: false
            info:
                prefix: '&f'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tpa'
                - 'essentials.tpahere'
                - 'essentials.balance'
                - 'essentials.tptoggle'
                - 'essentials.pay'
                - 'essentials.info'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.realname'
                - 'essentials.seen'
                - 'essentials.clearinventory'
                - 'essentials.suicide'
                - 'groupmanager.manwhois'
                - 'essentials.signs.warp.use'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.warp.use'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.balance.use'
                - 'essentials.portal'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.nick'
                - 'essentials.spawn'
                - 'essentials.chat.color'
                - 'runecraft.teleport'
                - 'runecraft.rune.*'
                - '-runecraft.rune.hiddendoor'
                - '-runecraft.rune.pyrokinesis'
                - '-runecraft.rune.solarflare'
                - '-runecraft.rune.faith'
                - '-runecraft.rune.warppoint'
                - '-runecraft.rune.topsyturvy'
                - '-runecraft.rune.mound'
                - '-runecraft.rune.bridgemaster'
                - '-runecraft.rune.secretpanel'
                - '-runecraft.rune.magicbeacon'
                - '-runecraft.rune.zeerixschest'
                - '-runecraft.rune.phaseblocks'
                - '-runecraft.rune.surfacetension'
                - '-runecraft.rune.accelerator'
                - '-runecraft.rune.spring'
                - '-runecraft.rune.forcefield'
                - '-runecraft.rune.adminpick'
                - '-runecraft.rune.altarofjudgement'
        Elite:
            default: false
            info:
                prefix: '&a'
                suffix: '&f'
                build: true
            inheritance:
                - Member
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.tp'
    #            - 'essentials.spawnmob'
                - 'essentials.broadcast'
                - 'essentials.ext'
    #            - 'essentials.kit'
                - 'essentials.protect.admin'
                - 'essentials.protect.exemptplacement'
                - 'essentials.protect.exemptusage'
                - 'essentials.spawn'
                - 'essentials.shout'
                - 'essentials.question'
                - 'essentials.balance.others'
                - 'signreadmore.srm'
                - 'worldguard.stack'
                - 'worldguard.locate'
                - 'runecraft.rune.*'
                - '-runecraft.rune.adminpick'
                - '-runecraft.rune.altarofjudgement'
        Moderator:
            default: false
            info:
                prefix: '&a'
                suffix: '&f'
                build: true
            inheritance:
                - Elite
            permissions:
                - 'essentials.signs.*'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.world'
                - 'essentials.tpo'
                - 'essentials.tphere'
                - 'essentials.tpohere'
                - 'essentials.tpall'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.*'
                - 'essentials.setworth'
                - 'essentials.helpop.receive'
                - 'essentials.gc'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.others'
                - 'essentials.antioch'
                - 'essentials.burn'
                - 'essentials.kill'
                - 'essentials.backup'
                - 'essentials.nuke'
                - 'essentials.ban'
                - 'essentials.tempban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.invsee'
                - 'essentials.give'
                - 'essentials.item'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.god'
                - 'essentials.god.others'
                - 'essentials.heal.*'
                - 'essentials.heal'
                - 'essentials.powertool'
                - 'essentials.thunder'
                - 'essentials.lightning'
                - 'essentials.protect.*'
                - 'essentials.chat.*'
                - 'essentials.geoip.show'
                - 'groupmanager.manuadd'
                - 'groupmanager.manudel'
                - 'groupmanager.manpromote'
                - 'groupmanager.mandemote'
                - 'permissions.promote.*'
                - 'chunkregenerate.chunkregenerate'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.butcher'
                - 'worldguard.*'
                - '-worldguard.region.bypass.*'
        Admin:
            default: false
            info:
                prefix: '&9'
                suffix: '&f'
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.teleport.*'
                - 'essentials.tppos'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.eco'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.plugin'
                - 'essentials.ping'
                - 'essentials.setjail'
                - 'essentials.deljail'
                - 'essentials.jail.exempt'
                - 'essentials.unlimited'
                - 'essentials.time'
                - 'essentials.weather'
                - 'essentials.setspawn'
                - 'groupmanager.*'
                - 'worldedit.*'
                - 'labyrinth.*'
                - 'runecraft.rune.*'
                - 'permissions.reload.*'
                - 'permissions.list.*'
                - 'worldguard.region.bypass.*'
        Superuser:
            default: false
            info:
                prefix: '&c'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - '*'
    #
    tracks:
        Maintrack:
        - Visitor
        - Member
        - Elite
        - Moderator
        - Admin
        - Superuser
    It seems long I know, but it's because I wanted the fine-grained control that it seemed like Permissions could give me, and because I took out the inheritance on the Member group during my troubleshooting.
     
  22. Offline

    nicholai

    Getting a gazillion of errors.

    Code:
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-08 12:35:00 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:201)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:90)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:489)
    2011-06-08 12:35:00 [SEVERE]     ... 21 more
    2011-06-08 12:35:00 [SEVERE] java.lang.Exception: Error creating user 6000diy in world world due to storage problems!
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:491)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.getUsr(ModularControl.java:571)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:315)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:307)
    2011-06-08 12:35:00 [SEVERE]     at com.nijiko.permissions.ModularControl.has(ModularControl.java:300)
    2011-06-08 12:35:00 [SEVERE]     at me.ryall.wrath.settings.PermissionManager.hasPermission(PermissionManager.java:69)
    2011-06-08 12:35:00 [SEVERE]     at me.ryall.wrath.settings.PermissionManager.hasStrikePermission(PermissionManager.java:63)
    2011-06-08 12:35:00 [SEVERE]     at me.ryall.wrath.Wrath.onCommand(Wrath.java:145)
    2011-06-08 12:35:00 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-06-08 12:35:00 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-08 12:35:00 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:284)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-08 12:35:00 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-08 12:35:00 [SEVERE] Caused by: while parsing a block mapping
     in "<reader>", line 10, column 1:
        users:
        ^
    expected <block end>, but found BlockMappingStart
     in "reader>", line 12, column 9:
                groups:            ^
    
    groups.yml:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: '<3'
                build: true
            inheritance:
            permissions:
                - ''
        Moderator:
            default: false
            info:
                prefix: '[MOD]'
                suffix: '<3'
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '[ADMIN]'
                suffix: '<3'
                build: true
            inheritance:
            permissions:
                - '*'
    users.yml:

    Code:
    users:
        '6000diy'
            groups:
                - Admins
            permissions:
        Poxixs
            groups:
                - Admins
            permissions:
        nicholai:
            groups:
                - Admins
            permissions:
     
  23. Offline

    ACStache

    The error looks like it's coming from your users file. each user's name has to be followed by a ":" (without the quotes) like you have nicholai's. if not I'm not sure what it could be.
     
  24. Offline

    Pim1234

    when logging in i get this:

    Code:
    20:52:20 [SEVERE] java.lang.NullPointerException
    20:52:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    20:52:20 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    20:52:20 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    20:52:20 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    20:52:20 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    20:52:20 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
    20:52:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
    20:52:20 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    20:52:20 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    20:52:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    20:52:20 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    20:52:20 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    20:52:20 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    20:52:20 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    this plugin doesn't play nice with MultiVerse:

    Code:
    20:50:58 [INFO] [MultiVerse] Loading World & Settings - 'flatworld' - NORMAL
    20:50:59 [INFO] Request: GET http://redmine.djdch.com/attachments/download/243/Stackable-0.5.1.zip
    Will go to http://redmine.djdch.com/attachments/download/243/Stackable-0.5.1.zip
    20:50:59 [INFO] resp: 301, len: 348
    20:50:59 [INFO] Request: GET http://dl.dropbox.com/u/6701575/Citizens.jar
    Will go to http://dl.dropbox.com/u/6701575/Citizens.jar
    20:50:59 [INFO] 0 elevators in world "flatworld" loaded.
    20:50:59 [SEVERE] java.lang.NullPointerException
    20:50:59 [SEVERE]     at com.nijikokun.bukkit.Permissions.PrWorldListener.onWorldLoad(PrWorldListener.java:11)
    20:50:59 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
    20:50:59 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    20:50:59 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    20:50:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:405)
    20:50:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:348)
    20:50:59 [SEVERE]     at com.onarandombox.Rigby.MultiVerse.MultiVerse.loadWorlds(MultiVerse.java:380)
    20:50:59 [SEVERE]     at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(MultiVerse.java:115)
    20:50:59 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    20:50:59 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    20:50:59 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    20:50:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    20:50:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    20:50:59 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    20:50:59 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    20:50:59 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    20:50:59 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    20:50:59 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    when starting up:

    Code:
    20:50:54 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    20:50:54 [SEVERE]     at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    20:50:54 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:182)
    20:50:54 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    20:50:54 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    20:50:54 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    20:50:54 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    20:50:54 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    20:50:54 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    20:50:54 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20:50:54 [SEVERE] [Permissions] Unable to load permission data.
    20:50:54 [INFO] [Permissions] Shutting down Permissions due to error(s).
    20:50:54 [INFO] [Permissions] (Yeti) was initialized.
    
    and when placing a block i get this:

    Code:
    20:52:20 [SEVERE] java.lang.NullPointerException
    20:52:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    20:52:20 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    20:52:20 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    20:52:20 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    20:52:20 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    20:52:20 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    20:52:20 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
    20:52:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
    20:52:20 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    20:52:20 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    20:52:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    20:52:20 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    20:52:20 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    20:52:20 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    20:52:20 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
    
    and these are my settings:
    users.yml:

    Code:
    users:
        Pim16aap2:
            groups:
                - Admins
            info:
                prefix: ''
            permissions:
        LordExiardia:
            groups:
                - Default
            permissions:
        Rens5:
            groups:
                - Default
            permissions:
        Dustzzz:
            groups:
                - Default
            permissions:
        Nickboy6677:
            groups:
                - Default
            permissions:
        ma1o1:
            groups:
                - Default
            permissions:
        Blog[AS]:
            groups:
                - Default
            permissions:
        Banaan:
            groups:
                - Default
            permissions:
        fingkregh:
            groups:
                - Default
            permissions:
        ninetailer:
            groups:
                - Default
            permissions:
        tommate11:
            groups:
                - Default
            permissions:
    groups.yml:
    Code:
    groups:
        Limited:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'iConomy.access'
        Default:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
                - Limited
            permissions:
                - 'elevators.builder'
                - 'spawnx.*'
                - 'homex.*'
                - 'MobBounty.mb'
                - 'multiverse.world.spawn'
                - 'multiverse.list'
                - 'passwordprotect.nopassword'
                - 'simplechestlock.lock'
                - 'iConomy.bank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - ''
                - ''
        OP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
                - Limited
            permissions:
                - 'elevators.advancedbuilder'
                - 'multiverse.tp'
                - 'admincmd.time.*'
                - 'admincmd.item.add'
                - 'admincmd.tp.*'
                - 'admincmd.player.heal'
                - 'admincmd.player.msg'
                - 'admincmd.mob.spawn'
        TopOP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - OP
                - Default
                - Limited
            permissions:
                - 'elevators.*'
                - 'MobBounty.Admin.mbg'
                - 'simplechestlock.ignoreowner'
                - 'admincmd.item.*'
                - 'admincmd.player.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  25. Offline

    Contranova

    how can i enable the /list command for players with out using * as a node
     
  26. Offline

    frdfsnlght

    Using 818.

    Is there a way to search a thread? I'd love to search for an answer, but 72 pages is a bit much and the wiki API docs are sorely lacking. Anyway...

    What's the API class/method to add a "player" to a group. I say "player" because I don't have a player object, just a string version of their name. And, of course, I have a group name.

    Anyone?
     
  27. Offline

    pyros

    I also tested this out and after creating the tables as part of the script, it still wasnt registered as correct by permissions (which went onto load my YAML config instead, a good fallback I might add even if undefined)
     
  28. Offline

    manyak

    Is there any way to make some kind of "In-game Permission Button"? I mean, some player from Default group promotes to another Players group just by pressing this button on the server.
     
  29. Offline

    m5k

    Oh god, please add 'remove user from all groups' command. I got my class changing working finally using permissions 2, assignpermissions and rtriggers, I was happy to know that P3 would have in-game commands, thinking I'd have to use 1 plugin less. Turns out they don't have a "set group" nor a "remove person from all groups", which makes it impossible for me to write the rTriggers script again without causing the server to run 30 commands at once. :/
     
  30. Offline

    Don Redhorse

    well that was never a part of permissions in the first IIRC... and last time I heard permissions plus will be update to work with 3.x

    well.. better asked in the plugin thread which will give you the /list command

    there have been several posts about this.. common solution atm is to rename permissions.jar to apermissions.jar and the plugins causing issues to zplugincausingissues.jar

    there are some plugins which allow to execute commands when rightclicking other stuff. like signcommand iirc.

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

    phondeux

    Signcommand doesn't work with 3.x, only 2.x; I confirmed this today with the developer.

    Speaking of 2.x ... is there any way to get one of that version? I visited the links in the OP but the 2.x links were dead. :(
     
  32. Offline

    manyak

    I have faced this problem too, but then i found somewhere on the thread the working link, you should check more carefully.
     
Thread Status:
Not open for further replies.

Share This Page