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

    Maxis010

    GUI status update
    Followed my own advice and looked at the Wiki again, SURPRISE, it's right there

    Going to get started IMMEDIATELY
    Will post a link once I've actually created the relevant folders on GitHub

    Now I just need to get my head around this...TO THE SOURCE CODE
     
  3. Offline

    Videogamenut101

    I am having a little trouble here while setting up permissions, and I thought I posted this a few minutes ago, but it never did, so here you go again, help me if you could
    Code:
    2011-05-31 15:54:07 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:172)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:101)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: mapping values are not allowed here
     in "<reader>", line 76, column 18:
                    build: true
                         ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        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.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        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.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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
     
  4. Offline

    Lanuk

    Okay, I am really confused right now. What happened to the old, simple permissions where I could have just 1 simple world file with my permissions? Now there are like 3 more files in the permissions folder and 2 files in the world folder. What do I do?! I just donwloaded the jar ONLY and started my server, no info entered, and no one could build and I got errors like this:

    Code:
    SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:45 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:45 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:45 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:45 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:45 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:45 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:46 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:46 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:46 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:46 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:46 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:46 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:46 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:52 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:52 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:52 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:52 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:52 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:52 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:52 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:52 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:52 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:53 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:53 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-31 16:20:53 [SEVERE] java.lang.NullPointerException
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    2011-05-31 16:20:53 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    2011-05-31 16:20:53 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    2011-05-31 16:20:53 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    2011-05-31 16:20:53 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-05-
    This probably sounds pretty stupid, but why can't I build, and do I really have to put up with all these files? What info do I enter in each file? Can't I just do this? Permissions > World > world.yml ? HELP WOULD BE APPRECIATED!
     
  5. Offline

    Techykid3

    Hey guys, when I place a block the chat (in game) says: "You do not have permission to use this". I'm running the latest Permissions, I know its CraftBook doing it. I also tried with "MagicCarpet.mc" and apperently my permission nodes wont work. At all. Any clue to why this is happening?
     
  6. Offline

    SalumoN

    Post your Permissions files! Or else we can't help you! You've probably configured it wrong. Even a single mistake, that means one damn spcae (<--read it once more), or one ' might make your whole YML not work. I suppose.

    I had this same issue yesterday. First of all, you must now seperate your users.yml, and your groups.yml. That's a simple process. Now, put the text in either globalusers.yml and globalworlds.yml, or in the good old world. The difference is that the global counts for all worlds on your server, and the world only counts for that world. You can also put your text in both, but then it's got to be the same, or else the world will override the global.

    Why you can't build? There is most likely something you have done wrong. 4 spaces, not a tab? Remembered all the 's? Check it, I lacked one xD. Check that your users file is completely correct too. Also, walk away from spawn...

    ----------------------------------

    Now then, I've got a problem too. While my user account is set to an admin, it works exactly as it should (while being, and while not being OP). But when I'm set to Builder, Moderator, or Default, none of the permissions works. It's just as being Default without any special permissions.

    For instance, while I set my own nick as a builder, and deops me (rs server, obviously). Then I can't use /i 1 64 to get 64 stone, as the 'general.items' should allow me to. So why doesn't this work? I'm pretty sure I have done something wrong, but I can't spot it.

    Been looking at this all day now, I feel like a complete moron asking for help xD. Thanks btw :D.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'worldguard.region.info'
                - 'general.spawn'
                - 'general.player-info'
                - 'stargate.use'
    
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.items'
                - 'general.time'
                - 'stargate.create'
                - 'stargate.create.personal'
                - 'stargate.option.hidden'
                - 'stargate.option.alwayson'
                - 'stargate.option.private'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'worldguard.*'
                - 'general.*'
                - 'stargate.*'
    
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'general.*'
                - 'stargate.*'
    What does '*' do? Does it give me all permissions? Or does it give me all permissions previously mentioned? If it gives me all I can remove general.* and stargate.*? Right? :)

    Code:
    users:
        salumon:
            groups:
            - Admin
            permissions:
    
    
        miss_gamer2000:
            groups:
            - Builder
            permissions:
    
    
        paularne:
            groups:
            - Builder
            permissions:
     
  7. Offline

    Lanuk

    Er thanks for the help, but I am still confused. I can delete all the files and replace it with a world.yml file? And I don't think I did anything wrong... I just stuck the jar file in my plugins folder, and ran. I didn't modify anything. Is it supposed to prevent people from building if nothing is specified?
     
  8. Offline

    SalumoN

    No, you cannot use world.yml. You can either use both users.yml and groups.yml in the "worldname" folder, or use the globalusers.yml and the globalgroups.yml. A combination is as said possible. Obviously, your users are going to be in the users file, and the groups are going to be in the groups file. Have a look at my groups, and users file in my previous post.

    The reason you can't build can be many. Are you sure "build: true" is specified? Are you outside the spawn area (be op and this doesn't matter)? Or there might be a simple, small error in your files/filesystem. Stating the obvious again: remember to restart the server ;-).

    Btw, if you haven't configured anything at all. Your user will be set as a default, and default can't build because it's stated: "build: false".
     
  9. Offline

    Clem

    I am using YAML parser to check my file and it gave me this error:
    Code:
    Output
    ERROR:
    
    while scanning for the next token
    found character '\t' that cannot start any token
      in "<unicode string>", line 5, column 5:
                - Donator
            ^
    When I delete that I get a similar error, but for a different part.

    What does this mean?

    Thanks
     
  10. Offline

    Maxis010

    Actually you can't use the globals, last I heard they are disabled which the bugs are ironed out of the rest of the plugin, someone correct me if the devs have stated otherwise

    You have a tab in your file, get notepad++ or a similar program to convert all tabs to 4 spaces each

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

    Clem

    okay... I have TextWranger, because I am on a Macintosh. Do you know a way? I suppose I should just google it :p. Thanks anyways!
     
  12. Offline

    SalumoN

    @Maxis010: Thanks for the information :).

    Or just do it manually..
     
  13. Offline

    Clem

    @SalumoN you have no clue how many spaces I would have to make :p

    Important: For any of you who used tabs instead of spaces do Command+F and find /t (for tabs) and replace with four spaces (just press space four times). Also use this website to find out where the errors are coming from =D! http://yaml-online-parser.appspot.com/

    -Clem

    P.S. I will learn Java, but first I have to learn the materials for my exams :O


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

    Lanuk

    It is definitely because of Permissions. I am fairly sure the AntiBuild plugin is required to restrict users from building, is it not? But I have told you already. I didn't touch the files. They were empty.
     
  15. Offline

    SalumoN

    Aha xD. Well, pressing space is no good idea. What about just pasting (ctrl/cmnd + v)? That's what I've ben doing, didn't think about notepad++ :p.
     
  16. Offline

    Lanuk

    It gives you all permissions, so yes, you can remove general.* and stargate.*

    Thats what I meant XD

    By the way, will this still work with the latest version of iChat? (2.3.0 I believe)

    Ehh, another problem. My player appears as the Default rank (Guest) even though my files look like this (yes, I don't have any tabs):

    Code:
    users:
        Lanuk:
            group: Admin
            permissions: null
       
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: false
            inheritance: null
            permissions:
        Player:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance: null
            permissions:
        Mod:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance: null
            permissions:
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  17. Offline

    SalumoN

    That's why you can't build ;).
     
  18. Offline

    Lanuk

    Ah thanks, I have been asking if my files being untouched was the problem for a while.. no answer

    Now I don't have to put this:

    plugin:
    permissions:
    system: default
    copies: null

    at the top of my groups + user files, do I?
     
  19. Offline

    The_Nut

    sorry... my comment was accidentally made within the partial quote of you.

    Looks like you have a tab just before the "- Member" text in your config file.
    Remove it or replace it with 4 spaces. (whatever it takes to get the indenting correct.)
     
  20. Offline

    Lanuk

    Or use Notepad ++ and turn off tabs in the settings or whatever :p

    Try clicking the Jar link at the top of the page. When the jar file is done downloading, drag and drop it into your plugins folder.

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

    Maxis010

    Or make the file then go Edit > Blank operators > Tabs to spaces
     
  22. Offline

    Liger_XT5

    Yes it does.

    Anyone been able to get permissions to work stably on 817?
    It comes up saying I don't have permission for even the basic commands. Yes I do have the users and groups configs done right. If I go into the console and do a permissions -reload all, /spawn will work, but a chunk of other plugins will still state that I do not have permission, like /warp will say I do not have permission to the specified warp name, even commandbook /slap won't let me slap anyone for complaining lol.

    Is your users.yml and groups.yml placed in the world folder of permissions? When I mean by this, if your world is called BoB, the yml files need to be in the plugins > Permissions > Bob

    I have to do this for all my worlds, the global doesn't seem to work CB 817.

    edit, I see your problem now. Change the line in the users part that says
    group: Admin
    to
    groups:
    - Admin
    (There is 4 spaces before the "- Admin")

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

    Lanuk

    Meh, just downgrade to 1.5 and send your players a link on how to downgrade. I rather just have everyone stay at 1.5 and everything work perfectly rather than trying out a test build. Works much better over here c:

    Yep, thats how I have it.

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

    Liger_XT5

    re-read my post, I made an edit. I noticed your real problem.
     
  25. Offline

    Lanuk

    Ill try it, ive been using it as is for the past month or so now though

    Ohhhh now I see it, it DID change. Thanks, works now :D :D

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

    Liger_XT5

    Not a problem. I'm still trying to figure out my problem I mentioned before where I can't use most commands after a restart or reload, then some commands work when I use /permissions -reload all.
    I downgraded permissions to the version before and going to see if it works :/
     
  27. Offline

    SalumoN

    Not nessescarly 4 spaces there..? Right?

    Anyone got the solution on my problem yet? :)
     
  28. Offline

    mrgreaper

    what ever hapened to nice simple permissions, one file and then an extra file per world?

    ok i took my world.yml file i copied the groups section and placed it in groups.yml in a folder called world inside the permissions folder inside the plugin folder

    i took the users section and placed it into a users.yml in the same folder as the groups one

    i connected, as a mod i can do everything

    a staff group player connected (ichat tagged them as [staff] )
    now staff inherit vip which inherits registered which inherits unregistered, on permisions 2.0 this works fine on 3.0 the player cant issue any commands they all come back you do not have permision

    a unregistered player connected and had the same issue

    there is no errors in the log so the yml format is fine, i can see that permisions is loaded and enabled and i can see plugins are using it

    help !?

    Code:
    users:
        iSushi:
            permissions: []
            groups:
                - vip
        mrgreaper:
            permissions: []
            groups:
                - admins
        iShusi:
            permissions: []
            groups:
                - vip
        yellowdog12:
            permissions: []
            groups:
                - registered
        stevenb88:
            permissions:
            - worldedit.*
            groups:
                - staff
    a sample of the users file (its big)

    Code:
    groups:
        loyal:
            default: false
            permissions: []
            inheritance:
            - vip
            info:
                prefix: '&b LOYAL'
                build: true
                suffix: ''
        vip:
            default: false
            permissions:
            - home
            - kit.armour
            - kit.arrows
            - kit.freebie
            - kit.kit
            - commandbook.kit.kits.freebie
            - commandbook.kit.kits.armour
            - listachievements
            - mcmmo.regeneration
            - npc.create
            - npc.manager.*
            - npc.owner.*
            - stargate.create.personal
            - stargate.destroy.owner
            - travelportals.comand.warp
            - travelportals.command.name
            - travelportals.portal.create
            - travelportals.portal.use
            inheritance:
            - registered
            info:
                prefix: '&2 Trusted '
                build: true
                suffix: ''
        staff:
            default: false
            permissions: []
            inheritance:
            - vip
            info:
                prefix: '&e STAFF'
                build: true
                suffix: ''
        default:
            default: true
            permissions:
            - myhome.home.basic.*
            - elevators.advancedbuilder
            - elevators.builder
            - help
            - commandbook.say
            - commandbook.say.me
            - commandbook.spawn
            - commandbook.msg
            - commandbook.whereami
            - commandbook.whereami.compass
            - commandbook.kit.kits.freebie
            - iConomy.access
            - iConomy.list
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            - preciousstones.special.*
            - BlueTelePads.Use
            - BlueTelePads.create
            - iConomy.rank
            - mcmmo.ability.*
            - mcmmo.chat.partychat
            - mcmmo.commands.party
            - mcmmo.commands.ptp
            - mcmmo.skills.*
            - stargate.use
            - travelportals.command.help
            - travelportals.portal.use
            - turnstile.delete
            - turnstile.use
            inheritance: []
            info:
                prefix: 'Unregistered '
                build: true
                suffix: ''
        registered:
            default: false
            permissions:
            - essentials.kit.arrows
            - essentials.kit.freebie
            - BlueTelePads.Create
            - BlueTelePads.Use
            - essentials.mail.send
            - PortableTorch.Allow
            - home
            - falsebook.ic.mc0020
            - falsebook.ic.mc0111
            - falsebook.ic.mc0230
            - falsebook.ic.mc0260
            - falsebook.ic.mc0261
            - falsebook.ic.mc0262
            - falsebook.ic.mc0270
            - falsebook.ic.mc0271
            - falsebook.ic.mc0272
            - falsebook.ic.mc0420
            - falsebook.ic.mc1000
            - falsebook.ic.mc1001
            - falsebook.ic.mc1017
            - falsebook.ic.mc1018
            - falsebook.ic.mc1020
            - falsebook.ic.mc1110
            - falsebook.ic.mc1230
            - falsebook.ic.mc1240
            - falsebook.ic.mc1241
            - falsebook.ic.mc1260
            - falsebook.ic.mc1261
            - falsebook.ic.mc1262
            - falsebook.ic.mc1270
            - falsebook.ic.mc2020
            - falsebook.ic.mc3002
            - falsebook.ic.mc3003
            - falsebook.ic.mc3020
            - falsebook.ic.mc3021
            - falsebook.ic.mc3030
            - falsebook.ic.mc3031
            - falsebook.ic.mc3033
            - falsebook.ic.mc3034
            - falsebook.ic.mc3036
            - falsebook.ic.mc3040
            - turnstile.link
            - turnstile.make
            - stargate.create.personal
            - turnstile.price
            - turnstile.unlink
            - commandbook.kit.freebie
            - commandbook.kit.armour
            - uQuest.CanQuest.*
            - iConomy.payment
            - myhome.home.*
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            inheritance:
            - default
            info:
                prefix: 'New '
                build: true
                suffix: ''
        admins:
            default: false
            permissions:
            - '*'
            inheritance:
            - mods
            info:
                prefix: '&4 ADMIN '
                build: true
                suffix: ''
        mods:
            default: false
            permissions:
            - preciousstones.bypass.*
            - mcbans.kick
            - mcbans.view_ban
            - mcbans.ban.local
            - mcbans.mod
            - mcbans.tempban
            - bb.admin.info
            - bb.admin.rollback
            inheritance:
            - vip
            info:
                prefix: '&5 GM '
                build: true
                suffix: ''
    the group file
    Code:
    2011-05-31 17:04:10 [INFO] [Permissions] (Yeti) was initialized.
    im at a loss, help!
     
  29. Offline

    koalatee

    hi there,

    I am new to running a minecraft server, and I am renting. I am on beta 1.5_02, with the only other things installed being CraftBukkit and RuneCraft. I unzipped the .zip in the plugin folder but what I got was different from what I expected -

    Plugins/World - groups.yml and users.yml are in there.
    Plugins/Permissions - globalGroups.yml, globalUsers.yml and storageconfig.yml are in there.
    Plugins/Permissions/World - groups.yml and users.yml (again?!?)

    I assume the global files relate to multi-world permissions where as the ones in my "world" folder relate specifically to that world (actually called "world") but why are there 2 world folders?



    I currently have:

    groups:
    Nub:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Nub
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    and


    users:
    koalatee:
    groups:
    - Admins
    permissions:
    rage_king:
    groups:
    - Admins
    permissions:

    and storageconfig.yml is blank.


    All 3 user files (including global) and all 3 group files (including global) are as above and I have checked them with an online YAML parser showing no errors.

    When I log into the game I can do "/pr" and see version 3.0.6 Yeti fine; the command to list worlds shows "*, world" although I only have "world", dunno what the "*" there means; when I try to list groups I get "[Permissions] Syntax...etc...etc", same if I try to list my own permissions. Trying different commands, I have been able to create the group "Admins" although I don't know wether that links to the group in my .yml files or if it has created a duplicate (lol -_-). Trying to list the direct parent for the group "Moderators" inherited permissions gives me "[Permissions] User/Group does not exist" and trying the same for the group "Admins" gives me "[Permissions] Parents: Group Nub in world" so why is my bottom level group the parent of my top level group?? I also found out that I myself have permission to add permissions (I would hope so too!). Beyond that, I can not get most commands to work for me.

    If you are reading this then you can probably tell that I am just trying to get it working almost as-is so I can beging to play with it, and I have become a bit confused with this but I am hoping that it is something simple like needing to delete one of the "world" folders or something....anyway, I am drawing a blank atm so any help greatly appreciated :)
     
  30. Offline

    ZachBora

    where's the 3.0.6 changelog??
     
  31. Offline

    Clem

    I'm very sorry for the non-stop posting, but the wiki is not very user friendly; to put it nicely. I cannot seem to promote myself to anything besides default, tried CMD, editing the user.yml, and in-game. When I tried it in-game I somehow assigned a command to a feather, which unfortunately is being used by Tele++ (Tp tool), so it spams me saying it doesn't know the command. With 3.0 I thought they would make promotions, and changing of one's or another's status easier... The command is quite confusing to use -_-, maybe something like GM? Sorry for the poor attitude, but I am getting a big aggravated :/.
     
Thread Status:
Not open for further replies.

Share This Page