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

    Jake1002

    When will this be updated for 953? Because currently it's not functioning.
     
  3. Offline

    Jeyge

    I'm not sure this plugin needs any updates when CraftBukkit or Bukkit updates as it really doesn't use anything other than the basic Java commands. I'm sure there are a few basic world and player commands, but they would be the last to change when updates are made.
    I'm pretty sure that command is actually "pr -list groups <world>".
    That just isn't true at all. The global files have always been and should always be there to amend the local world files. They should hold the permissions that are common among all worlds but not replace each world.
    You are actually running a rather old version of MyHome. I would update to either the 1.9.5-p3 or 2.0 version. Both should fix the IAE with that plugin but you could still have another plugin that will cause it.
    I believe the weighting is all handled internally.
    You have tabs in your file. They need to be replaced with 4 spaces each.

    Post your server.log with your permissions yml files.
    I don't like to post things that aren't in the normally exposed API but if you look at how the chat commands do it, you will see the code you are looking for.
    Did the fix in the Issue I pointed you to not work? If it didn't, you will have to wait for the dev to fix the bug.
    You'll have to leave a little more information about what isn't working because everyone else who has said it wasn't working for 953 just ended up having problems with them config.

    @Michael_BoG
    Nah, I just ask for things just for the sake of asking for them not because they will help. Like now I'm going to ask for your autoexec.bat just because I can. But really, if you want some help, you are going to have to either give some more information of what isn't working and post the information asked for or we just won't be able to help.

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

    Michael_BoG

    The problem is that the in-game commands do not function like they should. It just prints that it does not find the group. The groups are what i posted a few pages ago.
     
  5. Offline

    PinkBro

    I am actually more interested a kind of an "assist" type thing than a bug complaint or what not.

    I totally understand that you guys are very busy making quality entertainment and creative computer works and not to mention the thousands o screaming folk not even bothering to look at the hundreds of answered questions (sorry for reiterating the stress, I can only imagine)BUT I just wanted to ask your permission to make a Wikia wiki for permissions. I know you already have a github wiki, but it would give an alternate source of information to the masses of crying mobs, it would also likely takesomewhat of a load off the threads so you guys can continue working and it would be just plain rude to start something w/o your permissions (no pun intended, I referring to the group)

    Again, I understand that your hands are full. Please respond at your earliest convenience an keep up the EXCELLENT work. :)
     
  6. Offline

    Jake1002

    It's installed on my server with bukkit 953, and it doesn't restrict any commands or show any signs that it is running at all.

    http://pastebin.com/WDkBPLdc
    I'm literally just running this in the groups.yml, just to test.. which should mean default users only have access to the /f commands. However after asking one to join they could use every command they could think of.
     
  7. Offline

    zaklampje

    I've got a question: My Moderators can't promote people. They don't have permissions to do that. This permission is from the moderators:
    permissions.promote.Player
    permissions.demote.Guest

    I can promote people, so the permission isn't good. What should it be?
     
  8. Offline

    Jeyge

    You say it doesn't show any signs of it running at all so post your server.log so we can see that it actually is running. Also, where is that groups.yml file right now as in which directory is it in. And, you didn't post your users.yml so for all we know, that person is an Admin or an OP.
    Would Player and Guest be your tracks? If not, the permission says permissions.promote.<track> so you would want to fill in the track.
    One wiki, two wiki, three wiki, four. Five wiki, six wiki, seven wiki, more. Sorry, I'm not sure why that reminded me of that rhyme.

    Back on point, if they won't read one wiki, why would 2 wiki (wikis?) help. The same as you can go back over the past 10 pages and probably see 10 or more reports of the exact same IllegalAccessError (which by the way has a blurb in the OP and in the wiki), you will find that the majority of the errors reported are actually talked about in the wiki already. No one bothers to look because it is easier to just say "update nao plox".
     
  9. Offline

    Maxis010

    See the post of @Jeyge and why start a new wiki when the current wiki can be edited by anyone with a GitHub account, and they are free, the only thing this would serve to do is cause confusion as 1 person says look at the wiki and then everyone is going to ask which once
     
  10. Offline

    Jake1002

    Okay firstly sorry for being ignorant, I haven't been around this thread. Sorry for asking for the update as I'm sure i'm just doing something wrong here.

    2011-07-06 16:29:44 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-06 16:29:44 [INFO] [Permissions] version [3.1.6] (Yeti) loaded

    Got that in my server log, so i'm presuming it's running.

    In folder: root/plugins/Permissions/world/groups.yml
    (Yes world is the world name)

    Archeon:
    permissions:
    groups:
    - Default

    Player set to Default.

    I know it's a hassle, but our server had a very large player base before this update (30 average, 50 peak) and now since it hasn't been up 2 days because of permissions we will have a significantly smaller playerbase. So any help you could give me would be awesome, thanks.
     
  11. Offline

    DetCox

    idk but i have the same problem and im using mysql. i have everything setup and working as i have no problems with setting permissions to the group im in however i cant seem to set the build setting to true for anything
    i even used the cmd /pr g:admins w:world info set build true (yes im in the admins group) it said it worked, i checked the table and its WAS added correctly however i still could not build.
    so then i tried /pr DetCox w:world info set build true and got the same thing said it worked but still cant build

    please fix this as i do not like using files for my server id like to use the sql and keep evreything loaded and ready its sooooo much faster with sql

    i gess untill its fixed ill just uninstall it.....
     
  12. Offline

    PinkBro

    I suppose that is true. Good point. I was just trying to divert time and energy away from the forums and stuff. Oh well. What can you do? :p
     
  13. Offline

    MaWe4585

    Hello,

    i try to use the Permissions Plugin but i have trouble with the commands.
    i want to add certain users to the Moderator Group but it always says that either user or group doenst exist.
    Both exist, i even tried if the problem is case-sensitivity but i always get the same error.

    the command i tr is "/pr add <Username> <Groupname>"

    is there a list with alle the commands, i didnt find one. only in an issue of restructuring the commands
     
  14. Offline

    who885

    please update i really need this plugin it crashes on me and then its disabled :(
     
  15. Offline

    Jeyge

    Continue to answer the same questions over and over again until we either get tired of it and take a break or drive the dev away. I'm honestly surprised that he is willing to take as much crap as he does already.

    I just updated the FAQ again about the requests to see the server.log but I'll say it here again. We aren't asking to see it to steal any information from you or to see if you are running online or offline. It just really helps with trying to figure things out. Also, you didn't say if that player is an OP or not. If they are an OP, then they would have access to all commands. And another problem that happens a lot is that people are trying to run 2 permission plugins so if you have GroupManager, it will cause problems.

    The groups.yml file that you posted looks fine so I'm guessing something else is going on. One thing we don't know yet is if your groups.yml file is even being read. You didn't post your user in code tags so I can't see the formatting but one easy way to check is if the - Default part starts in column 9 along with permissions: and groups:. Another thing to check would be your global files. Make sure they are empty.
    The list is in the wiki under Chat Commands.
    Please post what needs to be updated. Saying it is disabled without the error message doesn't help.

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

    TheLegacyP7

    Ive now put the insides of the groups into the world/groups and the same with the users. But now I cannot break blocks? And also when I configure my HeroChat none of the prefixes or suffixes work and its just a plain white name? Can anyone fix it?
     

    Attached Files:

  17. Offline

    Jake1002

    Actually im being retarded, problem solved thanks for the advice ;)
     
  18. Offline

    Horsty

    Hy,
    i´ve got a Problem, i use Towny, Worldguard, Worldedit and LWC on my Server.
    But everytime i Start the Server i get the following Error:
    Code:
    011-07-06 16:16:19 [INFO] Starting minecraft server version Beta 1.7.2
     2011-07-06 16:16:19 [INFO] Loading properties
     2011-07-06 16:16:19 [INFO] Starting Minecraft server on 217.198.137.67:25565
     2011-07-06 16:16:19 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
     2011-07-06 16:16:20 [INFO] LWC: Loading shared objects
     2011-07-06 16:16:20 [INFO] LWC: Protection cache: 0/10000
     2011-07-06 16:16:20 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
     2011-07-06 16:16:20 [SEVERE] while scanning for the next token
     found character '\t' that cannot start any token
     in "<reader>", line 44, column 11:
     Admins
    ^
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
     2011-07-06 16:16:20 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
     2011-07-06 16:16:20 [SEVERE] at org.bukkit.util.config.Configuration.load(Configuration.java:82)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
     2011-07-06 16:16:20 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
     2011-07-06 16:16:20 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
     2011-07-06 16:16:20 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
     2011-07-06 16:16:20 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
     2011-07-06 16:16:20 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
     2011-07-06 16:16:20 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
     2011-07-06 16:16:20 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
     2011-07-06 16:16:20 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
     2011-07-06 16:16:20 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     2011-07-06 16:16:20 [SEVERE] [Permissions] Unable to load permission data.
     2011-07-06 16:16:20 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
     2011-07-06 16:16:20 [INFO] [Permissions] (Yeti) was initialized.
     2011-07-06 16:16:20 [INFO] [Permissions] (Yeti) disabled successfully.
     2011-07-06 16:16:20 [INFO] Preparing level "m-core"
     2011-07-06 16:16:20 [INFO] Preparing start region for level 0 (Seed: 1772835215)
     2011-07-06 16:16:20 [INFO] Preparing start region for level 1 (Seed: 1772835215)
     2011-07-06 16:16:20 [INFO] CommandBook 1.5.2 enabled.
     2011-07-06 16:16:21 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
     2011-07-06 16:16:21 [INFO] CommandBook: 0 banned name(s) loaded.
     2011-07-06 16:16:21 [INFO] CommandBook: 1 kit(s) loaded.
     2011-07-06 16:16:21 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldEdit 4.6 enabled.
     2011-07-06 16:16:21 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
     2011-07-06 16:16:21 [SEVERE] Error occurred while enabling Towny v0.71 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
     java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
     at ca.xshade.bukkit.towny.Towny.checkPlugins(Towny.java:175)
     at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:122)
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     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(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     ... 12 more
     2011-07-06 16:16:21 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core) Single session is enforced.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core) TNT ignition is blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core) Lighters are blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core) Lava fire is blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core) All fire spread is disabled.
     2011-07-06 16:16:21 [INFO] WorldGuard: Loaded configuration for world 'm-core"
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core_nether) Single session is enforced.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core_nether) TNT ignition is blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core_nether) Lighters are blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core_nether) Lava fire is blocked.
     2011-07-06 16:16:21 [INFO] WorldGuard: (m-core_nether) All fire spread is disabled.
     2011-07-06 16:16:21 [INFO] WorldGuard: Loaded configuration for world 'm-core_nether"
     2011-07-06 16:16:21 [INFO] WorldGuard 5.2.2 enabled.
     2011-07-06 16:16:21 [INFO] LWC: Loaded 133 locale strings (0 overrides)
     2011-07-06 16:16:21 [INFO] [Permissions] (Yeti) disabled successfully.
     2011-07-06 16:16:21 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
     2011-07-06 16:16:21 [SEVERE] Error occurred while enabling LWC v3.2 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
     java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
     at com.griefcraft.lwc.LWC.load(Unknown Source)
     at com.griefcraft.lwc.LWCPlugin.onEnable(Unknown Source)
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     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(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     ... 12 more
     2011-07-06 16:16:21 [INFO] Done (0.114s)! For help, type "help" or "?"
     
    I hear Towny and Permissions is not ready for 1.7_02 Craftbukkit, is that the reasone???
    Horsty
     
  19. Offline

    Jeyge

    @Horsty
    Nope, you have a tab in one of your files. You will need to replace all tabs with 4 spaces.
    I used your files on my test server and they work just fine although you do have 2 Op groups. I'm pretty sure you meant one of them to be Owner. You must have some other error though so post your server.log. Also, are you able to use all commands or are you also restricted to only Guest commands?

    @Jake1002
    Being an OP would greatly change things so it really does matter and your server.log really could be useful in trying to figure it out but I'll leave it here now at "I guess it is broke".
     
  20. Offline

    TheLegacyP7

    Is there any way i can change what groups people are in like GroupManager. Sadly, this is more professional but that was better. What is the command? Also, for some reason suffixes dont work on anyone?
     

    Attached Files:

  21. Offline

    t1tanium

    gahhh it starts annoy me that permissions dont work
     
  22. Offline

    lolzrofl

    When I use the command /pr lolzrofl demote default TheAwesomeWorld, I get this error
    Code:
    10:24:17 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at java.util.HashSet.<init>(Unknown Source)
            at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
            at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
            at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    
     
  23. Offline

    TheLegacyP7

    Yes, I can use commands and I have fixed the second Op group and made it owner. The only thing that I cannot do as ANY group, is, break blocks. Also it would be nice if someone could tell me how to fix the suffix, and why as soon as i do anything with the HeroChat config, it messes up Permissions!

    All help is highly appreciated!
     
  24. Offline

    Jeyge

    Do you have a default track set up in your groups.yml file? If not but you do have a normal track, you will need to add the t:<track> parameter.
    I'm not sure if you aren't reading it but posting your server.log will really help. And what errors does changing the HeroChat config cause in Permissions?

    For the breaking blocks part, are you near the spawn location or have you moved away from it?
     
  25. Offline

    TheLegacyP7

    Yeah sorry about breaking blocks I hadnt moved from the spawn. And HeroChat removes the suffix and prefixes so my name just is <LegacyP7> instead of [g] [SYSTEM-OP] LegacyP7:

    And heres my server.log on Type with me as its too big to post here!

    http://typewith.me/gPjWrYQakq
     
  26. Offline

    Jeyge

    I'm not sure what typewith.me is but it keeps timing out before I can see the whole log but it sounds like all of your Permissions issues are taken care of. As for HeroChat, give iChat a try to see if it works better. If it works, then you will know it is a HeroChat problem.
     
  27. Offline

    Horsty

    Hy,
    i replace the Tabs in the users and Groups.yml, but i still get the Errors.
    My Dictorys look:
    Plugns/Permissions/. In this Permissions folder where 3 Data Files (The two global and the other one) and two Dctorys one "world" one "wolrd_nether" (My World is named World). In this both Dictorys where 2 fles, a groups and a Users.yml.
    The Groups.yml looks:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            Permissions:
            - 'permissions.reload'
    
        Vip:
            default: False
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            Permissions:
                - commandbook.give
    
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
                - Vip
            Permissions:
            - '*'
    
    users:
        TheKillerbyte:
            permissions: [*]
            groups:
            - Admin
    The Users.yml is empty
    Is there a Miss in this file?? or can someone come to my TS and help me??
    Horsty
     
  28. Offline

    Legomaster

    Can I configure permissions to have world specific ops? I have one world on my server where I need to disable item spawning, but ops have powers that override permissions. If not, is there at least a way to disable commands that aren't from plugins?
     
  29. Offline

    TheLegacyP7

    iChat fails to support the things we need and is constantly glitching up as it is outdated. I guess though now, I can move my stuff to the HeroChat page! Thanks!
     
  30. Offline

    Fob_Upset

    Is there anyway to make it stop creating new entrys for every single player as most players are guests which is the default group.
     
  31. Offline

    kyle772

    Obviously not I was trying to fix it for 3 hours and that is what did it
     
Thread Status:
Not open for further replies.

Share This Page