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

    saturnine_nl

    I can't get proper multiworld permissions working.

    I have multiple worlds:
    - survival_world (default)
    - build_world
    - test_world

    and different user groups:
    -players
    -builders
    -testers

    I made a different permission.yml for each world.

    user A is a player in survival_world
    user A has to be a builder in the build_world

    If I assign user A as a member of builders in the build_world. It somehow 'remembers'
    that he's a player in the default world and gets his rights from the player group.

    Is there a way to make user A a member of different groups in different worlds , or is it one group fits all ?
     
  3. Offline

    spoonikle

    I'm looking for a way to add users without reloading the server or any plug-ins. What would be a good way to do this? Could you make permissions check the yml and the database for changes every few minutes?
     
  4. Offline

    saturnine_nl

    just type: permissions -reload all in the console, it reloads the permission configuration without restarting the server or other plugins.
     
  5. Offline

    nick5212

    im having a problem, i cant get anything to work, plz msg me back with some help


    # 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.
    # Does not work for the default world.
    # 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:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # 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:
    # - '-general.time'
    ##
    # 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:
    Guest:
    default: true
    info:
    prefix: '<Guest>'
    suffix: ''
    build: false
    inheritance:
    permissions:
    - ''
    Builder:
    default: false
    info:
    prefix: '<Builder>'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'DefaultCommands.spawn'
    - 'DefaultCommands.msg'
    - 'DefaultCommands.afk'
    - 'MyWarp.warp'
    - 'MyWarp.warp.create'
    - 'MyWarp.warp.pcreate'
    - 'MyWarp.warp.delete'
    - 'MyWarp.warp.list'
    - 'MyWarp.warp.give'
    - 'MyWarp.warp.invite'
    - 'MyWarp.warp.uninvite'
    - 'MyWarp.warp.public'
    - 'MyWarp.warp.private'
    Admins:
    default: false
    info:
    prefix: '<Admin>'
    suffix: ''
    build: true
    inheritance: Builder
    permissions:
    - -'DefaultCommands.give'
    -'DefaultCommands.tpa'
    -'DefaultCommands.tpd'
    -'DefaultCommands.tpl'
    -'DefaultCommands.tp'
    -'DefaultCommands.tph'
    -'DefaultCommands.t'
    -'DefaultCommands.h'
    -'DefaultCommands.r'
    -'DefaultCommands.s'
    -'DefaultCommands.kick'
    -'DefaultCommands.ban'
    -'DefaultCommands.unban'
    -'DefaultCommands.banlist'
    -'DefaultCommands.freeze'
    Owner:
    default: false
    info:
    prefix: '<Owner>'
    suffix: ''
    build: true
    inheritance: Admin
    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:
    nick5212:
    group: owner
    permissions:[*]
    uninc321:
    group: admin
    permissions:[*]
     
  6. Offline

    spoonikle

    OK, i would really like to have my server admins be able to add players to groups. Is there a third party plug-in to do that?

    permissions only contains on command, i would really appreciate a user command. not having to check who wants to join what on my server every 2 seconds would be great. allowing one of my trusted admins/friends to help, would be best.
     
  7. Offline

    saturnine_nl

  8. Offline

    SpyDaniel

    That is not the case, it worked fine in the last version and removing the space does not fix the prefix, still does not showup.
     
  9. If you wanna do it on the fly then group manager is the way to go as you can add users in game and give admins rights to add and remove users. It also populates users in the files as soon as they come into the server. multi-world is whats making everything kinda funky : / Although that's what im in this for, to acually seperate worlds and inventories and establishing different minecraft " Modes " is my end goal even though permissions nor group manager has been able to handle my multiworld permissions yet : (
     
  10. Offline

    Braden1996

    Ok just thought i repost this as it was not solved.
    i am getting an error it says i dont have permission for commands.
    my world folder is called "map" and my rename-me.yml is called "map.yml"
    There is my yml code http://pastebin.com/8g4m3M0E
    if you need anymore info or know what i must do to please reply i have had no
    permissions for just under two weeks :(
     
  11. Offline

    _Oni_

    Code:
    [...]
    groups:
        Default:
           Newbie: true
    [...]
    
    You should remplace Newbie by default…
     
  12. Offline

    themuuman

    I got it til the rename the .yml folder but I didnt get a shit after that. it ceeps telling me comands not found
     
  13. Offline

    zaklampje

    Well, I think that's the greatest problem... Commands don't work...
     
  14. Offline

    mrthesplit22

    when I open the config file it says at the top that it is no in use anymore and when I start up my server it says it wasn't able to start it with permissions. plz help!
     
  15. Offline

    Machete.Panda

    This does not work.

    I have been screwing around with the .yml (yes it matches the world name) and I have YET to get this thing working. On top of my lost time your documentation is all of 2 pages. I'm about to pull my hair out.

    I'm working on getting admins permission first. So I have this in the yml:

    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Then I set the users to the admin group:
    Code:
    users:
        MachetePanda:
            group: Admins
            permissions:
    And nothing! They have no commands. No worldedit, iconomy, towny, NPC shop, Nothing!

    What am I missing, do I need to go into the other plugins and do something? There are no directions on your wiki past how to configure the Permissions yml
     
  16. Offline

    mrthesplit22

    Every time I start my server it does this:13:26:17 [INFO] Starting minecraft server version Beta 1.3
    13:26:17 [INFO] Loading properties
    13:26:17 [INFO] Starting Minecraft server on 5.230.152.132:25565
    13:26:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-497-gea319d1-b499jnks (MC: 1.3)
    13:26:17 [INFO] Preparing level "Mrthesplit22's server"
    13:26:17 [INFO] Preparing start region
    13:26:18 [INFO] Preparing spawn area: 12%
    13:26:19 [INFO] Preparing spawn area: 28%
    13:26:20 [INFO] Preparing spawn area: 48%
    13:26:21 [INFO] Preparing spawn area: 61%
    13:26:22 [INFO] Preparing spawn area: 77%
    13:26:23 [INFO] Preparing spawn area: 93%
    13:26:24 [SEVERE] Could not load plugins/iChat.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:130)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:95)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.nijikokun.bukkit.iChat.iChat.<init>()
    at java.lang.Class.getConstructor0(Class.java:2678)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    ... 8 more
    13:26:24 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:130)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:95)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
    ... 8 more
    13:26:24 [INFO] Done (0.666s)! For help, type "help" or "?"
    >


    what do I do?!?!?!
     
  17. Offline

    SpyDaniel

    Works for me, only thing that doesn't is the prefix and suffix. I'm using essentials chat and CB #493.
     
  18. Offline

    Sol

    My bad, I forgot I removed AntiGrief and still had calls for it set in permissions. I removed the tags and it stopped throwing up that error.

    Oversight on my part, cheers.

    ~Sol
     
  19. Offline

    Daniel Heppner

    How do I hook into Permissions? There doesn't seem to be a wiki page for it, and the link in the OP wants me to make a new wiki page.
     
  20. Offline

    Erakoira

    I'm having a problem with Permissions. It causes most of my addons to not work. I've tested running the server without Permissions and then the problem didn't occur.
    On the console it says:
    Code:
    2011-03-07 00:42:37 [SEVERE] Could not pass event PLAYER_JOIN to Stats
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 111, column 1:
        ^
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:149)
            at com.nijiko.permissions.Control.loadWorld(Control.java:112)
            at com.nijiko.permissions.Control.permission(Control.java:309)
            at com.nidefawl.Stats.Permissions.NijiPermissionsResolver.permission(Nij
    iPermissionsResolver.java:37)
            at com.nidefawl.Stats.Stats.load(Stats.java:843)
            at com.nidefawl.Stats.StatsPlayerListener.onPlayerJoin(StatsPlayerListen
    er.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-07 00:42:37 [SEVERE] Could not pass event PLAYER_JOIN to Achievements
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 111, column 1:
        ^
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:149)
            at com.nijiko.permissions.Control.loadWorld(Control.java:112)
            at com.nijiko.permissions.Control.permission(Control.java:309)
            at com.nidefawl.Stats.Permissions.NijiPermissionsResolver.permission(Nij
    iPermissionsResolver.java:37)
            at com.nidefawl.Achievements.Achievements.load(Achievements.java:329)
            at com.nidefawl.Achievements.Achievements.access$1(Achievements.java:328
    )
            at com.nidefawl.Achievements.Achievements$AchievementsListener.onPlayerJ
    oin(Achievements.java:434)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-07 00:42:40 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'home
    ' in plugin MyHome v1.9.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1
    76)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 111, column 1:
        ^
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:149)
            at com.nijiko.permissions.Control.loadWorld(Control.java:112)
            at com.nijiko.permissions.Control.permission(Control.java:309)
            at me.taylorkelly.myhome.HomePermissions.permission(HomePermissions.java
    :38)
            at me.taylorkelly.myhome.HomePermissions.home(HomePermissions.java:43)
            at me.taylorkelly.myhome.MyHome.onCommand(MyHome.java:140)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 12 more
    Yeah.. Long one..

    And I link my permissions file as well, if you want to point out my mistake there.
    http://dl.dropbox.com/u/22550007/world2 – Kopio.txt
     
  21. You have a tab after '*' in the admin node
    change this and post it in
    http://yaml-online-parser.appspot.com/

    there you will see if its right
    Also download notpad ++ and use this for editing your yml
     
  22. Offline

    zeph

    You're missing
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                 - '*'
    
    at the top!

    plus you have no default: true group, could cause problems.
     
  23. Offline

    Erakoira

    Yeah, thanks, it worked! :D
    I used notepad++, but just couldn't see it lol. (Tracking for addon errors for 2 hours makes weird things to you)
     
  24. Offline

    zeph

    How does Permissions handle Multiworlds?

    Is it one file (world.yml) and multiworld setting inside? Where is the info for this setup?
    Or a separate file per world (nether.yml, world.yml, etc) as i've currently tried?

    I'm having trouble getting separate permissions per world. I have "world", "netherworld" and "worldedit" which basically gives people worldedit permissions. I use MultiVerse to travel between them.

    Here are my three yml files. They are quite self-explanatory. Even if this is now how it's done, you get the idea for what i'd like, and perhaps it helps you to help me:

    world.yml
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                build: true
            permissions:
                - 'general.afk'
                - 'general.spawn'
                - 'general.player-info'
    
    users:
        ZephDavies:
            permissions:
                - '*'
    netherworld.yml
    Code:
    plugin:
        permissions:
            system: default
            copies: world
    worldedit.yml
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                 build: true
            permissions:
                - 'worldedit.*'
                - 'general.*'
    
    users:
        ZephDavies:
            permissions:
                - '*'
    It seems that world.yml is used for ALL worlds. If i change server.properties level-name=worldedit, it uses the worldedit.yml for all worlds. Therefore i guess that the different worlds need to be setup within the single world.yml file, rather than three separate files.

    Since all worlds share the same file, how can i set it up so that a world can have a different set of permissions?
     
    BlueRain likes this.
  25. Offline

    ksevelyar

    server.properties:
    Code:
    level-name=test
    /plugins/Permissions/test.yml:
    http://dumpz.org/38706/ (only change «TheNo1Yeti» to «ksevelyar»)

    server log:
    Code:
    02:49:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
    02:49:25 [INFO] Preparing level "test"
    02:49:25 [INFO] Preparing start region
    02:49:26 [INFO] [Permissions] version [2.5.2] (Phoenix) was Initialized.
    02:49:26 [INFO] [Permissions] version [2.5.2] (Phoenix)  loaded
    02:49:26 [INFO] Done (0,090s)! For help, type "help" or "?"
    
    Same problem. None of admin commands are working («/list», for example).
     
  26. Offline

    Awesoma

    Im getting "Mapping values are not allowed here". This happens for almost all my mods. for example, while using citizens,/npc create _______ will yield a severe error.

    Im the admin of the server..how do I fix this?
     
  27. Offline

    Machete.Panda

    No I have all that. I could have pasted the whole yml but I thought the permissions surrounding admins would be the focus. But yeah... al that other stuff is in there...


    STILL NOT WORKING! :p
     
    BlueRain likes this.
  28. Offline

    Carnage104

    ya know, i bet this is the most commonly requested thing in this topic, but can the next permissions update come with a simple as hell comand to modify users groups the same way essentials did it before they decided permissions was too god for em, and moved over to relying on groupmanger which is never updated and breaks all my plugins because of that.

    My request

    /mod <PlayerName> <Group>

    thats it.
     
  29. Offline

    mrthesplit22

    Every time I start my server it does this:13:26:17 [INFO] Starting minecraft server version Beta 1.3
    13:26:17 [INFO] Loading properties
    13:26:17 [INFO] Starting Minecraft server on 5.230.152.132:25565
    13:26:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-497-gea319d1-b499jnks (MC: 1.3)
    13:26:17 [INFO] Preparing level "Mrthesplit22's server"
    13:26:17 [INFO] Preparing start region
    13:26:18 [INFO] Preparing spawn area: 12%
    13:26:19 [INFO] Preparing spawn area: 28%
    13:26:20 [INFO] Preparing spawn area: 48%
    13:26:21 [INFO] Preparing spawn area: 61%
    13:26:22 [INFO] Preparing spawn area: 77%
    13:26:23 [INFO] Preparing spawn area: 93%
    13:26:24 [SEVERE] Could not load plugins/iChat.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:130)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:95)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.nijikokun.bukkit.iChat.iChat.<init>()
    at java.lang.Class.getConstructor0(Class.java:2678)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    ... 8 more
    13:26:24 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:130)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:95)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
    ... 8 more
    13:26:24 [INFO] Done (0.666s)! For help, type "help" or "?"
    >


    what do I do?!?!?!
     
  30. Offline

    PatrickFreed

    can you add permissions for console commands such as /ban, /kick, and /reload?
     
  31. Offline

    Joshua Davis

    howdy ALL !

    lets Say I have MultiVerse Rocking, and I have world1 and world2

    is it possible to have a group Builder with BUILD FALSE in world1 yet BUILD TRUE in world2

    i tried world1.yml and world2.yml but any permission I place for Builder in world2.yml is ignored... defaults with whatever setting I have in the initial world1.yml.

    running bukkit 499, Permisissions 2.5.2, and Multiverse 1.5

    any help ? is this even possible ?
     
Thread Status:
Not open for further replies.

Share This Page