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

    Linkage

    Could you possi
    Do you happen to know any? I've been searching but can't find any.
     
  3. Offline

    Jeyge

    I know Essentials has it.

    The SQL interface doesn't seem to be working right now or at least I haven't been able to figure it out and the errors are caused by the tables not being set up. I would stick with yml for now.

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

    Jalroth

    Hi, I am looking for some help with permissions, I don't personally have access to the server, so I don't know what errors its throwing (its complicated, My machine can't run the server, and the person who hosts is not able to put in the time to config everything, so try and learn how, and make the config files and whatnot). ANYWAYS. I know that makes it hard, but I figure its worth a shot.
    my permissions file:
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Friends:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.help'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.top'
                - 'essentials.world'
                - 'essentials.tp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.item'
                - 'essentials.kit'
                - 'essentials.time'
                - 'essentials.heal'
                - 'essentials.jump'
                - 'essentials.clearinventory'
                - 'essentials.back'
                - 'essentials.back.ondeath'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        1:
            group: Admins
        2:
            group: Admins
        3:
            group: Friends
        4:
            group: Friends
        5:
            group: Friends
        6:
            group: Friends
        7:
            group: Friends

    names obfuscated for security.

    that passes the online YML parser i found, but does not work at all on the server. I am user 2, and should have full access to everything on the server, and i can't even place or destroy blocks. have i simply totally borked the YML, or is it probable that another plugin is interfering? I'll try and get any error messages and logs, but for now, this is the starting point for me figuring out what is wrong here.
     
  5. Offline

    Jeyge

    Which version of Permissions will help.

    Ah, well then you deleted too much. You removed the groups: from the top of the groups.yml file and you didn't assign yourself a group in your users.yml. Change your users to this:
    Code:
    users:
        ILLuMiNaTe7:
            permissions:
            - '*'
            groups:
            - Default
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  6. Offline

    15austin

    It doesn't give a error it just says that it was disabled sucessfully


    And what is the Lib folder?
    has h2.jar,mysgl.jar,register.jar,and postgresgl.jar in it
     
  7. Offline

    Jalroth

    Waiting on a response from the other end, however, on reviewing, it looks like it might be one of the discontinued versions, which would explain most everything. Hopefully that is the problem, but i'll probably be back for something. :D thanks for the help!
     
  8. Offline

    toon7

    help i cant built in my own server.
    those are my permissions:
    Code:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - 'essentials.afk'
            - 'essentials.mail'
            - 'essentials.home'
            - 'essentials.sethome'
            - 'iConomy.access'
            - 'iConomy.rank'
            - 'iConomy.list'
            - 'iConomy.payment'
            - 'OwnBlocks.use'
            - 'OwnBlocks.ignoreOwnership'
            - 'whitelist.permission.use'
            - 'scavenger.scavenge'
            - 'DailyBonus.get'
            - 'MobBounty.mb'
    build = true but still cant break blocks or anything else :(
    if u know how to fix this tell me thx

    other plugins maybe those are wrong:
    Code:
    -------
    Plugins
    -------
    
    AppleTree      : 0.3.2
    AuthMe         : 0.72
    BorderGuard    : 3.1
    ColoredSigns   : 1.1
    DailyBonus     : 1.3
    Essentials     : 2.2.8
    EssentialsGeoIP: 2.2.8
    EssentialsSpawn: 2.2.8
    HeroChat       : 4.10.3
    HeroicDeath    : 1.8.1.156
    iConomy        : 5.0
    Lampstone      : 0.6
    Lockette       : 1.3.8
    MagicCarpet    : 1.5.5
    MobBounty      : 3.02
    MobLimiter     : 1.1
    MotherNature   : 1.2
    MoveCraft      : 0.6.8 Final Beta
    MultiInv       : 1.5.2
    Netstats       : 4.7
    NoCheat        : 0.9.6
    OwnBlocks      : 10.0
    Permissions    : 3.1.5
    RealShop       : 0.63
    Scavenger      : 1.2.0
    Showcase       : 0.5.11
    WhoAreYou      : 0.1.4
    WorldEdit      : 4.4
    WorldGuard     : 5.0-alpha10
    WormholeXTreme : 0.854
     
  9. Offline

    Jeyge

    Post your server.log when you have a chance.

    The Lib folder is where you put anything that is required for a Java plugin to run. Most of the things in there will be file access libraries.

    What you have there looks fine but you will need to post the rest of your groups.yml and your users.yml. Also, make sure there aren't any errors at all in your server.log or just post it.

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

    toon7

    well the problem is thats the whole group.yml
    and heres user:
    Code:
    users:
        ILLuMiNaTe7:
            permissions:
            - '*'
            groups: []
    ok thx its working now :D

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

    15austin

    I found it out. I used the Online YAML Parser to check the files. Turns out that when i pressed enter to go to next line it added tabs which i don't know how to make it so it doesn't do that. Ty for your help anyway.
     
  12. Offline

    ravyn

    I've read the read me in the Permissions-bin and the readme says to copy the zip (Permissions-bin.zip) into the plugins folder and unzip and this should create the Permissions.jar and a Permissions folder. This is not what happens. The .zip file only contains Permissions.jar (and the sql jar) and a folder called RENAME-ME which you are supposed to rename to your world's name. So basically i have RENAME-ME and Permissions.jar in the Plugins/ folder.

    When I run the server I get the following errors:

    Code:
    [SEVERE] tried to access class com.nijiko.configuration.NotNullRepresenter from  class com.nijiko.configuration.NotNullConfiguration initializing Permissions v3.1.5 (Is it up to date?)
    Error: Minecraft server error.  Server will be restarted.
    java.lang.IllegalAccessError:  tried to access class com.nijiko.configuration.NotNull Representer from class com.nijiko.configuration.NotNullConfiguration
    [SEVERE] com/nijiko/configuration/NotNullRepresenter initializing Permissions v2.7.2 (Is it up to date?)
    Any Ideas? The read me that I read is located in the Permissions-bin.zip
     
  13. Offline

    Jeyge

    I have a feeling that readme is still talking about how to install 2.x. I would copy the .jar file to the plugins directory then start your server. This will create the permissions directory along with some empty files. Then copy the contents of the rename-me to your permissions\<world name> directory. This should get you started.
     
  14. Offline

    AegisZephyr

    Okay, lets try this again. With the current permissions 3.1.5b and CB #860
    Startup Error
    <Edit by Moderator: Redacted mediafire url> Permissions folder[/URL]
    The strange thing is that it will only do this with my current permissions and if I rename my permissions folder to permissionsbackup and /reload, everything works fine. To repaste an earlier step I did:
    1. Server start with desired permissions->all plugins break and refuse to work
    2. rename permissions folder to permissionsbackup
    3. /reload
    4. delete new permissions folder and rename permissionsbackup back to permissions
    5. /pr -reload all
    6. Everything working fine
    7. Server scheduled restart->return to 1

    Startup with permissions directory renamed to permissionsbackup
     
    Last edited by a moderator: Sep 9, 2018
  15. Offline

    ravyn

    If I put nothing but the Permissions.jar in the plugins folder, I get the same messages
     
  16. Offline

    15austin

    Code:
    20:18:24 [SEVERE] java.lang.NullPointerException
    20:18:24 [SEVERE] at net.minecraft.server.World.a(World.java:1544)
    20:18:24 [SEVERE] at net.minecraft.server.World.a(World.java:1509)
    20:18:24 [SEVERE] at net.minecraft.server.World.a(World.java:556)
    20:18:24 [SEVERE] at net.minecraft.server.MetadataChunkBlock.a(SourceFile:
    108)
    20:18:24 [SEVERE] at net.minecraft.server.World.doLighting(World.java:1496
    )
    20:18:24 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:391)
    20:18:24 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:309)
    20:18:24 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    20:18:24 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at net.minecraft.server.World.a(World.java:1544)
    at net.minecraft.server.World.a(World.java:1509)
    at net.minecraft.server.World.a(World.java:556)
    at net.minecraft.server.MetadataChunkBlock.a(SourceFile:108)
    at net.minecraft.server.World.doLighting(World.java:1496)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Got This after putting in Permissions:

    any help?
     
  17. Offline

    ravyn

    Ok just an update, I was able to get it installed without errors. I realized that I still had group manager folders and group manager and group bridge JARs on the server. So I removed anything group manager related and re ran everything fresh and everything installed fine.
     
  18. Offline

    Jeyge

    Your startup errors are just showing that Permissions isn't enabled but not why Permissions isn't enabled. Could you post the whole log? Also, your second paste is invalid.

    I just tried your permissions folder on my test server and didn't run into any errors.

    That doesn't look like a Permissions problem but there might be more to the error message. Could you post the rest of your server.log.

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

    AegisZephyr

    The second console startup shows what happens when the permissions folder is generated (like a new install)
    it starts up fine. The first one is using the one that you downloaded is that it throws off those errors.

    In other words, first log: using Downloaded permissions folder: Plugins break
    Second log: Permissions used as "fresh install" (NOT the downloaded permissions archive): All plugins work fine and the permissions directory is generated from the default config.
     
  20. Offline

    15austin

    Where is the server log? this is what my bukkit folder directory looks like
    Bukkit Folder.PNG
     
  21. Offline

    Monkz

    I am using the most recent version of permissions on bukkit version 818. And i am experiencing a few wierd things.

    For one, globalusers and globalgroups seems to do nothing, it seems to use the world and world_nether folders for user and group configs, which id rather just use globalgroups and globalusers.

    And secondly, whenever a new person joins the server, any recent user permission changes i make undoes, and i have to redo everything all over again.

    Anybody have advise on what to do to fix these issues?
     
  22. Offline

    AegisZephyr

    @Jeyge
    Just re-read the first log I posted and noticed the cut off. My server log is over 150Mb so I had to download it via SFTP and scan through it to find what you are looking for:
    http://pastebin.com/MYTZqNXi
     
  23. Offline

    Jeyge

    It should be the one named server that is a text document.
     
  24. Offline

    Oscarius

    Getting this error on startup and permissions are gone for almost all players

    Console: (read from bottom to top)
    Code:
    12.06 03:15:48 [Server] INFO [Permissions] version [3.1.4] (Yeti)  loaded
    12.06 03:15:48 [Server] INFO MobArena v0.89.2 enabled.
    12.06 03:15:48 [Server] INFO BorderGuard version 3.1 is enabled!
    12.06 03:15:48 [Server] INFO [Minecart Mania] MinecartManiaCore version 1.2.9_alpha2 is enabled!
    12.06 03:15:48 [Server] INFO [Minecart Mania] Debug mode switched to NORMAL
    12.06 03:15:48 [Server] INFO [Permissions] (Yeti) was initialized.
    12.06 03:15:48 [Server] INFO [Permissions] Shutting down Permissions due to error(s).
    12.06 03:15:48 [Server] SEVERE [Permissions] Unable to load permission data.
    12.06 03:15:48 [Server] SEVERE     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    12.06 03:15:48 [Server] SEVERE     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    12.06 03:15:48 [Server] SEVERE     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:413)
    12.06 03:15:48 [Server] SEVERE     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:428)
    12.06 03:15:48 [Server] SEVERE     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    12.06 03:15:48 [Server] SEVERE     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    12.06 03:15:48 [Server] SEVERE     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    12.06 03:15:48 [Server] SEVERE     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:345)
    12.06 03:15:48 [Server] SEVERE     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    12.06 03:15:48 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    12.06 03:15:48 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:187)
    12.06 03:15:48 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    12.06 03:15:48 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:92)
    12.06 03:15:48 [Server] SEVERE     at com.nijiko.permissions.ModularControl.load(ModularControl.java:250)
    12.06 03:15:48 [Server] SEVERE     at com.nijiko.data.YamlUserStorage.getEntries(YamlUserStorage.java:158)
    12.06 03:15:48 [Server] SEVERE java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
     
  25. Offline

    saltire

    Hi, I'm using Permissions 3.1.5b with Minecraft 1.6.6. The default group doesn't seem to work that way. I have default: true set in one of my groups, but new users don't automatically fall into that group the way they should. If I manually add people to the default group, as user2 and user3 below, then their permissions work fine. But if someone, say user4, isn't in the list, they don't get any permissions, and aren't even able to build. I don't see the purpose of the default line if it doesn't make a group the default group for new users. What am I doing wrong?

    globalGroups.yml:
    Code:
    groups:
        admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - everyone
            permissions:
                (... etc ...)
    
        everyone:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                (... etc ...)
    
    globalUsers.yml:
    Code:
    users:
        saltire:
            groups:
            - admins
            info:
                prefix: ''
                suffix: ''
            permissions: []
        user2:
            groups:
            - everyone
            permissions: []
        user3:
            groups:
            - everyone
            permissions: []
    
     
  26. Offline

    Prof. Stein

    Alright, so, I'm an idiot. I don't understand the commands.

    Let's say I wanted to make myself, (IGN:Njorde) an admin on my server. What is the exact command to do that?

    Don't give me a link to the github commands area. That didn't help me in the least.

    What is the exact command to make Njorde an admin?
     
  27. Offline

    Monkz

    Make sure u have this in the users.yml:
    Njorde:
    groups:
    - Admins
    permissions: []

    that is if your admin group is called admins. But you want to keep the natural indents

    Can anybody help me please?

    I am using the most recent version of permissions on bukkit version 818. And i am experiencing a few wierd things.

    For one, globalusers and globalgroups seems to do nothing, it seems to use the world and world_nether folders for user and group configs, which id rather just use globalgroups and globalusers.

    And secondly, whenever a new person joins the server, any recent user permission changes i make undoes, and i have to redo everything all over again. Eveything works perfect until a new person joins the server then bam everyones back at the default rank.

    Anybody have advise on what to do to fix these issues?

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

    Prof. Stein



    Not only is this not in the least what I asked but, but it didn't work. Congragulations sir.

    Now, someone please give me the COMMAND, not something to add into a file? I know for a fact there is a command to make people admin, but what is it?
     
  29. Offline

    Jeyge

    Sorry this took so long but I crawled thru the code to try to find where it was broken and just ended up having to go line by line thru your files. You had 2 errors in your users.yml in the default world starting at line 446.
    Code:
        legostrike2:
            permissions: []
        Zepigroups:
        - Builder
    
    needs to look like
    Code:
        legostrike2:
            permissions: []
            groups:
        Zepigroups:
            groups:
            - Builder
    
     
  30. Offline

    15austin

    This is all of the Error:
    Code:
    2011-06-11 20:13:43 [SEVERE] java.lang.NullPointerException
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.World.a(World.java:1544)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.World.a(World.java:1509)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.World.a(World.java:556)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.MetadataChunkBlock.a(SourceFile:105)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.World.doLighting(World.java:1496)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-11 20:13:43 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-11 20:13:43 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at net.minecraft.server.World.a(World.java:1544)
        at net.minecraft.server.World.a(World.java:1509)
        at net.minecraft.server.World.a(World.java:556)
        at net.minecraft.server.MetadataChunkBlock.a(SourceFile:105)
        at net.minecraft.server.World.doLighting(World.java:1496)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  31. Offline

    Jeyge

    Sounds like you are running 3.1.3 actually. There were problems with the users files in that version getting reset when a reload was used. And also the global files weren't working in that version. Both problems were fixed in 3.1.5b.

    /pr Njorde w:world parents add admin

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
Thread Status:
Not open for further replies.

Share This Page