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. Oh sorry you're right ..
    I've delete Groupmanager and GroupBridge and it works
    I'm so grateful :)
     
  3. Offline

    Fluff

    Good grief, what a mess. The guide on how to convert 2.x to 3.x must be missing a step, and I have no idea what it is. I've got no errors in my server log, and both my users.yml and groups.yml are in the correct directory and valid according to some online yaml validator. However, I don't have access to any commands.

    [rant]
    Why in the world would you release a plugin as critical to servers as Permissions that includes breaking changes and not at least attempt to import user information from the old version? Also, creating empty files in the Permissions directory is not useful at all. If you weren't going to put any default information in there, then don't create them at all.
    [/rant]

    EDIT: Bah, I found it. So now permission nodes need quotes again? Awesome, I'm so not looking forward to going back through the users and groups on the main server and adding all those again.
     

    Attached Files:

    Mighty Mackinac likes this.
  4. Sorry, i have more problems..
    I was wrong it doesn't works at all
    It only works if I op the players but if they are in Moderator group they still don't have permissions for anything ..
    In the console are no errors?

    whats the problem?
    And whats the storageconfig.yml for?
     
  5. Offline

    Jeyge

    You say they don't have permissions for anything but is it really anything or are they trying something like /give and /help? Post a few of the commands they can't do and who they are in the file and I'll test it out on my test server.
     
  6. same problem

    No they even can't use commands like help or warp even if they don't are op's

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

    Tealk

    thank you
     
  8. Offline

    Jeyge

    They shouldn't. Which node did you find that requires quotes?
     
  9. Offline

    Fluff

    All the ones with a wildcard. Otherwise, those permissions didn't work. The permissions that didn't have wildcards worked fine without quotes.

    I tried to add * permissions to myself with - * in my user block. Permissions 3.0.6 threw errors. I changed it to - '*' and it was fine. That's when I tried quotes around all the other wildcard permissions. Problem solved, albeit annoyingly. Server log error from - * is below.

    Server Log Error (open)

    2011-05-29 11:40:13 [SEVERE] while scanning an alias
    in "<reader>", line 7, column 15:
    - *
    ^
    expected alphabetic or numeric character, but found but found
    in "<reader>", line 7, column 16:
    - *
    ^

    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1156)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:782)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:313)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-05-29 11:40:13 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-05-29 11:40:13 [SEVERE] at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:192)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:86)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:83)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:75)
    2011-05-29 11:40:13 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularControl.java:96)
    2011-05-29 11:40:13 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:161)
    2011-05-29 11:40:13 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:118)
    2011-05-29 11:40:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:104)
    2011-05-29 11:40:13 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    2011-05-29 11:40:13 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    2011-05-29 11:40:13 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    2011-05-29 11:40:13 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    2011-05-29 11:40:13 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 11:40:13 [SEVERE] [Permissions] Unable to load permission data.
    2011-05-29 11:40:13 [INFO] [Permissions] Shutting down Permissions due to error(s).
     
  10. Offline

    Jeyge

    A couple more things I see going back thru your log. You are running an unsupported 1.6 version but on top of that, you are running a really unsupported 1.6.3 version. 812, 814 and 815 are the version that were reported to not cause as many problems. You are also running an unsupported version of Essentials for 1.6. They are one of the few plugins out there actively doing a 1.6 version. I would update to 2.3. I would fix those things first and then see if it works better but understand that /help isn't working because you didn't actually give anyone permissions to help.

    That's very strange. I knew * still required it but not any of the other permissions and I've only been testing with <plugin>.* for the most part.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Ok i will try it and then take a look ..
    I hope it will work

    Where can i get Bukkit#815?
     
  12. Offline

    l104693

    Thanks in advance!

    Permissions folder:
    - globalGroups.yml Empty!
    - globalUsers.yml Empty!
    - storageconfig.yml uploaded
    Permissions/world folder:
    - groups.yml uploaded
    - users.yml uploaded
     

    Attached Files:

  13. Offline

    Tealk

    is the config for world
    also for the world_nether?
     
  14. Offline

    l104693

    Yes, If you use:
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world_nether: world
     
  15. Offline

    Tealk

  16. Offline

    MineFreakz

    Why the heck cant my players use any commands on the server? Im on build 803 and added the permissions to the default group, i get no error and the admin group works fine... man im pissed why do people always make changes to thing which were already good as they were? damn....
    Groups:
    Code:
    groups:
        Newcomer:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'jobs.join.*'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.time'
                - 'commandbook.msg'
        Member:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'jobs.join.*'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.time'
                - 'commandbook.msg'
                - 'myhome.home.soc.list'
                - 'myhome.home.soc.others'
                - 'myhome.home.soc.invite'
                - 'myhome.home.soc.uninvite'
                - 'myhome.home.basic.home'
                - 'myhome.home.basic.set'
                - 'myhome.home.basic.delete'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Users:
    Code:
    users:
        adi:
            groups:
                - Admins
            permissions:
        redbulli:
            groups:
                - Admins
            permissions:
        Sthullen:
            groups:
                - Admins
            permissions:
    The Global files look the same!
    Code:
    permissions:
    storage:
    type: YAML
    Not working plugin permissions yet:
    Jobs
    Commandbook

    Man this seems more like the Plugin of yesterday...
     
  17. Offline

    Jeyge

    Oops, I should have tested this yesterday. It looks like Permissions doesn't like group names being in quotes. Give these files a try. Oh, and just in case, make sure you don't have GroupManager installed.

    groups.yml
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.skills.*'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.ping'
                - 'essentials.kit'
                - 'essentials.kit.*'
                - 'essentials.mail'
                - 'essentials.mail.send'
        Member:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
        Veteran:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'nocheat.speedhack'
                - 'nocheat.moving'
                - 'nocheat.notify'
                - 'SpawnControl.spawn.use'
        MinusModerator:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - Veteran
            permissions:
                - 'bb.admin.info'
                - 'discosheep.mob.sheep'
                - 'discosheep.mob.creeper'
                - 'discosheep.party.one'
                - 'discosheep.party.many'
                - 'discosheep.stop'
                - 'ThunderPort.teleport'
                - 'essentials.back'
                - 'essentials.me'
                - 'advbans.ban'
                - 'advbans.banip'
                - 'advbans.unbanip'
                - 'advbans.unban'
                - 'advbans.kick'
                - 'signlogger.notify'
                - 'lwc.protect'
                - 'vanish.vanish'
                - 'vanish.nopickup'
        PlusModerator:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
                - MinusModerator
            permissions:
                - 'godPowers.heal'
                - 'godPowers.jesus'
                - 'godPowers.superjump'
                - 'bb.admin.rollback'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tppos'
                - 'essentials.warp'
                - 'essentials.warp.home'
                - 'essentials.warp.*'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.heal'
                - '/heal'
                - '/healother'
                - 'vanish.vanish'
                - 'vanish.list'
                - 'vanish.nopickup'
                - 'vanish.noaggromobs'
                - 'essentials.world'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users.yml
    Code:
    users:
        l104693:
            groups:
            - Admin
            permissions: null
        BalkondeurAlpha:
            groups:
            - PlusModerator
            permissions: null
        Fijngemalen:
            groups:
            - Veteran
            permissions: null
        Chub1337:
            groups:
            - Veteran
            permissions: null
        Nyxusi:
            groups:
            - Veteran
            permissions: null
        rakketakke:
            groups:
            - MinusModerator
            permissions: null
        unknown5:
            groups:
            - MinusModerator
            permissions: null
        boeroeboeroe:
            groups:
            - Veteran
            permissions: null
        Frank:
            groups:
            - Member
            permissions: null
        mario:
            groups:
            - Member
            permissions: null
        kappie7:
            groups:
            - Member
            permissions: null
        larsgrevelin:
            groups:
            - Member
            permissions: null
        ricknubbit:
            groups:
            - Member
            permissions: null
        PicanteKing:
            groups:
            - Member
            permissions: null
        awsomefaceNL:
            groups:
            - Member
            permissions: null
        joeri:
            groups:
            - Member
            permissions: null
        wouter535:
            groups:
            - Member
            permissions: null
        keizertwisk:
            groups:
            - Member
            permissions: null
        ksakilla:
            groups:
            - Member
            permissions: null
        banaan:
            groups:
            - Member
            permissions: null
        sjeesen:
            groups:
            - Member
            permissions: null
        freshq:
            groups:
            - Member
            permissions: null
        martijn18e:
            groups:
            - Member
            permissions: null
        Piggymurderer:
            groups:
            - Member
            permissions:
            - essentials.whois
            - essentials.warp.*
            - SpawnControl.spawn.use
        rustysteelogre:
            groups:
            - Member
            permissions: null
        Player:
            permissions: null
            groups: null
    
    You Moderator is inheriting from Default but you don't have a default. Fix that and see if it solves everything. If not, post your server.log.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  18. Offline

    Maxis010

  19. Offline

    Jeyge

    You can find all builds here.

    Um, I think you mean those are broken with an unsupported build running 1.6. I've been doing most of my testing of 3.0.6 with WorldGuard and while I haven't tested everything, I haven't found any problems but I sure see a lot of posted problems running the not quite so working 1.6 builds of CraftBukkit.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    unwritten likes this.
  20. Offline

    Phinary

    does this let you set negative permissions like groupmanager btw.

    like -essentials.tp

    takes away essentials.tp
     
  21. Offline

    MineFreakz

    Ill try.. One question is the Rename-me folder you have to rename to your world still important? because its still in the zip file

    Okey I have reinstalled Permissions now
    My new files

    Groups:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'jobs.join.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Users:
    Code:
    users:
        adi:
            groups:
                - Admins
            permissions:
        redbulli:
            groups:
                - Admins
            permissions:
        Sthullen:
            groups:
                - Admins
            permissions:
    For both storage is still Yaml

    I have installed a jobs Plugin, when Permissions isnt installed the Job prefix works fine when it is installed, it doesnt appear. The server log:
    Code:
    2011-05-29 21:42:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-753-g34e310c-b803jnks (MC: 1.5_02)
    2011-05-29 21:42:06 [INFO] Preparing level "world"
    2011-05-29 21:42:06 [INFO] Preparing start region
    2011-05-29 21:42:07 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-29 21:42:07 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-29 21:42:07 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-29 21:42:07 [INFO] [Permissions] (Yeti) was initialized.
    2011-05-29 21:42:07 [INFO] [NoCheat] version [1.01a] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    2011-05-29 21:42:07 [INFO] [NoCheat] version [1.01a] is enabled with the following checks: moving bedteleport speedhack itemdupe flying
    2011-05-29 21:42:07 [INFO] iChat (v2.3.0) enabled
    2011-05-29 21:42:07 [INFO] Whitelist: Trying to load whitelist and settings...
    2011-05-29 21:42:07 [INFO] done.
    2011-05-29 21:42:07 [INFO] WhitelistPlus version 0.2 is enabled!
    2011-05-29 21:42:07 [INFO] [iConomy] Logging enabled.
    2011-05-29 21:42:07 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    2011-05-29 21:42:07 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-05-29 21:42:07 [INFO] [MYHOME]: 1 homes loaded
    2011-05-29 21:42:07 [INFO] [MYHOME] Permissions enabled using: Permissions v3.0.6
    2011-05-29 21:42:07 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    2011-05-29 21:42:07 [INFO] [MYHOME] MyHome 1.9.5 enabled
    2011-05-29 21:42:07 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-29 21:42:07 [INFO] WorldGuard: (world) Single session is enforced.
    2011-05-29 21:42:07 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-05-29 21:42:07 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-05-29 21:42:07 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-05-29 21:42:07 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-05-29 21:42:07 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-05-29 21:42:07 [INFO] WorldGuard: 15 regions loaded for 'world'
    2011-05-29 21:42:07 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-29 21:42:07 [INFO] [Permissions] version [3.0.6] (Yeti)  loaded
    2011-05-29 21:42:07 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-29 21:42:07 [INFO] [iChat] Found Permissions (v3.0.6)
    2011-05-29 21:42:07 [INFO] [iConomy] hooked into Permissions.
    2011-05-29 21:42:07 [INFO] CommandBook 1.5.1 enabled.
    2011-05-29 21:42:07 [INFO] CommandBook: 2 banned name(s) loaded.
    2011-05-29 21:42:07 [INFO] CommandBook: 1 kit(s) loaded.
    2011-05-29 21:42:07 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-29 21:42:08 [INFO] TreeAssist STARTED
    2011-05-29 21:42:08 [INFO] WorldEdit 4.4 enabled.
    2011-05-29 21:42:08 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-29 21:42:08 [INFO] [iConomyChestShop] version 2.74 initialized!
    2011-05-29 21:42:08 [INFO] [iConomyChestShop] iConomy version 5 loaded.
    2011-05-29 21:42:08 [INFO] [iConomyChestShop] Permissions version 3.0.6 loaded.
    2011-05-29 21:42:08 [INFO] Jobs 1.3.3b started
    2011-05-29 21:42:08 [INFO] [Jobs] Successfully linked with iConomy.
    2011-05-29 21:42:08 [INFO] [Jobs] Successfully linked with Permissions.
    2011-05-29 21:42:08 [INFO] Done (0.165s)! For help, type "help" or "?"
    2011-05-29 21:42:21 [INFO] Forcing save..
    2011-05-29 21:42:21 [INFO] Saving chunks
    2011-05-29 21:42:21 [INFO] Save complete.
    2011-05-29 21:42:21 [INFO] Unknown console command. Type "help" for help.
    
    Players still cant join jobs it says they have no permissions..
    But i dont get any server log errors after they try to join!

    Help me :(

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

    aPunch

    Will there be some documentation on tracks soon? I'm really looking forward to using them in the future.
     
  23. Offline

    Unknown_1

    I am tracking this problem down also. It seems non of my users get reliable permissions! Here is a test I did in the console:

    >pr unknown_1 w:* has worldguard.stack
    14:07:56 [INFO] [Permissions] User/Group has that permission.
    >pr unknown_1 w:* has worldguard.heal
    14:08:08 [INFO] [Permissions] User/Group has that permission.
    >pr unknown_1 w:* has essentials.jail
    14:08:38 [INFO] [Permissions] User/Group does not have that permission.
    >pr unknown_1 w:* has worldguard.heal
    14:08:41 [INFO] [Permissions] User/Group has that permission.
    >pr unknown_1 w:* has essentials.time
    14:08:50 [INFO] [Permissions] User/Group does not have that permission.
    >pr unknown_1 w:* has worldguard.heal
    14:09:06 [INFO] [Permissions] User/Group has that permission.
    >pr unknown_1 w:* has essentials.time
    14:09:09 [INFO] [Permissions] User/Group does not have that permission.
    >pr -reload all
    14:09:20 [INFO] [Permissions] All worlds reloaded.
    >pr unknown_1 w:* has essentials.time
    14:09:22 [INFO] [Permissions] User/Group has that permission.

    Durring this test I did not change any files! I started off just after I started the server and then simply started to test to see what permissions I have. Green items are correct and Red items are in correct.

    worldguard.heal - I should not have permission to this command because it's - out.

    essentials.time - I do have permissions to but you will notice that it told me I didn't and then after a reload it told me I did. I have a feeling whatever is causing this issue is where the problem lies.

    globalgroups.yml
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: ''
            permissions:
            - 'essentials.spawn'
            - 'essentials.signs.protection.use'
            - 'essentials.depth'
            - 'essentials.getpos'
            - 'essentials.compass'
            - 'essentials.portal'
            - 'essentials.msg'
            - 'essentials.list'
            - 'essentials.help'
            - 'stargate.use'
            - 'magiccarpet.mc'
            - 'essentials.signs.free.use'
            - 'essentials.motd'
            - 'essentials.mail'
            - 'essentials.signs.heal.use'
            - 'essentials.suicide'
            - 'essentials.signs.disposal.use'
            - 'lightlevel.use'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - 'essentials.signs.protection.create'
            - 'essentials.home'
            - 'essentials.sethome'
            - 'flashlight.normal'
            - 'essentials.tp'
            - 'essentials.tpahere'
            - 'essentials.back'
            - 'essentials.suicide'
            - 'snowballz.*'
            - 'worldguard.region.info.*'
            - 'worldguard.region.list'
            - 'worldedit.butcher'
            - 'BOSEconomy.common'
            - 'MobBounty.mb'
            - 'iConomyChestShop.shop.create'
            - 'iConomyChestShop.shop.buy'
            - 'iConomyChestShop.shop.sell'
            - 'worldguard.region.addmember.own.*'
            - 'worldguard.region.select'
            - 'worldguard.region.addowner.own.*'
            - 'worldguard.region.flag.*.own.*'
            - 'worldguard.region.remove.own.*'
            - 'worldguard.region.removemember.own.*'
        Kids:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Builder
            permissions:
            - 'worldguard.locate'
            - 'essentials.god'
            - 'worldedit.jumpto'
            - 'worldedit.navigation.*'
            - 'essentials.time'
            - 'essentials.weather'
            - 'essentials.thunder'
        Friends:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Moderators
            permissions:
            - '-worldguard.god.*'
            - '-essentials.god'
            - '-worldguard.heal'
            - '-essentials.item'
            - '-essentials.give'
            - '-worldedit.anyblock'
            - '-worldedit.limit.unrestricted'
            - '-worldedit.override.bedrock'
            - 'worldedit.*'
    
        Moderators:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Builder
            permissions:
            - 'stargate.create'
            - 'stargate.destroy'
            - 'worldguard.stack'
            - 'worldguard.locate'
            - 'worldguard.heal'
            - 'worldguard.fire-toggle.stop'
            - 'worldguard.god.*'
            - 'worldedit.jumpto'
            - 'worldedit.navigation.*'
            - 'worldedit.superpickaxe'
            - 'bb.admin.info'
            - 'bb.admin.rollback'
            - 'essentials.time'
            - 'essentials.weather'
            - 'essentials.thunder'
            - 'essentials.lightning'
            - 'essentials.item'
            - 'essentials.give'
    
        Admins:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '-worldguard.god.*'
            - '*'
    
    globalusers.yml
    Code:
    users:
        Unknown_1:
            groups:
            - Friends
            permissions: null
    
    storageconfig.yml
    Code:
    permissions:
      storage:
        type: YAML
    
    My Plugins
    Code:
    Essentials 2.2.22
    Permissions v2.7.4,  v3.0.6
    HeroicDeath v1.8.1
    MobileAdmin v3.0
    dynmap v0.17
    MagicCarpet v1.5.5
    Stargate v0.4.8
    TimeAnnounce 1.2
    Backup 1.5
    MultiVerse 1.6.4
    WorldGuard 5.0 alpha 10
    WorldEdit 4.4
    Whitelist v2.7
    CommandHelper v2.0.2
    BigBrother 1.8 #443
    MobBounty 3.02
    iConomyChestShop  2.73
    Blacksmith  1.0.3
    LightLevel v.3
    Recoil 1.3
    OnlyOP 0.2
    BOSeconomy  0.6.2
    
    I am using CraftBukkit Build 803.

    World Folders are being created automatically by permissions and I have not modified them.

    What could be causing the strange permissions issue?

    Thanks for any and all help.
     
  24. Offline

    Jeyge

    Yep, you can do the following even with a '*' node now.
    Code:
                permissions:
                    - 'essentials.*'
                    - '-essentials.tp'
    
    And you should no longer have the tp permission.
    Yep, the first time someone downloads the plugin, they will need that as a template. After that point, you just download the jar.

    I'm not sure when it will be in the wiki but I did a little writeup here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    aPunch

    Oh, sorry, I meant API documentation. I wish to utilize the track system in my plugin. Sorry for the misunderstanding, and thanks for your help anyways. :)
     
    Don Redhorse likes this.
  26. Offline

    Jeyge

    Global files inheritance is known to be broken right now. Try the same test on an actual world file and see if everything works there.
     
  27. Offline

    Jeyge

    Ah, some of that information will still be valid to you then. There currently isn't a way to set tracks thru the APIs which is why it took me so long to figure out. If you are looking for the basic calls though, here they are:
    Code:
                                if (isPromote)
                                    user.promote(group, track);
                                else
                                    user.demote(group, track);
    
    Promote is working with 3.0.6 but demote just leaves the user at the same group level.

    You have the reverse problem of most people right now. You are running a dev build of CraftBukkit 1.5 some 50 version behind where 3.0.6 was written to run. I would update to 803 before doing anything else or roll back to 2.7.4.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    aPunch

    Ah, this should be sufficient enough for the moment. I was just looking for a simple way to promote a user when they complete a certain task, and this will help tons. Thanks Jeyge!
     
  29. Offline

    MineFreakz

    I am on 803 if you mean that... well atleast my webinterface says im on 803 :)
     
  30. Offline

    Jeyge

    I can't believe after all this time I fell for the Bukkit version compared to CraftBukkit version misreads. :( Sorry about that. Let me look at it again.
     
  31. Offline

    MineFreakz

    Well i cant see any problems in the server log file, im pretty damn confused right now, i think the update ruined everything :( i guess its just a bad time to start a server right now..
     
Thread Status:
Not open for further replies.

Share This Page