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

    Frozen91

    Thanks for your help! A space was missing ( default: false instead of default:false)

    But now I have another problem... The plugin doesn't check my users.yml file and overwrites it everytime with {}
     
  3. Offline

    Jeyge

    The Permissions plugin shouldn't ever use {} and should always start the file with users:. Are you sure there isn't something else touching that file? McMyAdmin or something like that?
     
  4. Offline

    MCxWillyxP

    Here's my predicament: Permissions.png
     
  5. Offline

    Jeyge

    I'm not sure I see a predicament there. Those are 3.x files. I already knew that. Now you just need to update to the 3.x version of Permissions and not run the 2.7.3 version. Or, convert the files to the 2.7 version of the file.
     
  6. Offline

    Nonin

    Code:
    05.06 13:11:44 [Server] INFO noninn: Set time to 0
    05.06 13:11:44 [Server] INFO Lockette: (Admin) icebox3d has bypassed a door owned by noninn
    05.06 13:11:42 [Server] INFO Lockette: (Admin) icebox3d has bypassed a door owned by noninn
    05.06 13:11:33 [Server] INFO Lockette: (Admin) icebox3d has bypassed a door owned by noninn
    05.06 13:11:18 [Multicraft] noninn ran command Message of the Day
    05.06 13:11:18 [Connect] User noninn, IP 67.85.129.113
    05.06 13:11:18 [Multicraft] icebox3d ran command Message of the Day
    05.06 13:11:18 [Connect] User icebox3d, IP 99.251.87.27
    05.06 13:11:17 [Server] Startup Done (0.631s)! For help, type "help" or "?"
    05.06 13:11:17 [Server] INFO Logblock v1.01 enabled.
    05.06 13:11:17 [Server] INFO [LogBlock] Scheduled consumer with bukkit scheduler.
    05.06 13:11:17 [Server] INFO [LogBlock] Permissions found.
    05.06 13:11:17 [Server] INFO [Minecart Mania] MinecartManiaChestControl version 1.2.2 is enabled!
    05.06 13:11:17 [Server] INFO [Minecart Mania] MinecartManiaAdminControls version 1.2.2 is enabled!
    05.06 13:11:17 [Server] INFO [Minecart Mania] Permissions detected. Using permissions.
    05.06 13:11:17 [Server] INFO [Minecart Mania] MinecartManiaSignCommands version 1.2.2 is enabled!
    05.06 13:11:16 [Server] INFO [Minecart Mania] MinecartManiaAutomations version 1.2.2 is enabled!
    05.06 13:11:16 [Server] INFO [Minecart Mania] MinecartManiaAutocart version 1.2.2 is enabled!
    05.06 13:11:16 [Server] INFO [HeroChat] Permissions 3.1.4 found.
    05.06 13:11:16 [Server] INFO [HeroChat] HeroChat version 4.10.3 enabled.
    05.06 13:11:16 [Server] INFO [HeroicDeath] 1.8.1.156 enabled.
    05.06 13:11:16 [Server] INFO 1 cauldron recipe(s) loaded
    05.06 13:11:16 [Server] INFO CraftBookMechanisms: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO CraftBookMechanisms 3.0-alpha2 enabled.
    05.06 13:11:16 [Server] INFO [Minecart Mania] MinecartManiaStation version 1.2.2 is enabled!
    05.06 13:11:16 [Server] INFO [Minecart Mania] MinecartManiaCore version 1.2.2 is enabled!
    05.06 13:11:16 [Server] INFO [Minecart Mania] Debug mode switched to NORMAL
    05.06 13:11:16 [Server] INFO Lockette: Ready to protect your containers.
    05.06 13:11:16 [Server] INFO Lockette: Using ops file for admin permissions.
    05.06 13:11:16 [Server] INFO Lockette: Linked to Permissions plugin version 3.1.4
    05.06 13:11:16 [Server] INFO Lockette: Detected craftbukkit build [823] ok.
    05.06 13:11:16 [Server] INFO Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.0)
    05.06 13:11:16 [Server] INFO [iConomy] hooked into Permissions.
    05.06 13:11:16 [Server] INFO [Warpz0r] Found Permissions (v3.1.4)
    05.06 13:11:16 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO [Permissions] version [3.1.4] (Yeti)  loaded
    05.06 13:11:16 [Server] INFO [Towny] Version: 0.68 - Mod Enabled
    05.06 13:11:16 [Server] INFO [Towny] Using: Permissions, iConomy
    05.06 13:11:16 [Server] INFO [Towny] Database: [Load] flatfile [Save] flatfile
    05.06 13:11:16 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:16 [Server] INFO CraftBookCircuits 3.0-alpha2 enabled.
    05.06 13:11:16 [Server] INFO [MagicCarpet] Using Permissions.
    05.06 13:11:16 [Server] INFO [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    05.06 13:11:16 [Server] INFO [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    05.06 13:11:16 [Server] INFO BukkitContrib 0.0.2 has been initialized
    05.06 13:11:16 [Server] INFO [Warpz0r] Found iConomy (v5.01)
    05.06 13:11:16 [Server] INFO [SignShop] hooked into iConomy.
    05.06 13:11:16 [Server] INFO [iConomy] Developed by: [Nijikokun]
    05.06 13:11:16 [Server] INFO [iConomy] v5.01 (Eruanna) loaded.
    05.06 13:11:16 [Server] INFO [iConomy] Logging is currently disabled.
    05.06 13:11:13 [Server] INFO Warpz0r version 1.2.4 is enabled
    05.06 13:11:13 [Server] INFO CraftBookCommon: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:13 [Server] INFO CraftBookCommon 3.0-alpha2 enabled.
    05.06 13:11:13 [Server] INFO WorldGuard 5.0-alpha8 enabled.
    05.06 13:11:13 [Server] INFO WorldGuard: 3 regions loaded for 'world'
    05.06 13:11:13 [Server] INFO WorldGuard: Loaded configuration for world 'world_nether"
    05.06 13:11:13 [Server] INFO WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    05.06 13:11:13 [Server] INFO WorldGuard: (world_nether) Lava fire is blocked.
    05.06 13:11:13 [Server] INFO WorldGuard: (world_nether) Lighters are PERMITTED.
    05.06 13:11:13 [Server] INFO WorldGuard: (world_nether) TNT ignition is PERMITTED.
    05.06 13:11:13 [Server] INFO WorldGuard: (world_nether) Single session is enforced.
    05.06 13:11:13 [Server] INFO WorldGuard: Loaded configuration for world 'world"
    05.06 13:11:13 [Server] INFO WorldGuard: (world) All fire spread is disabled.
    05.06 13:11:13 [Server] INFO WorldGuard: (world) Lava fire is blocked.
    05.06 13:11:13 [Server] INFO WorldGuard: (world) Lighters are PERMITTED.
    05.06 13:11:13 [Server] INFO WorldGuard: (world) TNT ignition is PERMITTED.
    05.06 13:11:13 [Server] INFO WorldGuard: (world) Single session is enforced.
    05.06 13:11:13 [Server] INFO WorldGuard: Blacklist loaded.
    05.06 13:11:13 [Server] INFO WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:13 [Server] INFO [FishPeople] using permissions
    05.06 13:11:13 [Server] INFO [FishPeople] version 1.5 is enabled!
    05.06 13:11:13 [Server] INFO [Jail] Loaded 0 prisoners.
    05.06 13:11:13 [Server] INFO [Jail] Loaded 0 prisoners.
    05.06 13:11:13 [Server] INFO [Jail] Loaded 1 jail zones.
    05.06 13:11:13 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 13:11:13 [Server] INFO WorldEdit 4.4 enabled.
    05.06 13:11:13 [Server] INFO ChairCraft 1.2.2 is enabled.
    05.06 13:11:13 [Server] INFO [SignShop] Hooked into Permissions
    05.06 13:11:13 [Server] INFO [SignShop] v0.6.0 ENABLED
    05.06 13:11:13 [Server] INFO [LogBlock] Connecting to mcworldg_logbloc@jdbc:mysql://10.34.10.99:3306/mcworldg_logblock...
    05.06 13:11:13 [Server] INFO [Permissions] (Yeti) was initialized.
    05.06 13:11:13 [Server] INFO [Permissions] Shutting down Permissions due to error(s).
    05.06 13:11:13 [Server] SEVERE [Permissions] Unable to load permission data.
    05.06 13:11:13 [Server] SEVERE     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    05.06 13:11:13 [Server] SEVERE     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    05.06 13:11:13 [Server] SEVERE     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    05.06 13:11:13 [Server] SEVERE     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    05.06 13:11:13 [Server] SEVERE     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    05.06 13:11:13 [Server] SEVERE     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    05.06 13:11:13 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    05.06 13:11:13 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.permissions.ModularControl.load(ModularControl.java:102)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    05.06 13:11:13 [Server] SEVERE     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    05.06 13:11:13 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    
    I get these errors and my groups/users files are below.

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '[G]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
                - 'warpz0r.warp'
                - 'warpz0r.list'
        Builder:
            default: false
            info:
                prefix: '[B]'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'bar.foo'
                - 'chaircraft.sit'
                - 'craftbook.mech.ammeter.use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.bookshelf.use'
                - 'craftbook.mech.cauldron'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light'
                - 'craftbook.ic.safe.*'
                - 'craftbook.ic.restricted.mcxxxx'
                - 'craftbook.ic.restricted.*'
                - 'craftbook.ic.safe.mcxxxx'
                - 'craftbook.ic.restricted.mcxxxx'
                - 'DailyBonus.getVIP'
                - 'EasyShout.shout'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'lockette.user.create.*'
                - 'minecartmania.signs.*'
                - 'SignShop.Signs.Buy'
                - 'SignShop.Signs.Sell'
                - 'SignShop.Signs.Donate'
                - 'SignShop.Signs.Slot'
                - 'SignShop.Signs.Redstone'
                - 'towny.town.new'
                - 'towny.town.claim'
                - 'towny.nation.new'
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.wild.item_use'
                - 'towny.spawntp'
                - 'towny.publicspawntp'
                - 'warpz0r.warp'
                - 'warpz0r.list'
                - 'warpz0r.home'
                - 'warpz0r.sethome'
        Veteran Builder:
            default: false
            info:
                prefix: '[VB]'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'fishpeople.infiniteair'
        Advanced:
            default: false
            info:
                prefix: '[A]'
                suffix: ''
                build: true
            inheritance:
                - Veteran Builder
            permissions:
                - 'magiccarpet.mc'
        Moderator:
            default: false
            info:
                prefix: '[Mod]'
                suffix: ''
                build: true
            inheritance:
                - Donator
            permissions:
                - '*'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'magiccarpet.mc'
                - 'lockette.admin.create.*'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'iConomy.admin.grant'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.lookup'
                - 'logblock.rollback'
                - 'logblock.clearlog'
                - 'logblock.hide'
                - 'EasyShout.shout4free'
        Admins:
            default: false
            info:
                prefix: '[Admins]'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'magiccarpet.mc'
                - 'lockette.admin.create.*'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'iConomy.admin.grant'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.lookup'
                - 'logblock.rollback'
                - 'logblock.clearlog'
                - 'logblock.hide'
                - 'EasyShout.shout4free'
    tracks:
        Build:
            - Default
            - Builder
            - Veteran
            - Advanced
        Mods:
            - Moderator
            - Admins
    Code:
    users:
        noninn:
            groups:
            - Admins
            permissions:
            - '*'
        ir0nsides:
            groups:
            - Admins
            - Moderator
            permissions:
            - '*'
        Test:
            groups:
            - Builder
        icebox3d:
            groups:
            - Admins
    
     
  7. Offline

    Splox982

    How do I set someones group using in game commands?
     
  8. Offline

    Jeyge

    /pr <user> w:<world> parents add <group>

    /op is a command that only an OP can use so you will need to add yourself to the file directly or perhaps get a plugin called DefaultPermissions. I would just add yourself to the file though.

    I'm not on the team btw. I just help on the forums to take some of the stress away from rcjrrjcr.

    I hadn't thought about this until now but it is going to be hard to ask for someone to post their files if they are using the SQL version. Do you perhaps have a chat plugin that will allow you to check if you are in a group? Or I guess you could type "pr <user> w:<world> perms listall" and see what it tells you. That along with "... parents listall" and "pr -list users/groups <world>" will be your only way to track down the problems.

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

    MCxWillyxP

    After many hours of being a dunce, I have finally worked it out :D
    Thanks very much for your help :)
     
  10. Offline

    Jeyge

    Damn, another couple lines and I would have been able to actually see the error. Was it the first time you had launched 3.x? If so, just run it again. If not, post the rest of the error. You files look fine at a glance.
     
  11. Offline

    Lupus

    Ok ill try that once i get home from my graduation party.
     
  12. Offline

    devilwalker

    im having problems getting permissions to work properly and i dont know what im doin wrong

    im running a fresh install of permissions, with mcmyadmin as a cpanel. When i create my groups, and add myself as the admin, with * as my permissions i cant op myself, reload the server, or any of the higher commands. I can't for the life of me figure out what im doing wrong. I have the inheritince done properly, but passed that im really not sure
     
  13. Offline

    Ash88

    Hello Hello rcjrrjrc, Jeyge, and whoever else you suckered into being on your team! Thank you very much for taking over this plugin. I for one am really excited about the direction you are taking it - MYSQL and ingame commands???! Awesome!

    I finally got permissions running with MYSQL! (much rejoicing!). However, it seems to be working *too* well. I don't have permission to do anything :)

    Since I'm using MYSQL it doesn't seem to be as easy as going in and editing a file to give myself premissions... (yes, I tried it). But I'm scared to do anything in phpmyadmin for fear of breaking something in your database. So until someone has a bright idea I will be wandering around my world looking at stuff... I don't have permission to do anything else ;)

    And yes... I did explore github and here... If my search-foo is lacking I'm sorry!

    Cheers!
     
  14. Offline

    Nonin

    Not the first time. And all the info i'm getting is being posted below:
    Code:
    05.06 14:01:32 [Multicraft] noninn ran command Message of the Day
    05.06 14:01:32 [Connect] User noninn, IP 67.85.129.113
    05.06 14:01:31 [Server] Startup Done (0.627s)! For help, type "help" or "?"
    05.06 14:01:31 [Server] INFO Logblock v1.01 enabled.
    05.06 14:01:31 [Server] INFO [LogBlock] Scheduled consumer with bukkit scheduler.
    05.06 14:01:31 [Server] INFO [LogBlock] Permissions found.
    05.06 14:01:31 [Server] INFO [Minecart Mania] MinecartManiaChestControl version 1.2.2 is enabled!
    05.06 14:01:31 [Server] INFO [Minecart Mania] MinecartManiaAdminControls version 1.2.2 is enabled!
    05.06 14:01:31 [Server] INFO [Minecart Mania] Permissions detected. Using permissions.
    05.06 14:01:31 [Server] INFO [Minecart Mania] MinecartManiaSignCommands version 1.2.2 is enabled!
    05.06 14:01:31 [Server] INFO [Minecart Mania] MinecartManiaAutomations version 1.2.2 is enabled!
    05.06 14:01:31 [Server] INFO [Minecart Mania] MinecartManiaAutocart version 1.2.2 is enabled!
    05.06 14:01:31 [Server] INFO [HeroChat] Permissions 3.1.4 found.
    05.06 14:01:31 [Server] INFO [HeroChat] HeroChat version 4.10.3 enabled.
    05.06 14:01:31 [Server] INFO [HeroicDeath] 1.8.1.156 enabled.
    05.06 14:01:31 [Server] INFO 1 cauldron recipe(s) loaded
    05.06 14:01:30 [Server] INFO CraftBookMechanisms: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO CraftBookMechanisms 3.0-alpha2 enabled.
    05.06 14:01:30 [Server] INFO [Minecart Mania] MinecartManiaStation version 1.2.2 is enabled!
    05.06 14:01:30 [Server] INFO [Minecart Mania] MinecartManiaCore version 1.2.2 is enabled!
    05.06 14:01:30 [Server] INFO [Minecart Mania] Debug mode switched to NORMAL
    05.06 14:01:30 [Server] INFO Lockette: Ready to protect your containers.
    05.06 14:01:30 [Server] INFO Lockette: Using ops file for admin permissions.
    05.06 14:01:30 [Server] INFO Lockette: Linked to Permissions plugin version 3.1.4
    05.06 14:01:30 [Server] INFO Lockette: Detected craftbukkit build [823] ok.
    05.06 14:01:30 [Server] INFO Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.0)
    05.06 14:01:30 [Server] INFO [iConomy] hooked into Permissions.
    05.06 14:01:30 [Server] INFO [Warpz0r] Found Permissions (v3.1.4)
    05.06 14:01:30 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO [Permissions] version [3.1.4] (Yeti)  loaded
    05.06 14:01:30 [Server] INFO [Towny] Version: 0.68 - Mod Enabled
    05.06 14:01:30 [Server] INFO [Towny] Using: Permissions, iConomy
    05.06 14:01:30 [Server] INFO [Towny] Database: [Load] flatfile [Save] flatfile
    05.06 14:01:30 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:30 [Server] INFO CraftBookCircuits 3.0-alpha2 enabled.
    05.06 14:01:30 [Server] INFO [MagicCarpet] Using Permissions.
    05.06 14:01:30 [Server] INFO [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    05.06 14:01:30 [Server] INFO [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    05.06 14:01:30 [Server] INFO BukkitContrib 0.0.2 has been initialized
    05.06 14:01:30 [Server] INFO [Warpz0r] Found iConomy (v5.01)
    05.06 14:01:30 [Server] INFO [SignShop] hooked into iConomy.
    05.06 14:01:30 [Server] INFO [iConomy] Developed by: [Nijikokun]
    05.06 14:01:30 [Server] INFO [iConomy] v5.01 (Eruanna) loaded.
    05.06 14:01:30 [Server] INFO [iConomy] Logging is currently disabled.
    05.06 14:01:28 [Server] INFO Warpz0r version 1.2.4 is enabled
    05.06 14:01:28 [Server] INFO CraftBookCommon: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:28 [Server] INFO CraftBookCommon 3.0-alpha2 enabled.
    05.06 14:01:28 [Server] INFO WorldGuard 5.0-alpha8 enabled.
    05.06 14:01:28 [Server] INFO WorldGuard: 3 regions loaded for 'world'
    05.06 14:01:28 [Server] INFO WorldGuard: Loaded configuration for world 'world_nether"
    05.06 14:01:28 [Server] INFO WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    05.06 14:01:28 [Server] INFO WorldGuard: (world_nether) Lava fire is blocked.
    05.06 14:01:28 [Server] INFO WorldGuard: (world_nether) Lighters are PERMITTED.
    05.06 14:01:28 [Server] INFO WorldGuard: (world_nether) TNT ignition is PERMITTED.
    05.06 14:01:28 [Server] INFO WorldGuard: (world_nether) Single session is enforced.
    05.06 14:01:28 [Server] INFO WorldGuard: Loaded configuration for world 'world"
    05.06 14:01:28 [Server] INFO WorldGuard: (world) All fire spread is disabled.
    05.06 14:01:28 [Server] INFO WorldGuard: (world) Lava fire is blocked.
    05.06 14:01:28 [Server] INFO WorldGuard: (world) Lighters are PERMITTED.
    05.06 14:01:28 [Server] INFO WorldGuard: (world) TNT ignition is PERMITTED.
    05.06 14:01:28 [Server] INFO WorldGuard: (world) Single session is enforced.
    05.06 14:01:28 [Server] INFO WorldGuard: Blacklist loaded.
    05.06 14:01:28 [Server] INFO WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:28 [Server] INFO [FishPeople] using permissions
    05.06 14:01:28 [Server] INFO [FishPeople] version 1.5 is enabled!
    05.06 14:01:28 [Server] INFO [Jail] Loaded 0 prisoners.
    05.06 14:01:28 [Server] INFO [Jail] Loaded 0 prisoners.
    05.06 14:01:28 [Server] INFO [Jail] Loaded 1 jail zones.
    05.06 14:01:28 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    05.06 14:01:28 [Server] INFO WorldEdit 4.4 enabled.
    05.06 14:01:28 [Server] INFO ChairCraft 1.2.2 is enabled.
    05.06 14:01:28 [Server] INFO [SignShop] Hooked into Permissions
    05.06 14:01:28 [Server] INFO [SignShop] v0.6.0 ENABLED
    05.06 14:01:27 [Server] INFO [LogBlock] Connecting to mcworldg_logbloc@jdbc:mysql://10.34.10.99:3306/mcworldg_logblock...
    05.06 14:01:27 [Server] INFO [Permissions] (Yeti) was initialized.
    05.06 14:01:27 [Server] INFO [Permissions] Shutting down Permissions due to error(s).
    05.06 14:01:27 [Server] SEVERE [Permissions] Unable to load permission data.
    05.06 14:01:27 [Server] SEVERE     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    05.06 14:01:27 [Server] SEVERE     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    05.06 14:01:27 [Server] SEVERE     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    05.06 14:01:27 [Server] SEVERE     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    05.06 14:01:27 [Server] SEVERE     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    05.06 14:01:27 [Server] SEVERE     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    05.06 14:01:27 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    05.06 14:01:27 [Server] SEVERE     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.permissions.ModularControl.load(ModularControl.java:102)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    05.06 14:01:27 [Server] SEVERE     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    05.06 14:01:27 [Server] SEVERE     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    05.06 14:01:27 [Server] INFO             ^
    05.06 14:01:27 [Server] INFO             inheritance:
    05.06 14:01:27 [Server] INFO  in "<reader>", line 72, column 9:
    05.06 14:01:27 [Server] INFO could not found expected ':'
    05.06 14:01:27 [Server] INFO                 ^
    05.06 14:01:27 [Server] INFO                 Rank:3
    
     
  15. Offline

    Jeyge

    That error doesn't match the files you posted but it looks like your rank should actually be "Rank: 3". The space is important. But it could also mean that you have another missing : somewhere. I would take a look for some other permission file that has a Rank at or around line 72.
     
  16. Offline

    xlilcasper

    How can I set a players group from inside my plugin?
     
  17. Offline

    Frozen91

    Hi, issue solved, another space was missing :p

    BUT, I can't get the promote/demote commands to work... It says that I've been promoted but there's no change!
     
  18. Offline

    Rocco Speranza

    I'm asking a question having to do with the MultiVerse plugin.
    I got the mod working and i'm able to teleport to my friends level he made fine.
    The problem i'm having is using the /mvsetspawn command. When I type it in to set the spawn in my friend's world if gives me: You do not have the rights to access this command. I've tried everything and have read half of the stuff in this thread with no help. Why is there not something to just add your name and you have admin rights?

    Can someone tell me how to fix this or redirect me to some where that does? I couldn't find anything on it.
     
  19. Offline

    Ash88

    Ahh - well. Being on a team is overrated anyways... you know, all that thankless responsibility and such. On the other hand - zealously helping out when you have no reason to do so is always appreciated. So you are in the right spot.

    I've got very few plugins, and only ones that are fairly mainstream: WorldGuard, WorldEdit, CommandBook, CommandHelper, MinecartMania, Help... that's it. The problem is that I don't have any permission to do anything in these plugins.

    I can guarantee that I am not in a group. How do I add myself to a group without being in a group that has permission to add people to groups? Again, I can't just edit the YAML file. I'm assuming I have to edit something in MYSQL - which I'm happy to do as long as I know what to edit. Editing databases manually too often bites you in the behind (particularly when there are no entries, aside from my user name and entity ID, to use as a template to figure the rest out).

    Are you familiar with the sing-along song, "There's a hole in the bucket, dear liza, dear liza"? If you know the whole thing then you might agree that it is a very fitting theme song. You see, I don't have permission to run the commands to track down the reason why I don't have permission :) I have become very familiar with this prompt:
    [Permissions] You do not have permissions to use this command.

    sigh... so for now I'm counting minecarts whizzing by me. :)
     
  20. Offline

    Psycho Robot

    You should post your relevant config files on either pastebin or here between CODE tags to get better support.
     
  21. Offline

    Frozen91

    You don't have the required permission because it's a different world ;)
     
  22. Offline

    TheDoctorMouse

    I'm getting a similar error, and I've not found anything in the thread that really helped.

    Code:
    20:00:56 [SEVERE] mapping values are not allowed here
     in "<reader>", line 3, column 16:
                default: false
                       ^
    
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    20:00:56 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    20:00:56 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    20:00:56 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    20:00:56 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    20:00:56 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    20:00:56 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    20:00:56 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    20:00:56 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    20:00:56 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:103)
    20:00:56 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    20:00:56 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    20:00:56 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    20:00:56 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    20:00:56 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    20:00:56 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    20:00:56 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    20:00:56 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20:00:56 [SEVERE] [Permissions] Unable to load permission data.
    20:00:56 [INFO] [Permissions] Shutting down Permissions due to error(s).
    20:00:56 [INFO] [Permissions] (Yeti) was initialized.
    20:00:56 [INFO] [Permissions] version [3.1.4] (Yeti)  loaded
    
    permissions/world/groups.yml
    Code:
    groups:
        Convicts
            default: false
            info:
                prefix: 'Convict '
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.*'
                - 'WolfSpawn.release'
                - 'herosneak.sneak'
                - 'tombstone.use'
                - 'tombstone.large'
                - 'tombstone.freesign'
                - 'tombstone.freechest'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.payment'
                - 'factions.participate'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.free.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.getpos'
                - 'essentials.info'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'MobBounty.mb'
                - 'lockette.user.create.*'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyDeath.use'
                - 'essentials.help'
        Admins:
            default: false
            info:
                prefix: '@'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Through my fiddling with the code, I've figured that the error has something to do with the colon after "default", but I'm not sure what to do about it.
    EDIT: I meant to write this here: permissions/storageconfig.yml
    Code:
    permissions:
        storage:
            type: YAML
    Thanks
     
  23. Offline

    Frozen91

    The same thing happened to me, search for a missing space ( default: false instead of default:false for example)
    EDIT: I saw that there was no ":" after Convicts
     
    TheDoctorMouse likes this.
  24. Offline

    Nonin

    Thanks it was in my Global File, let hops everything works fine now.
     
  25. Offline

    arough

    hey guys,
    i run permissions 2.5.5 and my console don´t have rights to run any command -.-
    always giving me a: "You don´t have permissions" note...
    anyone knows whats the matter?
     
  26. Offline

    Frozen91

    How do I use promote/demote commands?
    Because, when I use "/pr frozen promote Modo t", it does'nt change anything :'(

    Code:
    tracks:
        t:
            -Visiteur
            -Membre
            -VIP
            -Architecte
            -Modo
            -Admin
     
  27. Offline

    TheDoctorMouse

    I feel like a f:mad:ing moron. But thank you very much, it works perfectly now.
     
  28. Offline

    Frozen91

    :D
     
  29. Offline

    Ash88

    EDIT: Ok, stupid moment... since I run minecraft in a linux screen session that's hidden it never occured to me that I could just issue all of the commands in the server console... but of course you can, and of course you should. Doh!

    EDIT2: Some useful commands to get you started in MYSQL based permissions from the console:

    (Give yourself all permission nodes)
    /pr YourName perms add *
    (Give yourself build permission)
    /pr YourName info set build b:true

    Ok, editing MYSQL directly I have managed to give myself permissions. For those that run into the same issue you will have to alter the code below to make sure your entity ID matches the INSERT statement. I'm not sure if this will royally screw up the database over the long term.

    I still can't place blocks - but I have access to all of the /permissions commands... so I just have to figure out the command to give myself build permissions :)
    Code:
    INSERT INTO `PrPermissions` (`permid`, `permstring`, `entryid`) VALUES
    (1, '*', 1);
    First "1" Has to be unique.
    Second "1" has to match your entryid beside your username in another table (forget which one, but it was obvious).
     
  30. Offline

    Nathan C

    Going to go insane with this. I had no problem with the old permissions, but the whole damn format was changed around.

    Whenever I try to add myself to the Admin group, / it says:
    Code:
    15:53:33 [INFO] [Permissions] User/Group does not exist.
    15:53:33 [INFO] [Permissions] Using closest match NateN34.
    15:53:33 [INFO] [Permissions] Closest user/group does not exist.
    
    Also, if I manually pasted the users into the users.yml from the previous Permissions versions, it still doesn't work. I am still a default player and not an admin.

    I have attatched my worlds groups.yml.

    Anyone know what's wrong?
     

    Attached Files:

  31. Offline

    nanashiRei

    When i do that it tells me the parent was added, but the user remains with my default group. Same for "/pr ... promote".

    Code:
    File <storageconfig.yml>
    permissions:
        storage:
            type: YAML
    #        dbms: 'MYSQL'
    #        uri: 'jdbc:mysql://localhost:3306/minecraft' # Change Port if Needed
    #        username: 'minecraft'
    #        password: 'you wish eh?'
            worldcopy:
                hell: lostworld
                heaven: lostworld
    
    -------------------------------------------------------------------
    File <lostworld/users.yml>
    users:
    # CUT #
        shizuku:
            info:
            permissions:
            - nocheat.flying
            - nocheat.moving
            - stargate.create
            - stargate.create.hidden
            - stargate.create.personal
            - worldedit.*
            - worldedit.superpickaxe
            groups:
            - Trader
            - Signs
            - Elevators
            - Moderator
            - MoreSigns
            - FalseBook
    # EOF
    # No user added since Pr 3.1+ even when they join the server... what's up?
    
    -------------------------------------------------------------------
    File <lostworld/groups.yml>
    groups:
        Trader:
            default: false
            permissions:
            - essentials.signs.trade.create
            - minecartmania.signs.*
            inheritance:
            - chief
            info:
                prefix: '&e'
                build: true
                suffix: ''
        Cheats:
            default: false
            permissions:
            - nocheat.*
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        MoreSigns:
            default: false
            permissions:
            - essentials.signs.disposal.use
            - essentials.signs.free.use
            - essentials.signs.heal.use
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        FalseBook:
            default: false
            permissions:
            - falsebook.blocks.bridge
            - falsebook.blocks.gate
            - falsebook.blocks.hiddenswitch.create
            - falsebook.ic.mc0111
            - falsebook.ic.mc0271
            - falsebook.ic.mc0272
            - falsebook.ic.mc1017
            - falsebook.ic.mc1110
            - falsebook.ic.mc1201
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        Spectator:
            default: true
            permissions:
            - essentials.spawn
            inheritance: []
            info:
                prefix: '&7'
                build: false
                suffix: '&7'
        Survivor:
            default: false
            permissions:
            - bColoredChat.signColor
            - essentials.afk
            - essentials.back
            - essentials.balance
            - essentials.help
            - essentials.home
            - essentials.list
            - essentials.mail
            - essentials.motd
            - essentials.msg
            - essentials.pay
            - essentials.rules
            - essentials.sethome
            - essentials.signs.buy.use
            - essentials.signs.heal.use
            - essentials.signs.sell.use
            - essentials.signs.trade.use
            - essentials.spawn
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tptoggle
            - essentials.warp
            - lockette.create.*
            - logblock.tool
            - magiccarpert.mc
            - magiccarpet.mc
            - minecartmania.commands.st
            - multiverse.tp
            - multiverse.world.spawn
            - signColors.2
            - signColors.3
            - signColors.8
            - signColors.9
            - signColors.a
            - signColors.b
            - stargate.network.*
            - stargate.use
            inheritance:
            - spectator
            info:
                prefix: '&1'
                build: true
                suffix: '&7'
        Elevators:
            default: false
            permissions:
            - elevators.advancedbuilder
            - elevators.builder
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        Moderator:
            default: false
            permissions:
            - essentials.whois
            - worldguard.stack
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        Signs:
            default: false
            permissions:
            - signcolors.*
            inheritance: []
            info:
                prefix: ''
                build: false
                suffix: ''
        Admin:
            default: false
            permissions:
            - '*'
            inheritance:
            - chief
            - trader
            info:
                prefix: '&4'
                build: true
                suffix: '&e'
        Chief:
            default: false
            permissions:
            - essentials.invsee
            - groupmanager.mandemote
            - groupmanager.manpromote
            - logblock.tool
            - logblock.toolblock
            - minecartmania.commands.*
            - stargate.create
            - stargate.option.private
            inheritance:
            - survivor
            info:
                prefix: '&6'
                build: true
                suffix: '&7'
    
    tracks:
        User:
        - Spectator
        - Survivor
    
    Please ignore the groupmanager perms, they are there as backup, just in case eh?...

    Anyway file permissions are right 640 for all files, owned by the same user the server runs with. Also most files created by the server itself to begin with.

    Plugins used are:
    MCStats2, MultiVerse, WorldEdit, BukkitContrib, ControllerBlock, MagicCarpet, Essentials, MinecartManiaCore, Minequery, FalseBookBlock, EssentialsSpawn, FalseBookExtra, MinecartManiaAutomations, Elevators, bColoredChat, CraftBukkitUpToDate, MultiInv, FalseBookChat, CraftIRC, MinecartManiaSignCommands, AuthDB, Permissions, FalseBookIC, CommandHelper, AfkBooter, LogBlockQuestioner, Stargate, FalseBookCore, HeroicDeath, MinecartManiaAdminControls, properTime, MinecartManiaChestControl, WorldGuard, NoCheat, Lockette, MinecartManiaStation, EssentialsGeoIP, EssentialsChat, LogBlock, PermissionsSql

    Please help if you can.
     
Thread Status:
Not open for further replies.

Share This Page