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

    Super_Honky

    Hello, my server has recently switched to the permissions plugin and is having some issues setting it up so that everyone's permissions are functioning correctly. Of the issues the largest seems to be the complete removal of all permissions from the created OP rank and the inability for anyone other than the server owner to change a players rank. Permissions have been manually added back to he OP group but now they receive an error message when interacting with anything that says something like "you do not have permission to use that". The entire server would be grateful for any assistance that can be provided.

    Super_Honky
    -Admin
    -Westcoastminecraft.net

    groups:
    Engineer:
    default: false
    permissions: []
    inheritance: []
    info:
    prefix: ''
    build: true
    suffix: ''
    Miner:
    default: false
    permissions: []
    inheritance: []
    info:
    prefix: '&f-|'
    build: true
    suffix: '&f|-'
    Guest:
    default: true
    permissions:
    - craftbook.mech.cauldron
    - essentials.afk
    - essentials.help
    - essentials.kit
    - essentials.kit.tools
    - essentials.list
    - essentials.mail
    - essentials.mail.send
    - essentials.motd
    - essentials.msg
    - essentials.pay
    - essentials.rules
    - essentials.sethome
    - essentials.signs.heal.use
    - essentials.whois
    - permissions.promote.Eve
    inheritance: []
    info:
    prefix: ''
    build: true
    suffix: ''
    Member:
    default: false
    permissions:
    - craftbook.mech.cauldron
    - essentials.balance
    - essentials.home
    - essentials.sethome
    - essentials.setwarp
    - essentials.signs.buy.use
    - essentials.signs.heal.use
    - essentials.signs.sell.use
    - essentials.signs.trade.use
    - essentials.warp
    - essentials.world
    inheritance:
    - guest
    info:
    prefix: ''
    build: true
    suffix: ''
    Foreman:
    default: false
    permissions:
    - craftbook.mech.bridge
    - craftbook.mech.elevator
    - craftbook.mech.elevator.use
    - craftbook.mech.gate
    - essentials.signs.disposal.create
    - essentials.signs.disposal.use
    - essentials.signs.protection.create
    - essentials.signs.protection.use
    - essentials.signs.trade.create
    - essentials.signs.trade.use
    - essentials.tp
    - essentials.tpa
    - essentials.tphere
    - essentials.tpo
    - essentials.tpohere
    - essentials.warp
    - essentials.whois
    - warp
    - worldedit.history.undo
    - worldedit.selection.*
    - worldedit.selection.contract
    - worldedit.selection.expand
    - worldedit.selection.pos
    - worldedit.selection.size
    - worldedit.wand
    - worldguard
    - worldguard.region.*
    - worldguard.region.addmember
    - worldguard.region.claim
    - worldguard.region.define
    - worldguard.region.info
    - worldguard.region.removemember
    inheritance:
    - guest
    - member
    info:
    prefix: '&8 <>-'
    build: true
    suffix: '&8 -<>'
    Architect:
    default: false
    permissions: []
    inheritance: []
    info:
    prefix: '&e[-]_'
    build: true
    suffix: '&e_[-]'
    Elder:
    default: false
    permissions:
    - craftbook.mech.bridge
    - craftbook.mech.elevator
    - craftbook.mech.elevator.use
    - craftbook.mech.gate
    - essentials.signs.disposal.create
    - essentials.signs.disposal.use
    - essentials.signs.protection.create
    - essentials.signs.protection.use
    - essentials.signs.trade.create
    - essentials.signs.trade.use
    - essentials.tp
    - essentials.tpa
    - essentials.tphere
    - essentials.tpo
    - essentials.tpohere
    - essentials.warp
    - essentials.whois
    - warp
    - worldedit.history.undo
    - worldedit.selection.*
    - worldedit.selection.contract
    - worldedit.selection.expand
    - worldedit.selection.pos
    - worldedit.selection.size
    - worldedit.wand
    - worldguard
    - worldguard.region
    - worldguard.region.addmember
    - worldguard.region.claim
    - worldguard.region.define
    - worldguard.region.info
    - worldguard.region.removemember
    inheritance:
    - member
    info:
    prefix: '&2 ~<'
    build: true
    suffix: '&2 ~>'
    Admins:
    default: false
    permissions:
    - '*'
    - permissions.promote.*
    inheritance: []
    info:
    prefix: '&b __('
    build: true
    suffix: '&b)__'
    OPs:
    default: false
    permissions:
    - worldguard.region.*
    - essentials.back
    - craftbook.mech.elevator.use
    - essentials.tree
    - essentials.signs.sell.use
    - worldedit.region.set
    - essentials.signs.heal.use
    - essentials.tpa
    - worldedit.selection.pos
    - essentials.signs.trade.use
    - craftbook.mech.elevator
    - essentials.jail
    - essentials.pay
    - essentials.ban
    - essentials.list
    - worldedit.selection.size
    - craftbook.mech.gate
    - worldedit.history.undo
    - worldguard.region.claim
    - essentials.tpo
    - essentials.signs.disposal.create
    - essentials.warp.set
    - essentials.tphere
    - worldguard.region.removemember
    - craftbook.mech.bridge
    - build
    - worldguard.region.define
    - warp
    - essentials.home
    - worldedit.selection.*
    - worldguard
    - essentials.signs.trade.create
    - essentials.tp
    - essentials.tpohere
    - worldguard.region.bypass.Eve
    - worldguard.region
    - worldedit.selection.expand
    - essentials.setwarp
    - essentials.signs.buy.use
    - essentials.whois
    - worldedit.selection.contract
    - essentials.kit.tools
    - essentials.time
    - essentials.signs.protection.create
    - essentials.warp
    - essentials.balance
    - worldguard.region.info
    - worldedit.wand
    - essentials.warp.cooldown.bypass
    - essentials.kit
    - essentials.teleport.cooldown.bypass
    - essentials.signs.protection.use
    - essentials.signs.disposal.use
    inheritance:
    - Guest
    - Member
    info:
    prefix: '&9 __['
    build: true
    suffix: '&9]__'

    GREIFER:
    permissions:
    inheritance:
    info:
    prefix: '&4 __MY_NAME_IS['
    build: false
    suffix: '&4]AND_I_LIKE_BEING_BAD__'
    tracks:
    Eve:
    - Guest
    - Member
    - Miner
    - Foreman
    - Engineer
    - Elder
    - Architect
    - Ops
    - Admins
     
  3. Offline

    Riddle

    Citizen-s cannot use commandbook.who . I have tried without the brackets but still "You do not have permission to do that appears when a Citizen tries /who, /list etc

    Edit. And they CAN open fence gates...
    Code:
    Permissions (part of) globalGroup:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            permissions:
            - commandbook.who
            inheritance:
        Builder:
            default: false
            info:
                prefix: '[Builder]'
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - warpplugin.warp
            - econplugin.basic.*
        Moderator:
            default: false
            info:
                prefix: '[Moderator]'
                suffix: ''
                build: true
            inheritance:
            - Member
            permissions:
            - modplugin.ban
            - modplugin.kick
            - modplugin.unban
        Admins:
            default: false
            info:
                prefix: '[Admin]'
                suffix: '[/b]'
                build: true
            inheritance:
            permissions:
            - '*'
        Citizen:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Guest
            permissions:
            - warpplugin.warp
            - econplugin.basic.*
            - -craftbook.mech.gate
            - "commandbook.who"
    
    
    
    Commandbook config:
    
    # Give ops all permissions
    op-permissions: true
    use-display-names: true
    online-on-join: true
    online-list:
        colored-names: true
        grouped-names: true
        show-max-players: true
    verify-name-format: true
    
    Can some1 tell me where the error is?
     
  4. Offline

    alryaz

    groups.yml and users.yml of both (nether and normal) worlds are symlinked to global YMLs. As I am too lazy to fill them in myself, I preferred that way.
    globalGroups.yml:
    Code:
    groups:
        Administrator:
            default: False
            info:
                prefix: '&c'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Donator'
            permissions:
    ...
     loads of permissions
    ...
        Donator:
            default: False
            info:
                prefix: '&f'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Builder'
            permissions:
    ...
    again loads
    ...
        Builder:
            default: False
            info:
                prefix: '&4'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Citizen'
            permissions: []
        Trusted:
            default: False
            info:
                prefix: '&0'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Builder'
            permissions: []
        Police:
            default: False
            info:
                prefix: '&1'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Citizen'
            permissions:
              - 'jail.command.unjail'
              - 'jail.command.transfer'
              - 'jail.command.transferall'
              - 'jail.usejailstick50'
        Citizen:
            default: False
            info:
                prefix: '&f'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Hobo'
            permissions:
    ...
    loads, again
    ...
        Operator:
            default: False
            info:
                prefix: '&4OP'
                suffix: 'LOL'
                build: True
                interact: True
            inheritance:
              - 'Administrator'
            permissions:
              - '*'
        Hobo:
            default: True
            info:
                prefix: '&8'
                suffix: ''
                build: False
                interact: True
            inheritance: 'null'
            permissions:
    ...
    alot again
    ...
        LDonator:
            default: False
            info:
                prefix: '&e'
                suffix: ''
                build: True
                interact: True
            inheritance:
              - 'Donator'
            permissions:
    ...
    huge amount of perms
    ...
        IDonator:
            default: True
            info:
                prefix: '&e'
                suffix: ''
                build: True
                interact: True
            inheritance: 'null'
            permissions: []
        MDonator:
            default: True
            info:
                prefix: '&e'
                suffix: ''
                build: True
                interact: True
            inheritance: 'null'
            permissions: []
    
    globalUsers.yml
    Code:
        alryaz:
            group: 'Operator'
            groups:
              - 'Operator'
            info:
                prefix: ''
                suffix: ''
                build: True
                interact: False
            permissions: []
    
    BUT
    Every time I join and see my name on McDocs, I get the prefix. WTH
     
  5. Offline

    p67738

    @rcjrrcjr You really helped me. Good job. :)

    Oops, I mean @rcjrrjcr You really helped me. Good job. :)

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

    Jeyge

    You'll need to post the actual error that caused it to fail. It should be right above what you posted here.
    I don't either. Do you have the PermissionsSQL.jar in your plugins directory?

    @Super_Honky
    I can't tell a lot from your groups.yml because it isn't in code tags but it does look like in most cases you are inheriting from a lowercase version of your group. Fix the casing to the be same as the group and you should see the inheritance working again.
    Citizen is inheriting from Guest but you don't have a Guest group and the permission node should either be enclosed by quotes or noting but not double quotes. Moderator is inheriting from Member but you don't have a Member group. The rest looks okay but you may want to use the local world files instead of globalgroups.yml. See the message in the OP.
    You should link them with a world file and not globals as seen from the message in the OP but I don't think that is your problem.

    I'm not sure I understand about the prefix thing but you do have too many groups marked as default: true. Try fixing it so there is only one default group and see if that fixes things. If not, post what isn't working and what is.

    The only records that should automatically be added are the ones in the users.yml files and they should have the default group as defined in the groups.yml file. Nothing should be automatically added to the globalusers.yml file. But either way, not having a group will give you the permissions from the default group in that world. This may or may not at some point translate into the default group in the globalgroups.yml file but for now, there is a bug preventing it depending on your setup.

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

    Stodo

    That is the actual error!!! I could not copy paste so I wrote it down. word for word what it told me in my cmd box.
     

  8. Yup that was it...my bad
     
  9. Offline

    Jeyge

    Okay, well if that is all you have, then I would say that it can't load your data. Either your drive is messed up and it can't find it or read it or it just isn't in the right location. It is just so strange though. When I get those messages they are usually preceded by the actual error.
     
  10. Offline

    Jademalo

    No, I'm just wanting them to have a default group when they first log on. Mainly so people who log on, they can't build. I dont want them assigned to globalusers.yml. Also, I am running 3.1.6, and it still is assigning new people null.

    Also, seprate question, if a user is added to users.yml, (automatically) but isnt assigned to any groups or anything, will it then look in globalusers.yml? I was under the impression that it only looked in globalusers.yml if there was no entry for the person in users.yml, however, an entry automatically gets added.
     
  11. Offline

    R4TH4CK3R

    I'll be waiting to them to add permissions already in bukkit!
     
  12. Offline

    LordCrazyKing

    Sorry if this has been asked already (there's 157 pages to check through), but is there not a function in the api to add/remove/change people's groups?
    I'm trying to make a small plugin for my server so that people can use a command to rank themselves up (by paying iConomy money) but i can't seem to find a function for changing groups :(
     
  13. Offline

    gmore70

    Problem and Solution found.

    Problem
    1. 3.1.5 works, then going to 3.1.6 causes server errors when starting server when loading worlds other than your default world.
    2. When in game, someone enters one of the worlds from line 1, the server overloads, world doesnt render.
    3. User.yml for worlds from point 1 are suddenly empty.

    Solution.
    1. Edit all your user.ymls for worlds other than your default world by removing all user records (usernames) that contain a blank group.
    2. Restart your server...and smile... all good.

    Its because only your default world's user.yml file gets updated for 3.1.6, not your other worlds.

    Im posting for others people. It might already be here, but after checking for about 20 minutes, I couldnt find this anywhere - neither the reported issue or a solution. So dont troll me if its here already, I did READ! but there is soo much crap by people who cant read filling up the posts.

    NOTE!!!!! Why does Bukkit Moderators say its a dumb idea to allow plugin developers the right to remove or edit posts by others on their plugin page. Every other major blog or forum allows that.....so freaking strange.
     
  14. Offline

    Stodo

    What is this "drive" your talking about?
     
  15. Offline

    Maxis010

    The hard drive that is holding the data for your server
     
  16. Offline

    EthanD

    When using this with mcMMO, there appears to be problems with "Read timed out". However, we are already running 3.1.6 and every other plugin smoothly, so I didn't know if anyone knew of any solution to this?
     
  17. Offline

    MiHo

    same, but i don't use mcMMO. but it helps to downgrade to 3.1.4
     
  18. Offline

    Jademalo

    Oh, its a bug. Alright, thanks.
    Quick question, Since a user gets created in users.yml, how do users from globalusers.yml ever get read? I thought if it could find a user in users.yml, it wouldnt bother looking in globalusers.yml. And if a user automatically gets created in users.yml.. If you get what i mean.
     
  19. Offline

    MgoSolidx

    I need help , for some reason i have an error on my permissions groups.yml file and idk what it is ):
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.balance.others'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'essentials.sell'
                - 'essentials.worth'
                - 'essentials.afk'
                - 'essentials.help'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.mail.send'
                - 'essentials.seen'
                - 'essentials.suicide'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.back'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.tp'
                - 'essentials.tpaccept'
                - 'essentials.deny'
                - 'essentials.tphere'
                - 'essentials.geoip.hide'
                - 'essentials.signs.use.buy'
                - 'essentials.signs.use.disposal'
                - 'essentials.signs.use.free'
                - 'essentials.signs.use.heal'
                - 'essentials.signs.use.sell'
                - 'essentials.signs.use.warp'
                - 'lockette.user.create.*
         
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - '/reloadwe'
                - '/worldeditselect'
                - 'essentials.give.item-all'
                - 'essentials.god'
                - 'essentials.heal'
                - 'essentials.itemspawn.item-all'
                - 'essentials.time.world'
                - 'essentials.unlimited.item-all'
                - 'essentials.eco'
                - 'essentials.setworth'
                - 'essentials.ban'
                - 'essentials.broadcast'
                - 'essentials.clearinventory'
                - 'essentials.essentials'
                - 'essentials.invsee'
                - 'essentials.kick'
                - 'essentials.clearinventory.others'
                - 'essentials.kill'
                - 'essentials.setjail'
                - 'essentials.delwarp'
                - 'essentials.setwarp'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.joinfullserver'
                - 'essentials.protect'
                - 'essentials.protect.admin'
                - 'essentials.signs.create.buy'
                - 'essentials.signs.create.disposal'
                - 'essentials.signs.create.free'
                - 'essentials.signs.create.heal'
                - 'essentials.signs.create.sell'
                - 'essentials.signs.create.protection'
                - 'essentials.signs.over.protection'
                - 'essentials.signs.create.warp'
                - 'lockette.admin.create.*'
                - 'EasyFlight.fly.self'
    
        SemiAdmin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Mod
            permissions:
                - 'essentials.god.others'
                - 'lockette.admin.snoop'
    
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - SemiAdmin
            permissions:
                - 'essentials.backup'
                - 'essentials.reloadall'
                - 'essentials.plugin'
                - 'essentials.togglejail'
                - 'essentials.unban'
                - 'essentials.weather'
                - 'essentials.setspawn'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.reload'
    
        Owner:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
       
    
    I need help please ):
     
  20. Offline

    ACStache

    the last permission of Builder: group is missing an ending ( ' ) single quote, fix it and see what happens.
    post any errors you get in the server log as well (if any) :)
     
  21. Offline

    MgoSolidx


    THANK YOU THANK YOU THANK YOU!!!

    :) If it wasn't for you , i would've killed myself by now >.> , jk lol anyways thanks :)
     
  22. Offline

    Omen

    I get this error when trying to promote someone: (/pr username promote)

    Code:
    2011-07-08 15:35:28 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
            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.NullPointerException
            at java.util.HashSet.<init>(Unknown Source)
            at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
            at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
            at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    My globalGroups.yml is as follows:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: false
            permissions:
                - 'general.spawn'
        Builder:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.spawn'
                - 'myhome.home.basic.*'
        Trusted:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'worldedit.navigation.jumpto'
                - 'worldedit.navigation.thru'
                - 'magiccarpet.mc'
                - 'griefalertr.use'
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Trusted
            permissions:
                - 'foo.*'
                - '-foo.test'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - '*'
    track:
        - Default
        - Builder
        - Trusted
        - Moderator
    
     
  23. Offline

    GraphicalMe

    Hi man, i can't get it to work... i should be an admin

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
            - 'stargate.free.use'
            - 'stargate.use'
            - 'ww.list'
            - 'ww.warp'
            - 'SpawnControl.spawn.use'
            - 'essentials.help'
            - 'essentials.afk'
            - 'craftbook.mech.bridge'
            - 'craftbook.mech.bookshelf.use'
            - 'craftbook.mech.elevator.use'
            - 'craftbook.mech.gate'
            - 'craftbook.mech.light-switch'
        Builder:
            default: false
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'worldguard.god'
                - 'lockette.user.create.*'
                - 'essentials.kit'
                - 'iConomy.access'
                - 'iConomy.bank.access'
                - 'iConomy.bank.deposit'
                - 'iConomy.bank.join'
                - 'iConomy.bank.join.multiple'
                - 'iConomy.bank.leave'
                - 'iConomy.bank.list'
                - 'iConomy.bank.main'
                - 'iConomy.bank.main.change'
                - 'iConomy.bank.main.set'
                - 'iConomy.bank.main.view'
                - 'iConomy.bank.transfer'
                - 'iConomy.bank.transfer.multiple'
                - 'iConomy.bank.withdraw'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'worldguard.ungod'
                - 'foo.bar'
                - 'SpawnControl.sethome.basic'
                - 'SpawnControl.home.basic'
                - 'ClothCommand.cloth'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'ww.list'
                - 'ww.warp'
                - 'DailyBonus.get'
        Donator:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'foo.bar'
                - 'ClothCommand.cloth'
                - 'gs.admin.*'
                - 'ClothCommand.cloth.unlimited'
                - 'DailyBonus.getVIP'
        Donator+:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - Donator
            permissions:
                - 'foo.bar'
                - 'ClothCommand.cloth'
                - 'gs.admin.*'
                - 'SpawnControl.CooldownExempt'
                - 'bflight.bgive'
                - 'bflight.bfly'
                - 'ClothCommand.cloth.unlimited'
                - 'iConomy.bank.*'
                - 'stargate.free.use'
                - 'stargate.use'
                - 'DailyBonus.getVIP'
                - 'stargate.create'
                - 'stargate.create.personal'
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
                - Donator+
            permissions:
                - 'essentials.give'
                - 'essentials.give.item-wool'
                - 'essentials.unlimited'
                - 'bb.admin.info'
                - 'bb.admin.rollback'
                - 'bb.admin.watch'
                - 'bb.admin.cleanse'
                - 'worldguard.region.define.*'
                - 'lockette.admin.break'
                - 'stargate.free.create'
                - 'stargate.free.destroy'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
                - 'stargate.option.free'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'worldguard.region.redefine.*'
                - 'worldguard.region.redefine.member.*'
                - 'worldguard.region.redefine.own.*'
                - 'worldguard.region.claim.'
                - 'worldguard.region.list'
                - 'worldguard.region.remove.*'
                - 'worldguard.region.remove.own.*'
                - 'bar.foo'
                - 'iConomy.admin.*'
                - 'CommandIConomy.Free'
                - 'RedeemCodes.list'
                - 'lottery.admin.*'
                - 'lockcraft.*'
                - 'stargate.*'
                - 'worldedit.*'
                - 'ww.*'
        ForumMaster:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.give'
                - 'essentials.give.item-wool'
                - 'essentials.unlimited'
                - 'bb.admin.info'
                - 'bb.admin.rollback'
                - 'bb.admin.watch'
                - 'bb.admin.cleanse'
                - 'worldguard.region.define.*'
                - 'lockette.admin.break'
                - 'stargate.free.create'
                - 'stargate.free.destroy'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
                - 'stargate.option.free'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'worldguard.region.redefine.*'
                - 'worldguard.region.redefine.member.*'
                - 'worldguard.region.redefine.own.*'
                - 'worldguard.region.claim.'
                - 'worldguard.region.list'
                - 'worldguard.region.remove.*'
                - 'worldguard.region.remove.own.*'
                - 'bar.foo'
                - 'iConomy.admin.*'
                - 'CommandIConomy.Free'
                - 'RedeemCodes.list'
                - 'lottery.admin.*'
                - 'lockcraft.*'
                - 'stargate.*'
                - 'worldedit.*'
                - 'ww.*'
        TwitterCitan:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.give'
                - 'essentials.give.item-wool'
                - 'essentials.unlimited'
                - 'bb.admin.info'
                - 'bb.admin.rollback'
                - 'bb.admin.watch'
                - 'bb.admin.cleanse'
                - 'worldguard.region.define.*'
                - 'lockette.admin.break'
                - 'stargate.free.create'
                - 'stargate.free.destroy'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
                - 'stargate.option.free'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'worldguard.region.redefine.*'
                - 'worldguard.region.redefine.member.*'
                - 'worldguard.region.redefine.own.*'
                - 'worldguard.region.claim.'
                - 'worldguard.region.list'
                - 'worldguard.region.remove.*'
                - 'worldguard.region.remove.own.*'
                - 'bar.foo'
                - 'iConomy.admin.*'
                - 'CommandIConomy.Free'
                - 'RedeemCodes.list'
                - 'lottery.admin.*'
                - 'lockcraft.*'
                - 'stargate.*'
                - 'worldedit.*'
                - 'ww.*'
        KingWiki:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.give'
                - 'essentials.give.item-wool'
                - 'essentials.unlimited'
                - 'bb.admin.info'
                - 'bb.admin.rollback'
                - 'bb.admin.watch'
                - 'bb.admin.cleanse'
                - 'worldguard.region.define.*'
                - 'lockette.admin.break'
                - 'stargate.free.create'
                - 'stargate.free.destroy'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
                - 'stargate.option.free'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'worldguard.region.redefine.*'
                - 'worldguard.region.redefine.member.*'
                - 'worldguard.region.redefine.own.*'
                - 'worldguard.region.claim.'
                - 'worldguard.region.list'
                - 'worldguard.region.remove.*'
                - 'worldguard.region.remove.own.*'
                - 'bar.foo'
                - 'iConomy.admin.*'
                - 'CommandIConomy.Free'
                - 'RedeemCodes.list'
                - 'lottery.admin.*'
                - 'lockcraft.*'
                - 'stargate.*'
                - 'worldedit.*'
                - 'ww.*'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.give'
                - 'essentials.give.item-wool'
                - 'essentials.unlimited'
                - 'bb.admin.info'
                - 'bb.admin.rollback'
                - 'bb.admin.watch'
                - 'bb.admin.cleanse'
                - 'worldguard.region.define.*'
                - 'lockette.admin.break'
                - 'stargate.free.create'
                - 'stargate.free.destroy'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
                - 'stargate.option.free'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'worldguard.region.redefine.*'
                - 'worldguard.region.redefine.member.*'
                - 'worldguard.region.redefine.own.*'
                - 'worldguard.region.claim.'
                - 'worldguard.region.list'
                - 'worldguard.region.remove.*'
                - 'worldguard.region.remove.own.*'
                - 'bar.foo'
                - 'iConomy.admin.*'
                - 'CommandIConomy.Free'
                - 'RedeemCodes.list'
                - 'lottery.admin.*'
                - 'lockcraft.*'
                - 'stargate.*'
                - 'worldedit.*'
                - 'ww.*'
     
  24. Offline

    zachj95

    Here's my user.yml and groups.yml and I still have no idea what I'm doing wrong. Only admins can build on my server not even moderators, default, and members. I'm pretty sure it has to do with the '*' permissions because I don't know if there's a specific 'permissions.build' or something like that I need to activate, I tried putting build: to true and it doesn't ever have an effect on anything.

    Code:
    users:
        zachj95:
            groups:
            - Admins
            permissions:
        IronChefMorimoto:
            groups:
            - Admins
            permissions:
        wangsalt:
            groups:
            - Default
            permissions:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
    thisweekinMC likes this.
  25. Offline

    Jeyge

    Check out Issue #166. It wasn't an easy one to figure out but if you have a group above your default group, it causes the world to load over and over again. Just FYI though as your solution also solves the problem too.
    Someone will actually have to figure out where the memory is being leaked from and I don't have the proper server to do that with. And all this armchair debugging isn't getting anyone anywhere but it is sure fun to read.
    The first thing you need to ask yourself is "Why am I even using the global files when world mirroring will do everything I want and is known to work?". Then, if you still find you really must use the global files, I would suggest looking at Example 2 in the Global vs World topic in the wiki.
    I haven't played with promoting in the global files yet and it wouldn't surprise me if it wasn't working correctly but I think you will need to provide the world if you want to try. You would change your command to "/pr <username> w:* promote".
    You say that you should be an admin but you don't say what the game thinks you are. And you didn't post your users.yml file so we can't see what it thinks you should be. Your groups.yml file seems to work though.

    Your files work fine and I was able to build in the default group so I have a feeling it is something else. Were you trying to build in the spawn protection area or perhaps in another protected area? Are you getting any error when you try to destroy things?

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

    zachj95

  27. Offline

    TheLegacyP7

    Ive tried /pr add (username) Builder however it still says user/group not spectified? Where are the groups and users found from? Plugins/permissions/users and groups.yml or plugins/permissions/world/users and groups.yml? I can understant why grouP manager was more popular, it had simple commands!
     
  28. Offline

    Jeyge

    Are you sure there aren't any errors in your server.log? Another thing we should check is to make sure those files are even being read. Break your groups.yml by moving Member: back 1 space.

    I'm beginning to think we aren't quite reading the same wiki. Where are you getting your commands from? Each time you have a problem, you provide a command that isn't a command and I point you to the wiki. Your example above using "/pr add" isn't in the Chat Commands topic so I'm at a loss as to where you are finding this stuff from and it really leaves me without the knowledge to even tell you what the right command is.

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

    WaHrH3it

    Can someone help me? The issue: Whenever I start the server and try to log in I get the "connection refused" problem.. I only own one world.. The permissions file I've attached is how I want it to look.. Someone take a look at it please?
     

    Attached Files:

  30. Offline

    Jeyge

    While a "connection refused" might seem like a Permissions problem, it is actually a problem on the server. Still, because you included it, I tested your permissions and they work just fine. I would create a post in the Bukkit Help forum and include all information asked for in the sticky.
     
  31. Offline

    TheLegacyP7

    I have finally found the right commands! /pr (user) promote (group) but now whenever i do that it says the internal error error! How do i fix that?
     
Thread Status:
Not open for further replies.

Share This Page