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

    Zero9195

    I know they do it in their free time, but still, some people ask something really stupid, and they get an answer in a few minutes. I'm waiting for some days now, and want to implement the Permissions in my new Plugin. Sry for being hard but still it's a bit annoying.

    Thankfully,
    Zero9195
     
  3. Offline

    Anoniempje

    is any one working on a GUI for the config file?
    I'd like one that checks and fixes silly tabs or that extra space and can change/sort/search permissions.
    Maybe import preset permission files so that you can drag and drop the permissions to the right group or something.
     
  4. Offline

    Streak

    Does anyone know a good example for a Essentials config.yml code? Basic commands for all users and all for admins kinda setup. Just a classic setup. Thanks.
     
  5. Offline

    Oscarius

    Is there any way to colorize the names of players in a group?
     
  6. Offline

    bandit6789

    you need the plugin iChat to do this
     
  7. Offline

    Calvin

    Mine doesn't even load. its got an error that i haven't seen yet on the forums, so I'm guessing it's something really stupid I'm doing. I have Permissions.jar in the plugins folder, and the config.yml in the Permissions folder in the plugins folder. The content of my config.yml is the exact same as nijikokun's. No difference. What am I missing? Is this for SQL only? this is making me very frusterated.

    On another note, I may have an older version of craftbukkit. Can someone post a link to the most updated version just in case?
     
  8. Offline

    Overkill117

    How do I add the commands /sethome /home /spawn.
     
  9. Offline

    jonahrab

    I want them to go to default automatically, and they do. I have installed ichat, and it does say [Default] in front of there name. And they do have commands, this is how it looks.
    Code:
    plugin:
      permissions: {system: default}
    groups:
      Default:
        default: true
        info: {prefix: '&2', suffix: '&2', build: true}
        inheritance: []
        permissions: [general.spawn]
      Moderator:
        default: false
        info: {prefix: '&b', suffix: '&b', build: true}
        inheritance: [Trusted]
        permissions: [general.time, general.teleport, general.teleport.here, general.player-info,
          worldedit.selection.*, worldedit.region.operations.*]
      Admins:
        default: false
        info: {prefix: '&4', suffix: '&4', build: true}
        inheritance: [Moderator]
        permissions: ['*']
      Owners:
        default: false
        info: {prefix: '&6', suffix: '&6', build: true}
        inheritance: [Moderator]
        permissions: ['*']
      Builders:
        default: false
        info: {prefix: '&e', suffix: '&e', build: true}
        inheritance: [Default]
        permissions: [general.item, general.give, magiccarpter.mc, general.teleport]
      Trusted:
        default: false
        info: {prefix: '&8', suffix: '&8', build: true}
        inheritance: [Builders]
        permissions: [general.time, general.kick, general.teleport.here]
    users:
      jonahrab:
        group: Owners
        permissions: ['*']
      sk89q:
        group: Default
        permissions: [general.time]
    
     
  10. Offline

    xquercus

    You'll have to look at the documentation for the plugin which provides the /sethome /home and /spawn commands to find the full name of the permission nodes to put in Permission's config.yml. If you are using the Essentials plugin to provide the above commands you can modify the "Default" group section of Permission's config.yml as follows:

    <begin snippet>
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.spawn'
         Moderator:
    <end snippet>

    Does that help?
     
  11. Offline

    Overkill117

    Thanks for the help. It works now.
     
  12. Offline

    ShadowFile

    How can I remove the commands that were pre-existing.... i.e. /giveme [itemid] [amount]
    don't like the noobs spawning the diamonds
     
  13. Offline

    HungryBagel

    Are you going to be making a /modify command or similar?
     
  14. Offline

    Anonymass

    Theres something horribly wrong with Permissions, i've tried everything to make myself admin but it doesnt work. It was working this morning and before that. Essentials stoppd working and all the other plugins.
     
  15. Offline

    RustyDagger

    Is it just me Or is there not craft bukkit version on this topic
    I am wondering what it works with and theres nothing in Plain sight I know you have alot of topics But can you atleast Keep basic info like this upto date.
     
  16. Offline

    Etsijä

    Your problem does sound like you are using a very ancient version of CraftBukkit. See here for the newest version (and all of them, basically):
    http://bamboo.lukegb.com/browse/BUKKIT-CRAFTBUKKIT-255/artifact
     
  17. Offline

    timsandtoms

    I tried having each one inherit from the previous group, and that didn't work either, no one had any commands. I've tried a few variations. Example, for jrmod, I've tried(each inheritance line being a different failed attempt):
    inheritance:
    - default
    - vip
    inheritance:
    - vip
    inheritance: 'vip'
    inheritance: default, vip
    inheritance:
    - default, vip
    inheritance:
    - 'default, vip'
    etc etc etc. Can anyone confirm that a particular method works for them? Maybe I've just missed or forgot to try something obvious.
     
  18. Offline

    Etsijä

    timsandtoms, rather than explaining widely, maybe I'll just post you my version which works just fine. Don't worry about the format, it is a bit different (Essentials rewrote it) but still perfectly valid YAML - actually more so than the Permissions original config.yml:

    Code:
    plugin:
      permissions: {system: default}
    groups:
      noob :
        default: true
        info: {prefix: '&f', suffix: '&f', build: false}
        inheritance: []
        permissions: [essentials.home, essentials.sethome, essentials.list, essentials.mail, essentials.me,
          essentials.mail.send, essentials.spawn, essentials.help, essentials.motd, essentials.afk,
          essentials.compass, essentials.rules, essentials.msg, essentials.ping, essentials.warp,
          /stopfire, /stack]
      vip:
        default: false
        info: {prefix: '&e', suffix: '&e', build: true}
        inheritance: [noob]
        permissions: [lwc.protect]
      moderator:
        default: false
        info: {prefix: '&9', suffix: '&9', build: true}
        inheritance: [vip]
        permissions: [essentials.tp, essentials.tphere, essentials.kick, essentials.ban,
          essentials.unban, essentials.banip, essentials.unbanip, essentials.setwarp,
          essentials.delwarp, essentials.whois, essentials.getpos, essentials.helpop,
          essentials.broadcast, essentials.modgrp, essentials.give, essentials.item,
          bb.admin.info, /region, lwc.mod]
      admin:
        default: false
        info: {prefix: '&4', suffix: '&4', build: true}
        inheritance: []
        permissions: ['*']
    users:
      Etsija:
        permissions: []
        group: moderator
     
  19. Offline

    fugue2005

    /pr is reloading all plugins, did you change that or do i have to go hunting through every other plugin

    can you possibly make it /perm reload
     
  20. Offline

    wizzywoo

    Hi Well basically i am new to this whole server business and bukkit and i am not a very skilled plugin installer either so your gonna have to explain what iv done wrong in ALOT of detail. Well first of all I downloaded the .ZIP and using WIN-RAR I extracted both files to the plugin folder and just ran the server this happend :
    [INFO] [Permissions] version [2.0] (Handler) loaded
    (Sorry im REALLY new (first day) so i dont have paste bin)

    So it was all going well but then i tried editing the config and this happend:

    users:
    wizzywoo:
    group: Admins
    permissions:
    - '*'
    predator_uk:
    group: Admins
    permissions:
    - '*'

    Please help And also if i set build to false they can still build : (
    {PS:Is there anyway to change the colour of their name according to what group they are in ?}
     
  21. Offline

    omega2004

  22. Offline

    Xemnas33

    You need anti build for the Build: feature to work.
    I see nothing wrong with that config file either. It's probably just easier to remove the - '*' and instead do this:

    Code:
    Admins:
            default: false
            info:
                prefix:
                suffix:
            inheritance:
            permissions:
                - '*'
    That means that the Admins group has every normal permission.
     
  23. Offline

    Hamad

    Works before, now not, i added new now messed up
    can u fix it for me please, was my fault
    heres my config
    looks well but gives error
    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:
    Citizen:
            default: true
            info:
                prefix: '&1[&3Citizen&1]&5
                suffix: '&2'
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.spawn'
                - 'essentials.kit'
                - 'essentials.help'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.afk'
                - 'essentials.kit.name'
      Soldier:
            default: false
            info:
                prefix: '&1[&2Soldier/Gaurd&1]&3'
                suffix: '&5'
                build: true
            inheritance:
                - Citizen
            permissions:
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.warp'
                - 'essentials.warplist'
        Admins:
            default: false
            info:
                prefix: '&1[&3Admin&1]&2'
                suffix: '&4'
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Hexas92:
            group: Admins
            permissions:
        Grumbly:
            group: Soldier
            permissions:
        xxkillxx:
             group: Soldier
             permissions:
        player:
             group: Admins
             permissions:
        Salio:
             group:Admins
             permissions:
     
  24. Offline

    Xemnas33

    For some reason after updating Craftbukkit the /pr command has stopped working =/.

    Also now whenever I update craftbukkit it tells me my permissions and prefixes are wrong but after deleting a re-writing exactly the same they seem to work :S
     
  25. Offline

    tharvoil

    I have the same issue, running build 232. Looking at the log it's saying that none of the mods are detecting the premissions plugin. The plugin is not even loading when I start the server up. I try /plugin enable and I get a message saying plugin could not be loaded is the file named correctly(yes it is). This has been the source of my issue I posted before - everyone has access to all commands, could use some help=\
     
  26. Offline

    Calvin

  27. Offline

    MrCamping

    What should I put in my config.yml to allow the use of /pr to some groups?
    I've tried 'permissions.permissions' and 'permissions.pr' both doesnt work.

    Thx
     
  28. Offline

    chill1977

    Citizen and soldier groups are way out of line. Fix the format.
     
  29. Offline

    outbreak


    Something was messed up with the users area, I have fixed it for you try this:

    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:
        Citizen:
            default: true
            info:
                prefix: '&1[&3Citizen&1]&5'
                suffix: '&2'
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.spawn'
                - 'essentials.kit'
                - 'essentials.help'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.afk'
                - 'essentials.kit.name'
        Soldier:
            default: false
            info:
                prefix: '&1[&2Soldier&1]&3'
                suffix: '&5'
                build: true
            inheritance:
                - Citizen
            permissions:
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.warp'
                - 'essentials.warplist'
        Admins:
            default: false
            info:
                prefix: '&1[&3Admin&1]&2'
                suffix: '&4'
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Hexas92:
            group: Admins
            permissions:
        Grumbly:
            group: Soldiers
            permissions:
        xxkillxx:
            group: Soldiers
            permissions:
        player:
            group: Admins
            permissions:
        Salio:
            group: Admins
            permissions:
    
     
  30. Offline

    grehbeh

    hey bro can you help me im new to this and it is frustrating i dont know how to get people who join my server like the default group to be able to do /sethome /home /spawn if you could help me or even give me a permissions list i could copy and past it would be awesome hers my list


    # 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.home'
    - 'general.home.set'
    Moderator:
    default: false
    info:
    prefix: '&1'
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - '*'
    Admins:
    default: false
    info:
    prefix: '&b'
    suffix:
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'


    ##
    # Grehbeh has control over all commands.
    # Grehbeh can use /spawn & /time
    ##
    users:
    Grehbeh:
    group: Admins
    permissions:
    Trips126:
    group: moderator
    permissions:
    - 'general.time'
    linkon18:
    group: moderator
    permissions:
    - 'general.time'
     
  31. Offline

    thorncrown

    Hey there, I got a problem too: Permissions doesnt work at all and I dont know why. I got the latest craftbukkit version. Updated yesterday.

    Starting my server:

    Code:
    2011-02-06 14:51:37 [INFO]  Starting minecraft server version Beta 1.2_01
    2011-02-06 14:51:37 [INFO] Loading properties
    2011-02-06 14:51:37 [INFO] Starting Minecraft server on *:25565
    2011-02-06 14:51:37 [INFO] Preparing level "world"
    2011-02-06 14:51:37 [INFO] Preparing start region
    2011-02-06 14:51:39 [INFO] Preparing spawn area: 8%
    2011-02-06 14:51:40 [INFO] Preparing spawn area: 36%
    2011-02-06 14:51:41 [INFO] Preparing spawn area: 73%
    2011-02-06 14:51:42 [INFO] [Permissions] version [2.0] (Handler)  loaded
    2011-02-06 14:51:42 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-06 14:51:42 [INFO] WorldEdit: Permissions plugin detected!  Using Permissions plugin for permissions.
    2011-02-06 14:51:42 [INFO] Loaded Essentials b136 by Zenexer,  ementalo, Eris, and EggRoll
    2011-02-06 14:51:42 [INFO] WorldGuard: Permissions plugin detected!  Using Permissions plugin for permissions.
    2011-02-06 14:51:42 [INFO] WorldEdit: Permissions plugin detected!  Using Permissions plugin for permissions.
    2011-02-06 14:51:42 [INFO] Done! For help, type "help" or "?"
    And my permissions config:

    Code:
    plugin:
        permissions:
            system: default
    
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.help'
                - 'essentials.afk'
                - 'essentials.sell'
    
        Mod:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.items'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.list'
                - 'essentials.clearinventory'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'worldedit'
                - 'essentials.time'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    users:
    
    thorncrown:
    group: admins
    If im not in a group, I should be in the default-group. This doesnt work too. New users can join my server and build, although I set "build" to false. Now I should be the admin, but i cant use any command.

    Would be really great, if someone could tell me what im doing wrong.

    cheers.
     
Thread Status:
Not open for further replies.

Share This Page