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

    ACStache

    as of 3.1.6 I believe he 'simplified' track, I'm not sure what the new syntax is, I haven't checked the wiki recently. rcjrrjcr said he was going to update it at some point

    edit: @Techykid3 where is your track located? because it should be at the bottom of your groups.yml if it's not
     
  3. Offline

    Techykid3

    It is at the bottom, all the way at the bottom.

    And for my server I need that new syntax. Is there a way to find it?
     
  4. Offline

    Hudson Diesing

    I've read most of everything posted about 3.x permissions, but I can't seem to find anything on how to copy one worlds permissions to the other. Global users/permissions doesn't seem to work. I used to have a main world with all the users and groups in it, and 10 other worlds that directly copied from the main one. Is this feature not working correctly, or it it nonexistent? Any helpful links or explanation would be greatly appreciated.

    Thanks,
     
  5. Offline

    Epidemic

    What do you mean with directly copied ? Look at the Wiki of the Permissions after the storageconfig.yml. It would be enaugh, to tell Permissions, that you have 1 Main World and all other Worlds should use the Permissions made in the Main World. This is possible with the storageconfig.yml.
    ---------------------------------------------------------------------------------------------------------------------------------
    For me the global Perms aren't working, too. But so far, I'm still using v3.1.5b, because v3.1.6 has a BIG mistake! If you use /pr Playername w:World parents add w:World Groupname, it gets added, but the User is still in the Group he was before. Okay... i know this was so with v3.1.5b also, but there is a slight change made there. If you add with parents add..... the new Group takes place under the default group. In v3.1.5b it is so, that the new group takes place above the default group.

    Greets

    Epi
     
  6. Offline

    Hudson Diesing

    How do I tell permissions to copy the users/groups of one world to another?

    Shouldn't this work?

    Code:
    permissions:
        storage:
            type: YAML
            world-inheritance:
                ModernWorld: worldspawn
     
  7. Offline

    ADAMTT98

    I got this.

    2011-06-28 12:44:52 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.util.zip.ZipException: invalid END header (bad central directory offset)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
    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:52)
    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)
     
  8. Offline

    KasperZ

    This is probably just me being stupid + its late at night but im having a problem. I have 2 worlds (well 3 but that doesnt matter): world and creative. I have a plugin installed and it only works with players having the "creativebuild.cb" node. Now i want every player to have that in the creative world but not i the normal world. I have read the examples on github but im still having trouble with it. help :)
     
  9. Offline

    BaconFace

    Code:
    2011-06-30 02:19:18 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-30 02:19:18 [INFO] Loading properties
    2011-06-30 02:19:18 [INFO] Starting Minecraft server on *:25565
    2011-06-30 02:19:19 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-892-ga9ddbaa-b935jnks (MC: 1.6.6)
    2011-06-30 02:19:19 [INFO] LWC    Loading shared objects
    2011-06-30 02:19:19 [INFO] Cache    Protection cache: 0/10000
    2011-06-30 02:19:19 [INFO] LWC    Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2011-06-30 02:19:19 [INFO] Starting Minequery server on *:25566
    2011-06-30 02:19:19 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-30 02:19:19 [SEVERE]     at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:64)
    2011-06-30 02:19:19 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:179)
    2011-06-30 02:19:19 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    2011-06-30 02:19:19 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
    2011-06-30 02:19:19 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    2011-06-30 02:19:19 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    2011-06-30 02:19:19 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    2011-06-30 02:19:19 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-06-30 02:19:19 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-30 02:19:19 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-30 02:19:19 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    I'd appreciate any help :)
     
  10. Offline

    ACStache

    do you have your users.yml and groups.yml files set up for each world or are you using the globalusers.yml and globalgroups.yml? if you're using the ones for each world, just add that permission node into the group those players are in for the creative world. if it's in the global ones it's a bit trickier I'm guessing, and I don't know what to do at that point, sorry.
     
  11. Offline

    NuclearKamikaze

    Im getting alot of overload messages what should I do what build should I use for bukkit and permissons becouse when I remove permissons server runs just fine. Please Help its getting really anoying when it crashes.
     
  12. Offline

    uber141

    This is what I get when I start up my server. I get a shit load of error messages, and I don't know why. All of it appears to me to be just random gibberish, and I have no idea what it is talking about. The GUI window I'm using to run the server is called Crafty.

    <Edit by Moderator: Redacted filesmelt url>

    What is the problem(s)? The only other plug-ins I am running currently are Big Brother. Not sure if this helps, but I have a Windows Vista 64 bit computer. I'm pretty sure I have my global permissions set-up correctly, but when I go in-game (in the global permissions it says I'm in the group admin...) and I also tryed re-opping myself, but it still won't let me place or break blocks.
     
    Last edited by a moderator: Feb 15, 2019
  13. Offline

    Hudson Diesing

    I've read most of everything posted about 3.x permissions, but I can't seem to find anything on how to copy one worlds permissions to the other. Global users/permissions doesn't seem to work. I used to have a main world with all the users and groups in it, and 10 other worlds that directly copied from the main one. Is this feature not working correctly, or it it nonexistent? Any helpful links or explanation would be greatly appreciated.

    Shouldn't this work?

    storageconfig.yml
    http://pastebin.com/B0rzxNBJ

    globalgroups.yml
    http://pastebin.com/ZY5wd2XF

    My server has over 6,000 users but I small sample:
    http://pastebin.com/mc5Gh0HH

    Each of the worlds has a groups.yml
    http://pastebin.com/X283cqw4

    And a users.yml which auto adds people that go to that world.

    If you see any mistakes/errors/derps, thanks in advance.

    -Bob
     
  14. Offline

    uber141

    So are you saying globalusers and globalgroups don't work, and I have to set the permissions for each world?
     
  15. Offline

    KasperZ

    Thanks for the reply! im using global permissions but maybe i should switch to individual permissions then.
     
  16. Offline

    Anthail

    If loading from MySQL, how can I get Trakcs to work? Additionally, is it possible to mirror the parents of a member in different worlds? Example: Having Nether and Survival worlds, is it possible to set it up so that you only need to add them in a group in Survival-world, instead of both? (But still that the groups in each world, of course with the same name, have different permission nodes?)
     
  17. Offline

    ACStache

    globalgroups:
    if a group has the - '*' you shouldn't inherit any permissions from anything else, as it could cause some funky issues, especially if you inherit another - '*' (like Owner inheriting Administrator).

    storageconfig.yml
    I believe you can get away with it as such:
    Code:
    permissions:
        storage:
            type: YAML
            world-inheritance:
                PixelArt: worldspawn
                pvpBuild: worldspawn
                ModernWorld: worldspawn
                Freebuild: worldspawn
                Aether: worldspawn
                Nether: worldspawn
    
    groups:
    I'm not 100% sure on this since I haven't set it up myself yet, but for the world's groups.yml you'll have to import from the globalgroups.yml, I bookmarked a post on it earlier. (many pages ago haha)
    http://forums.bukkit.org/threads/ad...gin-of-tomorrow-935.18430/page-71#post-363066

    globalusers:
    your "permissions:" item is kinda funny. I'm not sure if it's case sensitive or not, but a few of them have a capital I in them, may want to change it all to lowercase just to be sure.
     
  18. Offline

    Belus

    I followed the directions completely and triple checked my group.yml to make sure i had the tracks right. I have experience with yml so i know that's not the problem. I cannot promote my users in game. This is something I really would enjoy having for my server. Also on the off-topic, is there a way to give users permissions for promoting other people to a rank lower than their own? I want my Smods to be able to promote people to mods and my admins to promote people to whatever.
    Thanks
     
  19. Offline

    Godleydemon

    well maybe someone can give me a hand here, because I"m about at my wits end, lol. I've been trying to setup the permissions for Citizens but I'm failing horribly bad here.

    Code:
    148 recipes
    16 achievements
    19:08:46 [INFO] Starting minecraft server version Beta 1.6.6
    19:08:46 [INFO] Loading properties
    19:08:46 [INFO] Starting Minecraft server on *:25565
    19:08:46 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    19:08:46 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    19:08:46 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    19:08:46 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    19:08:46 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    19:08:46 [INFO] Preparing level "NewWorld"
    19:08:46 [INFO] Preparing start region for level 0
    19:08:47 [INFO] Preparing start region for level 1
    19:08:47 [INFO] Preparing spawn area: 28%
    19:08:47 [SEVERE] while parsing a block mapping
     in "<reader>", line 3, column 5:
            default: true
            ^
    expected <block end>, but found BlockSequenceStart
     in "<reader>", line 9, column 7:
              - 'citizens.use.trader'
              ^
    
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:576)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    19:08:47 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    19:08:47 [SEVERE]       at org.bukkit.util.config.Configuration.load(Configurati
    on.java:74)
    19:08:47 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:179)
    19:08:47 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:30)
    19:08:47 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:57)
    19:08:47 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    19:08:47 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:96)
    19:08:47 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    19:08:47 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:114)
    19:08:47 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    19:08:47 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    19:08:47 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    19:08:47 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    19:08:47 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    19:08:47 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    19:08:47 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:08:47 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    19:08:47 [SEVERE] [Permissions] Unable to load permission data.
    19:08:47 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    19:08:47 [INFO] [Permissions] (Yeti) was initialized.
    19:08:47 [INFO] BukkitContrib 0.0.8 has been initialized
    19:08:48 [INFO] [Fruitful] Plugin has been enabled.
    19:08:48 [INFO] [Fruitful] Configuration has been loaded.
    19:08:48 [INFO] [Hungry] Loading configuration...
    19:08:48 [INFO] [Hungry] Loading configuration file...
    19:08:48 [INFO] [Hungry] Succesfully loaded configuration file!
    19:08:48 [INFO] [Hungry] Loaded Permissions v3.1.6
    19:08:48 [INFO] [Hungry] Initializing hunger loop...
    19:08:48 [INFO] [Hungry] Hungry version 0.2.1 loaded!
    19:08:48 [INFO] [Permissions] (Yeti) disabled successfully.
    19:08:48 [INFO] [PlayerEditor] PlayerEditor is intializing
    19:08:48 [INFO] [PlayerEditor] SQLite Initializing
    19:08:48 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    19:08:48 [INFO] [Towny] Using: Permissions2
    19:08:48 [INFO] [Towny] Version: 0.71 - Mod Enabled
    19:08:48 [INFO] [Citizens]: version [1.0.8h] (Realist) loaded
    19:08:48 [INFO] [Citizens]: Permissions enabled.
    19:08:48 [INFO] Done (0.213s)! For help, type "help" or "?"
    19:08:48 [INFO] [Citizens]: Loaded 4 NPCs.
    >
    
    and my config file

    Code:
    groups:
      builder:
        default: true
        info:
            prefix: '&2'
            suffix: '&f'
            build: true
        permissions: []
          - 'citizens.use.trader'
      admin:
        default: false
        info:
            prefix: '&b'
            suffix: '&f'
            build: true
        permissions:
          - '*'
    
     
  20. Offline

    ACStache

    move everything under the group name (builder and admin) over to the right by 2 spaces.

    edit: scratch that. use this instead:
    Code:
    groups:
        builder:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            permissions:
                - 'citizens.use.trader'
        admin:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            permissions:
                - '*'
    
    the issue was for builder permissions you had [] as well as the citizens node, [] makes it look like nothing is there then it expects something else on the line the node was on.

    there's a permission node "permissions.demote.<track>" where <track> is the name of the track you've created. Using that they can demote anyone currently in that <track>. there's a separate node for promoting along the <track> (permissions.promote.<track>)

    as for in game commands, I'm not sure what they are

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

    Godleydemon

    still didn't fix it, new config file

    Code:
    groups:
      builder:
          default: true
          info:
              prefix: '&2'
              suffix: '&f'
              build: true
          permissions: []
            - 'citizens.use.trader'
      admin:
          default: false
          info:
              prefix: '&b'
              suffix: '&f'
              build: true
          permissions:
            - '*'
    
    -edit- ok now I changed it, but still isn't working
     
  22. Offline

    ACStache

    @Godleydemon you used the edited version I just posted? I realized my own error
     
  23. Offline

    Godleydemon

    there I just used your edited version, works like a charm. Still trying to figure out what I did wrong though, a little frustrating
     
  24. Offline

    Minecraft93

    So How would i set permissions so that when i have whitelist off, players who join automatically become Default Class?
     
  25. Offline

    ACStache

    it was the extra brackets [] you had in there after permissions:

    Code:
    permissions: []               #[] is seen as null
        - 'permission.node'       #doesn't get seen, since permissions are flagged as null
    
     
  26. Offline

    Godleydemon

    @ACStache one more question, is it possible to wild card citizens.use so it would be 'citizens.use.*' ?
     
  27. Offline

    ACStache

    @Godleydemon if there are more nodes afterwards, sure. so if there's 'citizens.use.X' and 'citizens.use.Y' you can consolidate both (or however many there are) into the 'citizens.use.*' as the * means all of this level. for example: giving someone 'citizens.*' would give them full access of that plugin.
     
  28. Offline

    Godleydemon

    @ACStache thats what I was thinking, thankyou very much for your help, I think I can handle the rest of the setup myself but I'll probably come crying back on my knees smothered in peanut butter and cranberry juice because my server decided it was lunch time on mars.
     
  29. Offline

    ACStache

    @Godleydemon hahaha no problem, I hope you don't have to though :p
     
  30. Offline

    not a spy

    can someone please post a youtube video showing how to setup and configure this mod for newbs plz:confused:
     
  31. Offline

    Sayshal

    Can someone give me a hand. I'm clearly op (Admin in permissions) and in globalGroups and /world/groups.yml I have admins with permisisions: - '*'
    yet It doesnt seem to work?
     
Thread Status:
Not open for further replies.

Share This Page