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

    Mhalkyer

    @Zenexer How are you determining the 'group order'?

    Also, can you make Essentials maintain Permissions YML formatting when editing it? It's causing a big headache and it'd probably be easier to ask you to change than ask Nijikokun (who doesn't even have time to update Permissions).

    I can provide an example if needed.
     
  3. Offline

    connorcpu

    best...... plugin......... ever!
     
  4. Offline

    Belus

    Im sorry i didnt mean to add it as a bug report. I should have worded it "I have no idea how to add people to groups and i dont see it in the tutorial thing, please help.
     
  5. Offline

    Carbon

    Anyone have a base file with Admin, Moderator, VIP, and Guest with the appropriate permissions?
     
  6. Offline

    achmed

    Ok so multiple people have confirmed my file is correct.
    I am sure I've installed the plugin correct...
    And still the plugin does not work... wtf?
     
  7. Offline

    DThielke

    What is the proper format for the "node-that-exists" in getUserPermissionString(player.getName(), "node-that-exists")?

    I'm trying to implement player-based prefixes and suffixes using a config as follows:
    Code:
    users:
            DThielke:
                    group: admin
                    prefix: 'SuperCustomPrefix-'
                    suffix:
                    permissions:
    I've tried "prefix", "DThielke.prefix", and "users.DThielke.prefix" but they all return empty strings.
     
  8. Offline

    Kainzo

    /pr causes internal server error along side with /reload for #166+ on 1.9 This may not be completely related to Permissions but it is an issue nonetheless.
     
  9. Offline

    chill1977

    That would be based entirrely on your choice of plugins.
    --- merged: Jan 28, 2011 9:32 PM ---
    ??Who said it was correct? What other plugins are you running and where is the code? We can fix what we cant see, and the plugin is working fine.
     
  10. Offline

    Carbon

    To be honest, I stopped hosting servers around 4 months ago. All the configs for every plugin are quite confusing and I really don't even know what plugins to use for a simple roleplay/survival server.
     
  11. Offline

    Ziknon

    I'm getting an error here with my default users.
    "You do not have access to that command".
    Looked through almost the whole topic, couldnt fix my problem.
    Permissions config:
    Code:
    plugin:
        permissions:
            system: default
    
    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.me'
    - 'essentials.tpaccept'
    - 'essentials.tpdeny'
    - 'essentials.list'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.helpop'
    - 'essentials.whois'
    - 'essentials.spawn'
    - 'essentials.help'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.compass'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.me'
    - 'essentials.tpahere'
    - 'essentials.tpa'
    - 'essentials.tpaccept'
    - 'essentials.tpdeny'
    - 'essentials.tptoggle'
    - 'essentials.tpo'
    - 'essentials.tpohere'
    - 'essentials.warp'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.item'
    - 'essentials.give'
    - 'essentials.list'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.helpop'
    - 'essentials.clearinventory'
    - 'essentials.getpos'
    - 'essentials.nick'
    - 'essentials.whois'
    - 'essentials.spawn'
    - 'essentials.setspawn'
    - 'essentials.time'
    - 'essentials.kit'
    - 'essentials.kit.*'
    - 'essentials.help'
    - 'essentials.heal'
    - 'essentials.motd'
    - 'essentials.kick'
    - 'essentials.ban'
    - 'essentials.unban'
    - 'essentials.banip'
    - 'essentials.unbanip'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.msg'
    - 'essentials.kill'
    - 'essentials.compass'
    - 'essentials.depth'
    - 'essentials.realname'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance: Default,Moderators,
    permissions:
    - '*'
    
    Ziknon:
           group: Admin
           permissions:
    I just removed the commentaries (#) to make it smaller, all comentary is still there.
    I have essentials.
    Bukkit build: 166
     
  12. Offline

    SheepRock

    Ok great plugin, but how does not actually promote and demote people between groups in-game?
     
  13. Offline

    Invididom

    how do you set specific help info? I don't wan players able to see admin commands...
     
  14. Offline

    Stephen92

    ok i've had so much trouble with this, can someone please fix this for me, me and jessica are the owners and we can do everything but Rossu cannot do anything can someone please fix this for me id greatly appreciate it.
     

    Attached Files:

  15. Offline

    Mike24

    can some one just tell me how to use it please make a video or something i dont understand a thing :(
    --- merged: Jan 28, 2011 11:08 PM ---
    can some one just tell me how to use it please make a video or something i dont understand a thing :(
     
  16. Offline

    chill1977

    It is obvious that your format is not correct, the spacing is nowhere close to where is was before you changed it to your information. The default file is set up that way to show you the format that is to be used. The spacing is essential in the file loading correctly
    --- merged: Jan 28, 2011 11:17 PM ---
    Code:
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance: Default,Moderators,
    permissions:
    - '*'
    
    
    You only need to inherite from Moderator, not Moderators as there is no such group. Moderator inherites from default.
    --- merged: Jan 28, 2011 11:19 PM ---
    No, you have to do that manually unless you use Essentials which then reparses the complete file to basically an unreadable mess lol
    --- merged: Jan 28, 2011 11:21 PM ---
    Help is based on the other plugins and has nothing to do with Permissions. If you are using essentials then the help file is editable in the plugins\essentials folder.
     
  17. Offline

    Stephen92

    can you please show an example and fix mine please lol.
     
  18. Offline

    chill1977

    This should work for you.

    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:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Miner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.items'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
        Vip:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Miner
            permissions:
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Vip
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        stephen92:
            group: Admins
            permissions:
            - '*'
        Jessicadawn:
            group: Admins
            permissions:
            - '*'
        Rossu:
            group: Miner
            permissions:
    --- merged: Jan 28, 2011 11:28 PM ---
    To those that just want someone to do it for them and not try llike Ziknon up there that has no format at all, don't waste our time please.
     
  19. Offline

    Stephen92

    dont mean to sound harsh but trust me i've tried everything i've stumbled upon and no one has helped me as of yet, please it seems like you know what your talking about, especially more than me just please help me. I dont mean to sound desperate but without hey0 and having to do all this stuff and everything requiring permissions its hard as I'm not literate to this type of stuff can you please just mkae this work for me.
     
  20. Offline

    chill1977

    Copy and paste what I posted and it will work, if you need anything else just ask.

    Your problem was pretty simple, you added names where they should not have been and had one spacing problem that was easily fixed. Please take the time to compare that 1 to yours and note the difference.
     
  21. Offline

    Stephen92

    it still doesnt work please come in our ventrillo really fast
    ventrilo.typefrag.com
    7202
    this will be easier for us thanks.
    --- merged: Jan 29, 2011 12:01 AM ---
    this is pissing me off i've tried like 10 different configs i mean can we do teamviewer or somethign I need massive help,idk why its not working but will someone please help me.
     
  22. Offline

    chill1977

    I
    I don't have vent any more but what is the problem you are having now?
     
  23. Offline

    Stephen92

    its the same thing they cant do any of the commands
    "you do not have access to that command"
    wish you could get ventrillo really fast or something I just dont get it.
    --- merged: Jan 29, 2011 12:14 AM ---
    better yet just come into my server the ip is in my signature and you can help me that way
     
  24. Offline

    ghostx7

    I don't see a "config.yml" in the .jar....
     
  25. Offline

    chill1977

    hey man
    I missed you in game if you want to come back
     
  26. Offline

    EvilMaL

    Thats not where it is located. When you run your server for the first time with the plugin installed it creates it

    and btw Chill1977 ur my Hero :)
     
  27. Offline

    chill1977

    It is created the first time you run minecraft after you install the plugin
     
  28. Offline

    ghostx7

    Oh, derp. Thanks guys.
     
  29. Offline

    riuthamus

    So what your suggesting to me, is instead of having a plugin that should have this feature as its core/base options, I should add on another plugin which adds on other crap so I can have just that ONE option? Logic = Fail with you my son!
     
  30. Offline

    Ziknon

    For some reason if I kept with spacing after adding the 'essential.node', it gave me errors. I'll try again, editing here if it works or not.

    Edit- Worked, just had to change to Moderator, still had to delete all spaces though...
     
  31. Offline

    Wingedillidan

    I've been getting this error on the latest releases of all plugins and am having the hardest time resolving the issue. I even reverted back to older versions of the plugin and restored the configuration file to default values, and yet to no avail.
    Code:
    [[email protected] ~]$ screen -x minecraft
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:216)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:554)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:528)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:265)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:201)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.VerifyError: (class: com/nijikokun/bukkit/Permissions/Permissions, method: setupPermissions signature: ()V) Bad type in putfield/putstatic
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            ... 17 more
    
    I forget which Bukkit build I have, if that's a problem, what is the latest build of bukkit that is compatible with this plugin?
     
Thread Status:
Not open for further replies.

Share This Page