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

    wdlax11

    anyone help me? how is mine messed up can some1 connect to my ts3 and help me please?

    ts3.co:9007
    pw: !@#$%^
     
  3. I need help, i've been trying to use negative permissions in order to get the server in order however none of them work

    permissions:
    - '*'
    - '-commandalert.notrigger'
    - -runecraft.rune.solarflare
    - -runecraft.rune.faith
    - -runecraft.rune.warppoint
    - -runecraft.rune.topsyturvy
    - -runecraft.rune.mound
    - -runecraft.rune.bridgemaster
    - -runecraft.rune.secretpanel
    - -runecraft.rune.depthnote
    - -runecraft.rune.magicbeacon
    - -runecraft.rune.zeerix
    - -runecraft.rune.mousetrap
    here is an example of some, none of them how ever have been negated they all still work. i am at a loss
     
  4. Offline

    pitbully

    I am re-posting my previous two posts about MySQL and Permissions to help out a few people because they obviously don't want to read though pages and pages of non-sense. Also, I would highly suggest players read the wiki provided. There is updated information on the MySQL Schema which should also help you out a lot once you have MySQL Linked properly.

    I would like to start off by saying that this plugin, once set up with MySQL works BEAUTIFULLY! Great work on it and I can't wait for future updates/bug fixes. If you dont have all of your plugins (that are capable of it) working through MySQL, I would HIGHLY suggest you learn how to do it. It is not that hard and it drastically speeds up your server performance. We have ZERO lag on my server once I got everything set up with it with close to 30 plugins installed. If you are planning on using MySQL, you need to get a MySQL Database Editing Software. The one that I found to be extremely useful is MySQL Workbench. It is free and full of features.

    Just to help you out if you need it, once you have permissions successfully linked with MySQL, go to your console and add yourself to the database. Use the following in order:

    pr g:[Owner] w:[world] create
    pr g:[Owner] w:[world] perms add *
    pr [yourname] w:[world] parents add [Owner]

    After doing the above, you will have all of your server's permissions in-game. Really Simple! of course, I am used to using longer commands but they really aren't that long. They are very logical and all work in the same format. After doing this in my console, almost all other changes to permissions I made directly to the database using MySQL Workbench.

    The following tables are set-up for you once Permissions is Linked to MySQL:
    prdata #This is responsible for prefix/suffix/build permission and so on.
    prentries #Gives all Player Names and Groups Names an ID# to be used everywhere else.
    prinheritance #Both Group Inheritance and Player Inheritance are here.
    prpermissions #Specifies the permissions that each group will have and each player if they have additional ones.
    prtrackgroups #Specifies which groups and in which order belong to each track.
    prtracks #Sets up your tracks and gives each trackname a trackID
    prworldbase #Not editable
    prworlds #Gives each world a WorldID

    I specified that I need help with the prtrackgroups data table because even when I set it up, I can't seem to use the promote/demote commands. I am not sure whether these are broken (still?) or if I set up the table data wrong.

    So within the prtrackgroups table, there are the following headings:
    trackgroupid #Gives each entry to the table an ID
    trackid #Specifies which track the entry is following (from prtracks table)
    gid #Specifies which group is in said track
    grouporder #Specifies the order of the groups in each track. (I used 1 through 8 for a single track)

    I really hope this helps those who are confused about MySQL and Permissions and if you need any additional help I will be glad to offer it. Just PM me or post in this thread. I will try to watch it from now on as the permissions plugin is the MOST important one on my server and all servers. Without it, a server would be CHAOS! :D

    Ya, that's why I thought I should post it. I really hope it helps people. I would say, do it all manually. It will help you get comfortable with using MySQL in general. I did and it wasn't that much work in the end. Start with the table "prentries" and create your groups. Put them in a nice organized order so that it is easy to add permissions to their respective ID # afterwards. My "builder" ranks are from 8-16 in order and admin ranks are 4-7 so it made it super easy. Remember, a user has Type 0 and a Group has a Type 1.

    Then go to "prinheritance" and add inheritance to the groups. Be sure to not mess this up and do it backwards like I did the first time. If your groups are as follows, guest->trusted->builder->advbuidler then guest should be the parentID and trusted should be the childID for the first one then Trusted should be the ParentID for Builder (ChildID) and so on.

    So if you had the following in prentries:
    entryID | Name | World | Type
    1 | Guest | 2 | 1
    2 | Trusted | 2 | 1
    3 | Builder | 2 | 1
    4 | Mod | 2 | 1
    5 | Owner | 2 | 1
    6 | Pitbully | 2 | 0
    7 | Bob | 2 | 0

    Then in prinheritance:
    uninheritID | ChildID | ParentID | ParentOrder
    1 | 2 | 1 | 1
    2 | 3 | 2 | 1
    3 | 4 | 3 | 1
    4 | 6 | 5 | 2
    5 | 6 | 3 | 1
    6 | 7 | 1 | 1

    This will make Mod inherit from Builder, Builder inherit from Trusted, Trusted inherit from Guest. OWNER should NOT inherit from another rank because Owner will have the permission of '*'. REMEMBER THAT! :D
    I also added in that Pitbully (6) should be an Owner 2nd and Builder 1st. Because in my "prdata" table, based on how i have iChat configured, I can then set up the prdata table like so:

    PrData Table:
    dataID | EntryID | Path | Data
    1 | 1 | build | false
    2 | 2 | build | true
    3 | 3 | build | true
    4 | 4 | build | true
    5 | 5 | build | true
    6 | 6 | prefix | &4Owner&f][

    Based on my configuration in iCHAT plugin, my name would be displayed [Owner][Builder] Pitbully : Message
     
  5. Offline

    sekol

    I get user not in specified group error -.-
     
  6. Offline

    Jeyge

    You neglected to post your actual errors but I think we can figure it out even without them. It looks like in your users.yml file, you really messed up your spacing. Each node level should be exactly 4 spaces over from the previous node level. So, your users: should start in column 1, <user name> in column 5, groups: and permissions: in column 9 and your actual groups and permissions in column 13. Yours are currently all over the place. Fix your spacing and you should see some better results.
    It will be hard to tell what might be happening without seeing the rest of the file and the other files but what you have there looks fine as long as those are the right permissions. One thing to check though is to make sure you aren't an OP. That will override anything in your permissions files.

    Using what command for what user in what files?

    Edit - and what version of Permissions.

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

    RazorFlint

    Why is this in submissions?
     
  8. Offline

    sekol

    Newest permissions. I used "demote" command like /pr SeMi w:world demote t:track because when i type /pr SeMi w:world demote it doesn't work. Now my configs.
    Code:
    groups:
        Admin:
            permissions:
            - commandbook.give.stacks.unlimited
            - worldguard.heal.other
            - commandbook.give.infinite
            - factions.reload
            - xlevel.admin.*
            - factions.manageWarZone
            - easyrpg.canreload
            - worldguard.god.other
            - worldguard.stack
            - worldguard.heal
            - factions.participate
            - worldguard.ungod.other
            - worldguard.god
            - factions.saveall
            - factions.worldOptions
            - factions.manageSafeZone
            - commandbook.more
            - factions.create
            - commandbook.setspawn
            - factions.adminBypass
            - factions.lock
            - factions.disband
            - worldguard.slay.other
            - faction.lock
            - commandbook.give
            - worldguard.ungod
            - commandbook.give.other
            - commandbook.more.infinite
            - commandbook.give.stacks
            inheritance:
            - Gracz
            default: false
            info:
                build: true
        Gracz:
            default: true
            info:
                build: true
            permissions:
            - mcmmo.ability.excavation
            - commandbook.rules
            - mcmmo.ability.axes
            - mcmmo.motd
            - mcmmo.commands.ability
            - mcmmo.ability.mining
            - easyrpg.canrpg
            - mcmmo.skills.*
            - mcmmo.ability.unarmed
            - mcmmo.ability.swords
            - xlevel.player.*
            - commandbook.time.check
            - factions.participate
            - mcmmo.regeneration
            - mcmmo.ability.herbalism
            - commandbook.who
            - mcmmo.ability.woodcutting
            inheritance:
    track:
        - Gracz
        - Admin
    
    
    Code:
    users:
        SeMi:
            groups:
            - Admin
            permissions:
            - permissions.create
            - permissions.delete
            - permissions.perms.add
            - permissions.perms.remove
            - permissions.perms.list
    
     
  9. Offline

    Jeyge

    You can't use the t:<track> if you are using the default track so you would want to stick with "/pr SeMi w:world demote". This is assuming that your world is named world and the files listed above are in a directory called plugins\permissions\world. What is the error message if you use the above command? I tried it on my test machine and everything worked as expected.

    It is in Plugin Releases.

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

    RazorFlint

    I just clicked in submissions and it was in there... Weird. Maybe just a bug...
     
  11. Offline

    sekol

    I was too lazy to get in-game and perform it and i also was too lazy to rewrite it here so check this out instead :D
    [​IMG]
     
  12. Offline

    nova779

    -318.0971671246503)
    2011-07-14 14:00:58 [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:726)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
    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-14 14:02:21 [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:726)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
    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-14 14:02:27 [INFO] Connection reset
    2011-07-14 14:02:27 [INFO] nova779 lost connection: disconnect.quitting

    When i try to do /pr <player> demote or promote
     
  13. Offline

    BattleGroundxx

    Ive tried SO many times to set up permissions its JUST TOO complicated! SOMEONE Please HELP!
     
  14. Offline

    wdlax11

  15. Offline

    Jeyge

    My bad. By latest, I thought you meant you were running the latest version of Permissions. 3.1.5 had a different command syntax. First thing though with 3.1.5, demote wasn't working so you will want to avoid using that. As for the commands, you would then use "/pr <user> (w:<world>) promote/demote (group) (w:<parentworld>) (track)". Ignore parentworld as it only causes problems if you fill it in so in the case of the above demote (which won't work), your command would be "/pr SeMi w:world demote Admin track". 3.1.5 also didn't support the default track so you would need to add tracks: above your current track:.

    @nova779
    You don't have your default track set up. See the wiki topic Chat Commands at the bottom for information about tracks.
    You will need to give a little more information for anyone to help. Start with what isn't working, your permissions yml files and your server.log.

    You would need to open those files with Notepad++ or some other editor that works with files using only a LF at the end of the line. But if you didn't make any changes to the file listed above, then the spacing is still off. If you made the changes and you aren't getting the errors anymore, then you are good to go.

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

    sekol

    I updated to 3.1.6
    '/pr SeMi w:world demote Admin track' doesn't work because of error "Specified parent group does not exist." I had to use '/pr SeMi w:world demote Admin world track' and it worked fine! Why parent world is causing problems as you said before?
     
  17. Offline

    Jeyge

    Funny, now you are using 3.1.5 commands with the 3.1.6 plugin.

    Parentworld has had a minor syntax error in the code which has prevented it from correctly reading the world name.
     
  18. Offline

    nova779

    @Jeyge thank you so much it really helped me out i know java and am testing some dev plugins on my server so thank you i just could not tell what was going on
     
  19. Offline

    wdlax11

    uhhh ok is this right?
    Code:
    users:    wdlax00:    groups:    - Admins    permissions:    rabbitthegreat:    groups:    - Admins    permissions:    yo_fayce:    groups:    - Admins    permissions:    sevenbit03:    groups:    - Moderator    permissions:    paraplegicrabit:    groups:    - Moderator    permissions:    magicalone:    groups:    - Moderator    permissions:    xtryhardx:    groups:    - Member    permissions:    aviexon:    groups:    - Member    permissions:    tnttroll:    groups:    - Member    permissions:    coaxke:    groups:    - Member    permissions:    eisz:    groups:    - Member    permissions:    coaxke707:    groups:    - Member    permissions:    blacksd345:    groups:    - Member    permissions:    darkreapa:    groups:    - Member    permissions:    maels:    groups:    - Member    permissions:    H1ghvoltage:    groups:    - Member    permissions:    Mazrith:    groups:    -Member    permissions:
    
    can some1 please just help me.... like im lost

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

    Jeyge

    All you needed to do was fix the spacing. You had an extra space on most lines and a couple spaces on a few.
    Code:
    users:
        wdlax00:
            groups:
                - Admins
            permissions:
    
        rabbitthegreat:
            groups:
                - Admins
            permissions:
    
        yo_fayce:
            groups:
                - Admins
            permissions:
    
        sevenbit03:
            groups: 
                - Moderator
            permissions:
        
        paraplegicrabit:
            groups: 
                - Moderator
            permissions:
        magicalone:
            groups: 
                - Moderator
            permissions:
        
        xtryhardx:
            groups: 
                - Member
            permissions:
    
        aviexon:
            groups:
                - Member
            permissions:
    
        tnttroll:
            groups:
                - Member
            permissions:
    
        coaxke:
            groups: 
               - Member
            permissions:
    
        eisz:
            groups:
                - Member
            permissions:
    
        coaxke707:
            groups:
                - Member
            permissions:
    
        blacksd345:
            groups:
                - Member
            permissions:
    
        darkreapa:
            groups:
                - Member
            permissions:
    
        maels:
            groups:
                - Member
            permissions:
    
        H1ghvoltage:
            groups:
                - Member
            permissions:
    
        Mazrith:
            groups:
                - Member
            permissions:
     
  21. Offline

    wdlax11

    ^ is that right?
     
  22. Offline

    Powwah

    I could realy use some help here.. Cant get groups to build. I have checked build: true. Any one?;) If any one could help me with Team Viewer or something ;)
     
  23. Offline

    hellsome

    but
    i have the newest version of permissions... permissions 3.1.6 (yeti)
     
  24. Offline

    nova779

    I have done what that says will you please help me heres what my config looks like

    groups:
    Guest:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - essentials.home
    - essentials.warp
    - essentials.sethome
    - stargate.use
    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Guest
    permissions:
    - essentials.ban
    - essentials.kick
    - essentials.unban
    - essentials.time
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    tracks:
    default: tre
    trackname:
    Moderator: true
     
  25. Offline

    Jeyge

    You'll need to provide more information for anyone to help. Start with your server.log and your permissions yml files. Also, make sure you aren't trying to build near the spawn location or turn off spawn-protection in your bukkit.yml file.
    You only need to update the plugins I listed above and not Permissions. The error is caused by other plugins trying to link to a specific version of Permissions.

    I won't actually be able to tell much if you don't post that in code blocks or on pastebin.com but from what I can tell, your tracks don't match what you will find in the tracks topic found here. It should just list your track and all of the tracks you want it to follow.

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

    Powwah

    Haha, thanks.. Didn't know there was a spawn radius.. Thanks alot! :D
     
  27. Offline

    Bhikku

    Code:
        Shamane:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                rank: 5
            inheritance:
            - Peon
            - Grunzer
            permissions:
            - essentials.tp
            - falsebook.ic.mc1241
    Guys, does the Inheritance work like i did it? Or can be only one Group inheritaded?

    And how i use mysql? Is it enough i wrote to the storage.yml:
    Code:
    permissions:
        storage:
            type: SQL
            dbms: 'MYSQL'
            uri: 'jdbc:mysql://localhost:3306/xxxxx' # Change Port if Needed
            username: 'xxxxx'
            password: 'xxxxxx'
    Or need i too the permissions-sql.jar?
     
  28. Offline

    Duerdum9

    I can't build on my server, here's my group & user files ^^
    Show Spoiler

    groups:
    Lone Wolf:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'iConomy.access'
    - 'iConomy.bank.access'
    - 'iConomy.admin.stats'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'iConomy.bank.join'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.join.multiple'
    - 'lwc.cprivate'
    Soldier:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Lone Wolf
    permissions:

    General:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - High General
    permissions:
    - '*'
    High General:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    And here's my user file
    Show Spoiler

    users:
    duerdum9:
    groups:
    - General
    permissions:

    Anything, I did wrong, or something, please help me out here :)
    If relaly needed, here's my server log file.
    Show Spoiler

    2011-07-14 21:37:18 [INFO] Starting minecraft server version Beta 1.7.2
    2011-07-14 21:37:18 [WARNING] **** NOT ENOUGH RAM!
    2011-07-14 21:37:18 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-07-14 21:37:18 [INFO] Loading properties
    2011-07-14 21:37:18 [INFO] Starting Minecraft server on *:25565
    2011-07-14 21:37:18 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-07-14 21:37:18 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-07-14 21:37:18 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-07-14 21:37:18 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-07-14 21:37:18 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    2011-07-14 21:37:18 [SEVERE] Could not load 'plugins\Essentials.jar' in folder 'plugins':
    while parsing a block collection
    in "<reader>", line 97, column 3:
    - '[1] No griefing unless war.'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 98, column 36:
    - '[2] Do not produce TNT if you're not in a clan.'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    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)
    2011-07-14 21:37:18 [INFO] LWC: Loading shared objects
    2011-07-14 21:37:18 [INFO] LWC: Protection cache: 0/10000
    2011-07-14 21:37:18 [INFO] LWC: Native library: plugins/LWC/lib/native/Windows/x86/sqlitejdbc.dll
    2011-07-14 21:37:18 [SEVERE] Could not load 'plugins\EssentialsChat.jar' in folder 'plugins': Essentials
    org.bukkit.plugin.UnknownDependencyException: Essentials
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    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)
    2011-07-14 21:37:18 [SEVERE] Could not load 'plugins\EssentialsGroupBridge.jar' in folder 'plugins': GroupManager
    org.bukkit.plugin.UnknownDependencyException: GroupManager
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    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)
    2011-07-14 21:37:18 [SEVERE] Could not load 'plugins\EssentialsProtect.jar' in folder 'plugins': Essentials
    org.bukkit.plugin.UnknownDependencyException: Essentials
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    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)
    2011-07-14 21:37:18 [SEVERE] Could not load 'plugins\EssentialsSpawn.jar' in folder 'plugins': Essentials
    org.bukkit.plugin.UnknownDependencyException: Essentials
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    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)
    2011-07-14 21:37:18 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-14 21:37:18 [INFO] [Permissions] version [3.1.6] (Yeti) loaded
    2011-07-14 21:37:18 [INFO] Preparing level "world"
    2011-07-14 21:37:18 [INFO] Preparing start region for level 0 (Seed: -3085731396242942006)
    2011-07-14 21:37:19 [INFO] Preparing spawn area: 36%
    2011-07-14 21:37:20 [INFO] Preparing start region for level 1 (Seed: -3085731396242942006)
    2011-07-14 21:37:20 [INFO] Preparing spawn area: 32%
    2011-07-14 21:37:21 [INFO] [Command iConomy] Loaded.
    2011-07-14 21:37:22 [INFO] [iConomy] Logging is currently disabled.
    2011-07-14 21:37:22 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-07-14 21:37:22 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-07-14 21:37:22 [INFO] [iConomy] hooked into Permissions.
    2011-07-14 21:37:22 [INFO] MCBans: mcbans version 2.9.1 is enabled!
    2011-07-14 21:37:22 [INFO] MCBans: Voting enabled!
    2011-07-14 21:37:22 [INFO] MCBans: Debug mode active!
    2011-07-14 21:37:22 [INFO] MCBans: Checking for premium!
    2011-07-14 21:37:22 [INFO] MCBans: MCBans is offline? Switching to Offline Mode!
    2011-07-14 21:37:22 [SEVERE] org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
    2011-07-14 21:37:22 [SEVERE] at org.json.JSONTokener.syntaxError(JSONTokener.java:432)
    2011-07-14 21:37:22 [SEVERE] at org.json.JSONObject.<init>(JSONObject.java:186)
    2011-07-14 21:37:22 [SEVERE] at org.json.JSONObject.<init>(JSONObject.java:312)
    2011-07-14 21:37:22 [SEVERE] at com.firestar.mcbans.Data_Handler.to_json(Data_Handler.java:62)
    2011-07-14 21:37:22 [SEVERE] at com.firestar.mcbans.backup.Backup.load(Backup.java:66)
    2011-07-14 21:37:22 [SEVERE] at com.firestar.mcbans.mcbans.onEnable(mcbans.java:219)
    2011-07-14 21:37:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-14 21:37:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    2011-07-14 21:37:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-07-14 21:37:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-07-14 21:37:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-07-14 21:37:22 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-07-14 21:37:22 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-07-14 21:37:22 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-14 21:37:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-14 21:37:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-14 21:37:22 [INFO] MCBans: Sent From: Console .::. Error 309: Json error in the file plugins/mcbans/backup.json
    2011-07-14 21:37:22 [INFO] [milkAdmin] v1.3.1-07.03 is enabled!
    2011-07-14 21:37:22 [INFO] [milkAdmin] Developed by: [Sharkiller]
    2011-07-14 21:37:22 [INFO] [MineBackup] 2 worlds loaded.
    2011-07-14 21:37:22 [INFO] [MineBackup] version 0.3.1 ready
    2011-07-14 21:37:22 [INFO] [Permissions] SQL Interface enabled!
    2011-07-14 21:37:22 [INFO] [milkAdmin] WebServer listening on port 25000
    2011-07-14 21:37:22 [INFO] [StreetLamps] MATERIAL_ON: 89 (DataValue)
    2011-07-14 21:37:22 [INFO] [StreetLamps] MATERIAL_OFF: 20 (DataValue)
    2011-07-14 21:37:22 [INFO] [StreetLamps] TOOL: 76 (DataValue)
    2011-07-14 21:37:23 [INFO] [StreetLamps] POWER enabled
    2011-07-14 21:37:23 [INFO] [StreetLamps] DAYTIME enabled
    2011-07-14 21:37:23 [INFO] [StreetLamps] WEATHER enabled
    2011-07-14 21:37:23 [INFO] [StreetLamps] registered bottom
    2011-07-14 21:37:23 [INFO] [StreetLamps] registered pole
    2011-07-14 21:37:23 [INFO] [StreetLamps] registered ceiling
    2011-07-14 21:37:23 [INFO] [StreetLamps] registered sconce
    2011-07-14 21:37:23 [INFO] [StreetLamps] registered pendant
    2011-07-14 21:37:23 [INFO] [StreetLamps] loaded 58/58 bottom
    2011-07-14 21:37:23 [INFO] [StreetLamps] No pole was saved.
    2011-07-14 21:37:23 [INFO] [StreetLamps] No ceiling was saved.
    2011-07-14 21:37:23 [INFO] [StreetLamps] loaded 2/2 sconce
    2011-07-14 21:37:23 [INFO] [StreetLamps] loaded 3/3 pendant
    2011-07-14 21:37:23 [INFO] StreetLamps 0.5.2.1 is enabled
    2011-07-14 21:37:23 [INFO] WorldEdit 4.6 enabled.
    2011-07-14 21:37:23 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-14 21:37:23 [INFO] LWC: Loaded 135 locale strings (0 overrides)
    2011-07-14 21:37:23 [INFO] Using Permissions API
    2011-07-14 21:37:23 [INFO] LWC: Loading SQLite
    2011-07-14 21:37:23 [INFO] LWC: Using: Native
    2011-07-14 21:37:23 [INFO] LWC: Precached 0 protections.
    2011-07-14 21:37:23 [INFO] LWC: At version: 3.30-git-LWC-94b93dd42195692ed1823346544359d5917274a2-b69jnks
    2011-07-14 21:37:23 [INFO] Done (0.489s)! For help, type "help" or "?"
    2011-07-14 21:37:25 [INFO] Stopping the server..
    2011-07-14 21:37:25 [INFO] Stopping server
    2011-07-14 21:37:26 [INFO] [iConomy] Plugin disabled.
    2011-07-14 21:37:26 [INFO] MCBans: Waiting for threads to close!
    2011-07-14 21:37:28 [INFO] MCBans: voting thread closed!
    2011-07-14 21:37:28 [INFO] MCBans: Threads closed!
    2011-07-14 21:37:28 [INFO] [milkAdmin] milkAdmin disabled successfully!
    2011-07-14 21:37:28 [INFO] [MineBackup] version 0.3.1 disabled
    2011-07-14 21:37:28 [INFO] [Permissions] (Yeti) saving data...
    2011-07-14 21:37:28 [INFO] [Permissions] (Yeti) saved all data.
    2011-07-14 21:37:28 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-07-14 21:37:28 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-14 21:37:28 [INFO] [Permissions] SQL Interface disabled!
    2011-07-14 21:37:28 [INFO] [StreetLamps] saving bottom
    2011-07-14 21:37:28 [INFO] [StreetLamps] saving pole
    2011-07-14 21:37:28 [INFO] [StreetLamps] saving ceiling
    2011-07-14 21:37:28 [INFO] [StreetLamps] saving sconce
    2011-07-14 21:37:28 [INFO] [StreetLamps] saving pendant
    2011-07-14 21:37:28 [INFO] StreetLamps 0.5.2.1 is disabled
    2011-07-14 21:37:28 [INFO] LWC: Freeing SQLite
    2011-07-14 21:37:28 [INFO] Saving chunks
    2011-07-14 21:37:28 [INFO] Stopping server

    And YES I did go far away from spawn, didn't work. I got the plugin WorldEdit, when I use super pick. then I can destroy blocks.
     
  29. I need some help with the track system.
    Basicly i have a 'Guest' group and after that comes the 'Member' group.
    Then i want my users to be able to take 3 paths 'Crafting, Trading and Magic' in those 3 groups there is 3 'ranks'

    Now the problem is to promote a player from 'Member' to the first 'rank' in one of the 3 paths..

    Some help would be appreciated :)

    Here is my groups.yml:
    Code:
    ##
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
                groupcolor: '&7'
                groupname: Guest
                special: ''
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&2'
                groupname: Player
                special: ''
            inheritance:
                - Guest
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
    
        GuildPlaceHolder:
            default: false
            inheritance:
                - Member
            permissions:
                - 'worldguard.locate'
    
        ##########GUILD'S##########
    
            #####CRAFTING#####
        Cobbler:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&a'
                groupname: Cobbler
                special: ''
            inheritance:
                - GuildPlaceHolder
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Carpenter:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&2'
                groupname: Carpenter
                special: ''
            inheritance:
                - Cobbler
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Craft-Master:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&3'
                groupname: Craft-Master
                special: ''
            inheritance:
                - Carpenter
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
            #####CRAFTING#####
    
            #####TRADING#####
        Vendor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&b'
                groupname: Vendor
                special: ''
            inheritance:
                - GuildPlaceHolder
            permissions:
                - 'worldguard.stack'
        Shopkeeper:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&9'
                groupname: Shopkeeper
                special: ''
            inheritance:
                - Vendor
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Trade-Master:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&1'
                groupname: Trade-Master
                special: ''
            inheritance:
                - Shopkeeper
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
            #####TRADING#####
        Conjurer:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&d'
                groupname: Conjurer
                special: ''
            inheritance:
                - GuildPlaceHolder
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Wizard:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&5'
                groupname: Wizard
                special: ''
            inheritance:
                - Conjurer
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Arch-Mage:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&4'
                groupname: Arch-Mage
                special: ''
            inheritance:
                - Wizzard
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
            #####MAGIC#####
    
            #####MAGIC#####
    
        ##########GUILD'S##########
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&e'
                groupname: Mod
                special: ''
            inheritance:
                - Member
            permissions:
                - 'essentials.bigtree'
                - 'essentials.god'
                - 'essentials.heal'
                - 'worldguard.fire-toggle.*'
                - 'permissions.promote.*'
                - 'permissions.demote.*'
                - 'permissions.promote'
                - 'permissions.demote'
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&c'
                groupname: Admin
                special: ''
            inheritance:
                - Mod
            permissions:
                - 'worldedit.brush.*'
                - 'worldedit.chunkinfo'
                - 'worldedit.listchunks'
                - 'worldedit.delchunks'
                - 'worldedit.clipboard.*'
                - 'worldedit.generation.*'
                - 'worldedit.history.*'
                - 'worldedit.navigation.*'
                - 'worldedit.region*'
                - 'worldedit.regen'
                - 'worldedit.scripting.*'
                - 'worldedit.selection.*'
                - 'worldedit.wand.*'
                - 'worldedit.analysis.*'
                - 'worldedit.snapshots.*'
                - 'worldedit.superpickaxe.*'
                - 'worldedit.tool.*'
                - 'worldedit.fill.*'
                - 'worldedit.drain'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater'
                - 'worldedit.removeabove'
                - 'worldedit.removebelow'
                - 'worldedit.removenear'
                - 'worldedit.replacenear'
                - 'worldedit.extinguish'
                - 'worldedit.remove'
                - 'worldedit.override.bedrock'
                - 'worldguard.locate'
                - 'worldguard.region.*'
                - 'worldguard.region.bypass.*'
                - 'permissions.reload.*'
                - 'permissions.list.*'
                - 'permissions.delete'
                - 'permissions.create'
                - 'permissions.has'
                - 'permissions.perms.*'
                - 'permissions.parents.*'
                - 'permissions.info.*'
     
        Owner:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                groupcolor: '&6'
                groupname: GOD
                special: ''
            inheritance:
                - Admin
            permissions:
                - 'worldedit.limit'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.butcher'
                - 'worldedit.anyblock'
                - 'worldedit.limit.unrestricted'
                - 'worldedit.reload'
                - 'worldguard.reload'
                - 'worldguard.report.*'
                - 'permissions.*'
                - 'bb.*'
      
    tracks:
        Player:
            - Guest
            - Member
            - Mod
            - Admin
        Crafting:
            - Cobbler
            - Carpenter
            - Craft-Master
        Trading:
            - Vendor
            - Shopkeeper
            - Trade-Master
        Magic:
            - Conjurer
            - Wizard
            - Arch-Mage
     
  30. Offline

    obscurehero

    Didn't the command usage change? I thought the new syntax was /pr <user>promote t:<track> <parentgroup> <world>

    Is this not the case? I know for the CommandHelper script I wrote it works like I wrote it and only promotes in the world specified...hmmm.

    Also...

    @pitbully

    MySQL changeover is on my todo list. I've saved this should I need it. Thanks for typing it all out!

    Maybe this is a stupid way to do it, but it looks like you will have users who have dual groups. A specialized group based on what they choose, and then a basic group like member/mod/admin/etc. That being said, you can assign members two groups. Member and 'initiate' or any other placeholder group ('unspecialized' is another expample of a name), it really doesn't matter what. Every member will thus get two groups -- member and undifferentiated (whatever group name that is that you choose). The undifferentiated group will be at the beginning of every skill/guild track. Maybe you give your guild masters (or highest rank in the track) the permissions (when they get it working in the next version) like permissions.promote.crafting, for example, so they can promote players in their guild/skillset.

    I think that will work well. That way you can carefully hand-out promotion abilities to only those who need it. I might set-up world mirroring in my storage.yml as this could get kinda complex.

    Now if your users want to be a master of all crafts...my crude solution might not work. You might just need to use the command /pr <user> (w:<world>) parents add <group> to add them to an ADDITIONAL group.

    Cheers.

    EDIT: clarification. The undifferentiated group will only be a placeholder. It has no permissions or anything. I really wonder if the permissions team can add this as an option (that is to have a new user be assigned two groups by default)...or is it already possible. @Jeyge do you know?

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

    wdlax11

    can some1 team view me?
     
Thread Status:
Not open for further replies.

Share This Page