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

    Savage

    Just out of curiosity - has anyone written/created a web-based interface and/or API for this yet?
     
  3. Offline

    goblix

    This happens to me as well perhaps someone can assist in to a fix?
     
  4. Offline

    cpalms

    Code:
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-18 19:48:09 [INFO] [Permissions] (Yeti) disabled successfully.
    
    Yeah so, that spams my server config and all my permissions are now screwed.

    How the hell do I fix this?!
     
  5. Offline

    Jeyge

    @Everyone
    I've added a lot of information to the Wiki - FAQ which should help with the majority of the non-global file inheritance errors. I'll be working on some global information next.
     
  6. Offline

    Chekkaa

    Ah, it looks like Permissions finally has commands. But do they really need to be this complex?
    Code:
    /permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>
    /permissions <target> (w:<world>) demote <parent> (w:<parentworld>) <track>
    What's wrong with the way GroupManager does it? It's super simple:
    Code:
    /manuadd <player> <rank>
    I'm only concerned about this because I heard the Essentials team is going to stop maintaining GroupManager. I really hope it's not true though, because GroupManager works great, and I've been so much happier with it than Permissions. To be honest, I'm really dreading having to go back to Permissions after all these months.
     
  7. Offline

    z_neumann

    Ok done still can't build.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - mcmmo.skills.*
                - nSpleef.admin.*
                - lockette.*
                - iConomy.payment
                - iConomy.access
                - featurepack.command.vote
                - featurepack.command.help
                - mcmmo.commands.whois
                - localshops.user.buy
                - localshops.user.sell
                - featurepack.command.vote
                - nSpleef.member.*
                - featurepack.command.time
                - featurepack.command.help
                - featurepack.command.weather
                - mcmmo.commands.stats
                - PortableTorch.Allow
                - lottery.buy
        Donator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
                - magiccarpet.mc.*
                - magiccarpet.ml
                - mcmmo.skills.*
                - nSpleef.admin.*
                - lockette.*
                - iConomy.payment
                - iConomy.access
                - logblock.lookup
                - logblock.tool
                - logblock.toolblock
                - logblock.me
                - logblock.area
                - logblock.area
                - logblock.hide
                - lava.allow
                - ichat.color
                - featurepack.command.vote
                - featurepack.command.help
                - localshops.manager.add
                - localshops.manager.create
                - localshops.manager.destroy
                - localshops.manager.move
                - localshops.manager.remove
                - localshops.manager.select
                - localshops.manager.set
                - localshops.manager.set.owner
                - featurepack.command.vote
                - nSpleef.member.*
                - featurepack.command.time
                - featurepack.command.help
                - featurepack.command.weather
                - mcmmo.commands.stats
                - PortableTorch.Allow
                - lottery.buy
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
                - magiccarpet.mc.*
                - magiccarpet.ml
                - mcmmo.skills.*
                - nSpleef.admin.*
                - lockette.*
                - iConomy.payment
                - iConomy.access
                - logblock.lookup
                - logblock.tool
                - logblock.toolblock
                - logblock.me
                - logblock.area
                - logblock.area
                - logblock.hide
                - lava.allow
                - ichat.color
                - featurepack.command.vote
                - featurepack.command.help
                - localshops.manager.add
                - localshops.manager.create
                - localshops.manager.destroy
                - localshops.manager.move
                - localshops.manager.remove
                - localshops.manager.select
                - localshops.manager.set
                - localshops.manager.set.owner
                - featurepack.command.vote
                - nSpleef.member.*
                - featurepack.command.time
                - featurepack.command.help
                - featurepack.command.weather
                - mcmmo.commands.stats
                - PortableTorch.Allow
                - lottery.buy
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
                - magiccarpet.mc.*
                - magiccarpet.ml
                - mcmmo.skills.*
                - nSpleef.admin.*
                - lockette.*
                - iConomy.payment
                - iConomy.access
                - logblock.lookup
                - logblock.tool
                - logblock.toolblock
                - logblock.me
                - logblock.area
                - logblock.hide
                - logblock.clearlog
                - logblock.tp
                - logblock.*
                - fltd.disable
                - ichat.color
                - worldguard.region.*
                - worldgurad.god
                - featurepack.command.help
                - featurepack.command.ipv6
                - featurepack.command.time
                - featurepack.command.weather
                - featurepack.admin.help
                - featurepack.command.version
                - featurepack.command.info
                - featurepack.command.reload
                - featurepack.command.god
                - featurepack.command.ungod
                - featurepack.command.day
                - featurepack.command.night
                - featurepack.command.dawn
                - featurepack.command.dusk
                - featurepack.command.sun
                - featurepack.command.rain
                - featurepack.command.thunder
                - featurepack.command.lock
                - featurepack.command.unlock
                - featurepack.command.light
                - mcmmo.tools
                - mmoedit
                - fakemessage.say
                - fakemessage.join
                - fakemessage.leave
                - fakemessage.message
                - fakemessage.*
                - localshops.admin
                - localshops.manager.add
                - localshops.manager.create
                - localshops.manager.destroy
                - localshops.manager.move
                - localshops.manager.remove
                - localshops.manager.select
                - localshops.manager.set
                - localshops.manager.set.owner
                - localshops.free.create
                - localshops.free.move
                - nSpleef.admin.*
                - nSpleef.member.*
                - PortableTorch.Allow
                - PortableTorch.Permanent
                - slap.slap
                - lottery.buy
                - lottery.admin.addtopot
                - lottery.admin.draw
     
  8. Offline

    RustyDagger

    Still wrong You still have permission nodes int he file 2 times see admin has
    - mcmmo.skills.*
    and so dose Default.
    your inheritance is still wrong also as well as your spacing on the inheritance section. it should be like this.

    Code:
            inheritance:
                - Admin
     
    inheritance should be like

    default none
    donator Default
    Admin Donator

    as you see the next group inherits from the 1 before it. if you do this then you will not need to do what you have done with the permissions where every group has
    - mcmmo.skills.*
    You will only need to give it to default and every other group will get it as well.

    But the spacing on inheritance is the only thing actually wrong with the file. The rest is just bad and inefficient.
     
  9. Offline

    DaDude363

    Help! I can't get the new permissions to work! I used the other permissions for older versions of Minecraft and CraftBukkit, but when MC 1.6 was released I couldn't get the new permissions to work. It works perfectly five without modifing the config to my liking (when the config is blank), but when I put my data in, the console displays the following message when I run my server.
    15:21:12 [SEVERE] [Permissions] Unable to load permission data.
    15:21:12 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    15:21:12 [INFO] [Permissions] (Yeti) was initialized.
    15:21:12 [INFO] [Permissions] (Yeti) was disabled successfully.
    15:21:12 [INFO] [Permissions] SQL Interface enabled!
    I think I have converted my old data correctly, I followed the guide to converting the data, any help will be appreciated.
     
    cpalms likes this.
  10. Offline

    4dr14n

    I hope you can help me, im From Germany and my English is not so Good.
    When i start my Server and look into the Log after a Login form a Player

    This Message i become every 10 Sec. I follow the instruction how to update to 3.0.
    I have a new Folder (name of the Map) with the Groups.yml and Users.yml.

    onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent@7a8f6d64) java.lang.LinkageError: com/nijiko/permissions/PermissionHandler at me.taylorkelly.bigbrother.BBPermissions.permission(BBPermissions.java:60) at me.taylorkelly.bigbrother.BBPermissions.watch(BBPermissions.java:79) at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerJoin(BBPlayerListener.java:96) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33) at net.minecraft.server.NetworkListenThread.a(SourceFile:91) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422
     
  11. Damm now that plugin is ever more complex than EVER.I do everything right but still I don't have permissions to any command!
     
  12. Offline

    2zxr1

    no commands are working it doesn't register ANY commands im using it doesn't work with MCMYADMIN
     
  13. Offline

    Yogization

    Erm..? I can't use this with McMyAdmin at all... apart from globalGroups.yml not working what so ever, groups.yml AND globalGroups.yml reset whenever I edit them while the is server offline. What is the reason for this?
     
  14. Offline

    Deatlev

    This is huge problem

    the user.yml always wipes and all people are guests again ._. how to fix?

     
  15. Offline

    jollan666

    i cant get it to work it says permission disable
     
  16. Offline

    Piotr

    Don't know what's wrong...

    Code:
    12:33:26 [INFO] [P2] version 3.0 has been enabled.
    12:33:26 [INFO] [P2] Group Default does not have a rank defined in World world
    12:33:26 [INFO] [P2] Group Moderator does not have a rank defined in World world
    
    12:33:26 [INFO] [P2] Group Admins does not have a rank defined in World world
    12:33:26 [INFO] [P2] Some groups do not have a rank defined, some commands are d
    isabled.
    12:33:26 [INFO] [P2] Group Default does not have a rank defined in World world_n
    ether
    12:33:26 [INFO] [P2] Group Moderator does not have a rank defined in World world
    _nether
    12:33:26 [INFO] [P2] Group Admins does not have a rank defined in World world_ne
    ther
    12:33:26 [INFO] [P2] Some groups do not have a rank defined, some commands are d
    isabled.
    
    I haven't ever seen error like this.
    And here is my globalGroups

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
    
                - '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'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.create.<id>'
                - 'iConomyChestShop.shop.exclude.<id>'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.command.iteminfo'
                - 'lwc.protect'
                - 'chaircraft.sit'
                - 'citizens.use.trader'
                - 'citizens.use.healer'
                - 'citizens.use.wizard'
                - 'citizens.use.blacksmith'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
     
  17. Offline

    daddatv

    Probably a stupid question, but how do you make the plugin use the globalGroups.yml and globalUsers.yml
    Instad of the ones inside the world folder??
     
  18. Offline

    Piotr

    It's automathic. But i always copy everything from globals to normals in world folder.
     
  19. Offline

    sasinator

    I've been having a few issues with permissions and i couldn't find it on github.
    I've setup all groups and users in the world but i want the nether to use the same groups etc.

    I want to make the nether use the same permissions as the normal world but i have no idea how to do that.

    I can't get the globalgroups and users to work either.
    Could someone help please?
     
  20. Offline

    poke722

    When I use any version, I can only have 12 plugins. If I add one more I get this message:

    Code:
    2011-06-19 07:52:54 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-19 07:52:54 [SEVERE]     at com.nijiko.permissions.ModularControl.<clinit>(ModularControl.java:45)
    2011-06-19 07:52:54 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    2011-06-19 07:52:54 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:139)
    2011-06-19 07:52:54 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-19 07:52:54 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-19 07:52:54 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-19 07:52:54 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-19 07:52:54 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-06-19 07:52:54 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-19 07:52:54 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-19 07:52:54 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    upon startup. The 12 plugins (one of which is permissions) doesn't matter, and it crashes with anything else being added. Any solutions?
     
  21. Offline

    daddatv

    No...
    How is it "automatic"?
    Well i want it to use the global files instead of the ones inside the world folder.
    How? It isnt automatic.
     
  22. Offline

    Piotr

    I said - when i put something into global, it appears into normal (both in nether and world). But could anyone answer my question?
     
  23. Got a quick question... Im using perms in mysql. all works. Groups are in there, my admins have there prefix, perms, etc. The issue is when a new user logins. They are seen as a default user BUT they do not have any perms untill I add them to the PrInheritance by hand/command. Why is this? Do they not automatically have the perms that are assigned to the Default group? I can/shouldnt have to by hand move someone in the the default group in PrInheritance every time.. Thoughts? THANKS ahead of time.

    DB SETUP
    PrWorlds

    Code:
    worldid,worldname
    1,*
    2,world
    
    PrWorldBase
    Code:
    worldid,defaultid
    2,1
    
    PrPermissions
    Code:
    permid,permstring,entryid
    1,PhysicalShop.use,1
    
    PrInheritance
    Code:
    uinheritid,childid ,parentid ,parentorder
    1,2,1,1
    
    PrEntries
    Code:
    entryid,  name ,worldid ,type
    1,Default ,2 ,1
    2,Builder,2,1
    3, JoshP, 2, 0
    
    PrData
    Code:
    dataid, entryid,path,data
    1,1 ,build,true
    1,2 ,build,true
    
     
  24. Offline

    MG127

    what is this shit with tracks for groups. I want just to promote a player into a group i write ... and nothing else!!!
    Guest -> BuilderA
    Guest -> BuilderB
    BuilderA -> BuilderB
    etc and much more complex

    /promote player group (world)
     
  25. Offline

    zenyl

    The plugin works good, but it does not affect the Nether.
    I know, there's a specified Nether folder for every map, but it would ofc be easier just to use the Global permission folders, but they dont work! :(

    Please fix this/help me!
     
  26. Offline

    Nineza

    @MG127 That's what the '/pr Player parents add Group' is used for. You should really read the documentation first, before complaining about features.
     
  27. Offline

    MG127

    hmm ok, i read it but didnt recogniced that its also good for users to promote. but to complete the list of commands, im missing one to remove all groups of a player. it would be easier for a command alias.
     
  28. Offline

    sbeex

    excuse-me but I don't understand how to promote a user into a group...

    (I've seen the doc talking about tracks but don't understand)

    Could someone explain me how to promote a user into my group called "Sherif" ?

    when I use this : /pr Test parents add Sherif
    it say user/group doesn't exist...

    Thank's a lot !
     
  29. Offline

    Silarn

    I've got what seems to me like a fairly significant bug. I realize world-inheritance is a bit dodgy right now and maybe that's all it really is. But it DOES copy permissions, and I can live with that for now even if it means I have to repeat the info section for all of my inheriting worlds.

    However, this has to due with the handling of default groups and build permissions specifically for child worlds via world-inheritance.

    In every groups.yml file for each of the inheriting groups, I have the build: true set under the info section. Thus, it would stand to reason that all groups should have build rights no matter WHAT they are set to. However, when a 'blank' entry is made for a new user, this goes belly-up.

    For my PARENT world (that also inherits from the global settings), these new 'default' users (with no specifically assigned groups) are able to build as they should. However, as soon as they enter one of my child worlds, they are unable to build. When I check for their group, they are correctly assigned as the default group for that world. iChat correctly parses their chat string into the proper format for the default group. They have all of the appropriate permissions for the default group in the child world. But they cannot build.

    The instant I specifically assign these players to the default group (rather that leaving it blank) in ANY of the users.yml files under the global, parent, or child worlds, they suddenly regain build access and everything works great. (Though, as one might guess, if the group is assigned only in the child world users.yml, it only fixes THAT child world. Any other child world will still be broken.) Nothing else changes, they still have the correct permissions, info tags, etc.

    So, without an assigned group, everything is correct except that they don't have build permissions. When specifically assigned to the default group, they properly gain build permissions. This applies only to child worlds using world-inheritance. Parent worlds correctly have build rights.

    You might ask "well, if you figured out a way to get it to work, what exactly is the issue?" The issue is that I don't want to manually assign dozens and dozens of new or low-ranked players on my server to the default rank just to make sure they can actually build in my child worlds.

    ---

    In terms of quality of life, this goes hand in hand with the fact that most plugins wont properly detect what group a player is in unless every single inheriting world ALSO explicitly states their group in the users.yml. Again, permissions copy correctly but no other info seems to translate at all between parent and child. So a mod will have access to all mod commands and permissions, but their chat string will parse as the default group and /who will list them as being in that group.

    So again, you are forced to copy every group assignment into every child world. Which seems to defeat the purpose of inheritance in that it should REDUCE the amount in information that needs to be duplicated.
     
  30. Offline

    Aquadukt

    How is it possible to declarate the regular server commands in permissins?

    In particular "tp" command.
    - 'tp' does not work... ? Thank you!

    Member:
    default: false
    info:
    prefix: '&9'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'tp'
     
  31. Offline

    xTucker1140

    I'm having this problem with Permissions / nSpleef.
    Heres my log:

    [SEVERE] while scanning a simple key
    in "<reader>", line 5, column 1:
    'nSpleef.admin.define'
    ^
    could not found expected ':'
    in "<reader>", line 6, column 1:
    'nSpleef.admin.deleteanygame'
    ^

    http://pastie.org/2100824

    and my permissions files...

    plugins/world/users
    xTeeKay:
    build: true
    inheritance:
    permissions:
    - 'nSpleef.member.creategame'
    - 'nSpleef.member.deletegame'
    - 'nSpleef.member.join'
    - 'nSpleef.member.leave'
    - 'nSpleef.member.list'
    - 'nSpleef.member.wager'
    - 'nSpleef.admin.define'
    - 'nSpleef.admin.deleteanygame'
    - 'nSpleef.admin.deletearena'
    - 'nSpleef.admin.forceready'
    - 'nSpleef.admin.forcejoin'
    - 'nSpleef.admin.forceleave'

    plugins/permissions/worlds/users is the same, too.

    What happened?
     
Thread Status:
Not open for further replies.

Share This Page