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

    Mhalkyer

    Sorry, I didn't make it a fork on github, I just downloaded and changed it. Also I'm just using the MySQL files.

    @Jeyge I agree, the 'fair mode' may not have been the solution, but I'm just ecstatic that it's working! lol.
     
  3. Offline

    cj89898

    what are the color codes?
     
  4. Offline

    obscurehero

    Yuck. I haven't been a huge fan of that. Especially as its the "default" permissions plugin. I'd prefer the best permisisons plugin to become so by sheer merit and ease-of-use not by sheer force of influence. I guess I'll pop on by that thread again and confuse myself again...
     
  5. Offline

    Jeyge

    Most of the chat plugins have that in their wiki or OP but here it is.
    I like the way they have implemented global and local permissions to not be as confusing as the individual files has been but at the same time, I hate that it is all in one file.
     
  6. Offline

    Garloth

    "Wrong type of plugin for that. You wouldn't want it to push a change you don't want."
    Like?
     
  7. Offline

    obscurehero

    Basically, you don't want a new version of the plugin without verifying that all your plugins which utilize permissions are up-to-date with the latest version of permissions. All that is moot, as bukkituptodate only downloads the latest plugin version...it doesn't overwrite your current configuration. Alternatively, you could just check the thread every week or so to check for an update. Not terribly difficult.
     
  8. Offline

    Jeyge

    Like, some people are still running 2.7.4 because they don't like the changes that 3.x has made and trying to push it on them isn't what CBUTD is all about. You can assume that an update to most plugins won't cause any problems but an update to something like Permissions may require some intervention from the server owner.
     
  9. Offline

    OverSizedRabbit

    i have problems with nodes on server like i have two examples
    stargate.use - Allow this player/group to use stargates.
    nocheat.fly - (don't prevent flying within the "moving" check)
    on the stargate plugin if i put stargate.* it works but then everyone can do anything but on nocheat i cant fly at all no matter what. Also this does the same for craftbook if i put
    craftbook.mech.bridge - Allows the creation and use of bridge
    then nobody can make bridges or use them :L unless i put craftbook.*
    this is not my fault at all because i get no errors i am getting the right node to do what i want to do so dont say i have wrong nodes craftbook one is very easy to tell i did it right
    Heres permissions and websites where nodes are at
    http://pastebin.com/5gzvUPmf
    http://craftbook.sk89q.com/wiki/Configuration#Usage_permissions
    http://forums.bukkit.org/threads/tp-stargate-v0-5-5-the-bukkit-port-a-portal-plugin-b1000.3927/
    http://forums.bukkit.org/threads/se...tation-of-various-flaws-bugs-in-mc-1000.4523/
     
  10. Offline

    Dothackking

    I"m on RB953 with an unkown version of permissions, I think it is the newest one (the changelog file says 3.0, but i just got it like a week or two ago)

    Inheritances don't seem to work for me anymore
     
  11. Offline

    Jeyge

    Stargate - http://forums.bukkit.org/posts/413308/ You didn't use the right nodes.
    Craftbook - http://craftbook.sk89q.com/wiki/Bridges Requires craftbook.mech.bridge.use so you didn't use the right nodes.

    Shall I continue to look up what nodes you need to use?

    Post your server.log with your permissions yml files.

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

    nico2111

    Help me! I can't build.
    My groups.yml:


    groups:
    villageois:
    permissions:
    - essentials.pay
    - essentials.balance
    - essentials.chat.color
    default: true

    I've copy the sample file and modify it and now that work .

    The server has no error now but I can't build

    I need to be op to build

    I've forgot the spawn protection.

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

    Jeyge

    You seem to have deleted your info section. Add the following and you should be able to build as long as you are in the group listed above:
    Code:
            info:
                build: true
    
     
  14. Offline

    nico2111

    ok thank you

    where I need to place that?

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

    Jeyge

    Anywhere after the group name as long as it is correctly spaced to line up with permissions: or default:. You might want to look at the sample files in the zip download for the correct way to set them up.
     
  16. Offline

    nico2111

    ok I see

    I've this
    151 recipes
    16 achievements
    23:23:06 [INFO] Starting minecraft server version Beta 1.7.3
    23:23:06 [INFO] Loading properties
    23:23:06 [INFO] Starting Minecraft server on 192.168.1.10:25566
    23:23:06 [ATTENTION] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    23:23:06 [ATTENTION] The server will make no attempt to authenticate usernames.
    Beware.
    23:23:06 [ATTENTION] While this makes the game possible to play without internet
    access, it also opens up the ability for hackers to connect with any username t
    hey choose.
    23:23:06 [ATTENTION] To change this, set "online-mode" to "true" in the server.s
    ettings file.
    23:23:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    23:23:07 [INFO] MLog clients using java 1.4+ standard logging.
    23:23:07 [GRAVE] while parsing a block mapping
    in "<reader>", line 2, column 5:
    villageois:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 4, column 9:
    info:
    ^

    23:23:07 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:576)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    23:23:07 [GRAVE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    23:23:07 [GRAVE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:82)
    23:23:07 [GRAVE] at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:179)
    23:23:07 [GRAVE] at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:30)
    23:23:07 [GRAVE] at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:57)
    23:23:07 [GRAVE] at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    23:23:07 [GRAVE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:96)
    23:23:07 [GRAVE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    23:23:07 [GRAVE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:116)
    23:23:07 [GRAVE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    23:23:07 [GRAVE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    23:23:07 [GRAVE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    23:23:07 [GRAVE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    23:23:07 [GRAVE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    23:23:07 [GRAVE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    23:23:07 [GRAVE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    23:23:07 [GRAVE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    23:23:07 [GRAVE] [Permissions] Unable to load permission data.
    23:23:07 [GRAVE] [Permissions] Shutting down Permissions due to error(s).
    23:23:07 [INFO] [Permissions] (Yeti) was initialized.
    23:23:07 [INFO] [Permissions] (Yeti) disabled successfully.
    23:23:08 [INFO] Preparing level "Krystala"
    23:23:08 [INFO] Preparing start region for level 0 (Seed: -9116874680611766272)
    23:23:09 [INFO] Preparing spawn area: 40%
    23:23:10 [INFO] Essentials version 2.5.3 par [Zenexer, ementalo, Aelux, Brettfla
    n, KimKandor, snowleo, ceulemans, Xeology] a ÚtÚ chargÚ
    23:23:10 [INFO] EssentialsChat version 2.5.3 par essentials team a ÚtÚ chargÚ
    23:23:10 [INFO] EssentialsGeoIP version 2.5.3 par essentials team a ÚtÚ chargÚ
    23:23:10 [INFO] This product includes GeoLite data created by MaxMind, available
    from http://www.maxmind.com/.
    23:23:10 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? tr
    ue; trace: 10]
    23:23:11 [INFO] EssentialsProtect version 2.5.3 par essentials team a ÚtÚ chargÚ

    23:23:11 [INFO] EssentialsSpawn version 2.5.3 par essentials team a ÚtÚ chargÚ
    23:23:11 [INFO] Server permissions file permissions.yml is empty, ignoring it
    23:23:11 [INFO] Done (0,346s)! For help, type "help" or "?"
    >

    I try to reinstall the plugin

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

    Jeyge

    @nico2111
    The one place it can't go is in the middle of your permissions. Put it either before permissions: or after the last permission. Also, post your config/errors in code blocks. Look above where you type for the button that looks like {} with a # in the lower right.

    Edit - no need to reinstall. Just take a look at the sample files.
     
  18. Offline

    XxProphet

    EDIT:Fixed
     
  19. Offline

    james mccarthy

    Hello i set up my permissions file today and when i load up the server it says Permission error not loading file PLEASE HELP.
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'password.password'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'warpplugin.warp'
                - 'iConomy.access'
                - 'iConomyBank.bank'
                - 'password.password'
                - 'commandSigns.use'
                - 'falsebook.blocks.*'
                - 'lwc.protect'
                - 'lottery.buy'
                - 'sortal.warp'
                - 'sortal.coords'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'modplugin.ban'
                - 'modplugin.kick'
                - 'modplugin.unban'
                - 'iConomyChestShop.admin'
                - 'setrank.rank'
                - 'commandSigns.create'
                - 'commandSigns.super.elevated'
                - 'falsebook.anyic'
                - 'lwc.mod'
                - 'lottery.admin.draw'
                - 'sortal.register'
                - 'sortal.setprice'
                - 'jail.command.jailcreate'
    	    - 'jail.command.jailcreatecells'
    	    - 'jail.command.jaildelete'
    	    - 'jail.command.jaildeletecells'
    	    - 'jail.command.jail'
    	    - 'jail.command.unjail'
    	    - 'jail.command.jailtransfer'
    	    - 'jail.command.jailtransferall'
    	    - 'jail.command.jailcheck'
    	    - 'jail.command.jailtelein'
    	    - 'jail.command.jailteleout'
    	    - 'jail.command.jaillist'
    	    - 'jail.command.jaillistcells'
    	    - 'jail.command.unjailforce'
    	    - 'jail.command.jailclear'
    	    - 'jail.command.jailclearforce'
    	    - 'jail.command.jailmute'
                - 'jail.command.jailstop'
                - 'no.spam'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Shopowner:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'iConomyChestShop.shop'
        Donator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build:  true
            inheritance:
                - Member
            permissions:
                - 'magiccarpet.mc'
                - 'magiccarpet.ml'
                - 'sortal.createwarp'
    
    
       
     
  20. Offline

    mmitchell816

    Updating MyMcAdmin fixed the issue. THanks for the help though
     
  21. Offline

    Jeyge

    Post the errors so we can know what needs to be fixed.
     
  22. Offline

    james mccarthy

    um ok one sec let me find them
    Code:
    2011-07-22 16:22:06 [INFO] Starting minecraft server version Beta 1.7.3
    2011-07-22 16:22:06 [INFO] Loading properties
    2011-07-22 16:22:06 [INFO] Starting Minecraft server on *:25565
    2011-07-22 16:22:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-07-22 16:22:07 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-07-22 16:22:07 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-07-22 16:22:08 [INFO] Entities enhanced[0] subclassed[1]
    2011-07-22 16:22:08 [SEVERE] Could not load 'plugins\mysql-connector-java-bin.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:64)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-22 16:22:08 [INFO] LWC: Loading shared objects
    2011-07-22 16:22:08 [INFO] LWC: Protection cache: 0/10000
    2011-07-22 16:22:08 [INFO] LWC: Native library: plugins/LWC/lib/native/Windows/x86/sqlitejdbc.dll
    2011-07-22 16:22:08 [INFO] Lottery version 0.5.0 is enabled
    2011-07-22 16:22:08 [SEVERE] while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 94, column 1:
                - 'jail.command.jailcreatec ...
        ^
    
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-07-22 16:22:08 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-07-22 16:22:08 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-07-22 16:22:08 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
    2011-07-22 16:22:08 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
    2011-07-22 16:22:08 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    2011-07-22 16:22:08 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
    2011-07-22 16:22:08 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    2011-07-22 16:22:08 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    2011-07-22 16:22:08 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    2011-07-22 16:22:08 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-22 16:22:08 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-22 16:22:08 [SEVERE] [Permissions] Unable to load permission data.
    2011-07-22 16:22:08 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-07-22 16:22:08 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-22 16:22:08 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-07-22 16:22:08 [INFO] Preparing level "worstseedever"
    2011-07-22 16:22:09 [INFO] Preparing start region for level 0 (Seed: 3568920747418970000)
    2011-07-22 16:22:10 [INFO] Preparing spawn area: 65%
    2011-07-22 16:22:10 [INFO] Preparing start region for level 1 (Seed: -1256713372770389500)
    2011-07-22 16:22:11 [INFO] Preparing spawn area: 48%
    2011-07-22 16:22:11 [INFO] [BBROTHER] ------------------------------------
    2011-07-22 16:22:11 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-07-22 16:22:11 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-07-22 16:22:11 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-07-22 16:22:11 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-07-22 16:22:11 [INFO] [BBROTHER] ------------------------------------
    2011-07-22 16:22:14 [INFO] [BBROTHER] Building `bbdata` table...
    2011-07-22 16:22:14 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-07-22 16:22:14 [INFO] [BBROTHER] Building `bbworlds` table...
    2011-07-22 16:22:14 [INFO] [BBROTHER] Building `bbusers` table...
    2011-07-22 16:22:14 [SEVERE] Error occurred while enabling BigBrother v1.9.1-SNAPSHOT (Is it up to date?): com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at me.taylorkelly.bigbrother.BBPermissions.setupPermissions(BBPermissions.java:65)
        at me.taylorkelly.bigbrother.BBPermissions.initialize(BBPermissions.java:40)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:143)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        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)
    2011-07-22 16:22:14 [INFO] [BlockWatcher] - Version 1.0 Enabled!
    2011-07-22 16:22:14 [INFO] [CookieMonster] Attached to iConomy.
    2011-07-22 16:22:14 [INFO] [CookieMonster]  v1.4 loaded successfully.
    2011-07-22 16:22:14 [INFO] [CookieMonster]  Developed by: [jascotty2, Coelho]
    2011-07-22 16:22:14 [INFO] CraftBukkitUpToDate version 2.5.7 is enabled!
    2011-07-22 16:22:14 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-07-22 16:22:14 [INFO] CButD: Permission didn't work, defaulting to OP
    2011-07-22 16:22:15 [WARNING] CraftBukkitUpToDate: Can't connect to ci-b.bukkit.org.
    
     
  23. Offline

    Jeyge

    You have tabs in your groups.yml file. You need to replace them with 4 spaces each. You can find more information on how to do that in the wiki FAQ.
    Code:
    2011-07-22 16:22:08 [SEVERE] while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 94, column 1:
                - 'jail.command.jailcreatec ...
        ^
    
     
  24. Offline

    james mccarthy

    Thank u it works now :)

    Hello my permissions file is working fine but when i change someones group it does not register please help it wont let anyone build i need help quick

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

    Jeyge

    How are you changing their groups and what files are you using? Post all of your permission yml files. There is also some information in the wiki FAQ about building problems.
     
  26. Offline

    james mccarthy

    Its fixed ok
     
  27. Offline

    Johnnyboy118

    I have never before had any problems with permissions, and now all of the sudden I can not get rid of this error even if i downgrade from build 1000 to 953 and reinstall the permissions.jar. Any help would be greatly appreciated.


    20:27:46 [SEVERE] while parsing a block collection
    in "<reader>", line 159, column 13:
    - 'glassplugin.getdrop'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 198, column 16:
    - 'livingforest.chat.global.reload'
    ^

    20:27:46 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequen
    ceEntry.produce(ParserImpl.java:520)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeSequenceN
    ode(Composer.java:203)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:158)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    20:27:46 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    20:27:46 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:82)
    20:27:46 [SEVERE] at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:179)
    20:27:46 [SEVERE] at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:30)
    20:27:46 [SEVERE] at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:57)
    20:27:46 [SEVERE] at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    20:27:46 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:96)
    20:27:46 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    20:27:46 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:114)
    20:27:46 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    20:27:46 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    20:27:46 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    20:27:46 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    20:27:46 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    20:27:46 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    20:27:46 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    20:27:46 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    20:27:46 [SEVERE] [Permissions] Unable to load permission data.
    20:27:46 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    20:27:46 [INFO] [Permissions] (Yeti) was initialized.
    20:27:46 [INFO] [Permissions] (Yeti) disabled successfully.
    20:27:46 [INFO] Preparing level "JMCS"
     
  28. Offline

    Jeyge

    Somewhere between line 159 and 198 you are missing a closing quote. Most likely on line 197.
     
  29. Offline

    Johnnyboy118

    @Jeygre Yep you nailed it perfectly it was right on the end of line 197, Thank you for all your help and the speedy reply, I great appreciate it.
     
  30. Offline

    Scolor

    What would I do if I want tp promote GeneralKrause (Moderator) to an admin?

    tracks:
    General:
    - Guest
    - Member
    - Trusted
    - Moderator
    - Admins
    Thats what my YML file looks like. Everything I have tired is not working
     
  31. Offline

    Jeyge

    As long as tracks: starts in column 1 and General: is in column 5 and you are using Permissions 3.1.6, then you would type "/pr GeneralKrause promote t:General".
     
Thread Status:
Not open for further replies.

Share This Page