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

    frizbee










    Ok can i have a person's name in the permissions with a period. because i have a person who's name in game is b.o.b and i have his permissions set as
    Code:
        b.o.b:
            group: Testsubject
            info:
                prefix: ''
                suffix: ''
            permissions:
    and i only have spaces so please don't say dont use tabs.
    please help and thank you in advance.
     
  3. Apparently, numbers only names don't work, I.E. mine :(
     
  4. Offline

    Jeyge

    Enclose the number with ' like '345138' and everything should work.
    Well, you didn't give us any problems with the name so I'll just guess that you might need to put the name in ''s like 'b.o.b'
     
  5. Offline

    Maxis010

    The * wildcard doesn't work when removing permissions, only granting them
    Bukkit 733
    Permissions 2.7.2
    Tested permissions from multiple plugins and they were not removed from any of them
    When removing each permission 1 by 1 it all went ok

    Simply put

    -plugin.* = Failed
    -plugin.node1
    -plugin.node2
    = Success
     
  6. Offline

    Pivinton

    Alright, I'm having an issue with the ranking things, The code is a copy of the .YML. So here's the problem: People automatically get put into default no matter what, example: Red_Harlow is set in the group "Admins" but only has permissions as guest. I on the other hand work perfectly fine (Pivinton). Currently my only choice is to make "Admins" default and only most trusted friends can join. Is there any way to fix this? Another thing is I have to enter in every single command node for admin because the * doesn't work. Thanks.
    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:
        Citizen:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'permissions.reload'
                - 'gs.use.regen*'
                - 'gs.use.goldenapple'
                - 'gs.use.sprint'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'iConomy.list'
                - 'signtrader.MakeGlobalSign'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'factions.participate'
                - 'gs.use.regen*'
                - 'gs.use.goldenapple'
                - 'gs.use.sprint'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'factions.manageSafeZone'
                - 'movecraft.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'signtrader.admin.BreakAnySign'
                - 'signtrader.admin.SetOwner'
                - 'iConomy.admin.grant'
                - 'factions.create'
                - 'yeditor.editor'
                - 'gs.admin.refresh'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'factions.manageSafeZone'
                - 'movecraft.*'
                - 'iConomy.list'
                - 'signtrader.MakeGlobalSign'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'factions.participate'
                - 'gs.use.regen*'
                - 'gs.use.goldenapple'
                - 'gs.use.sprint'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'permissions.reload'
                - 'gs.use.regen*'
                - 'gs.use.goldenapple'
                - 'gs.use.sprint'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    ##
    # 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:
        Pivinton:
            group: Admins
            permissions:
        Red_Harlow:
            Group: Admins
            permissions:
        mrspartandude:
            group: Admins
            permissions:
        Aaronguy:
            group: Moderator
            permissions:
        Bocaj1000:
            group: Citizen
            permissions:
        Bongola:
            group: Moderator
            permissions:
        sgt_GHOST78:
            group: Citizen
            permissions:
        Frzzy:
            group: Guest
            permissions:
        Jacob09:
            group: Guest
            permissions:
    
     
  7. Offline

    Monkah

  8. I have 2 problems. every time any one that is not a admin right click with items or with there hand they get *you ont have permission to do this*

    And now to the other problem.
    i have commandbook, and one of the comands is /rules to read the rules... *commandbook.rules*
    I want every one to be able to use it so in my default group o have this and they still get that they dont have permissions:

    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'foo.bar'
    - 'commandbook.motd*'
    - 'commandbook.rules*'
     
  9. Offline

    Surrealmc

    I know this is a noob question but how do i make my admins be able to give others build rights, other than me changing the text myself. If so how please. Sorry
     
  10. Offline

    Chiefwaffles

    I'm having trouble with permissions. It was working perfectly until I modified the server. I added a new group called "Traders" and deleted all of my citizens (The NPC plugin.) files. When I joined, I noticed my text was white, not the admin's color. And I thought that it could be that permissions is broken.
    EDIT: Ohhh... Commands still work. Must be something with the citizens plugin, then. I'll go there.
    DOUBLE EDIT: Or IS it permissions? If it is, mind helping?
    Here is my permissions data:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.time'
                - 'commandbook.spawn'
                - 'commandbook.msg'
                - 'commandbook.say.me'
                - 'commandbook.whereami.compass
                - 'falsebook.anyic'
                - 'falseblock.block*'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'turnstile.use'
        Trader:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'npc.manager.*'
                - 'npc.owner.*'
                - 'npc.create'
                - 'turnstile.use'
                - 'turnstile.make'
                - 'turnstile.link'
                - 'turnstile.price'
                - 'turnstile.delete'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Trader
            permissions:
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Chiefwaffles:
            group: Admins
            permissions:
     
  11. Offline

    Maxis010

    Default permission
    - 'commandbook.whereami.compass
    needs a ' on the end
    Next time check your logs and YAML will report a parse error, search the line it reports AND THE SURROUNDING LINES (Can not stress that enough) for irregularities and 9/10 you can fix these errors without posting them
     
  12. Offline

    rcjrrjcr

    Use celticminstrel's DefaultPermissions.
    It's a known bug. The fix will be in 3.0.
    In 3.0.
    YAML error. The bad lines are listed in your error.
    1. There's something wrong with sk89q's permissions interface. Wait for it to be fixed.
    2. Remove the trailing asterisk after "commandbook.motd*" and "commandbook.rules*".
    Next time, post it in code tags.
    Is there any error in the console? Post it in code and spoiler tags.

    EDIT: Ninja'd by Maxis010.
     
  13. Offline

    Chiefwaffles

    EDIT: Oh. Didn't see that post. THanks!
    Woaaahhh... I'm renting a server and I just checked the server log. LOTS of errors... :p But anyways, heres the console:
    (This is right after I did all the modifications. I recently removed NPC Trader, and it still doesn't work, though.)
    Code:
    2011-05-02 19:10:50 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-02 19:10:50 [WARNING] **** NOT ENOUGH RAM!
    2011-05-02 19:10:50 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-02 19:10:50 [INFO] Loading properties
    2011-05-02 19:10:50 [INFO] Starting Minecraft server on 50.23.67.136:25577
    2011-05-02 19:10:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-02 19:10:50 [INFO] Preparing level "world"
    2011-05-02 19:10:50 [INFO] Preparing start region
    2011-05-02 19:10:51 [INFO] NPCTrader: Chunk Listener is running...
    2011-05-02 19:10:51 [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 Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block collection
     in "<reader>", line 10, column 13:
                    - 'commandbook.who'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 18, column 16:
                    - 'falsebook.anyic'
                       ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
        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.java: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:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    2011-05-02 19:10:51 [INFO] CommandBook 1.4.3-customized enabled.
    2011-05-02 19:10:51 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-05-02 19:10:51 [INFO] CommandBook: 1 kit(s) loaded.
    2011-05-02 19:10:51 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-02 19:10:51 [INFO] FalseBookBlock v0.84alpha by GeMo enabled
    2011-05-02 19:10:51 [INFO] [FalseBook Block] 2 Cauldrons successfully loaded.
    2011-05-02 19:10:51 [INFO] FalseBookCart v0.84alpha by GeMo enabled
    2011-05-02 19:10:51 [INFO] FalseBookChat v0.84alpha by GeMo enabled
    2011-05-02 19:10:51 [INFO] [FalseBook Core] FalseBookCore v0.84alpha by GeMo enabled!
    2011-05-02 19:10:51 [INFO] FalseBookExtra v0.84alpha by GeMo enabled
    2011-05-02 19:10:51 [INFO] FalseBookIC v0.84alpha by GeMo enabled
    2011-05-02 19:10:51 [INFO] iChat (v2.2.3) enabled
    2011-05-02 19:10:52 [INFO] [iConomy] Logging is currently disabled.
    2011-05-02 19:10:54 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-05-02 19:10:54 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-05-02 19:10:54 [INFO] [iConomyChestShop] version 2.54 initialized!
    2011-05-02 19:10:54 [INFO] [iConomyChestShop] iConomy version 4.65 loaded.
    2011-05-02 19:10:54 [INFO] Lampstone version 0.6 is enabled.
    2011-05-02 19:10:54 [INFO] [Lampstone] 7 lampstones loaded.
    2011-05-02 19:10:54 [INFO] NoWeather version 1.2 is enabled!
    2011-05-02 19:10:54 [SEVERE] java.io.IOException: The system cannot find the path specified
    2011-05-02 19:10:54 [SEVERE]     at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    2011-05-02 19:10:54 [SEVERE]     at java.io.File.createNewFile(Unknown Source)
    2011-05-02 19:10:54 [SEVERE]     at com.MatCat.NPCTrader.Resources.writeResource(Resources.java:10)
    2011-05-02 19:10:54 [SEVERE]     at com.MatCat.NPCTrader.NPCTrader.onEnable(NPCTrader.java:187)
    2011-05-02 19:10:54 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-05-02 19:10:54 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    2011-05-02 19:10:54 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    2011-05-02 19:10:54 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    2011-05-02 19:10:54 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    2011-05-02 19:10:54 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    2011-05-02 19:10:54 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    2011-05-02 19:10:54 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-05-02 19:10:54 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-05-02 19:10:54 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-02 19:10:54 [INFO] Database configuration Error!
    Verify your config.yml settings are correct and valid for your MySQL setup.
    Returned Error: java.lang.NullPointerException
    2011-05-02 19:10:54 [INFO] NPCTrader version 1.1.3 is disabled!
    2011-05-02 19:10:54 [INFO] Turnstile 1.6 is enabled!
    2011-05-02 19:10:54 [INFO] Turnstile Successfully linked with iConomy!
    2011-05-02 19:10:54 [INFO] Whitelist: Trying to load whitelist and settings...
    2011-05-02 19:10:54 [INFO] done.
    2011-05-02 19:10:54 [INFO] Whitelist version 2.7 is enabled!
    2011-05-02 19:10:54 [INFO] WorldEdit 4.4 enabled.
    2011-05-02 19:10:54 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-02 19:10:54 [INFO] Done (0.347s)! For help, type "help" or "?"
    2011-05-02 19:10:54 [INFO] [FalseBook Block] 0 Areas loaded.
    2011-05-02 19:10:54 [INFO] [FalseBook Block] 0 Bridges successfully loaded.
    2011-05-02 19:10:54 [INFO] [FalseBook Block] 0 Doors successfully loaded.
    2011-05-02 19:10:54 [INFO] [FalseBook Block] Gates successfully loaded.
    2011-05-02 19:10:54 [INFO] [FalseBook IC] plugins/FalseBook/Transmitter.db not found.
    2011-05-02 19:10:54 [INFO] [FalseBook IC] plugins/FalseBook/Receiver.db not found.
    2011-05-02 19:10:54 [INFO] [FalseBook IC] plugins/FalseBook/SensorList.db not found.
    2011-05-02 19:10:55 [INFO] Whitelist: Player Chiefwaffles is trying to join...
    2011-05-02 19:10:55 [INFO] allow!
    2011-05-02 19:10:55 [INFO] Chiefwaffles [/68.231.193.183:13733] logged in with entity id 61
    2011-05-02 19:11:06 [INFO] <Chiefwaffles> Ugh.
    2011-05-02 19:11:11 [INFO] <Chiefwaffles> UGHH
    2011-05-02 19:11:26 [INFO] Chiefwaffles lost connection: disconnect.quitting
    
     
  14. Offline

    frizbee


    ok thank you I'll try that. ill let everyone know if it works

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

    Imamoose

    is there a way to block a permission? ie lets say i want to give everyone everything except X.X.x.X anyway i can do that easily?
     
  16. Offline

    Psycho Robot

    do...

    Code:
    - '-x.x.x'
    
     
  17. Offline

    Nijikokun

    Everyone dance.
     
  18. Offline

    Psycho Robot

    When? Now?
     
  19. Offline

    Pim1234

    i get
    "Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException"

    whenever someone breaks a block,
    what's wrong?
     
  20. Offline

    mexander

    My permission wont work! It stopped working when I had edited my permissions a bit last night. I have tried everything even installing a new permissions file and permissions verision. I am using bukkit 733 if that may help.
     
  21. Offline

    Maxis010

    post your permissions file, your server logs since last night would also be helpful
    Can't help you if you don't give us anything to work with
     
  22. Offline

    Flamecycle100

    Well, I'm pretty much hopeless. I downloaded permissions 2 nights ago, and my other plugins were working fine with it, I haven't added or removed any plugins since, but this morning I thought I would edit some stuff to add in new groups, and to add in some players. Since then, I haven't been able to execute any command at all, except for the default /give and /kill. Permissions is both the last thing I downloaded and the last thing I edited, so I'm assuming i've done something wrong there. Can you please take a look at what I have now? I put it through a YML parser and no problems came up, but, I repeat, I'm pretty much hopeless with this stuff :p. What I have is at http://pastebin.com/PpPKuGZM , if you manage to fix it, can you also please tell me what I did wrong so that I won't have to bother you about this in the future? :S. It's also worth noting that I haven't used any tabs, I've just edited things like how it was done in the video in the OP, I even used the same parser. Please respond ASAP, thanks in advance, Flame. And I'm going to upload the message I get on the command prompt, the only message I get in game in red text is "An internal error occurred while attempting to perform the command" Sorry about the trouble, and I'd appreciate it if you'd look into it :S

    P.s If possible, maybe you could just find out what the problem is and tell me how to fix it, that way I'd probably learn from my mistake, but if that's more of a hassle that fixing it yourself, then go ahead (but preferably my option :p)
     

    Attached Files:

  23. Offline

    Maxis010

    Give us the server logs in full, the image only gives us part of an error stack that suggests you don't have permission for the command and it couldn't handle that, there might be other errors causing that error
    Also when I looked over your permissions file I changed it to this

    Code:
    plugin:
        permissions:
            system: default
            copies: 
    groups:
        Guest:
            default: true
            info:
                prefix: 'Guest'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'fishpeople.infiniteair'
                - 'fishpeople.cantalkunderwater'
                - 'fishpeople.invinciblehelmet'
        Peasant:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - 'Guest'
            permissions:
                - 'Armor.missleather'
                - 'Armor.cactusleather'
                - 'Armor.fallleather'
        Townsman:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - 'Peasant'
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        flamecycle100:
            group: Admins
            permissions:
        TheRealEvilJoker:
            group: Admins
            permissions:
        Derkon:
            group: Admins
            permissions:
    I removed non-existent permissions (and Derpina) then I re-added your admins group
     
  24. Offline

    Luwiego

    I really need help with permissions, because when i added it none of the players in the server except me (admin) cant build !
    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:
            Builders:
                default: true
                info:
                    prefix: 'User'
                    suffix: ''
                    build: true
                inheritance:
                permissions:
                    - 'foo.bar'
                    - 'essentials.home'
                    - 'essentials.sethome'
            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:
            Luwiego:
                group: Admins
                permissions:
            xXSlyXx:
                group: Builders
                info: I like to build !
                    prefix ''
                    suffix 'Cow'
                permissions:
                    - 'herp.derp'
            Derpina:
                group: Admins
                permissions:
                    - '-derp.derp'
            xxsimsx:
                group: Builders
                info: I like to build !
                    prefix ''
                    suffix 'Cow'
                permissions:
                    - 'herp.derp'
    I added xxsimsx and xXSlyXx to the builders group with sethome and home permissions but they cant use them :(
    Whats the problem with permissions file?
     
  25. I can still not get it to work :/ want the deafult group to be able to use /rules,/motd and /fly "fly caus i wont to se it diffident plugins works but it dident"
    i would be glad if any one could look at my permissions and even try to fix it and tell me why it dident work if "you" have time. thanks in advance


    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: 'Guest'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'EasyFlight.fly.self'
        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:
        d2004:
            group: Admins
            permissions:
        alvluvan:
            group: Admins
            permissions:
        D2005:
            group: Default
            permissions:
    
     
  26. Offline

    Luwiego

    Hey i think we have the same problem :(
     
  27. Offline

    rcjrrjcr

    Remove the "I like to build!" from the info nodes. The info nodes aren't used for that.
     
  28. Offline

    Luwiego

    Didnt help.
     
  29. Offline

    Schlumpfpirat

    Hey there!
    I got some serious issues with the permission plugin and multiworld support.
    Alright I just set up 1-2 new worlds.
    Here is the permission file of world.yml which is working for the world folder.
    http://www.pastie.org/1860763
    As you can see my buddys are in group Moerike and able to build..
    But if they join the server they're unable to do destroy blocks or to pick up items. Anyways they are able to use such stuff as /tp.
    When I revoked my admin commands in the world open and went there I still was able to use /i etc but unable to destroy blocks aswell, eventrough I was flagged as default.
    Any help?
    Why is that?
     
  30. Offline

    Thought Ninja

    Im having a problem where everyone can do everything on my server, witch is a huge problem because i don't want residents using world edit or moovecraft. I have not tested yet weather anti build is working yet, but the plugin is saying it is loading properly and other plugins are recognizing it. I have tried to check for errors in the yml using an online parser and i found none. Ill post the file anyway:
    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:
        Owner:
            default: false
            info:
                prefix: '&f[&aOwner&f]&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Admin:
            default: false
            info:
                prefix: '&f[&bAdmin&f]&b'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.afk'
                - 'essentials.back'
                - 'essentials.ban'
                - 'essentials.bigtree'
                - 'essentials.broadcast'
                - 'essentials.chat.shout'
                - 'essentials.chat.spy'
                - 'essentials.clearinventory'
                - 'essentials.compass'
                - 'essentials.gc'
                - 'essentials.getpose'
                - 'essentials.give'
                - 'essentials.god'
                - 'essentials.heal'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.jump'
                - 'essentials.kick'
                - 'essentials.kill'
                - 'essentials.kit.*'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.nick'
                - 'essentials.ping'
                - 'essentials.rules'
                - 'essentials.sell'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.spawnmob'
                - 'essentials.time'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tppos'
                - 'essentials.tree'
                - 'essentials.whois'
                - 'mcmmo.*'
                - 'mcmmo.ability.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.regeneration'
                - 'movecraft.*'
                - 'preciousstones.admin.*'
                - 'preciousstones.alert.*'
                - 'preciousstones.benefit.*'
                - 'preciousstones.bypass.*'
                - 'preciousstones.whitelist'
                - 'warp.*'
                - 'worldedit.*'
        Mod:
            default: false
            info:
                prefix: '&f[&6Mod&f]&6'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.afk'
                - 'essentials.back'
                - 'essentials.ban'
                - 'essentials.chat.spy'
                - 'essentials.compass'
                - 'essentials.getpose'
                - 'essentials.god'
                - 'essentials.heal'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.jump'
                - 'essentials.kick'
                - 'essentials.kit.*'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.ping'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.spawnmob'
                - 'essentials.time'
                - 'essentials.tp'
                - 'essentials.whois'
                - 'mcmmo.ability.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.regeneration'
                - 'mcmmo.skills.*'
                - 'movecraft.*'
                - 'mywarp.warp.basic.createprivate'
                - 'mywarp.warp.basic.list'
                - 'mywarp.warp.basic.warp'
                - 'mywarp.warp.sign.warp'
                - 'mywarp.warp.soc.invite'
                - 'preciousstones.benefit.*'
                - 'preciousstones.bypass.*'
                - 'preciousstones.whitelist'
                - 'warp.admin.invite'
                - 'warp.admin.to.all'
                - 'warp.create.private'
                - 'warp.sign.global'
                - 'warp.to.global'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.own'
                - 'worldedit.superpickaxe'
        VIP:
            default: false
            info:
                prefix: '&f[&dVIP&f]&d'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.back'
                - 'essentials.getpose'
                - 'essentials.heal'
                - 'essentials.help'
                - 'essentials.helpop'
                - 'essentials.home'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.ping'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist'
                - 'warp.admin.invite'
                - 'warp.create.private'
                - 'warp.sign.global'
                - 'warp.to.global'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.own'
        Resident:
            default: false
            info:
                prefix: '&7[Resident]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.back'
                - 'essentials.getpose'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.ping'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist'
                - 'warp.admin.invite'
                - 'warp.create.private'
                - 'warp.sign.global'
                - 'warp.to.global'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.own'
        Guest:
            default: true
            info:
                prefix: '&f[&4Guest&f]&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.list'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.spawn'
                - 'essentials.help'
    
    ##
    # 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:
        Thought_Ninja:
            group: Owner
            permissions:
        florisflo97:
            group: Admin
            permissions:
        Sum1beatu:
            group: Admin
            permissions:
        BUGZE_30:
            group: resident
            permissions:
        Flagadabob:
            group: Mod
            permissions:
        Friendlyfrenzy:
            group: Mod
            permissions:
        JulianVelasco:
            group: Mod
            permissions:
        Surferdude488:
            group: Admin
            permissions:
    
        acethesalmon:
            group: Resident
            permissions:
        SirPetertheRock:
            group: Resident
            permissions:
        TheNo1Yeti:
            group: Guest
            permissions:
    This is the same problem I was having with groupmanager, the only thing that works are the prefixes (witch I'm glad because i was having problems with those a few months ago but permissions is a bit more important). Maybe this is a problem with conflicting plugins? It seems unlikely, im running: bigbrother, craftbook, essentials(with groupmanager and the bridge removed, i wish it was that easy), herochat, heroic death, permissions(duh), preciousstones, world edit, world guard, and xwarp. Please respond as soon as possible, i need to get my server back to normal. THANKS! :D
    --Thought_Ninja
    [Edit] Never mind i have found the solution to my problem, /God was making it so op's ignore permissions and i was testing with an op'd character who's god mode was set to true, therefore it did not pay any attention to permissions, it is unfortunate, but I have to remove god mode from my server staff :/ but at least the server will be functioning properly again.
     
  31. Offline

    Luwiego

    Someone please help me ,with my problem !
     
Thread Status:
Not open for further replies.

Share This Page