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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Joy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The future indeed, let's get some more admins and servers testing this, especially MySQL, for my part ;)

    Good job !
     
    TomThe3rd likes this.
  3. Offline

    Pencil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ZOMGGGG !!!!
    <3 !!! THATS AWESOME...
     
  4. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think my post got buried in that other thread looking for the right way to do this setup:

    1 global user-list with group names which are the same for all worlds, where you add a user in any world they get added to that list.

    Groups (Global) (inherit and change per world)
    - Inherit all primary worlds
    - Real Main world
    |- Inherit to sub world 1
    |- Inherit to sub world 2

    If a new user joins up, I want to be able to do a simple command and add them once to global users and then they get the same grouping "Member' on ALL 6 worlds with whatever I have the permissions I have for member on that world which will be different.
     
  5. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This would be a little complicated, but doable, thanks to jamesg who suggested the same idea. Create 6 groups named "Member in each world. Then, in the global config, add the group "?,Member" to each user. The users will automatically inherit the corresponding Member group in their world.

    Explanation will be added later.
     
  6. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for that little snippet.

    For inheriting on yaml from global users I would?

    Eventually I want a sql setup on this but yaml is fine to start with.

    I know I can

    inheritance:
    - '*,Admin'

    I presume i can also:
    permissions:
    - permission
    -- negative permission

    Or use yaml inheritances If I want the subworlds to stem from the actual main world which stems from global?
     
  7. Offline

    GmK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Cant wait to finally test it - as soon as the plugins all get ready for it ;) Actually have converted all the files already in a secondary server, so am good to go once the plugins use the new settings/files.
     
    Makan747 likes this.
  8. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1. Global permissions are automatically inherited by every entry. So, you don't have to make the subworlds inherit the main world. You can just add main world permissions into the global config and then add exceptions for the subworlds in their own configs.
    2. Yes, negated nodes work that way. Unlike 2.x, they can be wildcards too. Even "-*" works, which negates all permissions.
     
    MineMaster likes this.
  9. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks again.

    What I mean by main world is our planned setup uses a permissions system with individual worlds.

    The main world we know on our server will be one of all the primary worlds that will have 2 subworlds of it.

    The setup consists of taking into account your global files.

    (Global Permissions To)
    Entry world
    Main world ------> Mining World/ Nether World
    Creative world
    Survival world

    Mining and Nether are offshoots of the Main world as sub worlds.

    We call it the Core 3 as they are the core 3 worlds of the primary ones, with all the good stuff like economy, homes, warps etc.

    The other worlds are totally stand alone and will have there own permission setups and are not connected at all to each other apart from the basic permissions like /who etc.

    That's why I cant put the main world permissions in the global groups and kinda need to create inheritance from what is known as the 'main' world to its 2 sub worlds of mining and nether.
     
  10. Offline

    Brvtvs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am really hoping for some more multigroup support, it is so helpful for more advanced setups. I am looking forward to a Roles type plugin for this.
     
  11. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Plugins that don't use group-related methods or prefix/suffix retrieval methods should be fine.
    Ah. Have the mining and nether worlds inherit from the config of the main world. See Storageconfig.yml options for more details on how to set up world inheritance. You can configure exceptions to the main world config in the world's own config.
     
    Revenger likes this.
  12. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    3.0 supports multigroup natively.
     
  13. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks I think that's all the pieces I need to actually try a setup.

    Its been soo confusing as there's been little to no info on doing this stuff (yea I know we are planning one of the advanced setups and we have a good reason too also :D) also I understand you have been busy coding the plugin due to theyeti's arm etc and that alone has been a fantastic effort you have done.

    I may try tonight or when I wake up and give you feedback.

    Hope the sql converter once ready would be able to import all this properly.

    Thanks for the help I really appreciate it as you have everyone inc that other thread to deal with also.
     
  14. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I forgot to ask one thing can I negate the 'build =' permission on inheritance.

    Entry world needs 'build = false' for members while the others are all true.

    Reason is entry world is the admin/mod maintained hub between all worlds.

    Thanks again
     
  15. Offline

    Brvtvs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    By supporting it natively, does that mean it has roles type commands/restrictions? GM supported it natively but there was no way to interface with it besides Roles. In roles, you could set which was the main group, players could join roles themselves, you could set a maximum amount of roles in that type of group, and you could set time limits between switching roles.
     
  16. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Latest permissions 3 error:

    Code (Text):
    1. 2011-05-25 01:39:09 [SEVERE] tried to access class com.nijiko.configuration.NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration initializing Permissions v3.0 (Is it up to date?)
    2. java.lang.IllegalAccessError: tried to access class com.nijiko.configuration.NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration
    3.     at com.nijiko.configuration.NotNullConfiguration.<init>(NotNullConfiguration.java:47)
    4.     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:111)
    5.     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:104)
    6.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    7.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    8.     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    9.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    10.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    doing a /permissions I get another error

    Code (Text):
    1. org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v3.0
    2.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    3.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    4.         at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    5.         at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    6.         at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    7.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    8.         at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    9.         at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    10.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    11.         at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    12.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    13.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    14.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    15. Caused by: java.lang.NullPointerException
    16.         at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:189)
    17.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    18.         ... 12 more
    19.  
    Also I was trying commands like money etc and they were working yet not listed in the permissions why I don't know.

    For inheritance I used

    inheritance:
    - '*,Member'

    Just as you said and the global didn't have economy stuff or even in that world it was in another world though.

    Took the permissions right out of all worlds restarted server I still could use them.

    I don't know if the * in inheritance had something to do with it.
     
  17. Offline

    Roy-Udo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi Guys,
    i'm new using permissions and i have a problem. I hope you can help me with it.

    On my server the default users can built so i set built:true. The problem is, wenn a default user graped a block and placeed the block somewhere the block get placed, but there is a message in the Chat: "You don't have permission to use this!" That shouldn't be like that, right?

    Screen:
    errorminecraftpermission.png

    The default users settings on my server are:
     
  18. Offline

    Jeyge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If they were still able to place the block, then you need to add craftbook.mech.cauldron to their permissions.
     
  19. Offline

    Jeyge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm not sure if this will fix things but I believe you need to put the * and Member on different lines like:
    Code (Text):
    1.  
    2.     inheritance:
    3.         - '*'
    4.         - Member
    5.  
     
  20. Offline

    Roy-Udo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thx, for your fast reply.

    My problem is not, that the users can built, my problem is this message appearing in the Chat. On my server everyone can built, but this message is irritating my users.
    So what can i do?
     
  21. Offline

    Jeyge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I understand that but the reply still stands if the building still happens. If you are running CraftBook, I would just give that permission a try and see if it removes the message. It has helped with a lot of others receiving exactly that message as long as they can still build.
     
  22. Offline

    Solaris765

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    wow i feel special. couldn't figure out why most of my commands weren't working... permissions was updated... fail on my part but anyways this looks great. makes it a ton easier to manage in my opinion
     
  23. Offline

    Joegabe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nothing is working and I'm getting no errors at all to go off of. Here is what I have in the files for my World folder that permissions created.

    Groups.yml:
    Code (Text):
    1. groups:
    2.   NOOB:
    3.     default: true
    4.     info: {prefix: '&b', suffix: '', build: false}
    5.     inheritance: null
    6.     permissions: [essentials.signs.free.use, essentials.signs.disposal.use, essentials.signs.heal.use,
    7.       essentials.depth, essentials.getpos, essentials.compass, essentials.top, essentials.back,
    8.       essentials.back.ondeath, essentials.msg, essentials.afk, essentials.list, essentials.spawn,
    9.       essentials.kit, essentials.kit.starter, epiczones.willhouse.build.deny, epiczones.willhouse.destroy.deny,
    10.       epiczones.joehome.build.deny, epiczones.joehome.destroy.deny, epiczones.jakehome.build.deny,
    11.       epiczones.jakehome.destroy.deny, epiczones.andrewhome.build.deny, epiczones.andrewhome.destroy.deny,
    12.       epiczones.spawn.build.deny, epiczones.spawn.destroy.deny, epiczones.store.build.deny,
    13.       epiczones.store.destroy.deny, epiczones.fstore.build.deny, epiczones.fstore.destroy.deny,
    14.       epiczones.jail.build.deny, epiczones.jail.destroy.deny, epiczones.willmine1.build.deny,
    15.       epiczones.willmine1.destroy.deny, epiczones.joemine.build.deny, epiczones.joemine.destroy.deny,
    16.       epiczones.casino.build.deny, epiczones.casino.destroy.deny, epiczones.joefarm.build.deny,
    17.       epiczones.joefarm.destroy.deny, epiczones.fountain.build.deny, epiczones.fountain.destroy.deny,
    18.       epiczones.andrewfarm.destroy.deny, epiczones.andrewfarm.build.deny, epiczones.willcactus.build.deny,
    19.       epiczones.willcactus.destroy.deny, epiczones.emberhome.destroy.deny, epiczones.emberhome.build.deny,
    20.       epiczones.metrohome.destroy.deny, epiczones.metrohome.build.deny, epiczones.whitehome.build.deny,
    21.       epiczones.whitehome.destroy.deny, epiczones.cargo.build.deny, epiczones.cargo.destroy.deny,
    22.       epiczones.geruhome.build.deny, epiczones.geruhome.destroy.deny, epiczones.metrobro.build.deny,
    23.       epiczones.metrobro.destroy.deny, epiczones.joehill.build.deny, epiczones.joehill.destroy.deny,
    24.       epiczones.target.build.deny, epiczones.target.destroy.deny, wolfnames.set, wolfnames.show,
    25.       epiczones.games.build.deny, epiczones.games.destroy.deny, epiczones.gameport.build.deny,
    26.       epiczones.gameport.destroy.deny, epiczones.dun1.build.deny, epiczones.dun1.destroy.deny,
    27.       epiczones.labydoor.build.deny, epiczones.labydoor.destroy.deny, epiczones.lavamaze.build.deny,
    28.       epiczones.lavamaze.destroy.deny, epiczones.arrow.build.deny, epiczones.arrow.destroy.deny,
    29.       epiczones.adminroom.build.deny, epiczones.adminroom.destroy.deny, mothernature.command.umbrella,
    30.       essentials.rules]
    31.   PLAYER:
    32.     default: false
    33.     info: {prefix: '&3', suffix: '', build: true}
    34.     inheritance: null
    35.     permissions: [essentials.signs.protection.create, essentials.signs.protection.use,
    36.       essentials.signs.free.use, essentials.signs.disposal.use, essentials.signs.heal.use,
    37.       essentials.depth, essentials.getpos, essentials.compass, essentials.top, essentials.back,
    38.       essentials.back.ondeath, essentials.tptoggle, essentials.tpa, essentials.tpaccept,
    39.       essentials.tpdeny, essentials.tp, essentials.tpahere, essentials.tphere, essentials.home,
    40.       essentials.sethome, essentials.warp, essentials.warp.list, essentials.msg, essentials.afk,
    41.       essentials.list, essentials.mail.send, essentials.kit, essentials.kit.farm,
    42.       essentials.kit.landscape, essentials.kit.starter, essentials.spawn, superheat.sh,
    43.       turnstile.use, turnstile.make, turnstile.link, turnstile.owner, localshops.buysell,
    44.       localshops.manage, localshops.manage.owner, localshops.create, localshops.create.free,
    45.       localshops.move, localshops.move.free, localshops.destroy, localshops.reload,
    46.       iConomy.payment, iConomy.rank, iConomy.list, bColoredChat.color, minestalker.use,
    47.       wolfnames.set, wolfnames.show, mothernature.command.umbrella, essentials.rules,
    48.       essentials.warp.aquahouse, essentials.warp.bulletin, essentials.warp.cargo,
    49.       essentials.warp.dispense, essentials.warp.free, essentials.warp.gametime, essentials.warp.harbor,
    50.       essentials.warp.lookout, essentials.warp.minecart, essentials.warp.sand, essentials.warp.skydive,
    51.       essentials.warp.store, essentials.warp.town]
    52.   LABYRINTH:
    53.     default: false
    54.     info: {prefix: '&a', suffix: '', build: true}
    55.     inheritance: null
    56.     permissions: [essentials.warp, essentials.back, turnstile.use]
    57.   CO-OP:
    58.     default: false
    59.     info: {prefix: '&f', suffix: '', build: true}
    60.     inheritance: null
    61.     permissions: [essentials.warp, essentials.back, turnstile.use]
    62.   MOD:
    63.     default: false
    64.     info: {prefix: '&1', suffix: '', build: true}
    65.     inheritance: [Default]
    66.     permissions: [essentials.signs.protection.create, essentials.signs.protection.use,
    67.       essentials.signs.free.use, essentials.signs.disposal.create, essentials.signs.disposal.use,
    68.       essentials.signs.heal.create, essentials.signs.heal.use, essentials.depth, essentials.getpos,
    69.       essentials.compass, essentials.top, essentials.jump, essentials.back, essentials.back.ondeath,
    70.       essentials.tptoggle, essentials.tpa, essentials.tpaccept, essentials.tpdeny,
    71.       essentials.tp, essentials.tpo, essentials.tpahere, essentials.tphere, essentials.tpohere,
    72.       essentials.home, essentials.sethome, essentials.warp, essentials.warp.list,
    73.       essentials.setwarp, essentials.delwarp, essentials.msg, essentials.afk, essentials.rules,
    74.       essentials.motd, essentials.list, essentials.whois, essentials.burn, essentials.ext,
    75.       essentials.mute, essentials.kick, essentials.kit, essentials.tree, essentials.bigtree,
    76.       essentials.spawn, essentials.kit.starter, essentials.kit.farm, essentials.kit.landscape,
    77.       superheat.sh, turnstile.use, turnstile.make, turnstile.link, turnstile.owner,
    78.       localshops.buysell, localshops.manage, localshops.manage.owner, localshops.create,
    79.       localshops.create.free, localshops.move, localshops.move.free, localshops.reload,
    80.       iConomy.payment, iConomy.rank, iConomy.list, bColoredChat.color, essentials.time,
    81.       minestalker.use, wolfnames.set, wolfnames.show, mothernature.command.umbrella,
    82.       essentials.warp.aquahouse, essentials.warp.bulletin, essentials.warp.cargo,
    83.       essentials.warp.dispense, essentials.warp.free, essentials.warp.gametime, essentials.warp.harbor,
    84.       essentials.warp.lookout, essentials.warp.minecart, essentials.warp.sand, essentials.warp.skydive,
    85.       essentials.warp.store, essentials.warp.town, essentials.warp.castle, mothernature.command.sun,
    86.       essentials.togglejail]
    87.   ADMIN:
    88.     default: false
    89.     info: {prefix: '&4', suffix: '', build: true}
    90.     inheritance: null
    91.     permissions: [essentials.signs.protection.create, essentials.signs.protection.use,
    92.       essentials.signs.free.create, essentials.signs.free.use, essentials.signs.disposal.create,
    93.       essentials.signs.disposal.use, essentials.depth, essentials.getpos, essentials.compass,
    94.       essentials.top, essentials.jump, essentials.back, essentials.back.ondeath, essentials.tptoggle,
    95.       essentials.tpa, essentials.tpaccept, essentials.tpdeny, essentials.tp, essentials.tpo,
    96.       essentials.tpahere, essentials.tphere, essentials.tpohere, essentials.home,
    97.       essentials.sethome, essentials.warp, essentials.warp.list, essentials.setwarp,
    98.       essentials.delwarp, essentials.msg, essentials.afk, essentials.rules, essentials.motd,
    99.       essentials.list, essentials.whois, essentials.gc, essentials.spawnmob, essentials.clearinventory,
    100.       essentials.broadcast, essentials.burn, essentials.ext, essentials.ping, essentials.ban,
    101.       essentials.banip, essentials.mute, essentials.kickall, essentials.unban, essentials.unbanip,
    102.       essentials.kit.starter, essentials.kit.landscape, essentials.kit.farm, essentials.time,
    103.       essentials.tree, essentials.bigtree, essentials.heal, superheat.sh, turnstile.use,
    104.       turnstile.make, turnstile.link, turnstile.owner, turnstile.delete, turnstile.price,
    105.       turnstile.admin.list, turnstile.admin.locate, localshops.buysell, localshops.manage,
    106.       localshops.manage.owner, localshops.create, localshops.create.free, localshops.move,
    107.       localshops.move.free, localshops.reload, iConomy.payment, iConomy.rank, iConomy.list,
    108.       iConomy.admin.grant, bColoredChat.color, minestalker.use, minestalker.optin,
    109.       minestalker.optout, wolfnames.set, wolfnames.show, essentials.invsee, essentials.togglejail,
    110.       mothernature.command.umbrella, essentials.warp.aquahouse, essentials.warp.bulletin,
    111.       essentials.warp.cargo, essentials.warp.dispense, essentials.warp.free, essentials.warp.gametime,
    112.       essentials.warp.harbor, essentials.warp.lookout, essentials.warp.minecart, essentials.warp.sand,
    113.       essentials.warp.skydive, essentials.warp.store, essentials.warp.town, essentials.warp.castle,
    114.       mothernature.command.sun, essentials.weather, essentials.spawn]
    115.   KINDA-OWNERISH:
    116.     default: false
    117.     info: {prefix: '&a', suffix: '', build: true}
    118.     inheritance: null
    119.     permissions: [essentials.signs.protection.create, essentials.signs.protection.use,
    120.       essentials.signs.free.create, essentials.signs.free.use, essentials.signs.disposal.create,
    121.       essentials.signs.disposal.use, essentials.depth, essentials.getpos, essentials.compass,
    122.       essentials.top, essentials.jump, essentials.back, essentials.back.ondeath, essentials.tptoggle,
    123.       essentials.tpa, essentials.tpaccept, essentials.tpdeny, essentials.tp, essentials.tpo,
    124.       essentials.tpahere, essentials.tphere, essentials.tpohere, essentials.home,
    125.       essentials.sethome, essentials.warp, essentials.warp.list, essentials.setwarp,
    126.       essentials.delwarp, essentials.msg, essentials.afk, essentials.rules, essentials.motd,
    127.       essentials.list, essentials.whois, essentials.gc, essentials.spawnmob, essentials.clearinventory,
    128.       essentials.broadcast, essentials.burn, essentials.ext, essentials.ping, essentials.ban,
    129.       essentials.banip, essentials.mute, essentials.kickall, essentials.unban, essentials.unbanip,
    130.       essentials.kit.starter, essentials.kit.landscape, essentials.kit.farm, essentials.time,
    131.       essentials.tree, essentials.bigtree, essentials.heal, superheat.sh, turnstile.use,
    132.       turnstile.make, turnstile.link, turnstile.owner, turnstile.delete, turnstile.price,
    133.       turnstile.admin.list, turnstile.admin.locate, localshops.buysell, localshops.manage,
    134.       localshops.manage.owner, localshops.create, localshops.create.free, localshops.move,
    135.       localshops.move.free, localshops.reload, iConomy.payment, iConomy.rank, iConomy.list,
    136.       iConomy.admin.grant, bColoredChat.color, minestalker.use, minestalker.optin,
    137.       minestalker.optout, wolfnames.set, wolfnames.show, essentials.invsee, essentials.togglejail,
    138.       mothernature.command.umbrella, essentials.warp.aquahouse, essentials.warp.bulletin,
    139.       essentials.warp.cargo, essentials.warp.dispense, essentials.warp.free, essentials.warp.gametime,
    140.       essentials.warp.harbor, essentials.warp.lookout, essentials.warp.minecart, essentials.warp.sand,
    141.       essentials.warp.skydive, essentials.warp.store, essentials.warp.town, essentials.warp.castle,
    142.       mothernature.command.sun, yeditor.editor, essentials.item, epiczones.admin,
    143.       essentials.weather]
    144.   THE-OWNER:
    145.     default: false
    146.     info: {prefix: '&2', suffix: '', build: true}
    147.     inheritance: null
    148.     permissions: [essentials.signs.mail.create, essentials.signs.mail.use, essentials.signs.protection.create,
    149.       essentials.signs.protection.use, essentials.signs.protection.override, essentials.signs.free.create,
    150.       essentials.signs.free.use, essentials.signs.disposal.create, essentials.signs.disposal.use,
    151.       essentials.signs.heal.create, essentials.signs.heal.use, essentials.depth, essentials.getpos,
    152.       essentials.compass, essentials.top, essentials.jump, essentials.back, essentials.back.ondeath,
    153.       essentials.tptoggle, essentials.tpa, essentials.tpaccept, essentials.tpdeny,
    154.       essentials.tp, essentials.tpo, essentials.tpahere, essentials.tphere, essentials.tpohere,
    155.       essentials.home, essentials.sethome, essentials.warp, essentials.warp.list,
    156.       essentials.setwarp, essentials.delwarp, essentials.eco, essentials.worth, essentials.sell,
    157.       essentials.balance, essentials.pay, essentials.msg, essentials.afk, essentials.rules,
    158.       essentials.motd, essentials.list, essentials.mail.send, essentials.whois, essentials.essentials,
    159.       essentials.reloadall, essentials.gc, essentials.plugin, essentials.spawnmob,
    160.       essentials.clearinventory, essentials.broadcast, essentials.antioch, essentials.burn,
    161.       essentials.ext, essentials.kill, essentials.ping, essentials.ban, essentials.banip,
    162.       essentials.mute, essentials.kickall, essentials.unban, essentials.unbanip, essentials.togglejail,
    163.       essentials.jail.exempt, essentials.setjail, essentials.give, essentials.item,
    164.       essentials.kit.*, essentials.time, essentials.tree, essentials.bigtree, essentials.god,
    165.       essentials.heal, essentials.spawn, essentials.setspawn, epiczones.admin, epiczones.who,
    166.       epiczones.admin, superheat.sh, chickenBombs, turnstile.use, turnstile.make,
    167.       turnstile.link, turnstile.owner, turnstile.delete, turnstile.price, turnstile.admin.bank,
    168.       turnstile.admin.list, turnstile.admin.locate, turnstile.admin.ignore.price,
    169.       turnstile.admin.ignore.cost, turnstile.admin.ignore.owner, localshops.buysell,
    170.       localshops.manage, localshops.manage.owner, localshops.create, localshops.create.free,
    171.       localshops.move, localshops.move.free, localshops.destroy, localshops.reload,
    172.       localshops.admin, snowballz.aremadebyhand, snowballz.changeblocks, snowballz.dodamage,
    173.       snowballz.putoutfire, iConomy.payment, iConomy.access, iConomy.rank, iConomy.list,
    174.       iConomy.admin.grant, iConomy.admin.set, iConomy.admin.stats, iConomy.admin.reset,
    175.       iConomy.admin.account.create, iConomy.admin.account.remove, bColoredChat.color,
    176.       minestalker.use, minestalker.optin, minestalker.optout, slots.create, slots.remove,
    177.       slots.set, slots.info, slots.save, slots.load, eggplugin, nocheat.notify, dungeongenerator.dungeongenerate,
    178.       wolfnames.set, wolfnames.show, VIP.add, VIP.remove, VIP.enable, VIP.disable,
    179.       VIP.kickToggle, VIP.VIP, essentials.invsee, yeditor.editor, colorme.list, colorme.self,
    180.       colorme.other, colorme.remove, mothernature.command.help, mothernature.command.version,
    181.       mothernature.command.reload, mothernature.command.rain, mothernature.command.thunder,
    182.       mothernature.command.lightning, mothernature.command.sun, mothernature.command.umbrella,
    183.       mothernature.wand, epiczones.admin, epiczones.who, to3.zeus.strike, to3.zeus.multiStrike,
    184.       to3.zeus.strikeandexplode, choptree.chop, essentials.kill, essentials.seen]
    Users.yml:
    Code (Text):
    1. users:
    2.   joegabe:
    3.     groups:
    4.         - THE-OWNER
    5.   mrsippycups:
    6.     groups:
    7.         - MOD
    8.   WhiteaaaasauR:
    9.     groups:
    10.         - ADMIN
    11.   acm09d:
    12.     groups:
    13.          - PLAYER
    14.   alatham:
    15.     groups:
    16.         - PLAYER
    17.   biooml:
    18.     groups:
    19.         - PLAYER
    20.   bambi5511:
    21.     groups:
    22.         - KINDA-OWNERISH
    23.   yankeesown27:
    24.     groups:
    25.         - KINDA-OWNERISH
    26.   Nate_Tauer:
    27.     groups:
    28.         - PLAYER
    29.   Gusman12:
    30.     groups:
    31.         - PLAYER
    32.   Darkman4555:
    33.     groups:
    34.         - PLAYER
    35.   matoro_toa:
    36.     groups:
    37.          - PLAYER
    38.   totalown:
    39.     groups:
    40.         - PLAYER
     
  24. Offline

    Jeyge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you sure Permissions created that file. That sure doesn't look like the file that my copy of 3.0 created.
     
  25. Offline

    Joegabe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I copied my permissions into the folder it created for my world. I copied the groups into groups.yml and my user info in user.yml. Everything else the jar made was blank/empty
     
  26. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    changelog has to be at the end and latest 2 versions cannot be in a spoiler
     
  27. Offline

    fugue2005

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    did the syntax of the groups file change?
    all the files permissions is creating are blank

    should there be anything in the storageconfig.yml file?

    had a blank users file

    my default group is Guest
    i log in for the first time and this is in my users file

    users:
    fugue2005:
    permissions: null
    groups: null

    i used the console and tried
    permissions fugue2005 w:world promote guest
    and got
    Code (Text):
    1. 2011-05-25 15:19:49 [WARNING] Unexpected exception while parsing console command
    2. org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v3.0
    3.     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    4.     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    5.     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
    6.     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
    7.     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
    8.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    9.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    10. Caused by: java.lang.NullPointerException
    11.     at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:768)
    12.     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    13.     ... 6 more
    14.  
    on startup i'm getting
    Code (Text):
    1. 2011-05-25 15:23:47 [SEVERE] Error occurred while enabling PermissionsPlus v2.1 (Is it up to date?): directory
    2. java.lang.NoSuchFieldError: directory
    3.     at net.codej.permissionsplus.PermissionsPlus.getPath(PermissionsPlus.java:211)
    4.     at net.codej.permissionsplus.PermissionsPlus.loadPermissionsAddon(PermissionsPlus.java:189)
    5.     at net.codej.permissionsplus.PermissionsPlus.onEnable(PermissionsPlus.java:76)
    6.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    7.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    8.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    9.     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    10.     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    11.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    12.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    13.     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    14.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    15.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    and on shutdown i'm getting

    Code (Text):
    1. 2011-05-25 15:24:08 [SEVERE] Error occurred while disabling Permissions v3.0 (Is it up to date?): null
    2. java.lang.NullPointerException
    3.     at com.nijiko.data.SqlUserStorage.close(SqlUserStorage.java:432)
    4.     at com.nijiko.data.SqlStorage.closeAll(SqlStorage.java:313)
    5.     at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:111)
    6.     at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
    7.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    8.     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
    9.     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
    10.     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
    11.     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
    12.     at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
    13.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
    14.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  28. Offline

    Jeyge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm not sure what it could be. I've used your files and added myself to most of your groups and was still able to build/break and use the commands. Is it not working for just some people or everyone? Might be worth trying to re-download 3.0 to see if there was an update.

    Oh, one thing that I saw that was wrong but wasn't causing problems was that MOD is inheriting from Default but you don't have a Default.
     
  29. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Jeyge, that's how the new cross-world inheritance works. "*" denotes the global config world.
    You have to put the economy nodes in the global Member group.

    globalGroups.yml
    Code (Text):
    1.  
    2. groups:
    3.     Members:
    4.         permissions:
    5.             - "economy.basic.*"
    6.  
    globalUsers.yml
    Code (Text):
    1.  
    2. users:
    3.     AMemeber:
    4.         groups:
    5.             - Members
    6.     AnotherMember:
    7.         groups:
    8.             - Members
    9.  
    Replace "economy.basic.*" with the appropriate economy nodes.
     
  30. Offline

    rcjrrjcr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    https://github.com/TheYeti/Permissions/wiki/Transitioning-from-2.x-to-3.0

    You need to define tracks before you use them, but the NPE was because of me forgetting to return a value for a special case. Will fix these two bugs in the next update.
    PermissionsPlus doesn't work with 3.0. And 3.0 already has in-game commands.
     
    xkingxdreadx likes this.
Thread Status:
Not open for further replies.

Share This Page