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

    palz2015

    I hate BukkitPermissions, so I'm attempting to live without it (hard when the host forces you to use their noob control panel for everything.). So i install Permissions and on startup am bombarded by this:
    Code:
    2011-08-03 23:01:58 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-03 23:01:58 [INFO] Loading properties
    2011-08-03 23:01:58 [INFO] Starting Minecraft server on 0.0.0.0:2508
    2011-08-03 23:01:58 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-08-03 23:01:58 [SEVERE] Could not load 'plugins/CommandBook.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
        ... 11 more
    2011-08-03 23:02:19 [SEVERE] java.lang.StackOverflowError
    2011-08-03 23:02:19 [SEVERE]     at sun.nio.cs.US_ASCII$Encoder.encodeLoop(US_ASCII.java:211)
    2011-08-03 23:02:19 [SEVERE]     at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:561)
    2011-08-03 23:02:19 [SEVERE]     at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:258)
    2011-08-03 23:02:19 [SEVERE]     at java.lang.StringCoding.encode(StringCoding.java:290)
    2011-08-03 23:02:19 [SEVERE]     at java.lang.String.getBytes(String.java:954)
    2011-08-03 23:02:19 [SEVERE]     at java.io.FileInputStream.open(Native Method)
    2011-08-03 23:02:19 [SEVERE]     at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-08-03 23:02:19 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:43)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:95)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     atcom.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:286)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionCache.updateParent(PermissionCache.java:81)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.addParent(Entry.java:179)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.User.<init>(User.java:31)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.PermissionWorld.reload(PermissionWorld.java:62)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:98)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:448)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.getGrp(ModularControl.java:517)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.ModularControl.stringToGroups(ModularControl.java:407)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getParents(Entry.java:344)
    2011-08-03 23:02:19 [SEVERE]     at com.nijiko.permissions.Entry.getAllPermissions(Entry.java:297)
    2011-08-03 23:02:19 [SEVERE] [Permissions] Unable to load permission data.
    2011-08-03 23:02:19 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
     
  3. got a problem yesterday my permissions worked just fine but today i got this message

    23:39:29 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$RefreshTask from class com.nijiko.permissions.Modula
    rControl
    23:39:29 [SEVERE] at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:64)
    23:39:29 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:179)
    23:39:29 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    23:39:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    23:39:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer
    .java:378)
    23:39:29 [SEVERE] at org.bukkit.command.SimpleCommandMap$ReloadCommand.exe
    cute(SimpleCommandMap.java:281)
    23:39:29 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:129)
    23:39:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:312)
    23:39:29 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServe
    r.java:480)
    23:39:29 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:465)
    23:39:29 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    23:39:29 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    23:39:29 [SEVERE] [Permissions] Unable to load permission data.
    23:39:29 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    23:39:29 [INFO] [Permissions] (Yeti) was initialized.
    23:39:29 [INFO] [Permissions] (Yeti) disabled successfully.

    anyone know the problem?
     
  4. Offline

    ACStache

    list all the plugins you're using. The ones that were known to cause issues are older versions of Help, MyWarp, MyHome, and BigBrother.
    also, what did you do since yesterday to the server? any plugin updates/removals/additions?
     
  5. yea i was installing new mods but when it started to give this error i removed them but the plugins i have now are:
    Achievments
    ButtonControl
    Global Shop
    HeroChat
    IConomy
    Permisions
    Realshop
    Residence
    Stats

    The Plugins i was testing were
    Minequest
    Uquest
    Citezen
    NPC-Quester
    but al those are deleted
     
  6. Offline

    DrNoD

    Hi,

    i have a "understand" Problem.

    i tried so things described in "Global vs World" but i have some questions.

    i want to make a server with more than one world. for example: world, world_nether and spheres
    all groups with their permissions should be active in all 3 worlds.
    i used the world copy thing.

    i defined a "track" for the promote/demote commands.

    default->moderator->admin

    so far so good.

    if a user is in "word" moderator... i promote him... he gets admin. But in "world_nether" for example he is still moderator.

    if i do a "/pr -reload all" its ok.

    is this a bug? or is there something wrong with how i understand all the thing?
     
  7. Offline

    Jeyge

    You have 2 errors in there. The first is caused by not having WorldEdit which CommandBook requires. The second is caused by a conversion in Permissions of a user that doesn't currently have a group associated with them and the default group/some other group have a circular reference that leads to itself. The easiest way to fix it (outside of posting all of your files and letting me find it :) ) is to make sure all users in your users.yml currently have a group assigned to them. If you want, feel free to zip up your plugins\permissions directory and post it here and I'll take a look at it.

    There is some information in the wiki FAQ on how to fix the IllegalAccessError.

    That would be a bug. Feel free to post it on the Issue tracker or if you would like, I will do it for you.

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

    DrNoD

    hey, thanks for the answer.

    you have the same problem? is there a workaround? i think lots of servers are using permissions plugin. how do they handle the multi world thing?

    i would be glad if you can post it there as bug, i dont have a account and my english is not the best :)
     
  9. Offline

    Jeyge

    While I've never run into it myself, I was able to confirm that it is a bug. I will enter the Issue later tonight.

    I think your only workaround is to reload your permissions each time you promote someone.
     
  10. Offline

    darkdar

    some of my commands arent working can u check if there is anything wrong with this. because i added things for my guests but they cant use it.
    Code:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    #   To make a group inherit the permissions and info nodes from another
    #   group, simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Wildcard Permission settings:
    #
    #       You can have wildcard nodes which encompass all nodes that match it.
    #       For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    #       "modplugin.settings.view", and so on.
    #
    ##
    #   A single asterisk means that this user/group has all permissions.
    #       - '*'
    ##
    #   Negated nodes are created by prefixing a normal node with "-".
    #   They prevent less specific wildcard nodes from matching the negated node.
    #   For example:
    #
    #   permissions:
    #       - 'foo.*'
    #       - '-foo.bar'
    #
    #   In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "foo.bar".
    #
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    ##
    #
    #   For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    
    groups:
        Guest:
            default: true
            info:
                prefix: '&8'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.signs.use.trade'
                - 'commandbook.rules'
                - 'commandbook.spawn'
                - 'essentials.intro'
                - 'essentials.afk'
                - 'lwc.*'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'commandbook.motd'
                - 'commandbook.msg'
                - 'essentials.msg'
                - 'essentials.signs.use.disposal'
                - 'essentials.rules'
                - 'essentials.helpop'
                - 'mcmmo.skill.*'
                - 'mcmmo.ability.*'
                - 'essentials.list'
                - 'factions.participate'
                - 'commandbook.online'
                - 'commandbook.kit.kits.starter'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'snd.join'
        Citizen:
            default: false
            info:
                prefix: '&a'
                suffix: '&f'
                build: true
            inheritance:
                - Guest
            permissions:
                - 'commandbook.whereami'
                - 'commandbook.slap'
                - 'commandbook.whois'
                - 'essentials.mail'
                - 'essentials.suiside'
                - 'essentials.me'
        Knight:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Citizen
            permissions:
                - 'mywarp.warp.basic.*'
                - 'duckshop.link'
                - 'iConomyChestShop.*'
        Shadow:
            default: false
            info:
                prefix: '&6'
                suffix: '&f'
                build: true
            inheritance:
                - Knight
            permissions:
                - 'mywarp.warp.soc.*'
                - 'essentials.tp'
                - 'essentials.tpdeny'
                - 'essentials.tpaccept'
                - 'essentials.tphere'
                - 'bb.admin.rollback'
                - 'bb.admin.info'
                - 'essentials.create.*'
                - 'essentials.break.*'
                - 'essentials.use.*'
                - 'essentials.kill'
                - 'essentials.tpa'
                - 'falsebook.blocks.*'
                - 'factions.create'
                - 'factions.viewAnyPower'
                - 'factions.manageSafeZone'
                - 'factions.manageWarZone'
                - 'factions.lock'
                - 'factions.reload'
                - 'factions.saveall'
                - 'factions.disband'
        Guardian:
            default: false
            info:
                prefix: '&c'
                suffix: '&f'
                build: true
            inheritance:
                - Shadow
            permissions:
                - 'essentials.*'
                - 'commandbook.*'
                - 'bb.admin.*'
                - 'worldguard.*'
                - 'worldedit.*'
        Bouse:
            default: false
            info:
                prefix: '&c'
                suffix: '&f'
                build: true
            inheritance:
                - Guardian
        Owner:
            default: false
            info:
                prefix: '&d'
                suffix: '&b'
                build: true
            inheritance:
            permissions:
                - '*'
     
  11. Offline

    sharkck

    Ok. I'm trying to figure out the tracks thing...
    Below are copies of my global groups config, and my groups config on one of my worlds. I am wanting to be able to use /pr hlkazzak promote and /pr hlkazzak demote
    (or any other username that I wish to promote/demote)
    And yes... I know I set it up on track1 after trying to set it up as default using

    Original track setup in both configs:
    Code:
    track:
        - Newb
        - Default
        - SemiAdmin
        - Admin
    
    My configs:
    Global Groups:
    Code:
    groups:
        Admin:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            permissions:
                - '*'
                - 'residence.admin'
                - 'residence.create'
        Default:
            default: false
            info:
                prefix: '&4'
                suffix: '&e'
            permissions:
                - 'mailbox.viewlog'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.use.*'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.seen'
                - 'essentials.suicide'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.spawn'
                - 'essentials.signs.heal.use'
                - 'essentials.portal'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'lwc.protect'
                - 'jobs.join.*'
                - 'jobs.world.paradise'
                - 'iConomyChestShop.shop.*'
                - 'iConomyChestShop.command.iteminfo'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
    #            - 'essentials.*'
        SemiAdmin:
            default: false
            info:
                prefix: '&6[Mod]'
                suffix: '&f'
                build: true
            permissions:
                - 'residence.create'
                - 'mailbox.viewlog'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.override'
                - 'essentials.signs.use.*'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.tpohere'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.seen'
                - 'worldedit.butcher'
                - 'essentials.suicide'
                - 'essentials.thunder'
                - 'essentials.lightning'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.spawn'
                - 'essentials.help'
                - 'essentials.back'
                - 'essentials.portal'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.protect.alerts'
                - 'essentials.protect'
                - 'restartNow.scheduleRestart'
                - 'lwc.protect'
                - 'lwc.mod'
                - 'jobs.join.*'
                - 'jobs.world.paradise'
                - 'jobs.admin.info'
                - 'jobs.admin.transfer'
                - 'iConomyChestShop.shop.*'
                - 'iConomyChestShop.command.iteminfo'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
        Newb:
            default: true
            info:
                prefix: '&b[Welcome the]&1'
                suffix: '&b[new player]'
                build: false
            permissions:
                - '-*'
                - 'lwc.deny'
    tracks:
        track1:
            - Newb
            - Default
            - SemiAdmin
            - Admin
    
    My local world groups.yml:
    Code:
    groups:
        Admin:
            default: false
            info:
                build: true
            permissions:
                - '*'
        Default:
            default: false
            info:
                build: false
            permissions:
                - '-mailbox.create'
                - '-mailbox.remove'
                - 'residence.create'
                - 'lc.level.*'
                - 'lc.shout'
                - 'lc.unlevel.*'
        SemiAdmin:
            default: false
            info:
                build: true
    #        inheritance:
    #            - Default
            permissions:
                - 'residence.create'
                - '-mailbox.create'
                - '-mailbox.remove'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.override'
                - 'essentials.back'
                - 'lc.level.*'
                - 'lc.shout'
                - 'lc.unlevel.*'
        Newb:
            default: true
            info:
                build: false
            permissions:
                - '-*'
                - 'lwc.deny'
    tracks:
        track1:
            - Newb
            - Default
            - SemiAdmin
            - Admin
    
    When I type /pr hlkazzak promote (or in this setup, /pr hlkazzak promote t:track1), it responds in the chatlog: '[Permissions]User is not a child of the specified parent group.' in red.

    What am I doing wrong? Do I need to go ahead and add the tracks to all the other worlds? I would assume you would only have to add the tracks to the global config.... when that didnt work, I added it to the world specific groups.yml as well.

    I get no errors in the server console.

    And YES. I am on the world that the above groups.yml config file is for when typing the commands.
     
  12. Offline

    dave47561879

    i dont understand whats happening. everything was running perfect, but then all of a sudden, my 2 mods lost like all of their permissions. what on earth is going on?
     
  13. Offline

    Zalerinian

    Ok im completely new to hosting a server and i'm trying to get the vampire mod to work for SMP. it says i need permissions 2.x or 3.x, i downloaded the permissions 3, but which plugin do i use? there are two different ones, one from Permissions.jar, and one from PermissionSQL.jar. Which do i use? or do i use both? Any instruction would be greatly appreciated, but more detailed info might help more. If there is a newbs guide, then that would be accepted, i just need help.
     
  14. Offline

    malicious_taco

    does this work on build 1000?
     
  15. Offline

    ACStache

  16. Offline

    mmdawg1

    Can someone make a groups.yml file for the main essentials permission nodes

    groups:

    Guest
    Member
    Moderator
    Op
    Admin
     
  17. Offline

    Brady_

    Does anyone else have an issue where their server randomly locks up and spew out "Read timed out" errors? I ask here because it only started happening after I switched from GM to Permissions, due to mcma's fail exporting.
     
  18. Offline

    Anetar

    Code:
    11:57:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr'
    in plugin Permissions v3.1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    20)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at java.util.HashSet.<init>(Unknown Source)
            at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
    
            at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java
    :168)
            at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:5
    32)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.ja
    va:731)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    12:01:38 [INFO] [Heroes] Created hero: ºbExelsisGuard
    12:01:38 [INFO] [Heroes] Created hero: º4HarrakinGuard
    >
    I am getting this error when I try to do : /permissions Anetar w:Dentar promote Admin
    I already have set up the permissions for me as Guest, so I can promote myself to admin.
    I have deleted all my Essential group .jars, and groupmanager, groupbridge etc.
    please help me :(
     
  19. Offline

    Monkey_nuts

    Ok so i was runnign and fixing up my server yesterday and all of the plugins were running fine
    then today i ran my server and this popped up:

    Code:
    [SEVERE] [Permissions] Unablle to load permissions data/
    [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    [INFO] [Permissions] (Yeti) was initialized.
    [INFO] [Permissions] (Yeti) disabled successfully.
    And now because these files cant be "found" when they are in the correct place that they should be all of my other plugins running on permissions have mucked up!

    The Plugins that have crashed due to this are:
    -AutoSave
    -iChat
    -Permssions
    (Possibly)
    -BlackJack
    -LWC
    -MobArena
     
  20. Offline

    Danilo_dk

    I have a problem setting up permissions on my new server. I managed to get it installed just fine, but no matter what I do the only plugin that it disallows commands from seems to be multiverse. In other words: a new player is pretty much the same as an admin right now.

    Plugins I installed: Bigbrother, Commandbook, dynmap, Ichat, Multiverse, Myhome, Mywarp, Permissions, Timeshift, Voxelsniper, Worldedit, Worldguard.

    This is what groups.yml in world folder currently looks like
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&9Default&f '
                suffix: ''
                build: false
    users.yml, globalgroups.yml and globalusers.yml are currently empty

    storageconfig.yml
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world_nether: world
                world_skylands: world
     
  21. Offline

    Owenfitz

    So.. I used the default permissions as my template and it all seems to work fine. when i start the server it says permissions found and runs smoothly. however as you can see from my permissions file below i(owenfitz2) should have all permissions. but when i enter the server i can't do anything. i cant even build when all my groups have that enabled. what is wrong?
    Code:
    groups:
    
        User:
    
            default: true
    
            info: Peon
                prefix ''
    
                suffix ''
    
                build true
    
            inheritance:
    
            permissions:
    
    #            - 'signColours.f'
        Donor:
    
            default: false
    
            info:
    
                prefix: '&bDonor'
    
                suffix: '&f(&b*&f)'
    
                build: true
    
            inheritance:
    
                - Default
    
            permissions:
    
                - 'signColours.*'
    
    #            - 'econplugin.basic.*'
    
        Moderator:
            default: false
    
            info:
    
                prefix: '&6Mod'
    
                suffix: '&f(&b*&f)'
    
                build: true
    
            inheritance:
    
                - Member
    
            permissions:
    
    #            - 'modplugin.ban'
    
    #            - 'modplugin.kick'
    
    #            - 'modplugin.unban'
    
        Founder:
    
            default: false
    
            info:
    
                prefix: '&4Founder'
    
                suffix: '&f(&b*&f)'
    
                build: true
    
            inheritance:
    
            permissions:
    
                - '*'
    users:
    
        Owenfitz2:
    
            groups:
    
                - Founder
    
            permissions:
                - '*'
     
  22. Offline

    Monkey_nuts

    This is the full error list once I reloaded the server:

    Code:
    11:58:20 [INFO] [AutoSave] Saving config file
    2011-08-04 11:58:20 [INFO] [AutoSave] Version 2.0.1 is disabled!
    2011-08-04 11:58:20 [INFO] [iConomy] Plugin disabled.
    2011-08-04 11:58:20 [INFO] [Questioner] v0.4 - Disabled
    2011-08-04 11:58:20 [SEVERE] while parsing a block mapping
     in "<reader>", line 85, column 9:
                default: false
                ^
    expected <block end>, but found Scalar
     in "<reader>", line 110, column 12:
                - 'mobarena.setup.setarena
                   ^
    
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-08-04 11:58:20 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-08-04 11:58:20 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-04 11:58:20 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:114)
    2011-08-04 11:58:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
    2011-08-04 11:58:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    2011-08-04 11:58:21 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
    2011-08-04 11:58:21 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:378)
    2011-08-04 11:58:21 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    2011-08-04 11:58:21 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-08-04 11:58:21 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
    2011-08-04 11:58:21 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    2011-08-04 11:58:21 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    2011-08-04 11:58:21 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-08-04 11:58:21 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-04 11:58:21 [SEVERE] [Permissions] Unable to load permission data.
    2011-08-04 11:58:21 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-08-04 11:58:21 [INFO] [Permissions] (Yeti) was initialized.
    2011-08-04 11:58:21 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-08-04 11:58:21 [INFO] [AutoSave] Loading config file
    2011-08-04 11:58:21 [INFO] [AutoSave] Version 2.0.1 is enabled: 9331caed-cce0-40c1-8d3c-6650daf6f24c
    2011-08-04 11:58:21 [INFO] [AutoSave][Permission] Custom Permissions "Local Permissions" found: Loaded
    2011-08-04 11:58:21 [INFO] [AutoSave][Permission] PermissionsEx not found.
    2011-08-04 11:58:21 [INFO] [AutoSave][Permission] Permissions (Phoenix) not found.
    2011-08-04 11:58:21 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-04 11:58:21 [INFO] Loaded EssentialsProtect build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-04 11:58:21 [INFO] Loaded EssentialsSpawn build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-04 11:58:21 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-08-04 11:58:21 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-08-04 11:58:21 [INFO] [MonsterHunt] MonsterHunt Loaded!
    2011-08-04 11:58:21 [INFO] [Questioner] v0.4 - Enabled
    2011-08-04 11:58:21 [INFO] [iChat] Permissions plugin not found or wrong version. Disabling
    2011-08-04 11:58:21 [INFO] [iChat] iChat Disabled
    2011-08-04 11:58:21 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-08-04 11:58:21 [INFO] Reload complete.
    
    I checked all of the code mistakes in the groups.yml for both worlds and everything was fine, so i copied and pasted all of the groups.yml and pasted it into the other groups.yml and the globalgroups.yml just to be safe.

    This will probably not make a difference to anything but i think this thing may happen due to some of the plugins encountering errors use databases - and i was just wondering if the fact that my ip changes everyday to a new one if this may be the cause.

    If you can help then Thank you :D

    dude i think you are probably just in the spawn protection area move out or where you spawned then try and break something - that is what it sounds like. :D

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

    suicidal_banana

    Im sorry to say, i gave up.
    I went for a different plugin, ill just give the name since linking to it seems rude; 'PermissionsEX'
    Im hoping i can move back to permissions when it reaches 3.1.7 or later.

    :(
     
  24. Offline

    FireFreak111

    Where is rcjrrjcr? Its been a month with no updates to his source or reply to the forums or github issues?
     
  25. Offline

    ChrisDRob

    Can someone help me out here, how come Permissions stops working when I have a certain number of plugins installed/running. Here is the issue in red.

    151 recipes
    16 achievements
    12:59:29 [INFO] Starting minecraft server version Beta 1.7.3
    12:59:29 [INFO] Loading properties
    12:59:29 [INFO] Starting Minecraft server on 5.166.187.13:25565
    12:59:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    12:59:30 [INFO] LWC: Loading shared objects
    12:59:30 [INFO] LWC: Protection cache: 0/10000
    12:59:30 [INFO] LWC: Native library: plugins/LWC/lib/native/Windows/x86/sqlitejd
    bc.dll
    12:59:30 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$RefreshTask from class com.nijiko.permissions.Modula
    rControl
    12:59:30 [SEVERE] at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:64)
    12:59:30 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:179)
    12:59:30 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    12:59:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    12:59:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    12:59:30 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    12:59:30 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    12:59:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    12:59:30 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    12:59:30 [SEVERE] [Permissions] Unable to load permission data.
    12:59:30 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    12:59:30 [INFO] [Permissions] (Yeti) was initialized.
    12:59:30 [INFO] [Permissions] (Yeti) disabled successfully.
    12:59:30 [INFO] Preparing level "Chris'World"
    12:59:30 [INFO] Preparing start region for level 0 (Seed: 1772835215)
    12:59:30 [INFO] [ChestShop] version 3.00 BETA 11 initialized!
    12:59:30 [INFO] [ChestShop] iConomy 5 loaded.
    12:59:30 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:30 [INFO] [ChestShop] LWC version 3.31 loaded.
    12:59:30 [INFO] Loaded Essentials build 2.5.6 by [Zenexer, ementalo, Aelux, Bret
    tflan, KimKandor, snowleo, ceulemans, Xeology]
    12:59:30 [INFO] [Essentials] Payment method found (iConomy version: 5)
    12:59:30 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:30 [INFO] [HeroChat] HeroChat version 4.11.0 enabled.
    12:59:30 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:30 [INFO] [Permissions] (Yeti) disabled successfully.
    12:59:30 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] [HeroSneak] 1.2.2.51 enabled.
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] [iConomy] Logging is currently disabled.
    12:59:31 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    12:59:31 [INFO] [iConomy] Developed by: [Nijikokun]
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    12:59:31 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
    or /mc.
    12:59:31 [INFO] [MagicCarpet] Restricted to: []
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] Need to download 2 object(s)
    12:59:31 [INFO] - Downloading file : http://stethoscopesmp.com/tkelly/lib/sqlit
    e.jar
    12:59:31 [INFO] [MYHOME]: 1 homes loaded
    12:59:31 [INFO] [MYHOME] Permissions enabled using: Permissions v3.1.6
    12:59:31 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    12:59:31 [INFO] [MYHOME] MyHome 1.9.3 enabled
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] Spout 1.0.1 has been initialized
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] WelcomeMessage 1.5.3 enabled
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] WorldEdit 4.6 enabled.
    12:59:31 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    12:59:31 [INFO] WorldGuard: (Chris'World) Single session is enforced.
    12:59:31 [INFO] WorldGuard: (Chris'World) TNT ignition is blocked.
    12:59:31 [INFO] WorldGuard: (Chris'World) Lighters are blocked.
    12:59:31 [INFO] WorldGuard: (Chris'World) Lava fire is blocked.
    12:59:31 [INFO] WorldGuard: (Chris'World) All fire spread is disabled.
    12:59:31 [INFO] WorldGuard: Loaded configuration for world 'Chris'World"
    12:59:31 [INFO] WorldGuard 5.2.2 enabled.
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] LWC: Loaded 135 locale strings (0 overrides)
    12:59:31 [INFO] [Permissions] (Yeti) disabled successfully.
    12:59:31 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    12:59:31 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    12:59:31 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    12:59:31 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] LWC: Permissions API: NijiPermissions
    12:59:31 [INFO] LWC: Currency API: iConomyCurrency
    12:59:31 [INFO] LWC: Loading SQLite
    12:59:31 [INFO] LWC: Using: Native
    12:59:31 [INFO] LWC: Precached 2 protections.
    12:59:31 [INFO] LWC: At version: 3.31-git-LWC-b9ea01e8c2f66480ada443ba9084dfbe98
    32f06e-b81jnks
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] [MobDisguise] config.yml not found, making with default values
    12:59:31 [INFO] [MobDisguise] by desmin88 version 1.31 enabled.
    12:59:31 [INFO] [ChestShop] Permissions version 3.1.6 loaded.
    12:59:31 [INFO] Server permissions file permissions.yml is empty, ignoring it
    12:59:31 [INFO] Done (0.173s)! For help, type "help" or "?"
    >

    I'm new with all this so help would be appreciated.
    - i'll post my permission ymls if requested.
     
  26. Offline

    Jany95

    need an update because of the following reasons:
    -citizens is not really working with it(maybe a bug of citizens)
    -warpz0r is not working
    -oredetector is not working
    -players on my server started flaming about this plugin (they are right)
    -mostly everyone don't want to use the default oppermissions
     
  27. Offline

    Zalerinian

    I need help on the permissions thing, because i downloaded and took out both of the permissions and permissions Sql, but now i do not know what to do. I put them both into th plugins folder, and i still dont understand why nothing works. Does anyone know how to help????
     
  28. Offline

    stkeroro

    next update would be a fork to the default bukkit permissions?
     
  29. Offline

    ChrisDRob

    So can anyone help me out with the problem i'm getting, or should I just wait until the next update. Can anyone actually recognise the problem i'm getting:
    12:59:30 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$RefreshTask from class com.nijiko.permissions.Modula
    rControl
    12:59:30 [SEVERE] at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:64)
    12:59:30 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:179)
    12:59:30 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    12:59:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    12:59:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    12:59:30 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    12:59:30 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    12:59:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    12:59:30 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    12:59:30 [SEVERE] [Permissions] Unable to load permission data.
    12:59:30 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    12:59:30 [INFO] [Permissions] (Yeti) was initialized.
    12:59:30 [INFO] [Permissions] (Yeti) disabled successfully.
     
  30. in plugins/permissions/ you need to add a folder for each of your worlds. inside each world folder must be a groups.yml and users.yml that define your groups and what users have what permissions. without that, non-ops will have no permission to do anything.
     
  31. Offline

    randeri221

    dude what is the permissions plugin permissions xD
    i have some dude that excidently delete a group so i need to take this ability from him.
    thanks :p
     
Thread Status:
Not open for further replies.

Share This Page