Inactive [ADMN/INFO] Permissions v2.1 - Continuing the legacy.

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Nijikokun

    Permissions 2.1 (Handler)
    Download 2.1 (Jar Only)
    Older: 2.0, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0

    Permissions... Done right.
    Permissions allows plugin-authors to utalize a permission system that handles group inheritance, globalized permission settings, and more. All the features of a fine-grained permission system in one plugin.​

    Features
    1. Groups
    2. Group Inheritance, Allows for groups to gain permissions from other groups.
    3. User Permission System
    4. Fine Grained Permission system.
      1. Allowing for Globalized permissions
    5. Easy to use, setup, and implement.
    6. Two cache layers, first from file to memory, then from memory to cache.
      1. Plugins can control cache since version 2.1
    7. And much more.
    For the users


    Permissions gives server admins great control, mostly in-game reloading. Simply use /pr and the file will be re-cached and never touched again until you need to reload it. This allows you to quickly give your users the commands that they need without having to restart the server.

    Installation for 2.0 down:
    1. Download the archive.
    2. Extract contents to the /plugins folder.
    3. Open up /plugins/Permissions/config.yml
      1. Read / modify.
      2. Save.
    4. Reload Server.
    Changelog

    • 2.1
      • Multiple-World support
      • New cache layer, and cache control support for plugins
      • Editing features for plugins to hook into
      • Exempt nodes
      • World copying
    • 2.0
      • Forgot.
    • 1.9
      • Fully fixes inheritance.
        • Groups now inherit groups of groups that inherit groups of...
      • Cache system implemented.
      • Plugin authors can now delegate a variable system if needed.
      • API Updated with two new functions to get the point of what they do across.
        • Along with the new variable checks.
    • 1.8
      • Fixes the broken globalized node issue.
        • node.* is called a `globalized node`
    Supporting Plugins




    I have hit the character limit for this post.​

    Thanks to:
    • sk89q for hiearchical and node system idea.
    • Creator of GroupUsers for api implementation.
    This author has stopped development of this plugin. It is no longer supported and I wouldn't ask for help here, as you won't get any. New Permissions
    -RightLegRed
     
  2. Offline

    achmed

    I'm supposed to use the file you've send in the conversation right?
     
  3. Offline

    chill1977

    yeah
    in the convo
     
  4. Offline

    achmed

    ok
    --- merged: Jan 29, 2011 11:43 AM ---
    Sorry to bother you again...
    but it still doesn't work...
     
  5. Offline

    chill1977

    ok i need the eroor console report and it better not say line something, the problem is not with permissions because I start it just fine with that file. Let's move to the convo to get out of the forum.
     
  6. Shameless bump, still not working and I'd like some help
     
  7. Somehow this plugin is not working, or im doing it wrong...
    My config file:

    # Supports "Default" and "GroupUsers"
    plugin:
    permissions:
    system: default

    ##
    # 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:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    - 'general.player-info'
    - 'kGeneral.who'
    - 'kGeneral.playerlist'
    - 'kGeneral.spawn'
    - 'kGeneral.msg'
    - 'kGeneral.help'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    - 'kGeneral.who'
    - 'kGeneral.playerlist'
    - 'kGeneral.spawn'
    - 'kGeneral.msg'
    - 'kGeneral.tp'
    - 'kGeneral.tphere'
    - 'kGeneral.help'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'
    - 'kGeneral.time'
    - 'kGeneral.give'
    - 'kGeneral.item'
    - 'kGeneral.who'
    - 'kGeneral.playerlist'
    - 'kGeneral.spawn'
    - 'kGeneral.msg'
    - 'kGeneral.tp'
    - 'kGeneral.tphere'
    - 'kGeneral.clearinventory'
    - 'kGeneral.help'


    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    staneh:
    group: Admins
    permissions:
    vallefd:
    group: Admins
    permissions:
    turtleface93:
    group: Admins
    permissions:
     
  8. the code certainly looks okay...
    is the plugin broken?
     
  9. I don't know, but I can't use any kGeneral commands, like /tp
     
  10. Offline

    TehSeph

    Check your spacing. It's certainly NOT okay.
     
  11. It's spaced and all, but it didnt show up in the forums well.
     
  12. my spacing's fine, but it just doesn't seem to recognise me as an admin...
    if i try any commands, it doesn't return any errors, it just does nothing at all...
     
  13. Offline

    NikkyyyHD

    Someone needs to make a simple tutorial on what to install, Change ETC.
    This would help everyone out alot :D
     
  14. Offline

    riuthamus

    really... you guys are having this hard of a time? I guess i could make a youtube video...
     
  15. Offline

    GmK

    Niji - seeing how many people have troubles with this already (I had it set up without *any* problem in no-time, never broke, all has been working perfectly, and I do have 8 groups and 200 users in there) I am dreading the official Permissions system, that is even more complex. At least you dont have to feel responsible for that anymore.

    All in all - thanks to your plugin we can run a working proper server, and arent having any errors or anything since day 1.
     
  16. Offline

    NikkyyyHD

    Mind linking me the Vid when your done? id like to see which plugins to install with permissions ETC :)
     
  17. Offline

    Dosensteck

    Hi. I'm using Permissions and General. The thing is: Nobody actually has rights. I think I did something wrong with the configuration-file. Could somebody take a look?

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
            permissions:
                - 'list'
                - 'general.time'
                - 'general.spawn.set'
        Moderator:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'list'
                - 'general.time'
                - 'general.spawn.set'
                - 'general.player-info'
                - 'general.teleport.here'
    
    users:
        Dosensteck
            group: Admins
            permissions:
        Steven
            group: Admins
            permissions:
        Philipp
            group: Admins
            permissions:
        Vinnie
            group: Default
            permissions:
        Bartimäus
            group: Default
            permissions:
        Philipp
            group: Default
            permissions:
        DerBuddler
            group: Default
            permissions:
        S3c0N
            group: Default
            permissions:
    However, the plugin starts:

    Code:
    2011-01-29 14:51:13 [INFO] Preparing level "world"
    2011-01-29 14:51:13 [INFO] Preparing start region
    2011-01-29 14:51:14 [INFO] [General] version [2.1] (Salvez) loaded
    2011-01-29 14:51:14 [INFO] [Permissions] version [1.9] (Handler) loaded
    2011-01-29 14:51:14 [INFO] ProtectedDoors version 0.1.2 is enabled!
    2011-01-29 14:51:14 [INFO] Done! For help, type "help" or "?"
    
    That's why I think that's it's the configuration file...

    Thanks in Advance,
    Steckdose
     
  18. Offline

    xZise

    Hello, is it possible to get all permissions? So that a admin can asks the permissions of somebody while he is online on the server?

    Fabian

    PS: And if possible add xWarp as Permissions supporting plugin ;)
     
  19. Offline

    chill1977

    You don't add people to the Default group it messes up the permissions
     
  20. Offline

    SeeD419

    So I finally made the jump to Permissions today.

    It was actually....quite simple...except for user set up.

    Am I supposed to add each and ever user manually? I set the mode to "GroupUsers" but my 'vip' group still can't warp or home. Permissions are set respectively in the yml config file.
     
  21. Offline

    Gnyf

    Once more, we will have to bother this thread with our questions.
    We have been unable to find the answer to the question anywhere either.

    On our server we have admins given every right conceivable, but once we get eyeconomy (sorry if that is spelled incorrectly) we will need to exclude admins from the system, to ensure that noone can cheat too easily.
    as we've given admins access to all commands in all programs, this poses an interesting problem, do we have to rewrite all the allowed commands or is it possible to simply take the '*' permission for admins and afterwards add something that nullifies the star for a single (group of) command(s)?

    and if we have to rewrite it, we will, but is it concieveable to make it possible to do it the other way too? would be far easier to give access to all, then block a single, than the other way around.

    Thanks for a great program
     
  22. Offline

    Prime

    Bump for help!
     
  23. Offline

    Dosensteck

    Hmm.. Still doesn't work:

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
            permissions:
        Player:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
                - Default
            permissions:
                - 'list'
                - 'general.time'
                - 'general.spawn.set'
        Moderator:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Player
            permissions:
        Admins:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'list'
                - 'general.time'
                - 'general.spawn.set'
                - 'general.player-info'
                - 'general.teleport.here'
    
    users:
        Dosensteck
            group: Admins
            permissions:
        Steven
            group: Admins
            permissions:
        Philipp
            group: Admins
            permissions:
        Vinnie
            group: Player
            permissions:
        Bartimäus
            group: Player
            permissions:
        Philipp
            group: Player
            permissions:
        DerBuddler
            group: Player
            permissions:
        S3c0N
            group: Player
            permissions:
    
     
  24. Hey, if I set in the permissions.yml build=false for the default group, they still can build
    how i can fix it?
     
  25. Offline

    Mhalkyer

    The fundamental concept of plugins is to separate functionality, not to make 1 "master plugin". This is a method that all programmers understand and it's very efficient when properly implemented. Although I do agree, this plugin should have /modify, but in the meantime, just use Essentials. Nijikokun is spread thin enough as is.
    --- merged: Jan 29, 2011 5:40 PM ---
    Install Anti-Build, it uses Permissions.
     
  26. this do not work
     
  27. Offline

    xnefoo

    Im using permissions right now but i set people as mods and admins but when they talk it doesnt say mod or admin infront of there names. Please help!


    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # 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:
        Regular:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.*'
                - 'magiccarpet.mc'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Xnefoo:
            group: Admins
            permissions:
                - '*'
        sk89q:
            group: Default
            permissions:
                - 'general.time'
        TrueFire:
            group: Admins
            permissions:
                - '*'
        PureGoober:
            group: Moderator
            permissions:
                - 'general.*'
        Sproginator:
            group: Moderator
            permissions:
                - 'general.*'
     
  28. Offline

    nichiatu

    I tried changing build from "true" to "false" , but the people in the specified group can still build?
     
  29. Offline

    Lolmewn

    It doesn't seem to work with the last CraftBukkit anymore..
    29-jan-2011 19:31:28 org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:86)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:181)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: 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:84)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 36, column 5:
    Default:
    ^
    expected <block end>, but found BlockEntry
    in "<reader>", line 45, column 5:
    - 'vote.vote'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.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 org.bukkit.util.config.Configuration.load(Configuration.java:62)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:76)
    ... 13 more
     
  30. Offline

    Dosensteck

  31. Offline

    kyxoan

    can you use multiple groups per user yet?
     
Thread Status:
Not open for further replies.

Share This Page