[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)




    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.






    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.)


    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]

    [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





    • 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










    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

    This post has been edited 1 times. It was last edited by MonsieurApple Aug 6, 2011.
  2.  
  3. Offline

    Rocky


    Im a bit curious, as i can't get the promoting correct in my head. You use.


    /pr (user) w:(world) promote (Group Currently in) (Group TO be in) -- ?

    im so utterly confused with this Tracks shit.
  4. Offline

    Jeyge

    I'm trying to figure it out myself. I think I have the tracks stuff down now but one error is preventing me from posting what I have. As for the command, what you posted is correct with the exception that "(Group TO be in)" will actually be the track.
  5. Offline

    Ratchet

    oh! thanks
  6. Offline

    Rocky

    Yeah, but you specify the track within the permissions node correct?

    the permissions.track.(name) - thts probably not the exact node, but just an example.

    Because, i made all the tracks, the same names as the group prefixes. And it just says, that track doesn't exist on that world. BUt no console errors.
  7. Offline

    Jeyge

    You will need the permissions for it and what you have there is correct. I've just been using the console to test on mine for now so I haven't needed any yet.

    As for the actual nodes, they come at the end of the groups.yml file. You will need a "tracks:" node at the same level as "groups:".
  8. Offline

    vfern_fern

    Thanks Jeyge ^.^
  9. Offline

    Rocky

    Shit are you serious? could you post an example of your configuration perhaps?
  10. Offline

    Jeyge

    I haven't quite figured it all out yet but I think it will be something like this:
    Code:
    tracks:
        TrackOne:
            - Group1
            - Group3
            - Group5
        TrackTwo:
            - Group1
            - Group2
            - Group4
    
    Once the bug I reported earlier is fixed, I'll be able to finish up my testing and post the whole results.
  11. Offline

    ARasputin

    I am getting the following error when I shut down my server:

    Code:
    2011-05-26 23:06:09 [SEVERE] Error occurred while disabling Permissions v3.0.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:112)
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    

    and this error whenever I try to issue a command, though I suspect it is commandbook giving the error, I can't make heads or tails of it and it says "permissions" a lot...:

    Code:
    2011-05-26 23:05:52 [SEVERE] java.lang.NullPointerException
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.cache(Entry.java:98)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.has(Entry.java:77)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:61)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:442)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.checkPermission(CommandBookPlugin.java:457)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.commands.GeneralCommands.time(GeneralCommands.java:224)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:241)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    


    Here are my YAML files just in case you need them to look over:

    globalGroups.yml

    Code:
    groups:
        Newbies:
            default: true
            info:
                prefix: '&f[&dNewbie&f] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.kit.list'
                - 'commandbook.kit.kits.starter'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'craftbook.mech.cauldron'
                - 'worldedit.navigation.unstuck'
        Members:
            default: false
            info:
                prefix: '&f[&6Member&f] '
                suffix: ''
                build: true
            inheritance:
                - Newbies
            permissions:
                - 'citizens.basic.create'
                - 'citizens.basic.settext'
                - 'citizens.basic.help'
                - 'citizens.general.setname'
                - 'citizens.general.remove.singular'
                - 'citizens.help'
                - 'citizens.general.color'
                - 'citizens.general.colour'
                - 'citizens.general.setitem'
                - 'citizens.general.move'
                - 'citizens.general.getid'
                - 'citizens.general.select'
                - 'citizens.general.talkwhenclose'
                - 'citizens.general.lookatplayers'
                - 'citizens.trader.help'
                - 'citizens.trader.create'
                - 'citizens.trader.stock'
                - 'citizens.trader.viewmoney'
                - 'citizens.trader.balance'
                - 'citizens.blacksmith.repair'
                - 'citizens.healer.help'
                - 'citizens.heal.status'
                - 'citizens.wizard.help'
                - 'citizens.wizard.locations'
                - 'citizens.wizard.useteleport'
                - 'commandbook.spawn'
                - 'commandbook.return'
                - 'commandbook.call'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.clear'
                - 'commandbook.whois'
                - 'commandbook.whois.other'
                - 'craftbook.mech.*'
                - 'craftbook.ic.safe'
                - 'herochat.create'
                - 'herochat.color'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.bank.*'
                - 'myhome.home.basic.*'
                - 'myhome.home.soc.*'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater'
                - 'worldguard.slay'
                - 'worldguard.locate'
                - 'worldguard.region.claim'
                - 'worldguard.region.info'
                - 'logblock.lookup'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.me'
                - 'logblock.area'
                - 'lockchest.*'
        Moderators:
            default: false
            info:
                prefix: '&f[&bMod&f] '
                suffix: ''
                build: true
            inheritance:
                - Members
            permissions:
                - 'citizens.healer.create'
                - 'citizens.wizard.create'
                - 'citizens.blacksmith.create'
                - 'citizens.wizard.addloc'
                - 'citizens.wizard.removeloc'
                - 'citizens.wizard.changeteleport'
                - 'citizens.healer.level'
                - 'citizens.general.tp'
                - 'commandbook.give'
                - 'commandbook.more'
                - 'commandbook.spawnmob'
                - 'commandbook.teleport'
                - 'commandbook.mute'
                - 'commandbook.clear.other'
                - 'commandbook.kick'
                - 'commandbook.bans.*'
                - 'craftbook.ic.*'
                - 'worldedit.brush.*'
                - 'worldedit.clipboard.*'
                - 'worldedit.navigation.*'
                - 'worldedit.history.*'
                - 'worldedit.region.*'
                - 'worldedit.regen'
                - 'worldedit.scripting.*'
                - 'worldedit.selection.*'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.analysis.*'
                - 'worldedit.snapshots.*'
                - 'worldedit.superpickaxe'
                - 'worldedit.tool.info'
                - 'worldedit.fill'
                - 'worldedit.extinguish'
                - 'worldedit.remove'
                - 'worldguard.heal'
                - 'worldguard.region.define'
                - 'worldguard.region.redefine'
                - 'worldguard.region.select'
                - 'worldguard.region.list'
                - 'worldguard.region.flag'
                - 'worldguard.region.setpriority'
                - 'worldguard.region.setparent'
                - 'worldguard.region.remove'
                - 'worldguard.region.addmember'
                - 'worldguard.region.addowner'
                - 'worldguard.region.removemember'
                - 'worldguard.removeowner'
                - 'logblock.rollback'
                - 'backup.canbackup'
        SemiAdmins:
            default: false
            info:
                prefix: '&f[&cSemiAdmin&f] '
                suffix: ''
                build: true
            inheritance:
                - Moderators
            permissions:
                - 'citizens.admin.unlimitedstock'
                - 'commandbook.give.*'
                - 'commandbook.more.infinite'
                - 'commandbook.intro'
                - 'commandbook.midi'
                - 'commandbook.kit.kits.*'
                - 'commandbook.setspawn'
                - 'commandbook.time'
                - 'commandbook.spawnmob.more'
                - 'commandbook.weather'
                - 'commandbook.weather.thunder'
                - 'commandbook.teleport.other'
                - 'commandbook.broadcast'
                - 'commandbook.reload'
                - 'herochat.admin'
                - 'iConomy.admin.*'
                - 'myhome.admin'
                - 'myhome.convert'
                - 'worldedit.generation.*'
                - 'worldedit.chunkinfo'
                - 'worldedit.listchunks'
                - 'worldedit.delchunks'
                - 'worldedit.superpickaxe.*'
                - 'worldedit.tool.*'
                - 'worldedit.fill.recursive'
                - 'worldedit.drain'
                - 'worldedit.removeabove'
                - 'worldedit.removebelow'
                - 'worldedit.removenear'
                - 'worldedit.replacenear'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.butcher'
                - 'worldedit.reload'
                - 'worldguard.god'
                - 'worldguard.god.other'
                - 'worldguard.heal.other'
                - 'worldguard.slay.other'
                - 'worldguard.fire-toggle.stop'
                - 'worldguard.reload'
                - 'worldguard.report'
                - 'xauth.admin.*'
        Admins:
            default: false
            info:
                prefix: '&f[&4Admin&f] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-xauth.exclude'
    


    globalUsers.yml

    Code:
    users:
        ARasputin:
            groups:
                - Admins
            permissions:
        khadji:
            groups:
                - SemiAdmins
            permissions:
        Mr_Cotton_Candy:
            groups:
                - Moderators
            permissions:
        candy_commando:
            groups:
                - Moderators
            permissions:
        cymi:
            groups:
                - Newbies
            permissions:
        caelan:
            groups:
                - Newbies
            permissions:
        ilovefred:
            groups:
                - Members
            permissions:
        ixitacosixi:
            groups:
                - Members
            permissions:
        sleeping_panda:
            groups:
                - Members
            permissions:
        deitylink:
            groups:
                - Members
            permissions:


    storageconfig.yml

    Code:
    permissions:
        storage:
            type: YAML


    Also, I would like to use MySQL storage but I haven't heard back a reply on my previous post on page 3.
  12. Offline

    Rocky

    Yeah , i think that you guys need to get some better documentation after those bugfixes. A forum page full of, (HOW TO DO...) is annoying.
  13. Offline

    GmK

    dev.bukkit.org profile:
    GmK1
    My Plugins
    It seems like globalgroups/users isnt used yet (or at least not in a way I'd expect it to) - you currently (in my case) still need the groups and users YAMLs in their respective world folder.

    I dont have any problem with Permissions 3.0.4 so far, except that I cant get the global yamls to work. Am still experimenting with storageconfigs copy functions and the tracks. But the basic functionality works splendid.
  14. Offline

    vfern_fern

    Hey everybody, can anyone tell me if this is permissions or ichat doing this:

    Code:
    01:14:36 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.cache(Entry.java:98)
        at com.nijiko.permissions.Entry.has(Entry.java:91)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Happened when a player logged in. I am on cbukkit 803, Permissions 3.0.4, Essentials. 2.2.22, iChat 2.3.0

    This error occurs when a player sends text:

    Code:
    01:30:31 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.cache(Entry.java:98)
        at com.nijiko.permissions.Entry.has(Entry.java:77)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Thanks guys ^.^
  15. Offline

    Revenger

    You have a error when permissions get disabled.

    Code:
    2011-05-27 20:29:32 [SEVERE] Error occurred while disabling Permissions v3.0.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:112)
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
  16. Offline

    rcjrrjcr

    3.0.5 released. This should fix the cache NPEs everyone's been getting, and quoted worlds.
  17. Offline

    Revenger

    Permissions 3.04 and 3.05 have this error 3.03 doesn't.

    Code:
    2011-05-27 20:40:37 [SEVERE] Could not pass event PLAYER_JOIN to MultiInv
    java.lang.StackOverflowError
        at java.util.regex.Pattern.atom(Pattern.java:1969)
        at java.util.regex.Pattern.sequence(Pattern.java:1851)
        at java.util.regex.Pattern.expr(Pattern.java:1769)
        at java.util.regex.Pattern.compile(Pattern.java:1477)
        at java.util.regex.Pattern.<init>(Pattern.java:1150)
        at java.util.regex.Pattern.compile(Pattern.java:840)
        at java.lang.String.split(String.java:2304)
        at java.lang.String.split(String.java:2346)
        at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:41)
        at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:232)
        at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:256)
        at com.nijiko.data.YamlGroupStorage.getParents(YamlGroupStorage.java:52)
        at com.nijiko.permissions.Group.getRawParents(Group.java:67)
        at com.nijiko.permissions.Entry.getParents(Entry.java:168)
        at com.nijiko.permissions.Entry.getParents(Entry.java:164)
        at com.nijiko.permissions.Entry.has(Entry.java:81)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
    Code:
    2011-05-27 20:40:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v3.0.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.StackOverflowError
        at java.util.regex.Pattern.atom(Pattern.java:1969)
        at java.util.regex.Pattern.sequence(Pattern.java:1851)
        at java.util.regex.Pattern.expr(Pattern.java:1769)
        at java.util.regex.Pattern.compile(Pattern.java:1477)
        at java.util.regex.Pattern.<init>(Pattern.java:1150)
        at java.util.regex.Pattern.compile(Pattern.java:840)
        at java.lang.String.split(String.java:2304)
        at java.lang.String.split(String.java:2346)
        at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:41)
        at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:232)
        at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:256)
        at com.nijiko.data.YamlGroupStorage.getPermissions(YamlGroupStorage.java:41)
        at com.nijiko.permissions.Group.getPermissions(Group.java:62)
        at com.nijiko.permissions.Entry.has(Entry.java:73)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
    
    at com.nijiko.permissions.Entry.has(Entry.java:82)

    Is repeated constantly in the log and console over and over.

    With permissions 3.0.5 cant even stop the server in ubuntu I need to manually kill the process.
  18. Offline

    rcjrrjcr

    It seems like you have cyclic inheritance in your config (i.e. A group being a parent of itself directly/indirectly) or an extremely long inheritance chain that your JVM can't handle, but that's doubtful, considering only 5 recursion levels were reached. I'll add back the checks to stop the infinite recursion.

    Code:
    public void work() {
        try {
            work();
        } catch (StackOverflowError e) {
            work();
        }
    }
  19. Offline

    Revenger

    My global groups is setup standard.

    Global users and groups is how you mentioned to set them up.

    Global users have.

    Code:
    users:
        drguild:
            permissions:
            groups:
            - '?,Member'
    World groups have.

    Code:
        Member:
            info:
                build: true
            inheritance:
            - '*,Member'
            permissions:
    
  20. Offline

    desht

    dev.bukkit.org profile:
    desht
    My Plugins
    Something screwy going on with 3.0.5. Here's a tiny test server with just one world, the default:

    Code:
    12:44:03 [INFO] Starting minecraft server version Beta 1.5_02
    12:44:03 [INFO] Loading properties
    12:44:03 [INFO] Starting Minecraft server on *:25565
    12:44:03 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-753-g34e310c-b803jnks (MC: 1.5_02)
    12:44:03 [INFO] Preparing level "world"
    12:44:03 [INFO] Preparing start region
    12:44:05 [INFO] [Permissions] (Yeti) was initialized.
    12:44:05 [INFO] [Permissions] version [3.0.5] (Yeti)  loaded
    12:44:05 [INFO] Done (0.109s)! For help, type "help" or "?"
    >pr -list worlds
    12:44:09 [INFO] [Permissions] Loaded worlds: * ,world
    >pr -list groups world
    12:44:13 [INFO] [Permissions] Groups: Default, Admin, Moderator
    >pr g:Default w:world has xxx
    12:44:22 [INFO] [Permissions] User/Group does not exist.
    The output from "pr -list worlds" looks odd - is that "* " supposed to be there?

    And then although "pr -list groups world" shows the three groups I have defined in world/groups.yml, the next command says that the group doesn't exist?
  21. Offline

    vfern_fern

    Were u talking to me? So then what do I do?
  22. Offline

    FlawlezZ

    Is there any command like this
    /groupset [name] [group] [world]
    promote & demote are kind of big shit. ^^
  23. Offline

    Maxis010

  24. Offline

    Revenger

    I was talking to the dev.
  25. Offline

    FlawlezZ

    yntax: /permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands promotes the user along the specified parent's track.
    Syntax: /permissions <target> (w:<world>) demote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands demotes the user along the specified parent's track.

    I only find this and this is unnecessary, because I am not looking for promote or demote commands!
  26. Offline

    desht

    dev.bukkit.org profile:
    desht
    My Plugins
    Looks like /pr user w:world parents add group does what you want, though I haven't been able to test it yet. Bear in mind users can be in multiple groups so you might also need to remove the user from other groups depending on your setup.
  27. Offline

    ARasputin

    I see, thank you so much.
  28. Offline

    joebmxx

    when i use the command "/permissions pixelguy w:SERVER promote Admins"

    it says no such group? do you know why this is?

    heres my permissions group file set up:

    Plugin:
    permissions:
    system: default
    Default:
    default: true
    info:
    prefix: 'Resident'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.signs.mail.use'
    - 'essentials.msg'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.warp.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.signs.balance.use'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.mail.send'
    - 'essentials.mail'
    - 'essentials.helpop'
    - 'essentials.nick'
    - 'essentials.realname'
    - 'essentials.worth'
    - 'essentials.sell'
    - 'essentials.pay'
    - 'essentials.msg'
    - 'essentials.suicide'
    - 'essentials.spawn'
    - 'essentials.list'
    - 'essentials.afk'
    - 'essentials.portal'
    Moderator:
    default: false
    info:
    prefix: 'Mod'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.signs.balance.use'
    - 'essentials.tpo'
    - 'essentials.tpohere'
    - 'essentials.tpall'
    - 'essentials.clearinventory'
    - 'essentials.clearinventory.others'
    - 'essentials.broadcast'
    - 'essentials.ban'
    - 'essentials.tempban'
    - 'essentials.mute'
    - 'essentials.kick'
    - 'essentials.togglejail'
    - 'essentials.jails'
    - 'essentials.invsee'
    - 'essentials.give'
    - 'essentials.item'
    - 'essentials.unlimited'
    - 'essentials.time'
    - 'essentials.tree'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.heal.others'
    - 'essentials.weather'
    - 'essentials.thunder'
    - 'essentials.lightning'
    Admins:
    default: false
    info:
    prefix: 'Admin'
    suffix: ''
    build: true
    inheritance:
    - moderator
    - default
    permissions:
    - '*'
    - 'essentials.setspawn'
    - 'groupmanager.manuadd'
    - 'groupmanager.manudel'
    - 'groupmanager.manpromote'
    - 'groupmanager.mandemote'
    - 'groupmanager.manwhois'
    - 'essentials.chat.color'
    - 'essentials.setspawn'
    - 'essentials.powertool'
    - 'essentials.heal.cooldown.bypass'
    - 'essentials.god.others'
    - 'essentials.bigtree'
    - 'essentials.unlimited'
    - 'essentials.setjail'
    - 'essentials.deljail'
    - 'essentials.setjail'
    - 'essentials.unbanip'
    - 'essentials.unban'
    - 'essentials.backup'
    - 'essentials.kill'
    - 'essentials.ext'
    - 'essentials.burn'
    - 'essentials.antioch'
    - 'essentials.spawnmob'
    - 'essentials.plugin'
    - 'essentials.gc'
    - 'essentials.reloadall'
    - 'essentials.essentials'
    - 'essentials.seen'
    - 'essentials.whois'
    - 'essentials.motd'
    - 'essentials.info'
    - 'essentials.setworth'
    - 'essentials.eco'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    - 'essentials.warp.otherplayers'
    - 'essentials.warp.[warpname]'
    - 'essentials.world'
    - 'essentials.top'
    - 'essentials.compass'
    - 'essentials.getpos'
    - 'essentials.depth'
    - 'essentials.signs.trade.create'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.sell.create'
    - 'essentials.signs.balance.create'
    - 'essentials.signs.warp.create'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.disposal.create'
    - 'essentials.signs.free.create'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.override'
    - 'essentials.signs.mail.create'
    - 'essentials.help'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.heal'
    - 'worldguard.heal.other'
    - 'worldguard.locate'
    - 'worldguard.stack'
    - 'worldguard.region.define'
    - 'worldguard.region.redefine'
    - 'worldguard.region.claim'
    - 'worldguard.region.select'
    - 'worldguard.region.info'
    - 'worldguard.region.list'
    - 'worldguard.region.flag'
    - 'worldguard.region.setpriority'
    - 'worldguard.region.setparent'
    - 'worldguard.region.remove'
    - 'worldguard.region.addmember'
    - 'worldguard.region.addowner'
    - 'worldguard.region.removemember'
    - 'worldguard.region.removeowner'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.reload'
    - 'magiccarpet.mc'
    - 'magiccarpet.ml'
    - 'worldedit.brush.sphere'
    - 'worldedit.brush.cylinder'
    - 'worldedit.brush.clipboard'
    - 'worldedit.brush.smooth'
    - 'worldedit.brush.ex'
    - 'worldedit.chunkinfo'
    - 'worldedit.listchunks'
    - 'worldedit.delchunks'
    - 'worldedit.clipboard.copy'
    - 'worldedit.clipboard.cut'
    - 'worldedit.clipboard.paste'
    - 'worldedit.clipboard.rotate'
    - 'worldedit.clipboard.flip'
    - 'worldedit.clipboard.load'
    - 'worldedit.clipboard.save'
    - 'worldedit.clipboard.clear'
    - 'worldedit.generation.cylinder'
    - 'worldedit.limit'
    - 'worldedit.generation.sphere'
    - 'worldedit.generation.forest'
    - 'worldedit.generation.pumpkins'
    - 'worldedit.history.undo'
    - 'worldedit.history.redo'
    - 'worldedit.history.clear'
    - 'worldedit.navigation.unstuck'
    - 'worldedit.navigation.ascend'
    - 'worldedit.navigation.descend'
    - 'worldedit.navigation.ceiling'
    - 'worldedit.navigation.thru'
    - 'worldedit.navigation.jumpto'
    - 'worldedit.navigation.up'
    - 'worldedit.region.set'
    - 'worldedit.region.replace'
    - 'worldedit.region.overlay'
    - 'worldedit.region.faces'
    - 'worldedit.region.smooth'
    - 'worldedit.region.move'
    - 'worldedit.region.stack'
    - 'worldedit.regen'
    - 'worldedit.scripting.execute'
    - 'worldedit.selection.pos'
    - 'worldedit.selection.hpos'
    - 'worldedit.selection.chunk'
    - 'worldedit.wand'
    - 'worldedit.wand.toggle'
    - 'worldedit.selection.expand'
    - 'worldedit.selection.contract'
    - 'worldedit.selection.shift'
    - 'worldedit.selection.outset'
    - 'worldedit.selection.inset'
    - 'worldedit.selection.size'
    - 'worldedit.analysis.count'
    - 'worldedit.analysis.distr'
    - 'worldedit.snapshots.list'
    - 'worldedit.snapshots.restore'
    - 'worldedit.superpickaxe'
    - 'worldedit.superpickaxe.area'
    - 'worldedit.superpickaxe.recursive'
    - 'worldedit.tool.info'
    - 'worldedit.tool.tree'
    - 'worldedit.tool.replacer'
    - 'worldedit.tool.data-cycler'
    - 'worldedit.brush.options.mask'
    - 'worldedit.brush.options.material'
    - 'worldedit.brush.options.size'
    - 'worldedit.fill'
    - 'worldedit.fill.recursive'
    - 'worldedit.drain'
    - 'worldedit.fixlava'
    - 'worldedit.fixwater'
    - 'worldedit.removeabove'
    - 'worldedit.removebelow'
    - 'worldedit.removenear'
    - 'worldedit.replacenear'
    - 'worldedit.snow'
    - 'worldedit.thaw'
    - 'worldedit.extinguish'
    - 'worldedit.butcher'
    - 'worldedit.remove'
    - 'worldedit.reload'
  29. Offline

    redworld2

    I have a question. So I put all my groups, prefixes, permissions and everything into the globalGroups.yml in my permissions folder which is of course located in my plugins folder. My questions is, do I have to put all of that info into my world folder (name of my world) or will the one I just put in do it. I can't try it out since bukkit hasn't gotten a 1.6 stable build yet. Also, can someone explain to me how the new promotion/demotion works but also what the storageconfig.yml is? I have been using Groupmanager so this is a bit different. Thanks
  30. Offline

    Jeyge

    For anyone looking for information about Tracks, here is what I have come up with so far. The majority of the changes will come in your groups.yml files in the form of an additional root node called tracks.

    groups.yml with tracks
    Code:
    groups:
        Guest:
            permissions: null
            inheritance: null
        Builder:
            permissions: null
            inheritance: null
        SuperBuilder:
            permissions: null
            inheritance: null
        Donor1:
            permissions: null
            inheritance: null
        Donor2:
            permissions: null
            inheritance: null
        MiniModerator:
            permissions: null
            inheritance: null
        Moderator:
            permissions: null
            inheritance: null
        Admin:
            permissions: null
            inheritance: null
        SuperAdmin:
            permissions: null
            inheritance: null
    tracks:
        BuilderTrack:
        - Guest
        - Builder
        - SuperBuilder
        - MiniModerator
        DonorTrack:
        - Guest
        - Builder
        - SuperBuilder
        - Donor1
        - Donor2
        - MiniModerator
        AdminTrack:
        - MiniModerator
        - Moderator
        - Admin
        - SuperAdmin
    

    Once you have your tracks set up in your file, you will then use the "/permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>" command to promote your user. Here is the actual command I was testing with - "permissions Jeyge w:TestWorld promote Guest w:TestWorld BuilderTrack".

    I hope this helps clear up some of the confusion about the tracks.

    BTW - Demote isn't working right now but you should be able to replace promote with demote to demote them along the same tracks.
    ricande and Maxis010 like this.
  31. Offline

    FlawlezZ

    Worked. But my users do not have any rights. They can not use for example /sethome even though it is written in the text data.
  32. Offline

    vfern_fern

    I want to know as well~ What are these new .yml texts for? I explain more in my reply.

    Just a little update, when I did update everything got fixed. I got my groups back, I was opped, but I noticed a few things an error in the nether.

    First thing I noticed... I now have a new map folder called New World_nether... New World is the name of my original map, and I already had a nether folder called 'nether'. Idk if permissions did this or it was because we finally built a nether portal and stopped using /world.

    Second thing I noticed, when I went into the nether I could not place any torches or blocks and it comes up with this error:

    Code:
    06:52:26 [SEVERE] java.lang.NullPointerException
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    06:52:26 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    06:52:26 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    06:52:26 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    06:52:26 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    06:52:26 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    06:52:26 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    06:52:26 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    06:52:26 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    06:52:26 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    06:52:26 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    06:52:26 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    06:52:26 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    06:52:26 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    06:52:26 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    06:52:35 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.has(Entry.java:85)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:288)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:270)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    06:52:35 [INFO] <?cvfern005?f> hello
    06:52:44 [SEVERE] java.lang.NullPointerException
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    06:52:44 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    06:52:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    06:52:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    06:52:44 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    06:52:44 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    06:52:44 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    06:52:44 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    06:52:44 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    06:52:44 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    06:52:44 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    06:52:44 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    06:52:44 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    06:52:44 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    06:52:44 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >
    
    Third thing I noticed, there is now a nether folder in my plugins/Permissions directory(? what is the right term please) the groups.yml is blank and the users.yml says my permissions are null and groups null, so I am guess that is why i can't place anything. Do i just copy and paste my other info into those?

    Also what is the globalgroups.yml, globalusers.yml and storageconfig.yml used for?

    Thanks boys/girls!
    xSn4k3x likes this.
Thread Status:
Not open for further replies.

Share This Page