Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 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
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    JackTDawson

    You do need to set it up. .use my config.yml file example above. :)
     
  3. Offline

    woodzy

    i was on this IRC channel with the yeti and him and some outher guy could not fix my issue. so i tryed to do it knowing just enof java to get by, and fixed the "cant edit the .yml file wile server is online" issue i was haveing. i tryed it all notepad++ saved it closed the windows and all but when i hit /reload or /permissions reload all, it would revert back to befor i edited the .yml file. but its all fixed now and error free!! i can edit with the server in online again and hit /reload and it updates so im all good now :)[diamond]
     
  4. Offline

    Gamekrazy

    It seems anyone not set as an op on my server gets a red "You do not have permission to perform this action" -any time- they try to right click for -anything- be it items or putting down blocks, or beds, or nothing at all. One of the people is set as a mod with permissions, and he still gets this message unless he is set as an op on the official servers files. Is there some type of command im missing? The only mods im running that seem to use permissions are multiverse, movecraft, and craftbook, but the latter two dont -require- permissions to be used in order to work, and im positive I configured multiverse right... I dont see how any of them would run me into this error though.

    Can somebody please help fix this? I dont want everyone on my server ops. I already have several people who abuse the op powers. I just want to play the game legitly. I barely want them myself.
     
  5. Offline

    woodzy

    did u name the permissons file the same name as your world? if u did go to pastebin.com and paste ur permissioons file
     
  6. Offline

    Gamekrazy

    Yes I did. And I do believe its happening on both of my worlds.
     
  7. Offline

    Malkierian

    Hahahaha, now you know how I felt on the Essentials thread... I gave up a few days ago >_<
     
  8. Offline

    Celtic Minstrel

    I still say the null is harmless... seriously, has anyone ever reported errors as a result of them being there? The only complaints I recall reading with regard to the nulls is that they appeared when they had not been there before, and there's no reason I can think of that they should cause a problem. As far as SnakeYAML is concerned, putting a null there is exactly equivalent to putting nothing at all.

    As for a user being in multiple groups, there is a point to that. One that someone mentioned was having character classes being one set of groups (eg Monk, Ranger, whatever) and hometowns being another set, so that each user needs to belong to one character class and one hometown.
     
  9. Offline

    Zach Hinchy

    I get this error whenever I use any of MultiVerse's commands, but it seems like it might be a Permissions problem. I'm going to post it in both places to be safe.

    Using CB670, rcjrrjcr's Permissions 2.6, and MultiVerse 1.6.2.

    Code:
    22:42:34 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mvimport' in plugin MultiVerse v1.6.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
            at com.onarandombox.Rigby.MultiVerse.MultiVerse.onCommand(MultiVerse.java:220)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
     
  10. Offline

    ayelment

    I'm having the same problem as Gamekrazy, where anyone who is on my server gets red permissions errors unless they're an op. All people are members with set permissions (build: true, for example) and can place and destroy blocks, but whenever they do they receive the "you dont not have permission for this" error. Any ideas?
     
  11. Offline

    vfern_fern

    I am having troubles with using the /permissions command

    I edit the .yml document and then I go back to MC and type in /permissions and it just says:

    Unknown console command. Type "help" for help.

    I am using the Essential Plugins.

    thank you
     
  12. Offline

    rcjrrjcr

    SnakeYAML might accidentally parse the "null" as a string. Anyway, TheYeti pulled my changes already.
     
  13. Offline

    Nicko

    Apologise for the stupid question, but it seems Permissions is not working for me. I used to run it on 2.5.5 until the update when obviously it became dysfunctional. It worked perfectly and smoothly prior to the update. I installed the recent 'temporary fix 2.6' posted on this forum but it acts strangely... I deleted all my old Permissions files and .jar (backed up the world.yml), and ran the new .jar. The server recognized Permissions as functioning, but only an empty folder named 'Permissions' and a blank permissionsworld.yml were created, both in the plugins folder, not one within the other. I have tried placing my old world.yml file everywhere and renaming everything and rebooting etc., but cannot for some reason get it to read my old world.yml. There are no error messages, just my other plugins stating 'No Permissions plugin detected'... Please help. Or am I supposed to just write up a new one? But where... Within 'Permissions'? Or do I edit 'permissionsworld.yml'... And when I do that and change the name, it creates a new one or says 'Permissions plugin not detected'...


    Config File:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        User:
            default: true
            info:
                prefix: '&7'
                suffix: '&3'
                build: true
            inheritance:
            permissions:
                - 'JumpBlock.Use'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'iConomy.access
                - 'modtrs.command.modreq'
        Moderator:
            default: false
            info:
                prefix: '&6'
                suffix: '&3'
                build: true
            inheritance:
                - User
            permissions:
                - 'worldedit.*'
                - 'ichat.color'
                - '/god'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: '&0'
                build: true
            inheritance:
            permissions:
                - '*'
        Prisoner:
            default: false
            info:
                prefix: '&8'
                suffix: '&8'
                build: false
            inheritance:
            permissions:
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        nicko351:
            group: Admin
            permissions:
                -'*'
    
        judda_96:
            group: User
    
        darkshot195:
            group: User
    
        mattx2000:
            group: Moderator
    
        samywamy10:
            group: User
    
        zerox1288:
            group: Moderator
    
        loonster:
            group: User
    
        killerdenial:
            group: User
    
        jimmy459:
            group: Moderator
    
        eddycat1:
            group: User
    
        altmeal:
            group: User
     
        trollrilla:
            group: User
     
  14. Offline

    Noah1997

    Thenaz, the same exact problem is .yml file for my permissions. I've become very annoyed with it and decided to not use permissions until an updated version is released. I don't know why it's doing this and hopefully someone will find a solution soon.
    Thanks,
    Noah
     
  15. Offline

    rcjrrjcr

    Go read page 123.
     
  16. Offline

    Recollection

    Having problems getting Permissions V2.6 to work.
    I'm also running several other plugins, though with permissions not working i can't access the other plugins properly
    other plugins:
    Authorization
    Izone
    Jail
    WormholeXTreme
    Permissions

    here's my data

    Server Log:
    Code:
    2011-04-13 06:28:24 [INFO] Starting minecraft server version Beta 1.4
    2011-04-13 06:28:24 [INFO] Loading properties
    2011-04-13 06:28:24 [INFO] Starting Minecraft server on *:25565
    2011-04-13 06:28:24 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-04-13 06:28:24 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-04-13 06:28:24 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-04-13 06:28:24 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-04-13 06:28:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-646-gb61ef8c-b670jnks (MC: 1.4)
    2011-04-13 06:28:24 [INFO] Preparing level "World"
    2011-04-13 06:28:24 [INFO] Preparing start region
    2011-04-13 06:28:24 [INFO] 144 recipes
    2011-04-13 06:28:25 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-04-13 06:28:25 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-04-13 06:28:25 [INFO] Preparing spawn area: 44%
    2011-04-13 06:28:26 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-13 06:28:26 [INFO] [WormholeXTreme][v0.833][By Lologarithm & alron]Load Beginning.
    2011-04-13 06:28:26 [SEVERE] [WormholeXTreme]ERROR: failed to load HSQLDB JDBC driver.
    2011-04-13 06:28:26 [SEVERE] java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
    2011-04-13 06:28:26 [SEVERE]     at java.net.URLClassLoader$1.run(Unknown Source)
    2011-04-13 06:28:26 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-13 06:28:26 [SEVERE]     at java.net.URLClassLoader.findClass(Unknown Source)
    2011-04-13 06:28:26 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-04-13 06:28:26 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-04-13 06:28:26 [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-04-13 06:28:26 [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-04-13 06:28:26 [SEVERE]     at java.lang.Class.forName0(Native Method)
    2011-04-13 06:28:26 [SEVERE]     at java.lang.Class.forName(Unknown Source)
    2011-04-13 06:28:26 [SEVERE]     at com.wormhole_xtreme.wormhole.model.StargateDBManager.connectDB(StargateDBManager.java:368)
    2011-04-13 06:28:26 [SEVERE]     at com.wormhole_xtreme.wormhole.model.StargateDBManager.loadStargates(StargateDBManager.java:73)
    2011-04-13 06:28:26 [SEVERE]     at com.wormhole_xtreme.wormhole.WormholeXTreme.onLoad(WormholeXTreme.java:112)
    2011-04-13 06:28:26 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:87)
    2011-04-13 06:28:26 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    2011-04-13 06:28:26 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    2011-04-13 06:28:26 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    2011-04-13 06:28:26 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    2011-04-13 06:28:26 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-13 06:28:26 [SEVERE] null initializing WormholeXTreme v0.833 (Is it up to date?)
    java.lang.NullPointerException
        at com.wormhole_xtreme.wormhole.model.StargateDBManager.loadStargates(StargateDBManager.java:213)
        at com.wormhole_xtreme.wormhole.WormholeXTreme.onLoad(WormholeXTreme.java:112)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:87)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-13 06:28:26 [INFO] [Authorization] 10 user registrations loaded
    2011-04-13 06:28:26 [INFO] [Authorization] Authorization plugin build 20 is enabled
    2011-04-13 06:28:26 [INFO] [iZone : 5.7] Enabled!
    2011-04-13 06:28:26 [INFO] [iZone : 5.7] Loaded 0 zones out of 0
    2011-04-13 06:28:26 [INFO] [Jail] Loaded 6 jail zones.
    2011-04-13 06:28:26 [INFO] [Jail] Loaded 2 prisoners.
    2011-04-13 06:28:26 [INFO] [Permissions] version [2.6] (Phoenix)  loaded
    2011-04-13 06:28:26 [INFO] [iZone : 5.7] Using permissions of Permissions.
    2011-04-13 06:28:26 [INFO] [WormholeXTreme][v0.833]Enable Beginning.
    2011-04-13 06:28:26 [INFO] [WormholeXTreme]Attached to Permissions version 2.6
    2011-04-13 06:28:26 [INFO] [WormholeXTreme]Complex Permissions Enabled
    2011-04-13 06:28:26 [INFO] [WormholeXTreme]iConomy Plugin not yet available - there will be no iConomy integration until loaded.
    2011-04-13 06:28:26 [INFO] [WormholeXTreme]Help Plugin not yet available - there will be no Help integration until loaded.
    2011-04-13 06:28:26 [INFO] [WormholeXTreme][v0.833]Enable Completed.
    2011-04-13 06:28:26 [INFO] Done (0,233s)! For help, type "help" or "?"
    2011-04-13 06:28:49 [INFO] Stopping the server..
    2011-04-13 06:28:49 [INFO] CONSOLE: Stopping the server..
    2011-04-13 06:28:49 [INFO] Stopping server
    2011-04-13 06:28:49 [INFO] [iZone : 5.7] Disabled!
    2011-04-13 06:28:49 [INFO] [Permissions] (Phoenix) saved all data.
    2011-04-13 06:28:49 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-04-13 06:28:49 [INFO] [WormholeXTreme]Detached from Permissions plugin.
    2011-04-13 06:28:49 [SEVERE] [WormholeXTreme]Caught exception while shutting down: null
    2011-04-13 06:28:49 [SEVERE] java.lang.NullPointerException
    2011-04-13 06:28:49 [SEVERE]     at com.wormhole_xtreme.wormhole.model.StargateDBManager.shutdown(StargateDBManager.java:404)
    2011-04-13 06:28:49 [SEVERE]     at com.wormhole_xtreme.wormhole.WormholeXTreme.onDisable(WormholeXTreme.java:213)
    2011-04-13 06:28:49 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:129)
    2011-04-13 06:28:49 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:592)
    2011-04-13 06:28:49 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:228)
    2011-04-13 06:28:49 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:222)
    2011-04-13 06:28:49 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:104)
    2011-04-13 06:28:49 [SEVERE]     at net.minecraft.server.MinecraftServer.g(MinecraftServer.java:238)
    2011-04-13 06:28:49 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:313)
    2011-04-13 06:28:49 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-13 06:28:49 [INFO] Saving chunks
    
    World config for Permissions:

    Code:
    plugin:
    permissions:
    system: default
    copies:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    Members:
    default: false
    info:
    prefix: '[M]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'myhome.home'
    - 'izone.zones.list'
    - 'izone.zones.create'
    - 'izone.zones.expand'
    - 'izone.zones.delete'
    - 'izone.zones.rename'
    - 'izone.zones.flag'
    - 'izone.zones.allow'
    - 'izone.zones.disallow'
    VIP:
    default: false
    info:
    prefix: '[VIP]'
    suffix: ''
    build: true
    inheritance:
    - Members
    permissions:
    - 'myhome.home'
    - 'izone.zones.list'
    - 'izone.zones.create'
    - 'izone.zones.expand'
    - 'izone.zones.delete'
    - 'izone.zones.rename'
    - 'izone.zones.flag'
    - 'izone.zones.allow'
    - 'izone.zones.disallow'
    Operators:
    default: false
    info:
    prefix: '[OP]'
    suffix: ''
    build: true
    inheritance:
    - VIP
    permissions:
    
    Moderators:
    default: false
    info:
    prefix: '[Mod]'
    suffix: ''
    build: true
    inheritance:
    - Operators
    permissions:
    
    Staff:
    default: false
    info:
    prefix: '[Staff]'
    suffix: ''
    build: true
    inheritance:
    - Moderators
    permissions:
    - 'myhome.*'
    - 'jail.command.jailcreate'
    - 'jail.command.jaildelete'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'jail.command.jailtransfer'
    - 'jail.command.jailtransferall'
    - 'jail.command.jailcheck'
    - 'jail.command.jailtelein'
    - 'jail.command.jailteleout'
    - 'jail.command.jaillist'
    - 'jail.command.unjailforce'
    - 'jail.command.jailclear'
    - 'jail.command.jailclearforce'
    - 'jail.command.jailbackup'
    - 'jail.usercmd.jailstatus'
    - 'plugman.admin'
    - 'worldedit'
    - 'lockette.admin.break'
    - 'ioncannon.ioncannon'
    Admins:
    default: false
    info:
    prefix: '[Admin]'
    suffix: ''
    build: true
    inheritance:
    - Staff
    permissions:
    - 'myhome.*'
    - 'jail.command.jailcreate'
    - 'jail.command.jaildelete'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'jail.command.jailtransfer'
    - 'jail.command.jailtransferall'
    - 'jail.command.jailcheck'
    - 'jail.command.jailtelein'
    - 'jail.command.jailteleout'
    - 'jail.command.jaillist'
    - 'jail.command.unjailforce'
    - 'jail.command.jailclear'
    - 'jail.command.jailclearforce'
    - 'jail.command.jailbackup'
    - 'jail.usercmd.jailstatus'
    - 'plugman.admin'
    - 'worldedit'
    - 'lockette.admin.break'
    Owner:
    default: false
    info:
    prefix: '[Owner]'
    suffix: ''
    build: true
    inheritance:
    - Admins
    permissions:
    - 'myhome.*'
    - 'jail.command.jailcreate'
    - 'jail.command.jaildelete'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'jail.command.jailtransfer'
    - 'jail.command.jailtransferall'
    - 'jail.command.jailcheck'
    - 'jail.command.jailtelein'
    - 'jail.command.jailteleout'
    - 'jail.command.jaillist'
    - 'jail.command.unjailforce'
    - 'jail.command.jailclear'
    - 'jail.command.jailclearforce'
    - 'jail.command.jailbackup'
    - 'jail.usercmd.jailstatus'
    - 'plugman.admin'
    - 'worldedit'
    - 'lockette.admin.break'
    - 'ioncannon.ioncannon'
    - 'izone.zones.create'
    - 'izone.zones.delete'
    - 'izone.zones.info'
    - 'izone.zones.flag'
    - 'izone.zones.allow'
    - 'izone.zones.disallow'
    - 'izone.zones.expand'
    - 'izone.edit.undo'
    - 'izone.edit.fill'
    - 'izone.edit.count'
    - 'izone.edit.replace'
    - 'izone.edit.delete'
    - 'izone.zones.check'
    - 'izone.zones.define'
    - 'izone.zones.ignoreowner'
    - '*'
    ######################################################
    # MODS AND ADMINS
    ######################################################
    users:
    Nicknamea:
    group: Owner
    permissions:
    - '*'
    
    Nicknameb:
    group: Admins
    permissions:
    - '*'
    
     
  17. Offline

    woodzy

    err dude are you 100% SHURE ur useing CB#470? or is that a typeo? cb is 670 right now. and by the looks of it looks like an issue with MultiVerse

    i tryed ur fix and err didnt work. but i did my own fix replaced the control.java file in side of the permissions.jar with the one from 2.5.5 and it worked 100% i can once again do on-the-fly player, nodes and what ever to the permissons file

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  18. Offline

    rcjrrjcr

    What's your error?
     
  19. Offline

    woodzy

    getred of the spaces between groups and add the spaces behind each line ass needed. look at a default .yml file of what it should be

    i was unable to edit the .yml file wile the server was online, it would just revert the file when i hit /reload. i went on to the IRC channel with theyeti and spent a good 2 hours tyring to fix it, and nothing worked no errors nothing. and ur "fix" killed my ichat plugin when i reloaded the server and noone could build and all name "tags" were just gone

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  20. Offline

    Recollection

    behind each line?
     
  21. Offline

    Celtic Minstrel

    It doesn't; I ran into trouble with General when I discovered that it does, in fact, parse it as null, and I tried to use it as a key. The clue was that the key was "Null", but when the file was written back out, it became "null". This was the only key that had its case changed. I think that's a fairly good indication.
     
  22. Offline

    woodzy

    yes and here is an examlple of my err pain in the ass permissions file
    http://pastebin.com/qsHuS5YE
     
  23. Offline

    Recollection

    Updates the file, though the permissions are still not working

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions: null
        Members:
            default: false
            info:
                prefix: '[M]'
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - myhome.home
            - izone.zones.list
            - izone.zones.create
            - izone.zones.expand
            - izone.zones.delete
            - izone.zones.rename
            - izone.zones.flag
            - izone.zones.allow
            - izone.zones.disallow
        VIP:
            default: false
            info:
                prefix: '[VIP]'
                suffix: ''
                build: true
            inheritance:
            - Members
            permissions:
            - myhome.home
            - izone.zones.list
            - izone.zones.create
            - izone.zones.expand
            - izone.zones.delete
            - izone.zones.rename
            - izone.zones.flag
            - izone.zones.allow
            - izone.zones.disallow
        Operators:
            default: false
            info:
                prefix: '[OP]'
                suffix: ''
                build: true
            inheritance:
            - VIP
            permissions: null
        Moderators:
            default: false
            info:
                prefix: '[Mod]'
                suffix: ''
                build: true
            inheritance:
            - Operators
            permissions: null
        Staff:
            default: false
            info:
                prefix: '[Staff]'
                suffix: ''
                build: true
            inheritance:
            - Moderators
            permissions:
            - myhome.*
            - jail.command.jailcreate
            - jail.command.jaildelete
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.unjailforce
            - jail.command.jailclear
            - jail.command.jailclearforce
            - jail.command.jailbackup
            - jail.usercmd.jailstatus
            - plugman.admin
            - worldedit
            - lockette.admin.break
            - ioncannon.ioncannon
        Admins:
            default: false
            info:
                prefix: '[Admin]'
                suffix: ''
                build: true
            inheritance:
            - Staff
            permissions:
            - myhome.*
            - jail.command.jailcreate
            - jail.command.jaildelete
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.unjailforce
            - jail.command.jailclear
            - jail.command.jailclearforce
            - jail.command.jailbackup
            - jail.usercmd.jailstatus
            - plugman.admin
            - worldedit
            - lockette.admin.break
        Owner:
            default: false
            info:
                prefix: '[Owner]'
                suffix: ''
                build: true
            inheritance:
            - Admins
            permissions:
            - myhome.*
            - jail.command.jailcreate
            - jail.command.jaildelete
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.unjailforce
            - jail.command.jailclear
            - jail.command.jailclearforce
            - jail.command.jailbackup
            - jail.usercmd.jailstatus
            - plugman.admin
            - worldedit
            - lockette.admin.break
            - ioncannon.ioncannon
            - izone.zones.create
            - izone.zones.delete
            - izone.zones.info
            - izone.zones.flag
            - izone.zones.allow
            - izone.zones.disallow
            - izone.zones.expand
            - izone.edit.undo
            - izone.edit.fill
            - izone.edit.count
            - izone.edit.replace
            - izone.edit.delete
            - izone.zones.check
            - izone.zones.define
            - izone.zones.ignoreowner
            - '*'
    users:
        Nicknamea:
            group: Owner
            permissions:
            - '*'
        Nicknameb:
            group: Admins
            permissions:
            - '*'
     
  24. Offline

    rcjrrjcr

    Use "/pr -reload all" to reload all world files. Don't reload the plugins to achieve that. And using 2.5.5's Control.class risks a NoSuchMethodException.
     
  25. Offline

    woodzy

    i cant use that command it brakes like 7 of my plugins and i have to do a /reload anyway to fix it
     
  26. Offline

    Planitia

    I tried that, it didn't work it still wiped the file and reverted.
    Cold upload fixed it for me. No problems now. Making the file read only will cause problems in the future and isn't required. Also it's always a better idea to upload files that aren't being accessed.

    You are spot on. I should have said that instead. But /pr -reload all didn't work for me. It still reverted. So i suggest Cold uploading of a modified config file. Cheers for doing it in caps too XD
     
  27. Offline

    SpeAroX

    I don't understand this permission plugin how i can add command? i all time get error i use the permission plugin with iConomyChestShop 2.2 and of corse i use Iconomy and for admin allowed use all command rly? no need put to permissions and on this plugin have /shop and no work for the admin... i don't understand this... and i need add this:
    iConomyChestShop.shop.create - creating a shop iConomyChestShop.shop.buy - using the shop iConomyChestShop.shop.sell - selling to shops iConomyChestShop.shop.admin - admin iConomyChestShop.command.iteminfo - more in "ItemInfo" section

    Where need add? i don't know


    Anything please help me.
     
  28. Offline

    dan123

    this is my yml file and i cant get it to make me an admins ...i dont know what to do..ive tried just about every thing ...does anyone see nything wrong with it?? im running bukkit 670





    plugin:
    permissions:
    system: default
    copies:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.list'
    - 'iConomy.payment'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    users:
    12311906:
    groups: Admins
    permissions:
    - 'iConomy.admin.stats'
     
  29. Offline

    Recollection

    so far i try'd several things to solve my problem, though i just can't seem to get the permissions to work
    i used all the spaces in front, the world and all is also correct, so what am i missing here?
     
  30. Offline

    rcjrrjcr

    Put this:
    Code:
     12311906:
    in quotes like this:
    Code:
    '12311906':
    And please use code tags to post your world.yml, so as to preserve the formatting.
     
  31. Offline

    JackTDawson

    So they can create another group that is a cross class.. its not hard.. lol

    Yea, I finally got to the point that I gave up trying to help here on this thread. No one reads the thread or they assume too many things. I been through all the problems and I know what they are because I work with the coders. ( The NULL problem for example )

    Now people PM me and I can help them one on one. Its better because I get these people up and running and they don't have to listen to other people who give them the wrong advice. So far, I got PMed and have helped 5 people within the last two days get their server up and running. I got other PMs about PHP and stuff.

    So yea. I understand your pain well. :p

    Dude, if you truly DID set it to READ ONLY.. it would have never reverted.. READ ONLY means it wont touch the file. So that tells me you didn't do it right. I have tried it as have others.. and it works.. your obviously not doing it right.

    But don't worry about it since you said you got it working. ;)

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

Share This Page