Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    Fishingman72

    well here is my globalGroups.yml:

    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    # To make a group inherit the permissions and info nodes from another
    # group, simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # Wildcard Permission settings:
    #
    # You can have wildcard nodes which encompass all nodes that match it.
    # For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    # "modplugin.settings.view", and so on.
    #
    ##
    # A single asterisk means that this user/group has all permissions.
    # - '*'
    ##
    # Negated nodes are created by prefixing a normal node with "-".
    # They prevent less specific wildcard nodes from matching the negated node.
    # For example:
    #
    # permissions:
    # - 'foo.*'
    # - '-foo.bar'
    #
    # In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "foo.bar".
    #
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    ##
    #
    # For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##

    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - 'modplugin.ban'
    - 'modplugin.kick'
    - 'modplugin.unban'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    and heres my globalUsers.yml:

    users:
    TheServerOwner:
    groups:
    - Admins
    permissions:
    FriendA:
    info:
    prefix: '&4[~Alice~]&f'
    groups:
    - Moderator
    permissions:
    FriendB:
    groups:
    - Moderator
    permissions:
    - warpplugin.manage.*
    NewGuy:
    groups:
    - Guest
    Herpina:
    groups:
    - Member
    Derpina:
    groups:
    - Member
    Sir_Josepher:
    permissions:
    groups:
    - Default
    Fishingman71:
    permissions:
    groups:
    - Admin
    and heres my storageconfig.yml is that helps:

    permissions:
    storage:
    type: YAML

    ok well i hope you can help me fix my problem, by the way thanks for the help :)
     
  3. Offline

    Sleaker

    If you're going to break back support with 2.x like you already have... Stop using the same namespace & plugin name. Thank you.
    This is just getting rediculous.
     
  4. Offline

    ACStache

    @Sleaker they've improved upon the functionality (albeit there are issues) and a way to upgrade from 2.x. Also, the original plugin author is still working on it with them, although busy in RL. they're allowed to keep it as is I would think :)
     
  5. Offline

    maniacmusic

    my server somehow depends on a "AssignPermissions" like promotion system...
    Is that possible with the 3.0 provided system? Tracks isn't really what i need...
    Heres a example of my current setting with Permissions 2 and AssignPermissions:
    Code:
            - assignpermissions.add.group.CountOfAsae
            - assignpermissions.add.group.DukeOfAsae
            - assignpermissions.add.group.BaronOfAsae
            - assignpermissions.add.group.AsaeDweller
            - assignpermissions.add.group.AsaeDosser
            - assignpermissions.add.group.Bandit
            - assignpermissions.del.group.CountOfAsae
            - assignpermissions.del.group.DukeOfAsae
            - assignpermissions.del.group.BaronOfAsae
            - assignpermissions.del.group.AsaeDweller
            - assignpermissions.del.group.AsaeDosser
            - assignpermissions.del.group.Bandit
    Short explanation to that; this permissions decide who is able to promote/demote wich group.
    And i need it that way becouse the promotions are playerbased. I dont wanna make a track for each group so the players are able to promote/demote the groups under them, i would need it AssignPermissions style! Is it possible? Or cant player promote themself or others into a higher group even if they have the 'permissions.promote.<track>' node? becouse that would pretty much solve it...
    Hope thats understandable :p
     
  6. Offline

    Sleaker

    That's not the issue. The issue is that it uses all the same namespaces, and now you can't cast P2 and P3 in the same plugin and still compile, or use both P2 and P3 methods to continue supporting players that definitely do not want to upgrade to P3 for very good reasons..
     
  7. Offline

    obscurehero

    A little help?
     
  8. Offline

    blackopsucks

    But all the commands on the 18 pages are functional. I just what them to have like 1 page with 5 commands, thats it :'(

    Maybe it is the Essentials plugins, how do i disable those for default?

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

    Pr0Failure

    There's your problem, you set your permissions into Global. Global permissions are only if you're using a multi-world server for ease of transferring permission files. Copy the contents of your groupsGlobal.yml and usersGlobal.yml into the regular "world" and "world_nether" (if you have nether on) folder into groups/user.yml. The actual "global" yml files do nothing in permissions.
     
  10. Offline

    blackopsucks

    No matter what there is 18 pages of functional commands.
     
  11. Offline

    Pr0Failure

    Uhm, wut?
     
  12. Offline

    reider45

    I tried permissions and put in the correct nodes, etc. and when i try to use simple give (/i) or mywarp (/warp) it says internal error occured when trying to perform this command (im not sure if this will happen with other plugins i have to) but when i uninstall permissions it goes back to normal and i can use them ive been trying this for 3days! and it still doesnt work :/ (below are the users and groups files)
    p.s. the files are spaced correctly! i used notepad++ but the form gets rid of the spaces

    the users file:

    ##
    #
    # User entries are similar in syntax to groups, except that the groups they inherit from are denoted by
    # "groups:", instead of "inheritance:".
    #
    ##
    #
    # Users can have their own permissions, shown by FriendB,
    # and also can have a prefix and suffix of their own, as shown by FriendA.
    #
    ##
    #
    # For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##

    users:
    reider45:
    groups:
    - Admins
    permissions:
    slickfree12:
    groups:
    - Op
    permissions:
    Spartans120:
    groups:
    - Op
    permissions:
    Splattermind:
    groups:
    - Mod
    funnyjosh888:
    groups:
    - Mod
    Emily25:
    groups:
    - Mod


    The groups file:




    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    # To make a group inherit the permissions and info nodes from another
    # group, simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # Wildcard Permission settings:
    #
    # You can have wildcard nodes which encompass all nodes that match it.
    # For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    # "modplugin.settings.view", and so on.
    #
    ##
    # A single asterisk means that this user/group has all permissions.
    # - '*'
    ##
    # Negated nodes are created by prefixing a normal node with "-".
    # They prevent less specific wildcard nodes from matching the negated node.
    # For example:
    #
    # permissions:
    # - 'foo.*'
    # - '-foo.bar'
    #
    # In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "foo.bar".
    #
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    ##
    #
    # For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##

    groups:
    Regular:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'essentials.spawn'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.sign.use.*'
    - 'mywarp.warp.basic.warp'
    - 'mywarp.warp.basic.list'
    - 'essentials.motd'

    Op:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Mod
    permissions:
    - 'jail.openchest'
    - 'superpowers.fly'
    - 'superpowers.use;
    - 'superpowers.infinitehp'
    - 'worldguard.god'
    - 'worldguard.ungod'
    - 'worldguard.locate'
    - 'essentials.sign.*'
    - 'worldguard.reload'
    - 'worldguard.heal.other'
    - 'essentials.jump'
    - 'adminchat.*'
    Mod:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Regular
    permissions:
    - 'minecraft.ban'
    - 'minecraft.kick'
    - 'minecraft.unban'
    - 'simplegive.give.id'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'worldguard.region.addmember'
    - 'worldguard.region.removemember'
    - 'worldguard.heal'
    - 'essentials.time'
    - 'worldedit.history.undo'
    - 'worldedit.region.set'
    - 'worldedit.wand'
    - 'worldedit.superpickaxe'
    - 'adminchat.use'
    God:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    CAN SOMEONE PLEASE HELP ME!!!!!
     
  13. Offline

    pazdowg

    is it possible to change someones group? sry if im a noob
     
  14. Offline

    reider45

    yes so if u wanted to change someone named bob into the group admin... in the users file it wuld be
    bob:
    groups:
    - Admin
    permissions:

    but since the forum screws up the spaces ull have to figure out how to space it... btw use notepad++ it really hlps

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

    locutus

    Feh. REAL programmers use nano.
     
  16. Offline

    Suembeaux

    Okay! After much research upon converting all of my 2.7 to 3.0 stuff and tampering with it for a good couple of hours i finally discovered what is going on...3.1.6 is not allowing me to have any more than 12 plugins including permissions...why is this going on? I kept getting this message when i tried adding anything beyond this limit it is setting for me.
    1. Code:
      java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
              at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:64)
              at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:179)
              at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
              at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
              at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
              at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
              at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
              at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
              at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
      

    Does anybody know how I fix this because although I do not have a lot more plugins I would enjoy adding all the ones I used to use...and yes I have tested if permissions is actually setting a limit for me by removing one plugin and adding a different one, so it is not that the plugins are incompatible, simply that I am not allowed to have any more...WHY WOULD IT DO THIS???
     
  17. Offline

    blackopsucks

    No matter what i do default has pretty much every command. Please help!
     
  18. Offline

    Mr. 47


    Thankyou :D
     
  19. Offline

    ScottSpittle

    how do you add a user to a group while ingame..?? i found NO documentation on this, as groupmanager (simple, easy) is being eliminated im forced to move to this, can someone help please?

    also globals dont work... becuase instead of not finding a user in worldusers.yml and going to globalusers.yml it just creates a new user in worldusers.yml

    I find this plugin way too complicated than is required.
     
  20. Offline

    obscurehero

    THIS is what I'vebeen asking! I'd be interested in an answer too!

    Do I have to install something like permissions plus? I'd rather have that feature incorporated into permissions.
     
  21. Offline

    ScottSpittle

    i just dont understand why there ditching GroupManager when its clearly A LOT simpler to use and functions better..
     
  22. Offline

    Frankester

    Can Anyone Tell Me How To Make This Work On Minecraft 1.7 (Bukkit Build 953)
     
  23. Offline

    Pandaren

    When I copy groups.yml and users.yml from install guide and use nickname in guide, It works.
    But when I change nickname on users.yml and change group name on groups.yml, nobody can do anyting.
    What's the problem?
    On log, It was successfully loaded.
    It's Minecraft Beta 1.7.3 and CraftBukkit 0.0.1 #974
     
  24. Offline

    tr0y

    Does anyone else have random demotions happening to their players?
     
  25. Offline

    Valtos

    Hi

    I try to get a GlobalGroup about API. But it doesn't work.
    I like to add a global Group a User in a World.

    Code:
            final String worldName = player.getWorld().getName();
            final User userObj = Management.permissions.getUserObject(worldName, player.getName());
            if(userObj == null) { return; }
            final Group groupObj = Management.permissions.getGroupObject("", group); // Tried "*", too
            if(groupObj == null) { return; }
            userObj.addParent(groupObj);
    
    How can i get the global group, to add this to the users.yml in the World?

    Thanks a lot.
     
  26. Offline

    barrbossa

    Hey there, everything works but the promote and demote commands.
    Whenever i type them in it basically gives me the following in game: "An internal error has occurred"
    And the following under the server, I did assign tracks as said as well.
    The reading regions is another plugin I have, ignore that.

    Code:
    [INFO] barrbossa [/127.0.0.1:52720] logged in with entity id 58 at ([StartRegion] -46.0625, 69.0, 38.65625)
    2011-07-12 15:01:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(Unknown Source)
        at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
        at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
        at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-07-12 15:01:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(Unknown Source)
        at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
        at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
        at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-07-12 15:02:22 [INFO] reading regions...
    2011-07-12 15:02:22 [INFO] 10 regions read.
    2011-07-12 15:02:23 [INFO] Saved: true
    2011-07-12 15:03:12 [INFO] reading regions...
    2011-07-12 15:03:12 [INFO] 10 regions read.
    2011-07-12 15:03:13 [INFO] Saved: true
    2011-07-12 15:03:34 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(Unknown Source)
        at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
        at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
        at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-07-12 15:04:02 
     
  27. Offline

    ACStache

    what I've noticed a couple people do that allowed them to support both was to add an option in the config file that made it specify which permissions set up to use

    Code:
    #Permissions can be set to OP, Permissions 2, or Permissions 3
    Permissions=Permissions 3
    
    I'm oblivious to what the coding requirements are to do something like this, but this person has it set up as such.
     
  28. Offline

    Frankester

    CAN ANYONE TELL ME HOW TO MAKE IT WORK ON 1.7 MINECRAFT (BUKKIT 953)
     
  29. Offline

    obscurehero

    Make it work? try reading the directions and wiki first. I have no idea what you mean when I don't know what you've tried and what you have that isn't working...try being more vague and a bit more demanding...

    This got lost on the last page!

    Is there anyway to do this in-game without having to ALSO install something like permissionsplus?

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

    XRayted

    I vote for this too if it isn't there yet. Makes it all so much easyer to install/setup the server. As you can make yourselfs an Admin and go from there, for the other 'ranks' of the people. I am at day 4 now on my local server to get this done and sorted :D
     
  31. Offline

    ryladine

    I started working on permissions for a server I work with, I seem to have it all working, but I can't get the promotion commands to work, Ingame or in console. When I try them I get these error messages:


    This one is from being ran from console
    Code:
    [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(Unknown Source)
        at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
        at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
        at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 6 more
    And this one is from being ran ingame
    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(Unknown Source)
        at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
        at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
        at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    I'll admit its probably a simple issue that I could resolve, if I knew what any of these error codes meant :s
     
Thread Status:
Not open for further replies.

Share This Page