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

    khamseen_air

    For permissions 3.x yes;

    If for instance you want to give an Admin group all permissions bar five do like this;
    permissions:
    - '*'
    - '-dont.want.this.node'
    - '-or.this.node'
    And so on.
     
  3. Offline

    Jamyy10

    So i could do this:

    Code:
    groups:
        Noob:
            default: true
            info:
                build: false
                prefix: '&a'
            permissions:
            - '*'
            - '-essentials.motd'
            - '-essentials.help'
            - '-essentials.home'
            - '-essentials.sethome'
            - '-essentials.tp'
     
  4. Offline

    Joannou1

    I am unable to upgrade to PermissionsEx... :( I did all the commands to switch backends etc, and whenever I move, or talk, none of my permissions work at all. I simply combined both files, and when I load the server up I get spammed with 9000 lines of java error code every second. Someone needs to make a permissions 4.0 .... PX is too unstable...
     
  5. Offline

    vDepth

    All the nodes worked for me with or without "*" (PermissionsEx).
     
    dark_hunter likes this.
  6. Offline

    Banana937

    I don't see why you wouldn't grant access to /motd or /help... I can understand /home and /sethome.
     
  7. Offline

    khamseen_air

    Depends on what his motd is, it could be "people in the noob group suck". :p

    I've now spent the best part of the last two hours going through all our plugins and their available permissions and have actually managed to get everything working as it should. Can't use the superpermbridge.* node, but I made use of the inheritance one for a change and luckily between a few superpermbridge.plugin.* and I was able to get it like this.
    Show Spoiler

    Code:
    users:
        khamseen_air:
            permissions:
            groups:
            - Admins
    groups:
        Default:
            permissions:
                admincmd.time.*: true
                admincmd.spawn.tp: true
                admincmd.player.afk: true
                admincmd.weather.clear: true
                admincmd.weather.storm: true
                backtobody.btb: true
                superpermbridge.falsebook.cart.*: true
                falsebook.blocks.gate: true
                falsebook.blocks.destroy: true
                falsebook.blocks.hiddenswitch.create: true
                falsebook.blocks.lightswitch.create: true
                falsebook.blocks.lightswitch.use: true
                falsebook.blocks.readbooks: true
                fishpeople.infiniteair: true
                fishpeople.invinciblehelmet: true
                fishpeople.lavasafe: true
                superpermbridge.lockette.user.create.*: true
                superpermbridge.myhome.home.*: true
                superpermbridge.mywarp.warp.*: true
                PaintingSwitch.use: true
                ud.drop.bookcase: true
                ud.drop.cobblestonestairs: true
                ud.drop.woodenstairs: true
                ud.drop.glowstone: true
                ud.drop.glass: true
        Trusted:
            permissions:
                falsebook.anyic: true
                admincmd.tp.to: true
            inheritance:
            - default
        Admins:
            permissions:
                permissions.*: true
                admincmd.*: true
                admincmd.player.clear: false
                fishpeople.config: true
                superpermbridge.lockette.*: true
                superpermbridge.myhome.*: true
                superpermbridge.mywarp.*: true
            inheritance:
            - default
            - trusted
    messages:
        build: '&cYou do not have permission to build here.'
    


    Only down side is, I've found out I can't remove the other permissions plugin yet because for some reason Lockette fails to recognise the groups in permissionsbukkit so doors and chests privatised to a group instead of a person would become sealed to everyone.

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

    NinjaGrinch

    From what I gather PermissionsBukkit doesn't handle Groups the same way that other permission plugins did. That said your best solution is to switch to something like LWC or nag the author of Lockette (last I checked that plugin was inactive).
     
  9. Offline

    khamseen_air

    Yeah, lockette was promised 'one last update' over a month ago and the guy hasn't been back since, so I wont hold my breath for getting that updated. I may have to give LWC a look, it's a shame as I rather liked Lockette.

    I am pretty certain that you require a world name. Where does it store the world files if not in a world named folder? Are they in root?

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

    Flaminglynx

    the error hasent been fixed that i posted about earlier. i removed the space between groups but it did nothing. The problem is that no matter what group you are in you can still use all the commands as if everyone was admin. the default group (that i named stranger) is soposto have no way to use any command and then the step up (citizen for me) allows people only to break and build blocks. but it isnt working. for some reason they can all use all the commands despite being in the lowest group that isn't soposto have any permissions for anything. please help?
     
  11. Offline

    Jdsdude

    Is there a more current version of permissions that is becoming widely used? or atleast one that is popular and actually "active"?
     
  12. Offline

    NinjaGrinch

    I liked it as well but I found LWC to be more controllable. Though as with all plugins its not without its issues but no-showstopping issues so far for my server.

    Use PermissionsBukkit. :)
     
  13. Offline

    khamseen_air

    Well that doesn't make much sense, it has no permissions listed. Couple more questions;
    Are you the one testing it by putting yourself in the Strangers group?
    If yes, are you also listed in the ops.txt file?
    If so, that's your problem.
    If not, do you have any other permission plugins, or leftovers from an old permissions plugin which could be giving Strangers permissions?
    Do you have the files named correctly and in the correct place?
    plugins/permissions/<worldname>/groups.yml + users.yml

    I've tested your groups.yml and users.yml on my test server and it works as it should for me.
     
  14. Offline

    Flaminglynx

    i have been testing it on other people, and i have no worldname. I left the world name blank in the server.properties file. so the groups.yml and users.yml are in plugins/permissions
     
  15. Offline

    efstajas

    Then I heard it from you. :D

    9000 lines of java error code - could be a bad YAML. :p
    Mind to post your config?

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

    THG3

    This is good to go for 1060? If so why isn't it labled 1060?
     
  17. Offline

    khamseen_air

    It is still working. Because it's inactive.
     
  18. Offline

    THG3

    Thanks I guess the big [INACTIVE] flag should of tipped me off. =P
     
    khamseen_air likes this.
  19. Offline

    imortslpuppy

    HELP
    ete!
    2011-08-22 04:23:23 [INFO] Unknown console command. Type "help" for help.
    2011-08-22 04:24:10 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at java.util.HashSet.<init>(Unknown Source)
    at com.nijiko.data.YamlGroupStorage.getTracks(YamlGroupStorage.java:284)
    at com.nijiko.permissions.PermissionWorld.getTracks(PermissionWorld.java:168)
    at com.nijiko.permissions.ModularControl.getTracks(ModularControl.java:532)
    at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:731)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  20. Offline

    Lunar Delta

    Yes, PEX. It supports Bukkit perms while remaining backward compatible with older plugins and chat managers. Don't bother with any of the Superperms-specific plugins, you're only going to give yourself a headache.
     
  21. Offline

    Ranzear

    If you use SuperPermsBridge and put all your plugin.node's after a SuperPermBridge. supernode they'll work as if you have 3.0 installed (if you modify the SuperPermsBridge plugin.yml to a 3.0 version per above too).

    This is how SuperPermsBridge is supposed to work, except nobody noticed or really got it to work because it was detecting as 2.0 to plugins that detected and switched between 2.0/3.0 calls.

    Posts like yours are the reason SuperPerms isn't taken seriously in the first place...
     
  22. Offline

    Joannou1

    Sorry a bit of a late reply, here. I ran it through a YML parser, turned out fine.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&f'
                suffix: '&f'
                build: true
            permissions:
            - towny.town.resident
            - towny.town.new
            - towny.town.plot
            - towny.spawntp
            - towny.wild.*
            - worldguard.info
            - worldguard.list
            - worldguard.stack
            - worldguard.locate
            - iConomy.access
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
            - iConomy.ChestShop.shop.buy
            - iConomy.ChestShop.shop.sell
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.withdraw
            - iConomy.bank.list
            - iConomy.bank.payment
            - iConomy.bank.rank
            - iConomy.bank.access
            - deathpenalty.losemoney
            - commandSigns.use
            - annotate.view
            - essentials.compass
            - essentials.home
            - essentials.spawn
            - essentials.helpop
            - essentials.help
            - essentials.getpos
            - essentials.top
            - essentials.depth
            - essentials.signs.buy.*
            - essentials.signs.trade.*
            - essentials.signs.sell.*
            - essentials.signs.heal.use
            - essentials.signs.disposal.*
            - essentials.signs.free.use
            - essentials.signs.protection.use
            - essentials.warplist
            - essentials.msg
            - essentials.afk
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.mail.*
            - essentials.whois
            - essentials.ping
            - essentials.msg
            - essentials.back
        Moderator:
            default: false
            info:
                prefix: '&9'
                suffix: '&f'
                build: true
            inheritance:
            - Default
            permissions:
            - navigation-wand.item
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.withdraw
            - iConomy.bank.list
            - iConomy.bank.payment
            - iConomy.bank.rank
            - iConomy.bank.access
            - essentials.warp
            - worldguard.reload
            - worldguard.report
            - worldguard.report.pastebin
            - worldguard.slay
            - worldguard.fire-toggle.*
            - worldguard.stack
            - iConomy.admin.stats
            - deathpenalty.help
            - deathpenalty.config.*
            - annotate.override
            - essentials.tphere
            - mc.*
            - essentials.suicide
            - essentials.delwarp
            - essentials.signs.heal.create
            - essentials.ext
            - essentials.nick
            - essentials.mute
            - essentials.broadcast
            - essentials.tpohere
            - essentials.tp
            - essentials.gc
            - essentials.top
            - essentials.setwarp
            - permissions.*
            - MagicCarpet.*
            - essentials.reload
            - essentials.time
            - essentials.kick
            - essentials.banip
            - essentials.ban
            - permissions.reload
            - essentials.reloadall
            - essentials.togglejail
            - essentials.unban
            - worldedit.*
            - essentials.warp.*
            - essentials.tpo
        Admins:
            default: false
            info:
                prefix: '&4 [Owner] &f'
                suffix: '&f'
                build: true
            permissions:
            - '*'
        RedName:
            default: false
            info:
                prefix: '&4 [M-Donator] &4'
                suffix: '&c A'
                build: true
            inheritance:
            - Default
            permissions:
        GreenName:
            default: false
            info:
                prefix: '&4 [M-Donator] &2'
                suffix: '&c A'
                build: true
            inheritance:
            - Default
            permissions:
        BlueName:
            default: false
            info:
                prefix: '&4 [M-Donator] &1'
                suffix: '&c A'
                build: true
            inheritance:
            - Default
            permissions:
        LWC:
            default: false
            info:
                prefix: '&9 [LWC] &f'
                suffix: '&c'
                build: true
            inheritance:
            - Default
            permissions:
            - lwc.protect
        LWCR:
            default: false
            info:
                prefix: '&9 [LWC] &4'
                suffix: '&c'
                build: true
            inheritance:
            - LWC
            permissions:
        LWCG:
            default: false
            info:
                prefix: '&9 [LWC] &2'
                suffix: '&c'
                build: true
            inheritance:
            - LWC
            permissions:
        LWCB:
            default: false
            info:
                prefix: '&9 [LWC] &1'
                suffix: '&c'
                build: true
            inheritance:
            - LWC
            permissions:
        MC:
            default: false
            info:
                prefix: '&4 [MC] &f'
                suffix: '&c'
                build: true
            inheritance:
            - Default
            permissions:
            - magiccarpet.mc
            - magiccarpet.ml
        MCR:
            default: false
            info:
                prefix: '&4 [MC] &4'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            permissions:
        MCG:
            default: false
            info:
                prefix: '&4 [MC] &2'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            permissions:
        MCB:
            default: false
            info:
                prefix: '&4 [MC] &1'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            permissions:
        Donator:
            default: false
            info:
                prefix: '&e [Donor] &f'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            permissions:
            - worldedit.navigation.jumpto
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpadeny
        DonatorR:
            default: false
            info:
                prefix: '&e [Donor] &4'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        DonatorG:
            default: false
            info:
                prefix: '&e [Donor] &2'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        DonatorB:
            default: false
            info:
                prefix: '&e [Donor] &1'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        DonatorPl:
            default: false
            info:
                prefix: '&e [Donor +] &f'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
            - ScubaKit.ScubaGear.Diamond
        DonatorPlR:
            default: false
            info:
                prefix: '&e [Donor +] &4'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        DonatorPlG:
            default: false
            info:
                prefix: '&e [Donor +] &2'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        DonatorPlB:
            default: false
            info:
                prefix: '&e [Donor +] &1'
                suffix: '&c'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            permissions:
        Ultimate:
            default: false
            info:
                prefix: '&6 [ULTIMATE] &f'
                suffix: '&c PWN'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            - DonatorPl
            permissions:
            - ScubaKit.ScubaGear.*
        UltimateR:
            default: false
            info:
                prefix: '&6 [ULTIMATE] &4'
                suffix: '&c PWN'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            - DonatorPl
            permissions:
            - ScubaKit.ScubaGear.*
            - essentials.ptime
        UltimateG:
            default: false
            info:
                prefix: '&6 [ULTIMATE] &2'
                suffix: '&c PWN'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            - DonatorPl
            permissions:
            - ScubaKit.ScubaGear.*
        UltimateB:
            default: false
            info:
                prefix: '&6 [ULTIMATE] &1'
                suffix: '&c PWN'
                build: true
            inheritance:
            - MC
            - LWC
            - Donator
            - DonatorPl
            permissions:
            - ScubaKit.ScubaGear.*
    users:
        Joannou1:
            permissions:
            - towny.admin
            groups:
            - Admins
        Chipmunk9998:
            permissions: []
            groups:
            - Admins
        '&CommandSigns':
            permissions:
            groups:
            - Admins
        joannou2:
            permissions:
            - essentials.tp
            groups:
            - Default
        geckey24:
            permissions:
            groups:
            - Default
        naribar:
            permissions:
            groups:
            - Moderator
    Don't use >.< spent a long time typing all that crap.
     
  23. Why can't someone just make a plugin that listens for all superperms calls and passes it on to this plugin?
     
  24. Offline

    Joannou1

    Ok people, I'm sure someone will make Permissions 4.0! When 1.0 discontinued it went to 2.0, then someone else picked it up, this can't die. It's a core plugin, and it will be fixed! If not, were screwed and SuperPerms will be a pain to use.
     
  25. Offline

    Flaminglynx

    you mean like level.dat? level.dat is in the .craftbukkit folder with run.bat i havent had a single problem with it being like that so far that I have noticed. you think that is the issue?
     
  26. Offline

    efstajas

    Use PermissionsEx. :)

    In the group "Admins", there's a *, but with ' around it. And i'd remove the [] after permissions: for the user Chipmunk9998, not sure wether PermissionsEs likes them. Also, are you sure that there must be ' around prefix and suffix?
    This it what I saw when looking through it. Maybe it works, good luck!

    Edit.: Maybe instead of groups for every color, you can use "ColorMe". That's easier, I guess. :)

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

    ii_H_dot_B_ii

    Code:
    [Permissions]Unable to load permission data.
    
    I get that when I start up my server.
    
    [CODE]groups:
        Builder
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - iConomy.payment
            - warpz0r.warp
            - warpz0r.list
            - warpz0r.home
            - warpz0r.sethome
            - warpz0r.bedhome
            - warpz0r.free.warp
            - warpz0r.free.home
            - warpz0r.free.sethome
            - warpz0r.free.bedhome
            - iConomy.bank.join
            - iConomy.bank.join.multiple
        Moderator
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Builder
            permissions:
            - iConomy.access
            - iConomy.list
            - iConomy.rank
        Admin
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Builder
            - Moderator
            permissions:'*'        
    That is my groups.yaml file in my world folder,

    And I used a yaml parser and it says this:

    Code:
    ERROR:
    
    mapping values are not allowed here
      in "<unicode string>", line 3, column 16:
                default: true
                       ^
    It's pointing to the colon on the word default, why shouldn't that be there?
     
  28. Offline

    khamseen_air

    PermissionsEX does not support prefix and suffix nodes, it's listed in the OP of their thread. You will need to remove them and use a separate chat plugin.

    I'd say there is a good chance that's what's causing it. You're not supposed to run the world from the root folder. Try adding the name "world" to your bukkit config (when the server is not running) and move all your world files into the folder;
    level.dat
    level.dat_old
    session.lock (if it's there, usually disappears when server is turned off)
    uid.dat
    Data (Folder)
    Players (Folder)
    Region (Folder)

    Then put your permissions files in plugins/permissions/world/

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

    ii_H_dot_B_ii

    I really need help with my previous post. Have you got any ideas?
     
  30. Offline

    khamseen_air

    You don't have a : after 'builder'. That's why it's reading the : after 'default' as incorrect syntax. :)

    EDIT: Just noticed, you've not put a : after 'Moderator' or 'Admin' either.
     
  31. Offline

    ii_H_dot_B_ii

    Yeah thanks! :D I feel so stupid now... but that yaml parser could be updated lol.
     
Thread Status:
Not open for further replies.

Share This Page