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


    I'm i'm just thankful your helping Yeti since he has been sick. :D


    I been helping them with this problem.. and as many of us have posted already, if you make the file READ ONLY, instead of READ / WRITE then it solves the "You can reboot while server is running" issue. Just giving you a heads up on this in case you missed it earlier in the thread man.. :D

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

    rcjrrjcr

    I just changed it so as to only overwrite worlds that have changes. World configs without changes will not be saved. Also, I have added support for negation of wildcard ranges (i.e "-someplugin.*" denies all someplugin permissions).
    Finally, there's also a temporary fix for the NULL problem until Bukkit fixes it.
     
  4. Offline

    JonoEfthy

    Plz help, i know i am on the latest version, and i know that all my plugins are up to date, im on bukkit #670 and i didnt get this error until half of my permissions file got deleted somehow as the server was running.... i have put all the permissions back and set it up in the correct format (no tabs) and yet im getting this error and i cat seem to fix it...

    Code:
    G:\BIG folder of GAMES and stuff\Minecraft\SERVER\World 2 (legit)>java -server -
    Xmx4096M -Xms4096M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalP
    acing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHO
    T.jar nogui
    21:13:08 [INFO] Starting minecraft server version Beta 1.4
    21:13:08 [INFO] Loading properties
    21:13:08 [INFO] Starting Minecraft server on 5.50.173.152:25565
    21:13:08 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    21:13:08 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    21:13:08 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    21:13:08 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    21:13:08 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-646-
    gb61ef8c-b670jnks (MC: 1.4)
    21:13:08 [INFO] Preparing level "world"
    21:13:08 [INFO] Preparing start region
    21:13:08 [INFO] 144 recipes
    21:13:09 [SEVERE] Could not load 'plugins\MC_AudioClient.jar' in folder 'plugins
    ':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:57)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            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)
    21:13:09 [INFO] While loading Zweizeichens MOTD (plugins\motd.jar) found old-dat
    a folder: plugins\motd next to the new one: plugins\Zweizeichens MOTD
    21:13:09 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:136)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            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)
    Caused by: while parsing a block mapping
     in "<reader>", line 62, column 9:
                default: true
                ^
    expected <block end>, but found BlockEntry
     in "<reader>", line 72, column 9:
                - 'cm.setbox'
                ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.composeMappingNode(Composer.java
    :228)
            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.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    131)
            ... 13 more
    21:13:09 [INFO] [AutoSave] Server Version is Recommended Build 670
    21:13:09 [INFO] [AutoSave] Loading config file
    21:13:09 [INFO] [AutoSave] Version 1.2.3 is enabled: 10577cda-cc93-4f6d-a27b-03b
    ac3a8fad8
    21:13:09 [INFO] BlastControl - Permissions plugin not detected.
    21:13:09 [INFO] BlastControl version 1.0.4 is enabled!
    21:13:09 [SEVERE] [Citizens]: The Permissions plugin isn't loaded, commands can
    only be used by ops.
    21:13:09 [INFO] [Citizens]: Loaded 0 NPC's
    21:13:09 [INFO] [Citizens]: version [1.07g_5] (Helpers) loaded
    21:13:09 [INFO] 3 Jukeboxe(s) loaded
    21:13:09 [INFO] [CustomMusic] No permission plugin loaded.
    21:13:09 [INFO] [CustomMusic] Starting servers on port 4224-4227...
    21:13:09 [INFO] CustomMusic version 0.3a is enabled!
    21:13:09 [INFO] ExtendedDay version 1.3103252011 enabled.
    21:13:09 [INFO] [EXTENDED-DAY] Days will last 2 iterations.
    21:13:09 [INFO] [EXTENDED-DAY] Nights will last 1 iterations.
    21:13:09 [INFO] [EXTENDED-DAY] Server day starting at 'day'.
    21:13:09 [INFO] ExtendedDay version 1.3103252011 initialized!
    21:13:09 [INFO] GlassDrop version 1.1 is enabled without permissions!
    21:13:09 [INFO] [GoKart] Missing Permissions plugin! InGame-administration disab
    led!
    21:13:09 [INFO] GoKart enabled
    21:13:09 [INFO] Lockette version 1.3.4 is being enabled!  Yay!
    21:13:09 [INFO] Lockette: Detected craftbukkit build [670] ok.
    21:13:09 [INFO] Lockette: Using ops file for admin permissions.
    21:13:09 [INFO] Lockette: Ready to protect your containers.
    21:13:09 [INFO] Zweizeichens MOTD version 0.5.3 is enabled!
    21:13:09 [INFO] motd: Permissions are not yet supported.
    21:13:09 [INFO] motd: Permission system not detected - you have to edit the conf
    ig manually!
    21:13:09 [INFO] [MYHOME]: 3 homes loaded
    21:13:09 [WARNING] [MYHOME] A permission plugin isn't loaded.
    21:13:09 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    21:13:09 [INFO] [MYHOME] MyHome 1.9.3 enabled
    21:13:09 [INFO] [NameChanger] NameChanger 1.0.1-R2 enabled successfully.
    21:13:09 [INFO] [NoDrop] 0.2.3 is enabled!
    21:13:09 [INFO] PP STARTED
    21:13:09 [INFO] [Propaganda] message thread started
    21:13:09 [INFO] [Sortal] version 2.1 is enabled!
    21:13:09 [INFO] [Sortal] Permission system not detected, Open to anyone!
    21:13:09 [INFO] SpawnX enabled
    21:13:09 [INFO] Permission system not detected, defaulting to OP
    21:13:09 [INFO] WorldEdit 4.3 enabled.
    21:13:09 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    21:13:09 [INFO] Done (0.100s)! For help, type "help" or "?"
    >
    I know that this is my problem..
    Code:
    Caused by: while parsing a block mapping
    
    in "<reader>", line 62, column 9:
    
                default: true
    
                ^
    
    expected <block end>, but found BlockEntry
    
    in "<reader>", line 72, column 9:
    
                - 'cm.setbox'
    EDIT: Here is my world.yml file, sorry for forgetting to post it before :S
    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:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'cm.upload'
    
            - 'cm.setbox'
                - 'glassplugin.place'
                - 'glassplugin.destroy'
                - 'glassplugin.getdrop'
                - 'gokart.use'
                - 'lockette.create.*'
                - 'myhome.home.basic.home'
                - 'myhome.home.basic.set'
                - 'myhome.home.basic.delete'
                - 'myhome.home.soc.others'
                - 'myhome.home.soc.list'
                - 'myhome.home.soc.invite'
                - 'sortal.createwarp'
                - 'sortal.placesign'
                - 'sortal.warp'
                - 'sortal.coords'
                - 'SpawnX.spawn'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            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:
        TheNo1Yeti:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
        JonoEfthy:
    
            group: Admins
    
            permissions: null
    
        Adge31:
    
            group: Moderator
    
            permissions: null
    
    But i dont know how to fix it... Please help. Many thanks in advance.
    btw i have run it though http://yaml-online-parser.appspot.com/ but it gives me the same error as above, which doesnt help me as i dont know how to fix it :/
     
  5. Offline

    petteyg359

    We can't fix it, either, unless you show us the file.
     
  6. Offline

    JonoEfthy

    sorry my bad, i have edited the post to include wy world.yml file now, thnx for telling me :p
     
  7. Offline

    rcjrrjcr

    Indent
    Code:
    - cm.setbox
    4 more spaces.
    Currently it looks like this:
    Code:
                - 'cm.upload'
    
            - 'cm.setbox'
                - 'glassplugin.place'
    
    Change it to this:
    Code:
                - 'cm.upload'
                - 'cm.setbox'
                - 'glassplugin.place'
    
    'cm.setbox' should be aligned with the rest of the nodes.
     
  8. Offline

    JonoEfthy

    strange, im looking at my world.yml file right now and they all line up, but i notice now that when i copy n pasted it into my post, it now shows as being 4 spaces before the rest, strange... maybe a tab got snuck in on that line without me realising...

    I deleted all spaces on that line and then re-typed 12 spaces, and now it works.... even though when i deleted that line i pressed delete 12 times...so one of the 12 spaces must have been some random invisible character? anyway thnx for your help its fixed now :)
     
  9. Offline

    Bluemonkey

    You should fix a Command so you can add Players to Grouped Trough Chat.
     
  10. Offline

    JackTDawson

    Nice.. I am salivating to get my hands on that plugin.. :p
     
  11. Offline

    Celtic Minstrel

    I don't think you understand what I was saying. Overwriting the file is intentional, and the nulls should not break anything. That said...
    ...this is a good idea.

    What I meant is that it's probably xWarp that inserted that data.

    Huh, that actually works? Nice.

    Yeah, that would do it. I recently discovered what rcjrrjcr mentioned further up the page: that specifying a default value in the Configuration.get* methods actually inserts the node into the config file if it wasn't already there.

    I think this might be a misleading way to put it. Shouldn't it be something more like...

    IF YOU EDIT YOUR PERMISSIONS CONFIG WHILE THE SERVER IS RUNNING, EITHER SHUT DOWN THE SERVER BEFORE UPLOADING IT OR MAKE SURE YOU DO /permissions -reload all AS SOON AS IT IS UPLOADED.

    Might be a bit long, but it's more accurate, right?

    ...huh, I still haven't upgraded to 2.6. Maybe I should get on that.
     
    petteyg359 likes this.
  12. Offline

    meppapza

    Perhaps it should be an option to enable anitbuild... Some zone protection mods dont work with permissions becouse permissions overrides the buil permission....
    When antibuild is on players can't buil ANYWHERE
    When antibuild is off players can build EVERYWHERE
    The zones wont work anymore
    (tested with residence)
     
  13. Offline

    Celtic Minstrel

    Just checking, what happens if you put neither true nor false in "build:"? I'm guessing it'll default to false, but doesn't hurt to check.

    I agree though. Perhaps it could be fixed by checking if the event was previously cancelled before doing anything.

    ...though, looking at the code, it seems that setting build to true should allow other plugins to override it. I dunno.
     
  14. Offline

    felixen97

    I've added me as a admin in the permissions file. When i start my server and connect to it, and then go back to the permissions file, it's all fucked up, it don't look like it did before i connected, i use essentials and essentialsspawn.
     
  15. Offline

    JackTDawson

    Your trying to correct people AND YOU HAVE NOT EVEN TRIED THE PLUGIN WE ARE TALKING ABOUT ? yea.. thought I would cap it since your obviously NOT reading the whole thread.. Please stop trolling.

    Overwriting the file IS NOT intentional to 2.6 anymore. Its causing problems. Please stop correcting what you do not understand. Catch up man.
     
  16. Offline

    rcjrrjcr

    Yes, it defaults to false. It is retrieved via
    Code:
    config.getBoolean("groups."+key+".info.build",false);
    
    This is why I read the entire source (or at least the relevant parts) of code that I'm interfacing with.

    Well, I can send you the test build. I can't guarantee stability though.
    It's side effect of saving the cached instance of the config file. My pull request fixes that. Other than that, it should still work.

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

    JackTDawson

    Its ok bro. Things are getting fixed as far as the Overwriting the file is concerned. Do as has been suggested several times.. this is ONLY a temp fix until the new update comes out.. Shut server down. Fix your file the way you want.. TAKE OUT all the NULL words if you see them in there. Then set the file in place and set the properties on the file to READ ONLY.. not READ / WRITE. Read only forces the server to NOT overwrite it.
     
  18. Offline

    zaklampje

    Well, just keep asking :p

    http://pastebin.com/TbTHG67L
     
  19. Offline

    JackTDawson

    @ zaklampje

    Actually this is a problem I have as well. I get errors when I do it. I mentioned this before too. But the severity of another problem has overtaken this problem. They are working on it.. I am sure of it.
     
  20. Offline

    zaklampje

    U have Block-Place or Block-Break too?
     
  21. Offline

    tonihoks

    hi i have a problen i have ichat and normaly in game i am in chat red it was configurated so:
    # 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:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'foo.bar'
    - 'multihome.namedhome'
    - 'multihome.home'
    - 'multihome.deletehome'
    - 'falsebook.blocks.lift'
    - 'falsebook.blocks.gate'
    - 'falsebook.blocks.bridge'
    - 'lwc.protect'
    - 'general.playerlist'
    - 'general.who'
    Moderator:
    default: false
    info:
    prefix: '&2'
    suffix: '&2'
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: '&4'
    suffix: '&4'
    build: true
    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:
    tonihoksXD:
    group: Admins
    permissions:
    paultol:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    ALIPSN:
    group: Admins
    permissions:
    - '-derp.derp'
    Kroktos:
    group: Admins
    permissions:
    - '-derp.derp'






    But now all time i start the server it change automaticly to:
    plugin:
    permissions:
    system: default
    copies: null
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - foo.bar
    - multihome.namedhome
    - multihome.home
    - multihome.deletehome
    - falsebook.blocks.lift
    - falsebook.blocks.gate
    - falsebook.blocks.bridge
    - lwc.protect
    - general.playerlist
    - general.who
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - bar.foo
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - '*'
    users:
    tonihoksXD:
    group: Admins
    permissions: null
    ALIPSN:
    group: Admins
    permissions:
    - -derp.derp
    Krokos:
    group: Admins
    permissions:
    - -derp.derp
     
  22. Offline

    zaklampje

    And another question, if u say they're working on it... Why does it work with others?
     
  23. Offline

    JackTDawson

    Others are not using same version. There are many versions of this plugin.. the newest release of permissions is what a lot of us are having problems with. The reason I am waiting on it.. is so it will run smoothly with newest bucket. The reason I am using newest bukkit is because there is an exploit in the older versions that allowed people to shut down your server. So stick with newest bucket. Its why I am working hard to keep my server running with a temp fix until the newer permissions plugin comes out.
     
  24. Offline

    rcjrrjcr

    Calm down. Anyway, this is my test build.
    UNDERSTAND THAT THIS IS NOT AN OFFICIAL BUILD BY TheYeti AND WILL NOT BE SUPPORTED!
    All bugs should be PM'ed to me so as to avoid spamming this thread. I do not guarantee that this works, so use it at your own risk, preferably on a test server.
     
  25. Offline

    JackTDawson

    I'll test asap. Thanks for the hard work man.. and yea.. I am calm.. I just get testy with people who don't read and automatically assume.
     
  26. Offline

    zaklampje

    And u're running ur server with permissions? If u do, what version?
     
  27. Offline

    JackTDawson

    @ RCJRR Ok PM being sent with info.

    @ Zaklampje I am running Permissions 2.6 with bukkit 673 and it works with me setting the file to read only.
     
  28. Offline

    zaklampje

    And ur not getting any errors? Like Block_Break?
     
  29. Offline

    Celtic Minstrel

    You're pretty quick to accuse people of trolling here. Calm down a bit, okay?

    It was an intentional feature, and as far as I can tell, the only "problems" it is causing is that changes made when the server is up are lost if not explicitly reloaded. The presence or absence of the nulls should make no difference since SnakeYAML interprets both the same way as I understand it. (And I have actually run into the nulls once before in my own plugin.) Which is easily fixed if the plugin checks the file's last modified date and creates a backup if it's different on shutdown than it was on startup.

    And I see there's a new download. Might as well grab it.
     
  30. Offline

    rcjrrjcr

    Remember, that my fork, not TheYeti's. He's not responsible for mantaining it. Send me a PM if any errors occur.
     
  31. Offline

    ITech

    but i dont use craftbook in the first place
     
Thread Status:
Not open for further replies.

Share This Page