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

    LaKiller

    Please can somebody help em with installing it?
     
  3. Offline

    palz2015

    Thank you. The group manager thing is because I panicked and used groupmanager, only to find out that it is in "zombie" mode of development. I don't have the plugin.
     
  4. Offline

    joru

    hello can u tel me whats is wrong

    plugin:

    permissions:
    system: default
    copies:
    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: false
    inheritance:
    permissions:
    - general.spawn

    - iConomy.payment

    - iConomy.list
    - iConomy.rank
    - lwc.protect
    - mywarp.warp.*
    - signedit.add
    - signedit.edit
    - signedit.remove
    - signedit.edittext
    - signedit.savetext
    - signedit.loadtext
    - signedit.removetext
    - iobookcase.canread
    - iobookcase.canwrite
    - uQuest.CanQuest.*
    - uQuest.CanDropQuest
    - myhome.home.*
    - tombstone.use
    - tombstone.freechest
    - tombstone.large
    - tombstone.lwc
    - tombstone.sign
    - tombstone.freesign
    - tombstone.quickloot
    - tombstone.playermessage
    - mobRider.command.goto
    - mobRider.command.attack
    - mobRider.command.go
    - mobRider.command.stop
    - mobRider.players
    - mobRider.animals
    - mobRider.monsters
    - herosneak.sneak
    - elevators.builder
    Vip:

    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - general.teleport
    - general.teleport.here
    - general.player-info
    Admin:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - '*'
    users:
    _Hakkis_:
    group: Admin
    permissions:
    xaPila:
    group: Moderator
    permissions:
    - worldedit.*
    - chaircraft.sit
    - rocketboots.*
    - mobarena.*
    saukki:
    group: Vip
    permissions:
    - chaircraft.sit
    - mobarena.*

    JampeZ:
    group: Vip
    permissions:
    - mobarena.*
    - chaircraft.sit
    _:
    group: Default
     
  5. Offline

    Seo

    I have same permission in all my world but in world, world people cant use /give name id but in world, world1 people can use /give player id :/ Why is that?

    nvm fixed
     
  6. Offline

    NeoCronos

  7. Offline

    Revenger

    Permissions is mostly dead at this stage.

    The developer is only 13 and he has been gone for a month and with all the carrying on and complaints I see from people in his profile page and all those expecting him and others to be a personal support service for them and make them there files even to the point they scream for others to install and setup there servers for them, Its no wonder he isn't here anymore.

    He is just a kid and as such needs the best lifestyle he can have to grow into a proper adult including the education and having fun with things, not screamed at by a bunch of minecraft people who cant make there permissions files properly.

    A bit more respect is needed for developers I think, they don't owe you anything and you just beg them for fixes or scream that your permissions are broken and there plugin is broken when you had a tab instead of spaces, of course they will leave.

    This is the plugin that has the most complaints and whining as people expect the developer to write there files and setup there servers for.

    Look at how many pages of 'OMG I have a error PLEASE FIX!!!' when it turns out that people cant read or understand how to make a simple permissions file its now up to 228 about 200 pages of those are these types of posts.

    I'm not trying to be rude to anyone here but I mentioned this to TheYeti with permissions 2 that it should be looked into with about all the complaints from incorrect syntax and even felt sorry for him having to deal with it all.

    I myself run a server and know what its like as I'm constantly being screamed at or people think I can fix notch's and bukkit+plugin problems myself.

    We had a rollback a few weeks back due to the dataservers contract technician incorrectly bypassing the UPS I was fully sworn at like it was my problem got about 5 mins.

    I have a few times thought about throwing the towel in so I can see how going something for a community can be too much for some people and how we need to respect them for there work firstly.
     
    Don Redhorse and ACStache like this.
  8. Offline

    NeoCronos

    so is there an alternative to Permissions? (a working)
    i found http://forums.bukkit.org/threads/ad...ex-v1-13-tomorrow-is-today-1000.18140/page-28 PermissionEx, maybe this on is better.

    If not, i'd like to fork Permissions3 but it would take me some time to read through all the code.(never used java, but doesn't seem to be much different from c++ and c#)
     
  9. Offline

    Revenger

    That is a alternative but the problem I see is now we have 10+ similar plugins to permissions since permissions 3 started to be made due to people not liking permissions 3's changes and the bugs.

    Now the problem with that is developers need to work out what plugin or plugins to support.

    As a example before bukkit RB's there were 10+ builds of bukkit a day and plugins all had different compatibility levels and all never worked together as every few days bukkit would break a compatibility something we see it now between rb's.

    So the problem I see with 10+ permissions systems now is plugins could be all spread out with permissions support now which is going back to pre bukkit days with compatibility in a sense.

    Allot of plugins couldn't support permissions+groupmanager so allot dropped groupmanager support as I see many plugins with the note 'does not support groupmanager'

    So nearly all plugins went with permissions.

    Of course we all know permissions 3 was released way too early and I helped to diagnose allot of core multiworld permissions with globals, nodes for worlds to the prefix/suffix fix from 3.1.5 to 3.1.6 which was due to my bug reporting.

    As such I have provided many valuable bug reports and feature requests to allot of plugins we use or plan to and as such allot of features I have asked for have been or are on there lists to be implemented. Even to the point where I wrote the initial stats webpage for the deathtp plugin.

    And have a shop list webpage for dynamic market which Ill provide back to the community at some stage.

    Sure bukkit has built in permissions but that still requires a frontend and for a while at least we do not know what plugins are going to choose and hope they would all choose the same one.

    But while permissions seem to still work allot will hold onto that until they are forced to move or when something appears to become the standard.

    Sure I hope the developer of this plugin comes back or someone can continue on his work as this plugin has been passed down a few times.

    Last thing we need is 10 forks of this code all with different support levels and features to each other.

    I know when I was 13 if I slipped away or from a community etc or got bored etc I would forget the community even existed.

    Especially at that age when its about school and gaming on the consoles, pc and going out all the time with mates a hobby like this won't hold ones interest and once the person slips away they usually cant be bothered to pick it up again.

    Especially if he has gotten bored of minecraft which allot have after the length that he was doing permissions for.
     
  10. Offline

    Totzke

    How do you promote a player to one of the groups, say from default to member
     
  11. Offline

    Cloudbringer

    anyone got a quick fix for when i try to create a user "/pr username w:* create"
    the user get's a group which is named "?,Default" and i cannot promote it. i've tried all the commands but i always have to create it/change it manually or else i cannot promote/demote in-game...

    /Cloud
     
  12. Offline

    malachipclover

    I gave myself '*' and now I can use all commands but not create/destroy blocks or set fire etc. Any ideas?
     
  13. Offline

    Monkey_nuts

    OK how do i fix these errors?! D:

    server.log is attached.


    Permissions groups.yml
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '[Guest]'
                suffix: ''
                build: true
            permissions:
            - 'iConomy.access'
            - 'iConomy.list'
            - 'iConomy.payment'
            - 'iConomy.rank'
            - 'essentials.list'
            - 'essentials.mail'
            - 'essentials.mail.send'
            - 'essentials.me'
            - 'essentials.motd'
            - 'essentials.msg'
            - 'essentials.rules'
            - 'essentials.suicide'
            - 'essentials.mute'
            - 'essentials.home'
            - 'essentials.back'
            - 'essentials.spawn'
            - 'essentials.tpa'
            - 'essentials.tpdeny'
            - 'essentials.tpaccept'
            - 'essentials.warp'
            - 'essentials.warp.list'
            - 'essentials.portal'
            - 'essentials.sign.use.disposal'
            - 'essentials.sign.use.mail'
            - 'essentials.sign.use.time'
            - 'essentials.sign.use.warp'
            - 'essentials.protect.damage.fire'
            - 'essentials.protect.damage.creeper'
            - 'essentials.protect.damage.fireball'
            - 'essentials.protect.damage.contact'
            - 'essentials.protect.damage.lava'
            - '-essentials.eco.*'
            - '-essentials.balance
            - 'essentials.pay'
            - '-essentials.sell'
            - '-essentials.setworth'
            - '-essentials.worth'
            - '-essentials.balance'
            - '-essentials.balancetop'
            - '-essentials.balance.others'
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.warp
            - '-essentials.signs.create.sell'
            - 'essentials.afk'
        Member:
            'default': false
            info:
                prefix: '&3[Member]'
                suffix: ''
                build: true
            inheritance:
            - Guest
            permissions:
            - 'iConomy.access'
            - 'iConomy.bank.*
            - 'iConomy.list'
            - 'iConomy.payment'
            - 'iConomy.rank'
            - 'essentials.signs.create*'
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.warp'
            - '-essentials.signs.create.sell'
            - '-essentials.signs.create.balance'
            - '-essentials.signs.create.weather'
            - 'lwc.*
            - '-lwc.admin'
            - '-lwc.mod'
            - 'monsterhunt.usercmd.*'
            - 'mobarena.use.*'
            - 'mobarena.classes.*'
            - 'mobarena.arenas.*'
            - 'mobarena.use.join'
            - 'mobarena.use.leave'
            - 'mobarena.use.spectate'
            - 'blackjack.use'
            - '-essentials.eco.*'
            - '-essentials.balance'
            - '-essentials.pay'
            - '-essentials.sell'
            - '-essentials.setworth'
            - '-essentials.worth'
            - '-essentials.balance'
            - '-essentials.balancetop'
            - '-essentials.balance.others'
        Builder:
            default: false
            info:
                prefix: '&1[Builder]'
                suffix: '&1'
                build: true
            inheritance:
            - Member
            permissions:
            - 'essentials.*'
            - '-essentials.eco.*'
            - '-essentials.balance'
            - '-essentials.pay'
            - '-essentials.ban'
            - '-essentials.kick'
            - '-essentials.kickall'
            - '-essentials.unban'
            - '-essentials.sell'
            - '-essentials.setworth'
            - '-essentials.worth'
            - '-essentials.balance'
            - '-essentials.balancetop'
            - '-essentials.balance.others'
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.sell'
            - 'monsterhunt.huntzone'
            - 'monsterhunt.usercmd.*'
            - 'mobarena.setup.*'
            - 'worldedit.*'
            - '-essentials.eco.*'
            - '-essentials.balance'
            - '-essentials.pay'
            - '-essentials.sell'
            - '-essentials.setworth'
            - '-essentials.worth'
            - '-essentials.balance'
            - '-essentials.balancetop'
            - '-essentials.balance.other'
        Moderator:
            default: false
            info:
                prefix: '&2[Mod.]'
                suffix: '&2'
                build: true
            inheritance:
            - Builder
            permissions:
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.warp'
            - '-essentials.signs.create.sell'
            - '-essentials.signs.create.balance'
            - 'essentials.chat.spy'
            - 'lwc.*'
            - monsterhunt.*'
        Admin:
            'default': false
            info:
                prefix: '&4 [Admin] '
                suffix: '&4'
                build: true
            inheritance:
            - Moderator
            permissions:
            - '*'
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.warp'
            - '-essentials.signs.create.sell'
            - '-essentials.signs.create.balance'
            - 'essentials.protect.admin'
            - 'essentials.protect.damage.fire'
            - 'essentials.protect.damage.creeper'
            - 'essentials.protect.damage.fireball'
            - 'essentials.protect.damage.contact'
            - 'essentials.protect.damage.lava'
            - 'essentials.protect.damage.tnt'
            - 'essentials.protect.damage.projectiles'
            - 'essentials.protect.damage.suffocation'
            - 'mobarena.*'
            - '-essentials.eco.*'
            - '-essentials.balance'
            - '-essentials.pay'
            - '-essentials.sell'
            - '-essentials.setworth'
            - '-essentials.worth'
            - '-essentials.balance'
            - '-essentials.balancetop'
            - '-essentials.balance.others'
            - '-essentials.signs.create.buy'
            - '-essentials.signs.create.warp'
            - '-essentials.signs.create.sell
    tracks:
        trackname:
        - Guest
        - Member
        - Builder
        - Moderator
        - Admin
    
    My permissions folder is attached PLEASE HELP!
     

    Attached Files:

  14. Offline

    25CentStudios

    Yes, I was wondering how to use the GlobalGroups and Users, I thought if you put the permissions in THAT file, it will just override the normal users and groups.yml for each individual world, and just have the GlobalUsers and Groups that will work on every world without multiple files.
     
  15. Offline

    Jeyge

    You have a tab on or before line 37 which needs to be removed or replaced. See the wiki FAQ for information on how to do that.
    Code:
    04:03:25 [SEVERE] while scanning for the next token
     found character         '\t' that cannot start any token
      in "<reader>", line 37, column 1:
             alex_543:
         ^
     
    You need a chat plugin for the prefix/suffix to show. If you have EssentialsChat, have you set add-prefix-suffix to true in your config.yml?
    Issue #142 has some information on the default group and the Storageconfig.yml Options topic has the information on worldcopy.
     
  16. Offline

    ACStache

    on line 41 (in the Default group) you have:
    Code:
    - '-essentials.balance
    
    you're missing a closing single quote. Fix that and you should be all set.

    Edit: Just say another issue. In group Member, you have:
    Code:
    'default': false
    
    remove the single quotes from around default.

    Also, last line of your Admin group:
    Code:
    - '-essentials.signs.create.sell
    
    is also missing a closing single quote

    looking through it a final time I've noticed several other lines missing a closing single quote. Go through and fix all of those :)
     
  17. Offline

    Jeyge

    Sounds like you have an error. Post your server.log and someone should be able to figure it out.
    It just means that all of their permissions are from that group and they don't inherit from anything.
    You'll need to post your permissions yml files. It would probably be best if you zipped up your whole plugins\permissions directory and included a server.log.
    Just copy Permissions.jar into your plugins directory.
    That would depend on what errors you are seeing or what is wrong. Also, please post those files in code tags or on pastebin.com next time.
    You can use promote/demote or "parents add"/"parents remove". See the Chat Commands topic on the wiki for more information.
    That would be one of the drawbacks of using the global files but your promote/demote should still work. You just have to tell it that your current group is "?,<group>".
    Fire would be blocked by another plugin. As for your build problems, see the wiki FAQ as there is a lot of information there on reasons why you can't build.
    Globals don't override the world files but instead support them. Take a look at the Global vs World topic on the wiki for more information.
    For some reason you removed the closing quote from line 41. You are also missing an opening quote on line 146.
     
  18. Offline

    Cloudbringer

    ok, so normal promote and demote works just fine, the only thing that doesn't work is when i "/pr username w:* create", it creates the "?,Default" group, i tried to add it to the track and reload the server/permissions but even if i tried to promote the player with that group i still get a error.
     
  19. Offline

    Jeyge

    I just tried to promote myself using the global files and couldn't figure out a way to do it outside of changing the files themselves. If you are only trying to use the global files to have the same permissions for all worlds, I would suggest looking at example 1 in the Global vs World topic on the wiki as that will allow you to promote without all the hassles.
     
  20. Offline

    Daedalus733

    Ok, here it is.
     

    Attached Files:

  21. Offline

    ACStache

    you have a syntax error in your permission config files. Post those and someone can help figure it out for you :)
     
  22. Offline

    Hoeze

    I've got a group admins on my main world and on the world "andomeda". Now I want to add a parent from the andomeda's admins to the world's admins:
    pr g:admins w:andomeda parents add admins w:world
    result:
    [INFO] [Permissions] No such group exists.
    I don't want to add these parents always manually through mysql queries, so what's my mistake?
     
  23. Offline

    25CentStudios

    @Jeyge

    Lets see if i have this right:


    I want all of these worlds to have the same permissions when I update permissions, but I only want to change 1 of the worlds, and have the rest of the worlds follow. Am i am on the right track?

    Storage Config:

    Code:
    permissions:
      storage:
        type: YAML
        worldcopy:
            25 Main: 25 Main_nether
            25 Main_nether: 25CentCity
            25CentCity: beach
            beach: Desert
            Deset: GrassLand
            GrassLand: MobChallenge
            MobChallenge: PVP
            PVP: Residential
            Residential: SpawnWorld
            SpawnWorld: sphere
            sphere: WaterChallenge
            WaterChallenge: Zombie Apocolypse

    and my worlds: Screen Shot 2011-08-08 at 4.22.10 PM.png
     
  24. Offline

    serenewaffles

    I have permissions set up fine and it is working great. Except that promotion/demotion is super broken under certain conditions. I have permissions files in YAML form for "world". In my storage config file I have it set for "world_nether" to mirror "world". If a player is in the nether and I promote/demote them, the two get out of sync. I.e. the player is not properly promoted/demoted in both worlds. If you need more information, PM me and I can send you details that way.
     
  25. Offline

    Jeyge

    One question first before looking at the command. Is the group actually admins or is it Admins? It does actually make a difference. If it is Admins, then you need to change the g:admins to g:Admins and the same for the parent group.

    As for the command, if you want admins in the world world to inherit from the admins in the world andomeda, you have your worlds backwards. The command would be "pr g:admins w:world parents add admins w:andomeda". One more question comes up though from this. What are you trying to do with this? All this will do is add a line like this (if you were using the yml files that is):
    Code:
        admins:
            inheritance:
            - andomeda,admins
    
    This will cause the admins in the world world to inherit the '*' from the admins group in the world andomeda. If what you really want is to have all of the users currently assigned to admins on the andomeda world to be admins on the world world, then you will want to do something different.

    "/pr add ..." isn't a valid Permissions command and the only reason to include <group> in the promote command is if you have multiple groups assigned to a person and need to tell Permissions which one to promote. I would guess you just want to use "/pr <user> promote" or "/pr <user> w:<world> promote". This will require you to have the default track set up though. If you don't know about tracks, then take a look at the bottom of the Chat Commands topic on the wiki for more information.

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

    Jeyge

    If "25 Main" is your primary world, you would want to use the following and only add your permissions and users to the "25 Main" world:
    Code:
    permissions:
      storage:
        type: YAML
        worldcopy:
            25 Main_nether: 25 Main
            25CentCity: 25 Main
            beach: 25 Main
            Deset: 25 Main
            GrassLand: 25 Main
            MobChallenge: 25 Main
            PVP: 25 Main
            Residential: 25 Main
            SpawnWorld: 25 Main
            sphere: 25 Main
            WaterChallenge: 25 Main
            Zombie Apocolypse: 25 Main
    One thing I haven't tested though and I hope works is the worlds with spaces in their name. Some plugins have had a hard time with this and it was suggested to not use spaces in the name and instead add a _. Give it a try though and keep your fingers crossed. :)
     
  27. Offline

    Jeyge

    It is a bug which can be fixed by doing a "/pr -reload all" for now and hopefully we will see a fix at some point. The bug is logged in issue #238 if you want to add any comments.
     
  28. Offline

    25CentStudios

  29. Offline

    serenewaffles

    Thanks for the heads up, @Jeyge I'll post a comment if I can think of anything else that might help. But for now I'll just use that work around, it's not so bad.
     
  30. Offline

    halfblooddjinn

    Ok im having a problem it is a bit of a paqin really the files and everything is working fine im using yml of course but when i try to promote or demote using both "/pr add <user> <group>" and "/pr <user> promote <group>" it says user or group does not exist leaving it where the only way i can promote and demote is by going in and manually changing the user in the script any help availible?

    Alright thanks a ton first time using permissions but not yml so i thought i had it covered im glad you could be of assistance

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

    Hoeze

    sry, I didn't express myself well (I'm not very good in english), I want admins in the word andomeda to inherit from the admins in the world world.
    @ first question: It's admins, everything is lowercased
    @ second question: Yes, I want to inherit the '*' :D
    I'd like to inherit some groups from my main world to other worlds, in order to have less work if I want to change some permissions in these worlds. I never was able to inherit from groups of other worlds, and now I'd like to know, what I've been doing wrong.
     
Thread Status:
Not open for further replies.

Share This Page