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

    rcjrrjcr

    Yep. The methods look fine now. Have you updated yet?
     
  3. Offline

    Paul_VB

    the new format is a little less oraginsed in my opinoion. u know how it wrewites the config file? well the new format it turns it into is too scatered for me to really understand it.
     
  4. Offline

    jeffklam


    OMG - Finally someone has the same problem that's been making me crazy for weeks. Here's what I get:

    Code:
    2011-04-14 07:49:31 [INFO] Starting minecraft server version Beta 1.4
    2011-04-14 07:49:31 [INFO] Loading properties
    2011-04-14 07:49:31 [INFO] Starting Minecraft server on *:25565
    2011-04-14 07:49:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-g9992fff-b677jnks (MC: 1.4)
    2011-04-14 07:49:31 [INFO] Preparing level "NW"
    2011-04-14 07:49:31 [INFO] Preparing start region
    2011-04-14 07:49:31 [INFO] 144 recipes
    2011-04-14 07:49:32 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-14 07:49:32 [INFO] LWC    Loading shared objects
    2011-04-14 07:49:32 [INFO] LWC    Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2011-04-14 07:49:32 [INFO] [MultiVerse] Permissions Found
    2011-04-14 07:49:32 [INFO] [MultiVerse] - Version 1.6.2 Enabled
    2011-04-14 07:49:32 [INFO] [MultiVerse] Loading World & Settings - 'world2' - NORMAL
    2011-04-14 07:49:33 [INFO] [MultiVerse] Loading World & Settings - 'NW' - NORMAL
    2011-04-14 07:49:33 [INFO] [MultiVerse] Loading World & Settings - 'nether' - NETHER
    2011-04-14 07:49:33 [INFO] [MultiVerse] Loading World & Settings - 'nether2' - NETHER
    2011-04-14 07:49:34 [INFO] [MultiVerse] 4 - World(s) loaded.
    2011-04-14 07:49:34 [INFO] [MultiVerse] Loading Portals
    2011-04-14 07:49:34 [INFO] [MultiVerse] 5 - Portal(s) loaded.
    2011-04-14 07:49:34 [SEVERE] Nag author: 'Rigby' of 'MultiVerse' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
    2011-04-14 07:49:34 [INFO] WorldEdit nightly enabled.
    2011-04-14 07:49:34 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:49:34 [INFO] CommandBook 1.2.1 enabled.
    2011-04-14 07:49:34 [INFO] CommandBook: 4 banned name(s) loaded.
    2011-04-14 07:49:34 [INFO] CommandBook: 15 kit(s) loaded.
    2011-04-14 07:49:34 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:49:34 [INFO] [Permissions] This is not an official build by TheYeti. Send all bug reports to rcjrrjcr.
    2011-04-14 07:49:34 [INFO] [Permissions] version [2.6] (Phoenix)  loaded
    2011-04-14 07:49:34 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:49:34 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:49:34 [INFO] LWC    Loaded 113 locale strings (0 overrides)
    2011-04-14 07:49:34 [INFO] LWC    Using Nijikokun's permissions plugin for permissions
    2011-04-14 07:49:34 [INFO] LWC    Loading SQLite
    2011-04-14 07:49:34 [INFO] SQLite    Using: Native
    2011-04-14 07:49:34 [INFO] LWC    At version: v2.21
    2011-04-14 07:49:34 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:49:34 [INFO] WorldGuard: (NW) Single session is enforced.
    2011-04-14 07:49:34 [INFO] WorldGuard: (NW) TNT ignition is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (NW) Lighters are PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (NW) Lava fire is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (NW) All fire spread is disabled.
    2011-04-14 07:49:34 [INFO] WorldGuard: Loaded configuration for world 'NW"
    2011-04-14 07:49:34 [INFO] WorldGuard: (world2) Single session is enforced.
    2011-04-14 07:49:34 [INFO] WorldGuard: (world2) TNT ignition is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (world2) Lighters are PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (world2) Lava fire is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (world2) All fire spread is disabled.
    2011-04-14 07:49:34 [INFO] WorldGuard: Loaded configuration for world 'world2"
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether) Single session is enforced.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether) TNT ignition is PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether) Lighters are PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether) Lava fire is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether) Fire spread is UNRESTRICTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: Loaded configuration for world 'nether"
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether2) Single session is enforced.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether2) TNT ignition is PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether2) Lighters are PERMITTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether2) Lava fire is blocked.
    2011-04-14 07:49:34 [INFO] WorldGuard: (nether2) Fire spread is UNRESTRICTED.
    2011-04-14 07:49:34 [INFO] WorldGuard: Loaded configuration for world 'nether2"
    2011-04-14 07:49:34 [INFO] WorldGuard: 17 regions loaded for 'NW'
    2011-04-14 07:49:34 [INFO] WorldGuard: 1 regions loaded for 'world2'
    2011-04-14 07:49:35 [INFO] WorldGuard 5.0-alpha8 enabled.
    2011-04-14 07:49:35 [INFO] [iChat] Found Permissions (v2.6)
    2011-04-14 07:49:35 [INFO] iChat (v2.2.2) enabled
    2011-04-14 07:49:35 [INFO] Done (0.363s)! For help, type "help" or "?"
    2011-04-14 07:49:44 [INFO] junkfroggy [/192.168.15.1:57491] logged in with entity id 749
    2011-04-14 07:49:44 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:70)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:313)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:204)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-14 07:49:44 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:70)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-04-14 07:49:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:317)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:204)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-04-14 07:49:44 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-14 07:49:44 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-14 07:49:54 [INFO] junkfroggy lost connection: disconnect.quitting
    2011-04-14 07:49:54 [INFO] Connection reset
    2011-04-14 07:50:02 [INFO] Stopping the server..
    2011-04-14 07:50:02 [INFO] CONSOLE: Stopping the server..
    2011-04-14 07:50:02 [INFO] Stopping server
    2011-04-14 07:50:02 [INFO] [MultiVerse] - Disabled
    2011-04-14 07:50:02 [INFO] [Permissions] (Phoenix) saved all data.
    2011-04-14 07:50:02 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-04-14 07:50:02 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:50:02 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:50:02 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-14 07:50:02 [INFO] [iChat] Permissions plugin lost.
    2011-04-14 07:50:02 [INFO] LWC    Freeing SQLite
    2011-04-14 07:50:02 [INFO] WorldGuard 5.0-alpha8 disabled.
    2011-04-14 07:50:02 [INFO] [iChat] iChat Disabled
    2011-04-14 07:50:02 [INFO] Saving chunks
    2011-04-14 07:50:03 [INFO] Stopping server
    2011-04-14 07:50:03 [INFO] Saving chunks
    And here's my permissions if it helps:

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.whereami'
                - 'commandbook.spawn'
                - 'commandbook.who'
                - 'commandbook.msg'
                - 'commandbook.rules'
                - 'lwc.protect'
                - 'myhome.basic.set'
                - 'myhome.basic.home'
                - 'myhome.basic.delete'
        Moderator:
            default: false
            info:
                prefix: '&3Mod'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook.teleport.*'
                - 'commandbook.slap'
                - 'worldguard.heal.*'
                - 'commandbook.kick.*'
                - 'lwc.mod'
                - 'commandbook.kit.*'
        Admins:
            default: false
            info:
                prefix: '&4Admin'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'worldedit.*'
                - 'myhome.*'
                - 'mywarp.*'
                - '/god'
                - '/locate'
                - '/slay'
                - '/stack'
                - 'worldguard.*'
                - 'lwc.*'
                - 'bb.admin.*'
                - 'commandbook.*'
                - 'permissions.*'
    users:
        youril:
            group: Moderator
            permissions:
        JYLoko:
            group: Moderator
            permissions:
        connander:
            group: Admins
            permissions:
        captundrpnts:
            group: Moderator
            permissions:
        nickhexxar:
            group: Moderator
            permissions:
        junkfroggy:
            group: Admins
            permissions:
                - 'multiverse.*'
            info:
                prefix: ''
                suffix: '&2'
        bluefroggy09:
            group: Admins
            permissions:
            info:
                prefix: ''
                suffix: '&b'
        tomriddilin:
            group: Admins
            permissions:
        UnicornLoverr:
            group: Admins
            permissions:
            info:
                prefix: ''
                suffix: '&d'
        Trump600:
            group: Admins
            permissions:
            info:
                prefix: ''
                suffix: '&9'
     
  5. Offline

    Rayback1985

    Hello I have one question.
    I have on my server all permission as admin.
    now I have the lwc plugin and want to know, how I can do that, that I couldn't look into a chest by a member.
    Can I disable some permissions ?
    This problem I have with worldguard too. If I protect a region I can destroy that but why ?
     
  6. Offline

    rcjrrjcr

    Uh...
    It's the same data. It's even dumped back the same way. Yes, comments may be lost, but that's unavoidable. The nulls will be fixed in 2.7. I don't even know why do you feel it's less organised.
    What version of World(Edit|Guard)|(Command|Craft)Book are you using? I heard that it was recently updated. Try the new one.

    Sorry if I misunderstand you, but you seem to be asking how to prevent admins, who possess '*', from accessing chests protected by LWC and from destroying blocks in protected regions.
    Find the relevant permissions to access a chest or destroy protected blocks, and add
    Code:
    '-<insertpermissionhere>'
    into the admin group's permission node list.

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

    Paul_VB

    its how multiple things ar sored on the same line. like its not in a list format, where each thing is under the last. i know its the same data, but im a very visual learner.
     
  8. Offline

    rcjrrjcr

    That happens to you? I've never experienced it. Can you post how the config looks like after Permissions overwrites it?
     
  9. Offline

    lycano

    @rcjrrjcr: maybe he opened the file with notepad (like many others do ~.~) or another Line-Ending-ignoring Editor? ;)

    @Paul_VB: Try to open the file with Notepad++
     
  10. Offline

    Linaks

    Are there any console-commands for Permissions?
    I want to use it with Stats/Achievements.
    So I need a console command like "group <groupname> <playername>"
     
  11. Offline

    jeffklam


    Thanks! It looks like WorldEdit was the culprit. Hopefully u83rju1c3 will see this too.
     
  12. Offline

    Asymetrikon

    I have a problem. Every time when i add new Users and reload the Plugins the .yml gets reset as if i didnt make changes at all. I have to restart the Server to make the changes.
     
  13. Offline

    rcjrrjcr

    Would you please read the past few pages of the thread? The answer to your question has been repeated many times already.
     
  14. Offline

    lycano

    > The answer to your question has been repeated many times already
    @rcjrrjcr: maybe we have a new candidate for our FAQ-Section on GitHub? xD
     
  15. Offline

    Rayback1985

    Thx a lot it helps :)
     
  16. Offline

    Brain

    It's a linebreaks denoting thing. Windows uses CR+LF and Linux (and BSD) only use LF. Mac OS probably uses CR only just to spite Windows, Linux and BSD. ;-)

    I assume you use Windows, so you probably need an editor that is not fixed on Windows-style linebreaks like Notepad. Wordpad auto-detects different linebreak notations. Notepad++ does, it is even available as a portable version on www.portableapps.com so you don't have to actually install it. Eclipse does too, although that would probably be overkill for your needs. :) Word does too, but no, seriously, don't go there, don't even think about it. ;-) If you feel adventurous you could install Cygwin and give vi a spin....
     
  17. Offline

    kinkyboo

    is this surpose to be easy to use? becuase right now i dont get a shit about it. if i add a plugin do i need to add anything to the permission file? if so what and why please

    or nvm i gave up the whole server thing becuase of this -.-'
     
  18. Offline

    Paul_VB

    are u taalking about the permsiions nodes? and whats version of permissions are u using?
     
  19. Offline

    Brain

    Design decision. Use a standardized text format like YAML, JSON, XML etc. or everybody makes a proprietary text format or store the data in a database. Looks like YAML won. Personally I'm happy I only have to deal with one storage format. Keeping data consistent across different text formats and perhaps the one or other DB table is a pain in the backside.

    And regarding what you need to add to the permission configuration: Usually nothing if plugin authors have worked carefully. In that case normal users can't do anything and admins can do everything.
    If you want to give normal users permissions to use certain aspects of a plugin you need to read the documentation for that plugin and figure out the permission set(s) the users need.
    Users are organized in groups to make handing out permissions easier so you only need to assign them once to the group the user is in and that's it.
     
  20. Offline

    TheYeti

    @Brain I love that username, it has so much potential for trolling.

    @jeffklam That is a WorldEdit issue, not Permissions. They are using old stuff that was deprecated for quite a few versions and then finally removed. So now it doesn't work.

    @Linaks In game editing is next on my list. I am going to probably start working on them this weekend.

    @kinkyboo Thanks for playing, better luck next time.
     
  21. Offline

    Don Redhorse

    first: how is your arm?
    second: you know that some people already coded this? perhaps you can get together.
    third: may I make a suggestion for a near future version?

    Could you remove the user part of the world.yml files and take over the approach of GM concerning the same permissions per world? The later would save creating a lot of files.

    Concerning the user.yml file, best approach would probably be to do it this way:

    Code:
    users:
      user1:
        world: world
           permissions: []
           group: architects
           etc: ....
        world: 2ndworld
           permissions: []
           group: hunter
           etc: ....
    
    this would allow for ONE user.yml file and still be able to have different permissions in different world.

    Atm it is quite arkward to add the user to every world and give them access to groups.
     
  22. Offline

    heina

    Hi,

    I was wondering how can i give permissions to all my default users to use "/time set" so they could change the time of the server.

    Thanks and sorry if that question as already been solved. I hope u'd understand i can't check 131 pages ^^
     
  23. Offline

    saturnine_nl

    I have a strange problem with my inheritance.

    http://pastebin.com/acsfcsJa

    I'm running b670jnks craftbukkit and permissions 2.7

    here's my problem: As member of group Mod I should have access to all commands of group Play.
    But if i give a specific command of the Play group i get a you don't have right bla bla. However
    if I change my group from Mod to Play everything works as it should be. I can access all the commands
    assigned to group Play. I'm just setting up this server so there arent any conflicting plugins running.
    (LWC, Permissions, Tombstone, Worldborder)

    I have no clue what is causing this behaviour. So if anyone could help me please.

    Greetzzz Saturnine

    <edit>

    @TheYeti : It's been awhile and I'm wondering how your carp syndrome is doing. hopefully it's getting better. :)

    </edit>
     
  24. Offline

    Paul_VB

    hey does 2.7 use the new config format?

    and if anyones interested, i have a small program that lets u use the old 2.5.5 config format with 2.6
     

    Attached Files:

  25. Offline

    Lildirt

    My command problems are solved, though anyone except for me cannot right click a block without getting "You do not have permissions to use this".
    But they can use everything just fine.
     
  26. Offline

    Gam3rTr0n69

    same here, it doesnt interfere with anything, just is really annoyign :(
     
  27. Offline

    chikinexe

    My Permissions file wont let me build even though I'm an admin. I can spawn items and do all the commands but I can't even do so much as open up a door. PLEASE HELP! Here's my permissions file if it helps.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Fagtron 5000:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
        palz:
            default: false
            info:
                prefix: '&d'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
        Chuck Norris:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        jklug:
            default: false
            info:
                prefix: '&d'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
    users:
        chikinexe:
            group: Chuck Norris
            permissions:
        CreeperBob:
            group: jklug
            permissions:
        ssbbpal:
            group: palz
            permissions: 
     
  28. Offline

    Phaeroth

    Aha. Ok, there we go. I wasn't aware of that function. Thanks.
     
  29. Offline

    Planitia

    It's ont your permissiosn file. It's something else. Can we have logs from when yo9ur server starts up, Bukkit version, Permissions Version?

    Really why do people come here say "MINE BROKED" and post NO useful information?

    Read a few pages back before you reply it might save you and I alot of time.
     
  30. Offline

    aTastyNoob

    Hello! I am having troubles getting my permissions and herochat to work.

    First of all, I need to make myself "astolenheart" an admin. It doesn't seem to work though. I still can't build.

    My info
    Config file
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: '[Guest]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
    
    Builder:
            default: False
            info:
                prefix: '[Builder]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
    
    Moderator:
            default: false
            info:
                prefix: '[Moderator]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
    Admins:
            default: false
            info:
                prefix: '[Admin]'
                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:
        astolenheart:
            group: Admins
            permissions:
    
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    About My Server
    I OP'd myself.
    I need prefixes to work. :p

    Also, I was wondering if you guys have any suggestions on any good plugins that will help start up my brand new server. (Such as the /help command, and some other basic commands like /item etc.)

    Thanks!
     
  31. Offline

    woodzy

    try getting ICHAT
     
Thread Status:
Not open for further replies.

Share This Page