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

    NuclearKamikaze

    I GOT the samething
    did you get it to work please tell me!
    SOMEONE TELL ME HOW TO FIX THIS !!!
     
  3. Offline

    Xordaii

    and @Gord360

    found character '\t' that cannot start any token

    Means you have a tab instead of 4 spaces in your file. Run it through a YAML parser, and use something like notepad++ if you are on windows, or get out of the habit of using the tab key. Notepad++ can be set to replace a newly typed tab key with 4 spaces, but won't help in this case. Run it through a parser.
    to negate a node, it is almost the same as a normal node... so
    Code:
    - 'permissions.node' to enable a permission and
    - '-permission.node' to disable
    note the space between the dash and the first single quote, none after
     
  4. Offline

    NuclearKamikaze

    Comon Someone Please Help My consol gets these errors:
    Code:
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at net.gamesketch.bukkit.tetris.Core.hasPermission(Core.java:151)
            at net.gamesketch.bukkit.tetris.Core.onCommand(Core.java:66)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    17:46:48 [SEVERE] java.lang.NullPointerException
    17:46:48 [SEVERE]       at com.nijikokun.bukkit.Permissions.Listener.onBlockBrea
    k(Listener.java:62)
    17:46:48 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$34.execute(Ja
    vaPluginLoader.java:475)
    17:46:48 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    17:46:48 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    17:46:48 [SEVERE]       at net.minecraft.server.ItemInWorldManager.c(ItemInWorld
    Manager.java:156)
    17:46:48 [SEVERE]       at net.minecraft.server.ItemInWorldManager.a(ItemInWorld
    Manager.java:118)
    17:46:48 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:462)
    17:46:48 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    17:46:48 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:217)
    17:46:48 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    17:46:48 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    17:46:48 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:401)
    17:46:48 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:311)
    17:46:48 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    17:46:51 [SEVERE] java.lang.NullPointerException
    17:46:51 [SEVERE]       at com.nijikokun.bukkit.Permissions.Listener.onBlockBrea
    k(Listener.java:62)
    17:46:51 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$34.execute(Ja
    vaPluginLoader.java:475)
    17:46:51 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    17:46:51 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    17:46:51 [SEVERE]       at net.minecraft.server.ItemInWorldManager.c(ItemInWorld
    Manager.java:156)
    17:46:51 [SEVERE]       at net.minecraft.server.ItemInWorldManager.a(ItemInWorld
    Manager.java:118)
    17:46:51 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:462)
    17:46:51 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    17:46:51 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:217)
    17:46:51 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    17:46:51 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    17:46:51 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:401)
    17:46:51 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:311)
    17:46:51 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    My Global Groups:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                - 'foo.bar'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    I dont get why I cant build the plugin isnt working right please help me.
    Ive been asking for an answer for so long and noone ansered : (
    Thank you

    im useing Notepad++ now you told me thank you im going to try it, i just didnt have the 4 spaces..

    I tried it all the tabs are 4 spaces each, but still isnt working, I cant even build when build is set to true : (
    Code:
    roups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  5. Offline

    ACStache

    I'm not sure if it was a bad copy paste but you're missing the G from groups: on your very first line
     
  6. Offline

    Xordaii

    1st: I hope you have a g in groups, and just copy/pasted funny.
    2nd: take out foo.bar permission line, and the lower one bar.foo. Those two are simply examples and don't exist. In fact, delete the entire group Moderator if you aren't going to define permissions to that group.
    3rd: would have to see your users file to see if you have it correct, maybe check you are actually in the group (is it spelled right, does it have extra or missing letters?) You don't say which you are trying to test it as, Default member or Admin? Make sure each user is in the users file, and has a group assigned. People seem to be having trouble adding them auto, so make sure to add users to the file manually.

    and check the users file for tabs instead of spaces too, since this file had them
     
  7. Offline

    andrewkm

    lol i <3 this post.
    read the wiki... its quite easy to understand.
     
  8. Offline

    Xordaii

    I can explain foobar :D

    In the army, we called something FUBAR or fubared when it was F-ed up beyond all recognition.
    Ten years ago, I started laughing because a college professor (who was also prior military) used foobar as a generic name for any variable when teaching programming.

    I love how foo.bar has come to mean "example" or generic. I still take it to mean messed up, fix it.
     
    ddubois89 likes this.
  9. Offline

    Kararty

    Anyone hello?? My problem is still not fixed :'(
    EDIT: I give up Permissions hates me
     
  10. Offline

    NuclearKamikaze

    1-Yes I missed the g while I was copying it
    2-All I want is the Default group so I can disable normal players from doing stuff.
    3-Should I clearout/delete the world users and groups? Do they have an affect over Global Groups and Global Users?
    Thanx
     
  11. Offline

    ddubois89

    Anyone lend me a hand with figuring why world permissions arent loading. Running build860 and Permissions 3.1.5 here are my files.

    Show Spoiler

    Global Users

    theamazkid:
    groups:
    - ?,Trusted
    permissions: []


    Global Groups

    Default:
    default: true
    info:
    prefix: null
    suffix: null
    build: false
    inheritance: null
    permissions:
    Approved:
    default: false
    info:
    prefix: null
    suffix: null
    build: true
    inheritance:
    - Default
    permissions:
    - iconomy.acesss
    - iconomy.bank.*
    - iconomy.bank.*.*
    - iConomy.list
    - iConomy.payment
    - iConomy.rank

    - Requests.req

    - lottery.buy

    - showcase.buy.finite
    - showcase.buy.infinite

    - wormhole.use.sign
    - wormhole.use.dialer
    - wormhole.use.compass

    Trusted:
    default: false
    info:
    prefix: null
    suffix: null
    build: true
    inheritance:
    - Approved
    permissions:

    - wormhole.use.sign
    - wormhole.use.dialer
    - wormhole.use.compass
    - wormhole.network.use.Trusted


    World Groups
    Default:
    default: false
    info:
    prefix: null
    suffix: null
    build: false
    inheritance: null
    permissions:
    Approved:
    default: true
    info:
    prefix: null
    suffix: null
    build: true
    inheritance:
    - Default
    permissions:
    - creativebuild.cb
    - creativebuild.clear
    - creativebuild.break
    Trusted:
    default: false
    info:
    prefix: null
    suffix: null
    build: true
    inheritance:
    - Approved
    permissions:

    - creativebuild.cb
    - creativebuild.clear
    - creativebuild.break



    The user theamazkid is not getting the creative set of permissions. Why isnt permissions reading it upon him being in that specific World?
     
  12. Offline

    Kararty

    NO I DONT GIVE UP!
    Please help me :(
     
  13. Offline

    NuclearKamikaze

    SOOOOME ONE HELP ME PLEASE, and after I get it Ill make a video tut showing people how to fix there problems!! PLEASE!
     
  14. Offline

    Kararty

    :D You're like me noone gives you the right fix :/
     
  15. Offline

    NuclearKamikaze

    you know we might have answers for each other
     
  16. Offline

    Maxis010

    From what I have seen both of you are having problems with globals
    I gave one of you a fix for globals are stated in the wiki, since that doesn't work copy your globals group and user files and paste them in to each world as groups.yml and users.yml
    This is the only "fix" I can recommend, if you don't like updating multiple files then either get someone to help with world mirroring / copying or stop using multiple worlds
     
  17. Offline

    Xordaii

    On another thread it is being recommended to use the World Mirroring instead of globals. Maybe it is just that what you want to do is better set up by using that? Check out this link to learn more. If I understand what they said right, it doesn't have the issue using globals does (users aren't auto added to the group with default: true in it).
     
  18. Offline

    NuclearKamikaze

    so you suggest we/I delete the world folder and just user global users/groups?
     
  19. Offline

    Maxis010

    Exactly the opposite actually, delete the globals and use the per world
     
  20. Offline

    NuclearKamikaze

    ok so I did that, and for users has nothing in it and the groups

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    for some reason i cant build or distroy anything and im still getting those consol yml spam errors : (
     
  21. Offline

    lazy_architect

    So I have been out of the loop for a few months and permissions has me lost. Is permissions 3 what most plugins are supporting now days or is everything just mixed up? Next anyone test this with RB928 yet I'm about to try it out but would like to know.
     
  22. Offline

    NuclearKamikaze

    so why Im I still unable to build?
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
     
  23. Offline

    JakeLulz

    Pretty sure this is the same problem I am having where the "default" permissions are not being given to users by default.

    Edit: As a temporary fix set yourself as a member of the group "Default" in globalUsers.
     
  24. Offline

    VeryInsane

    Will this work with Newest Recommended Build #928?
     
    TheGurw and NuclearKamikaze like this.
  25. Offline

    TheGurw

    Ugh, I can't wait for world mirroring to work properly.
     
  26. Offline

    lazy_architect

    Just tested it on my server everything looks to be working but that is just basic testing.
     
    VeryInsane likes this.
  27. Offline

    andrewkm

    Commands do NOT work.
    Try /permissions.
    928 is not fully compatible with 3.1.5b yet
    It broke after CB 910

    No commands do not work.
    Permissions will work, but your ingame/console commands will be broken.

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

    arsjet

    Code:
    2011-06-26 07:53:57 [SEVERE] java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.data.YamlUserStorage.getEntries(YamlUserStorage.java:194)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:32)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:92)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:84)
    2011-06-26 07:53:57 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:105)
    2011-06-26 07:53:57 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:186)
    2011-06-26 07:53:57 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:139)
    2011-06-26 07:53:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
    2011-06-26 07:53:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    2011-06-26 07:53:57 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    2011-06-26 07:53:57 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    2011-06-26 07:53:57 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-06-26 07:53:57 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-26 07:53:57 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-26 07:53:57 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-06-26 07:53:57 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-26 07:53:57 [INFO] Preparing level "world"
    2011-06-26 07:53:57 [INFO] Preparing start region for level 0 (Seed: 83766130)
    2011-06-26 07:53:58 [INFO] ChatBukkit v0.0.2 is enabled!
    2011-06-26 07:53:58 [INFO] [iConomy] Logging is currently disabled.
    2011-06-26 07:53:58 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-06-26 07:53:58 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-06-26 07:53:58 [INFO] [MobBounty] v4.03 (Oxygen) enabled.
    2011-06-26 07:53:58 [INFO] [MobBounty] Developed by: [Mattera, Steven (IchigoKyger)].
    2011-06-26 07:53:58 [INFO] [MobBounty] Special Thanks to: nijikokun for the Register API.
    2011-06-26 07:53:58 [INFO] [MobBounty] Config loaded.
    2011-06-26 07:53:58 [INFO] [MobBounty] Payment plugin was found (iConomy v5).
    2011-06-26 07:53:58 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-26 07:53:58 [SEVERE] Could not pass event PLUGIN_ENABLE to MobBounty
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at net.mcbat.MobBounty.Listeners.MobBountyServerListener.onPluginEnable(MobBountyServerListener.java:42)
        at org.bukkit.plugin.java.JavaPluginLoader$41.execute(JavaPluginLoader.java:527)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:157)
        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)
    If you have an underscore at the end of the ID, I get an error.
    occurs when you try to add to user.yml.

    craftbukkit#928
     
  29. Offline

    Matt Gill

    I'm having a issue with permissions. It somehow stopped working while I was away from home and I came back to see my server wasn't running right. I started running a temporary server to see what was wrong. Today I started adding plugins to it and started with permissions. It didn't work right at all.

    Oh I forgot to say it stopped working on build 860. I tried using build 928 but this same thing happens on both builds.

    Here is what the console says:

    Code:
    
    C:\Users\Matt\Desktop\Minecraft Server folders\TempMap>java -Xmx2560M -XX:Parall
    elGCThreads=8 -server -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSI
    ncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableE
    xplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=
    90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -
    XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar craftbukkit.jar nogui
    148 recipes
    16 achievements
    16:52:51 [INFO] Starting minecraft server version Beta 1.6.6
    16:52:51 [INFO] Loading properties
    16:52:51 [INFO] Starting Minecraft server on *:25565
    16:52:51 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-889-
    g22f4388-b928jnks (MC: 1.6.6)
    16:52:51 [SEVERE] java.lang.NullPointerException
    16:52:51 [SEVERE]       at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:35)
    16:52:51 [SEVERE]       at com.nijiko.data.YamlCreator.getUserStorage(YamlCreato
    r.java:34)
    16:52:51 [SEVERE]       at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:76)
    16:52:51 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:92)
    16:52:51 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:84)
    16:52:51 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:105)
    16:52:51 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:186)
    16:52:51 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:139)
    16:52:51 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:121)
    16:52:51 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:89)
    16:52:51 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:52)
    16:52:51 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    16:52:51 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    16:52:51 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    16:52:51 [SEVERE] [Permissions] Unable to load permission data.
    16:52:51 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    16:52:51 [INFO] [Permissions] (Yeti) was initialized.
    16:52:51 [INFO] Preparing level "world"
    16:52:52 [INFO] Preparing start region for level 0 (Seed: 4834271283439320227)
    16:52:52 [INFO] Preparing start region for level 1 (Seed: 4834271283439320227)
    16:52:53 [INFO] Preparing spawn area: 52%
    16:52:53 [INFO] [Permissions] (Yeti) disabled successfully.
    16:52:53 [INFO] Done (0.124s)! For help, type "help" or "?"
    
    
     
  30. How do you promote? plz responed very quickly
     
  31. Offline

    kevinkrw

    I tried putting a - sign in front of a command and it didn't keep the group from doing it. I am trying to keep my Admins with access to all commands (AKA This Simbol *) from destroying any WorldGuard protected areas.
     
Thread Status:
Not open for further replies.

Share This Page