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

    zipzapzen

    I don't know if this will work with you as I'm not very great at this either. But when I did indenting between my groups I did carriage returns to seperate them too like you did. Didn't work
    Once I removed the enters spacing between the groups it worked like a charm. let me do /permissions -reload all and everything

    example:
    instead of:
    Default:
    - 'essentials.help'
    - 'essentials.motd'

    Moderator:
    default: false

    do:
    Default:
    - 'essentials.help'
    - 'essentials.motd'
    Moderator:
    default: false
     
  3. Offline

    Jandalf

    there was a discussion a few pages ago, dont know if the problem was solved... ill ask theyeti maybe he remembers. maybe u could try same combinations like:
    ehen ur world is in /maps/world/ pur world.yml into /plugins/permissions/maps/world.yml donno if this works
    [MERGETIME="1299572973"][/MERGETIME]
    i dont know, all give it to TheYeti
    PS: what texture pak do u use? looks nice:)
    [MERGETIME="1299573039"][/MERGETIME]
    please copy it to pastebin.com, cause here its really unstructered
    [MERGETIME="1299573107"][/MERGETIME]
    these plugins need to update to the actual permissions version
    [MERGETIME="1299573161"][/MERGETIME]
    these means u use tabs in ur yml file. never ever use tabs use 4spaces instead
    [MERGETIME="1299573288"][/MERGETIME]
    this is a CB plugin and i think, he wont port it because CB gives him a great interface, which MCServer wont have
     
  4. Offline

    MiKegamer

    hi.
    i configured the permissions plugin with some comands of "essentials"
    looks fine.
    problem: i set my own name as admin, but when i join the server, i am no admin!
    here the pastebin of my config file:
    http://pastebin.de/15863
    the file is called "world.yml"
    and the name of my world is "world". so that should be correct.

    i downloaded the newest permissions plugin a few minutes ago and craftbukkit build 493. should be ok too.
    can anyone tell me why i am no admin?
     
  5. Offline

    saturnine_nl

    does the server (console) window gives you errors ?
    only thing i could see was there are several lines with essentials.spawn
     
  6. Offline

    zeph

    Your yml looks fine, except for a few repeated permissions (essentials.spawn). No idea what could be the issue... Sure names, etc, are correct?
    [MERGETIME="1299583579"][/MERGETIME]

    You are overloading.

    Mod inherits permissions from Default, but then gets ALL permissions with '*'. Admin inherits ALL permissions from Default, then gets all permissions again with '*'!
     
  7. Offline

    Cha0sPudd1ng

    Hi Yeti,

    Can you make that i can configurate in your Plugin, that users nothing can make?

    They should following nothing can make:

    NO Build,
    NO Destroy everything,
    NO Oping Doors,
    NO Pick items/Blocks
    NO Show in Chests.

    Now they cant only Bulid/destroy

    Greez: Cha0sPudd1ng

    PS: Sry for my English ^^
     
  8. Offline

    QweSteR

     
  9. Offline

    unya

    What's the syntax for copies?
    copies: world1,world2,world3?
     
  10. Offline

    MiKegamer

    *edit*
    ok, the problem seems to be fixed.
    there was a plugin called "EssentialsGroupManager" ...
    i think that caused the problem.
    i deleted it and now i can use admin comands.

    but my name is still white. how can i change it?
     
  11. Offline

    saturnine_nl

    world1 is your default.
    world4 is a complete different set
    if world2 gets it's copy from world1
    world2.yml should have copies:world1

    if world3 gets its' copy from world4
    world3.yml should have copies:world4

    a permission file can only have 1 copies: blabla.yml
    as far as I understand at least. It could get a big mess
    if you have contradicting rule sets in different world.yml files
    [MERGETIME="1299587022"][/MERGETIME]
    add the info line after your group line like this:

    1. users:
    2. MiK3gamer:
    3. group: Admins
    4. info:
    5. prefix: ''
    6. suffix: ''
    7. permissions:
    as far as i know, permissions expects an info: line

    be aware that the lines properly 'tabbed' just like example user herpina.
    except use spaces instead of tabs !!


    I don't think users: is case sensitive.

    good luck :)
     
  12. Offline

    ksevelyar

    Thank you for reply.
     
  13. Offline

    nuker2007

    The server dosnt start the premissions right or so,
    iam gettin this:

    Code:
    2011-03-08 12:04:23 [INFO] Starting minecraft server version Beta 1.3
    2011-03-08 12:04:23 [INFO] Loading properties
    2011-03-08 12:04:23 [INFO] Starting Minecraft server on *:25565
    2011-03-08 12:04:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
    2011-03-08 12:04:23 [INFO] Preparing level "world"
    2011-03-08 12:04:23 [INFO] Preparing start region
    2011-03-08 12:04:25 [INFO] Preparing spawn area: 53%
    2011-03-08 12:04:25 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-08 12:04:26 [INFO] WorldGuard loaded.
    2011-03-08 12:04:26 [INFO] Loaded EssentialsBan build 245 by Zenexer, ementalo, Eris, and EggRoll
    2011-03-08 12:04:27 [INFO] ?eLoaded Essentials build 245 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-08 12:04:27 [INFO] Loaded EssentialsWarp build 245 by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-08 12:04:27 [INFO] ScrapBukkit version 0.2.1 is enabled!
    2011-03-08 12:04:27 [INFO] [Permissions] version [2.5.3] (Phoenix)  loaded
    2011-03-08 12:04:27 [INFO] Could not determine Permissions version: 2.5.3
    2011-03-08 12:04:27 [INFO] [iChat] Permissions plugins not found, disabling plugin
    2011-03-08 12:04:27 [INFO] [iChat] iChat Disabled
    2011-03-08 12:04:28 [INFO] [BBROTHER] Cleaned out 0 records because of age
    2011-03-08 12:04:28 [INFO] [BBROTHER] Permissions enabled.
    2011-03-08 12:04:28 [INFO] [BBROTHER] BigBrother 1.6.3 enabled
    2011-03-08 12:04:28 [INFO] WorldEdit 4.0-beta8 enabled.
    2011-03-08 12:04:28 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-08 12:04:29 [INFO] CraftBookMechanisms 3.0-alpha1 enabled.
    2011-03-08 12:04:29 [INFO] MobileAdmin: Starting server...
    2011-03-08 12:04:29 [INFO] MobileAdminBukkit version 2.4 is enabled!
    2011-03-08 12:04:29 [INFO] ChatBukkit v0.0.1 is enabled!
    2011-03-08 12:04:29 [INFO] Bukkit Flow Control version 0.0.2 loaded.
    2011-03-08 12:04:29 [INFO] CraftBookCircuits 3.0-alpha1 enabled.
    2011-03-08 12:04:29 [INFO] CraftBookVehicles 3.0-alpha1 enabled.
    2011-03-08 12:04:29 [INFO] MobileAdmin: Server listening on *:5839
    2011-03-08 12:04:29 [INFO] Loaded EssentialsHome build 245 by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-08 12:04:29 [INFO] Loaded EssentialsSpawn build 245 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-08 12:04:29 [INFO] CraftBookCommon 3.0-alpha1 enabled.
    2011-03-08 12:04:29 [INFO] Persistence version 0.52 is enabled
    2011-03-08 12:04:29 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-08 12:04:29 [INFO] WorldGuard: Single session is enforced.
    2011-03-08 12:04:29 [INFO] WorldGuard: TNT ignition is blocked.
    2011-03-08 12:04:29 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-03-08 12:04:29 [INFO] WorldGuard: Lava fire is blocked.
    2011-03-08 12:04:29 [INFO] WorldGuard: All fire spread is disabled.
    2011-03-08 12:04:29 [INFO] WorldGuard 4.0-alpha1 enabled.
    2011-03-08 12:04:29 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    2011-03-08 12:04:29 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    2011-03-08 12:04:29 [INFO] Loading renderer 'org.dynmap.kzedmap.CaveTileRenderer'...
    2011-03-08 12:04:29 [INFO] Activated world 'world' in Dynmap.
    2011-03-08 12:04:29 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    2011-03-08 12:04:29 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    2011-03-08 12:04:29 [INFO] Activated world 'nether' in Dynmap.
    2011-03-08 12:04:29 [INFO] Dynmap WebServer started on null:8123
    2011-03-08 12:04:29 [INFO] Loaded EssentialsTele build 245 by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-08 12:04:29 [INFO] Loaded EssentialsHelp build 245 by Zenexer, ementalo, Eris, and EggRoll
    2011-03-08 12:04:29 [INFO] Done (0.611s)! For help, type "help" or "?"
    WorldGuard: No known permissions plugin detected. Using configuration file for permissions. and all other plugins
     
  14. Offline

    Viktor

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Player:
            default: true
            info:
                prefix: '&8[&0Player&8]&8'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
    - 'mcmmo.commands.setmyspawn'
    - 'mcmmo.commands.party'
    - 'mcmmo.commands.whois'
    - 'mcmmo.regeneration'
    - 'mcmmo.skills.*'
    
    ##
    # User Ranks
    ##
    users:
        DaVisitor:
            group: Player
            permissions:
    I get a lot of YAML errors using this config can anyone help me? IDK what to do :p
     
  15. Offline

    enkryptor

    Does anybody have this error?
    Code:
    16:05:18 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroups(Control.java:654)
            at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:59)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:359)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    16:05:19 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroups(Control.java:654)
            at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:59)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:359)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I use Permissions 2.5.3
     
  16. Offline

    saturnine_nl

    could you paste the errors , only the caused by lines do matter, the bla bla at is usualy not the issue.
     
  17. Offline

    Sol

    I am getting BLOCK_BREAK cannot be passed.... etc

    - Yes, my permissions file is named correctly.

    - No, there is nothing wrong with my permissions file layout (using tabs or other dumb shit). I can post a copy if it's really necessary, but I am fairly well experienced with permissions and am very aware of things that cause issues. I know it's really easy to break/screw up, so I have been over it like 50 times.

    - The problem ONLY occurs for the DEFAULT group, which has been renamed to NOOBFACE.

    - No other group has this issue.

    Any ideas? :confused:

    ~Sol
     
  18. How can I make it so that a specific group can use /give without being op?
    No idea how to figure this out.

    Gr.Villermen
     
  19. Offline

    Jandalf

    please copy ur permissions file to pastebin.com, so i can see the structur
    [MERGETIME="1299591459"][/MERGETIME]
    i neewd an additional plugin like iChat or HeroChat to do this
    [MERGETIME="1299591613"][/MERGETIME]
    no idea, but try to reinstall permissions...
    [MERGETIME="1299591708"][/MERGETIME]
    u must ident the permission lines like in the default example
    [MERGETIME="1299591853"][/MERGETIME]
    do u rename the yml file to ur default world name? do u use multi worlds? is ur world folder not located in the CB main folder?
    [MERGETIME="1299591956"][/MERGETIME]
    hm, i really dont know how to handly this error. do u try http://yaml-online-parser.appspot.com/ ? has the default group build=false?
    [MERGETIME="1299591987"][/MERGETIME]
    u need an additional plugin like GiveIt or General
     
  20. Offline

    Sol

    @Jandalf
    Yes the default group is build=false

    I am also running a plugin called GuestPrev... not sure if that is somehow interfering?

    Also, what is the parser for? Do I copy and paste my config in there, and convert it to something else? I'm afraid I'm not familiar with this.

    Thanks in advance.

    ~Sol
    [MERGETIME="1299592316"][/MERGETIME]
    @nuker2007
    I had that problem as well, and it ended up being I needed a carriage return (ENTER KEY) at the end of the file, after the last member/group entry. Once I put a carriage return there it worked fine :/

    ~Sol
     
  21. Offline

    Waffletastic

    Any plans to make permissions update instantly ingame?
     
  22. Offline

    Jandalf

    i think that is not usefull, cause then it could update befor u finish somethig like - 'plug.n
    and u get an error cause of missing '...
     
  23. Offline

    enkryptor

    Oh yeah, you're right. Done this, all is ok now.
     
  24. Offline

    Jandalf

    hm try build=false und use the permission node from guestprev, maybe this works.
    the parser convertzs it but that is not the main feature, cause u get an error when something is wrong in ur file, so u dont need to look at ur file 50mins;)
     
  25. Offline

    Sol

    @Jandalf
    The parser reports no error, thanks for that handy tool *bookmarks*

    Now, what do you mean by "permission node from guestprev"? Sorry if this is a retarded question but I can't seem to locate any such animal. If you are referring to adding players to the authorised.txt file then, well... I don't want to have to do that since it will defeat the purpose of the guestprev plugin. Otherwise, I'm not sure what you mean again lol :/

    ~Sol
     
  26. Offline

    Jandalf

    i mean: guestprev.is.authorized look at the permissions section in the OP
     
  27. Offline

    Sol

    @Jandalf

    Ah I must have missed that... I'll check it out thanks! Hopefully that fixes it.

    Will report back shortly.

    ~Sol
     
  28. Offline

    treepunchah

    I don't know if this is the right place to ask for this help. If not, sry.
    Permissions isnt working for me. I haven't changed anything but the username. I have copy pasted from other peoples "fixes" and they don't seem to make it work either.
    here is the paste bin for my terminal output:
    http://pastebin.com/8x5KmFEX
    any help would be great! other essentials plugins are working (except worldedit, which of course relys on permissisons)
     
  29. Offline

    Jandalf

    this is the right place, but u use permissions 2.1 look at the actual version;) that should fix it
     
  30. Offline

    Sol

    @Jandalf

    Same error message.

    I ended up totally removing GuestPrev as a test, and I still got the same error.

    Now I am totally without an idea :confused:


    @treepunchah
    Your permissions is WAY out of date.... you are using v1.0 the latest is 2.5.2

    That is most likely your problem

    ~Sol
     
  31. Offline

    Jandalf

    ok me too, but the latest is 2.5.3 but shouldnt fix the problem. so all groups have build=true and only the default group get the error?
     
Thread Status:
Not open for further replies.

Share This Page