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

    Aetcho

    Thank you :D it worked
     
  3. Offline

    Stig

    Okay.. so i think i might need some help with this permissions plugin :confused:

    i need these lines this put into permissions but i don't know how to do that myself, whenever i try it just gives errors:

    towny.admin : User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User can also able to make towns or nations when set to admin only.
    towny.wild.* : User is able to build/destroy in wild regardless if the config says no.
    towny.wild.build
    towny.wild.destroy
    towny.wild.switch
    towny.spawntp : Must have this permission to use "/town spawn [town]" (teleport to other towns).


    • iConomy.payment - Allows users to use /money pay
    • iConomy.access - Allows users to view other players accounts.
    • iConomy.rank - /money rank
    • iConomy.list - /money top
    • iConomy.withdraw - /money withdraw
    • iConomy.deposit - /money deposit
    • iConomy.reset - /money reset
    How would the permissions file look like with those implemented so it would work? i'll post the permissions default file also:



    # 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'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    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:
    darkgrave:
    group: Admins
    permissions:
    sk89q:
    group: Default
    permissions:
    - 'general.time'​
     
  4. Offline

    ledhead900

    What is the correct permissions to give a player specific player for reloading the groups files ?, permissions./pr and /pr dont work.
     
  5. Offline

    Duendek86

    Would be fantastic a multiworld support. I have a world in my server with factions plugins and I would like to have a different config to permissions in that world than the normal world.
     
  6. Offline

    Vuviboy

    How do i add moderators on my server? please help
     
  7. Offline

    Arisilde

    WoodsmanMod:
    default: false
    info: {prefix: '&2[Woodsman]', suffix: '&f', build: true}
    inheritance: [Mod, Woodsman]
    permissions: []

    Is this the correct way to set up a group with multiple inheritance? Or should there be no space after the , separating the 2 groups?
     
  8. Offline

    Cau3T

    Hi,

    We run a server with the last CraftBukkit version (git-Bukkit-jenkins-dev-CraftBukkit-35-b{36}jnks (MC: 1.2_01)) and some plugins :
    Permissions v2.0
    Antibuild v1.0
    Big Brother v1.5
    WorldEdit v3.2.2
    WorldGuard v3.2.2
    Essentials b180
    OnlineUsers v1.5

    The server run very well and we can't build when we aren't register (see permissions after). Also we change our server two days ago, and we copy all minecraft repertory including maps, plugins, config files, etc... On the new server, nothing happen with permissions. The default group can build, and all groups can't execute the commands that they theoretically can.
    There are three types of messages :
    "- You don't have sufficient permission."
    "- You do not have access to that command."
    - And another one that I forgot.

    I repeat : The server WELL RUN two days ago on an old server (and run because we have this old server for 2 or 3 days...) but the permissions DON'T RUN on the new server (it's the SAME files, from .jar to .yml).

    Here is the console output :

    Code:
    2011-02-19 17:06:47 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-19 17:06:47 [INFO] Loading properties
    2011-02-19 17:06:47 [INFO] Starting Minecraft server on 91.121.7.74:25565
    2011-02-19 17:06:47 [INFO] This server is running Craftbukkit version git-Bukkit-jenkins-dev-CraftBukkit-35-b{36}jnks (MC: 1.2_01)
    2011-02-19 17:06:47 [INFO] Preparing level "world"
    2011-02-19 17:06:47 [INFO] Preparing start region
    2011-02-19 17:06:48 [INFO] Preparing spawn area: 44%
    2011-02-19 17:06:49 [INFO] WorldGuard 3.2.2 loaded.
    2011-02-19 17:06:49 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-02-19 17:06:49 [INFO] WorldGuard: Single session is enforced.
    2011-02-19 17:06:49 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-02-19 17:06:49 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-02-19 17:06:49 [INFO] WorldGuard: Lava fire is blocked.
    2011-02-19 17:06:49 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    plugins/Essentials/spawn.yml
    2011-02-19 17:06:49 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-19 17:06:49 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-19 17:06:49 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-19 17:06:49 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-19 17:06:49 [INFO] [AntiBuild] version [1.0] (Reborn) loaded
    2011-02-19 17:06:49 [INFO] Loaded EssentialsHelp b180 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-19 17:06:49 [INFO] OnlineUsers version 1.5 is enabled!
    MapMarkers version 0.2.5.3 enabled
    2011-02-19 17:06:50 [INFO] Loaded Essentials build 180 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-19 17:06:50 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-19 17:06:50 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-19 17:06:50 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-19 17:06:50 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-19 17:06:50 [INFO] Loaded EssentialsHome build 180 by Zenexer, ementalo, Eris, and EggRoll
    MapMarkers version 0.2 enabled
    2011-02-19 17:06:50 [INFO] Loaded EssentialsSpawn bTeamCity by Zenexer, ementalo, Eris, and EggRoll
    2011-02-19 17:06:50 [INFO] Loaded EssentialsWarp build 180 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-19 17:06:50 [INFO] [BBROTHER] Permissions enabled.
    2011-02-19 17:06:50 [INFO] BigBrother 1.5 initialized
    2011-02-19 17:06:50 [INFO] Done! For help, type "help" or "?"
    
    Here is the permissions file :

    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'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.ping'
                - 'essentials.spawn'
        Members:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.mail.send'
                - 'essentials.nick'
                - 'essentials.eco'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.help'
                - 'essentials.tpa'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'worldedit.chunckinfo'
                - 'worldedit.listchuncks'
                - 'worldedit.extinguish'
                - 'general.spawn'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.ping'
                - 'essentials.spawn'
        Modos:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.kill'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.tppos'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.setspawn'
                - 'worldedit.superpickaxe.drawing.brush.*'
                - 'worldedit.clipboard.*'
                - 'worldedit.hcyl'
                - 'worldedit.hsphere'
                - 'worldedit.history.*'
                - 'worldedit.navigation.*'
                - 'worldedit.selection.*'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.butcher'
                - '/stopfire'
                - '/allowfire'
                - '/slay'
                - '/heal'
                - '/locate'
                - 'general.spawn'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.mail.send'
                - 'essentials.nick'
                - 'essentials.eco'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.help'
                - 'essentials.tpa'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'worldedit.chunckinfo'
                - 'worldedit.listchuncks'
                - 'worldedit.extinguish'
                - 'general.spawn'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.ping'
                - 'essentials.spawn'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
                - '/stopfire'
                - '/allowfire'
                - '/slay'
                - '/heal'
                - '/locate'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        cau3t:
            group: Admins
            permissions:
                - 'essentials.modgrpoverride'
        mangaultime:
            group: Admins
            permissions:
                - 'essentials.modgrpoverride'
        lbc_grayfox:
            group: Modos
        ravnshado:
            group: Modos
        naskz:
            group: Modos
        gogo91:
            group: Modos
        mounkk:
            group: Modos
        drhouses:
            group: Modos
        benji_napo:
            group: Modos
        felixlecha:
            group: Members
        octalfr:
            group: Members
    Just a last thing :
    The both servers are two different java versions. Can it be a problem ?
    Java version for the old server : 1.6.0_0
    Java version for the new server : 1.6.0_22

    Hope you will be able to resolve the problem,
    Cau3T

    PS : I repeat the commands for all class because I remark that the inheritant field don't work for us... I test it since three days so don't tell me... It's a inheritant problem ;)
     
  9. Offline

    Prime

    Say I made a player Moderator, would they need to be listed in the ops.txt file? The reason I ask this is because when I op them, they have full permissions including the ability to completely stop my server. Here is my config:

    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: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.whois'
                - 'essentials.help'
                - 'essentials.afk'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'lwc.protect'
                - 'essentials.heal'
                - 'essentials.motd'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.setspawn'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.top'
                - 'essentials.time'
                - 'essentials.kit'
                - 'godmode.god.self'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'tpack.boomstick'
                - 'tpack.cuboid'
                - 'tpack.snap'
                - 'tpack.items'
     
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Pianka:
            group: Admins
            permissions:
        Numbedshot:
            group: Moderator
            permissions:
        P1mPzTA:
            group: Default
            permissions:
    I'd almost appreciate it if you told me how to edit so they cannot ban me. Thanks.
     
  10. Offline

    Gando


    I'm using yours, and it still doesn't work.

    http://i.imgur.com/dd6pi.png

    This is the result of running /pl.

    Is there a specific encoding that the config.yml requires?
     
  11. Offline

    pcjews

    my problem is that the when I start the server with permissions it wont let me use the essential plugins unless im a op which i dont want because i want a non op (so they cant use EVERYTHING) like a moderator to be able to be above the regular person. here is my permissions code. Please help me out.
    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: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.afk'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kick'
                - 'essentials.sell'
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.afk'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.whois'
                - 'essentials.setspawn'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.eco'
                - 'essentials.sell'
                - 'essentials.ping'
                - 'essentials.kill'
                - 'essentials.reloadall'
                - 'essentials.modgrp'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kick'
                - 'essentials.sell'
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.modgrp'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        a_terrorist:
            group: Admins
            permissions:
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.whois'
                - 'essentials.setspawn'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.eco'
                - 'essentials.sell'
                - 'essentials.ping'
                - 'essentials.kill'
                - 'essentials.reloadall'
                - 'essentials.modgrp'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kick'
                - 'essentials.sell'
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
        a_shlong:
            group: Admins
            permissions:
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.whois'
                - 'essentials.setspawn'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.eco'
                - 'essentials.sell'
                - 'essentials.ping'
                - 'essentials.kill'
                - 'essentials.reloadall'
                - 'essentials.modgrp'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kick'
                - 'essentials.sell'
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
        extrainsaniity:
            group: Admins
            permissions:
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.whois'
                - 'essentials.setspawn'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.top'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.eco'
                - 'essentials.sell'
                - 'essentials.ping'
                - 'essentials.kill'
                - 'essentials.reloadall'
                - 'essentials.modgrp'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tphere'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kick'
                - 'essentials.sell'
                - 'general.spawn'
                - 'essentials.tptoggle'
                - 'essentials.mail'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.clearinventory'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.item'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.modgrp'
    
     
  12. Offline

    civ77

    hmm, this solved my permissions problem but now i have a problem with general, ty anyway
     
  13. Offline

    Superhykle

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
        Trusted.Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
    Trial Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member,Trusted Member
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
                - 'essentials.ban'
                - 'essentials.time'
    
    Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member,Trusted Member,Trial Admins
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.ban'
                - 'essentials.jump'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.time'
    
    Honorary Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
              - '*'
    
    Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - '*'
    Hm0123:
            group: Trusted Member
            permissions:
    Hey guys, I've a problem Hm0123 is allowed for the Member permissions but he can't use them:S anything im doing wrong? also i wanna have visitors that always can come in but can't build and not that I need to put all names in permissions,how do I install that(i have antibuild so just put plugin.yml into plugin folder?) Can anybody help??
    --- merged: Feb 19, 2011 8:45 PM ---
    nvm about the visitors that works now but do you know why hm0123 can use the commands of the Member?
     
  14. Offline

    Nachocuban

    you have the group set up as Trusted.Member, but have hm0123 set up in the Trusted Member Group

    ( a '.' in the first name, a ' ' in the second name.)
     
  15. Offline

    Superhykle

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
        Trusted Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
    Trial Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
                - 'essentials.ban'
                - 'essentials.time'
    
    Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.ban'
                - 'essentials.jump'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.time'
    
    Honorary Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
              - '*'
    
    Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - '*'
    
    users:
        Hm0123:
            group: Trusted Member
            permissions:
    Now its like this but it still doesnt work:S
     
  16. Offline

    Nachocuban

    try and remove the blank lines under inheritance.
     
  17. Offline

    Superhykle

    nope this doesnt work:S anyone knows whats wrong?
     
  18. Offline

    ebol4

    The colored prefixes don't seem to work in my server.

    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: true
    
            inheritance:
    
            permissions:
    
                - 'general.spawn'
    
                - 'lwc.protect'
    
                - 'mywarp.warp.*'
    
                - 'myhome.home.basic.*'
    
                - 'myhome.home.soc.*'
                - 'pdoors.main'
    
        Moderator:
    
            default: false
    
            info:
    
                prefix: '&a'
    
                suffix:
    
                build: true
    
            inheritance:
    
                - Default
    
            permissions:
    
                - 'general.time'
    
                - 'general.teleport'
    
                - 'general.teleport.here'
    
                - 'general.player-info'
    
                - 'general.items'
    
        Admins:
    
            default: false
    
            info:
    
                prefix: '&b'
    
                suffix:
    
                build: true
    
            inheritance:
    
                - Moderator
    
            permissions:
    
                - '*'
      
    ##
    
    # DarkGrave has control over all commands.
    
    # sk89q can use /spawn & /time
    
    ##
    
    users:
    
        disturb3d:
    
            group: Admins
    
            info:
    
                prefix: '&c'
    
                suffix:
    
                build: true
    
            permissions:
    Am I not doing it right?
     
  19. Offline

    Superhykle

    Im using the plugin simple colours myself its simple and works great maybe thats something for you
     
  20. Offline

    Plutonium239

    Try the plugin called iChat, it should work then.
     
  21. Offline

    Superhykle

    the strange thing is if I put hm0123 as Trusted member he can build but can use the permissions I made for Trusted members
     
  22. Offline

    samsoccerboyz

    How do i give admins Ignore Restrictions
     
  23. Offline

    Lukedude100

    I'm using Permissions on a hosted server that is hosted by http://www.servercraft.co. The whole time I have had the server, Permissions has not worked. I have Bukkit installed, and other plugins, like Essentials, WorldGuard and WorldEdit work fine. But Permissions apparently isn't recognized when the server starts. Here is what is in my Permissions file:
    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:
        Noob:
            default: true
            info:
                prefix: Noob
                suffix:
                build: false
            inheritance:
        permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Noob2:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
        permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Builder:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Advanced Builder:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Shopkeeper:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Donator:
            default: false
            info:
                prefix: '&a'
                suffix: '&a'
                build: true
            inheritance:
                - Default
            permissions:
                 -'essentials.me'
                 -'essentials.tpahere'
                 -'essentials.tpa'
                 -'essentials.tpaccept'
                 -'essentials.tpdeny'
                 -'essentials.tptoggle'
                 -'essentials.warp'
                 -'essentials.list'
                 -'essentials.home'
                 -'essentials.sethome'
                 -'essentials.mail'
                 -'essentials.mail.send'
                 -'essentials.helpop'
                 -'essentials.spawn'
                 -'essentials.kit'
                 -'essentials.kit.tools'
                 -'essentials.help'
                 -'essentials.motd'
                 -'essentials.rules'
                 -'essentials.msg'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix: 'Admin'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    ##
    # Lukedude100 has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Lukedude100:
            group: Admins
            permissions:
                   - '*'
        Rmedible:
            group: Admins
            permissions:
                   - '*'
        APaperSpoon:
            group: Admins
            permissions:
                   - '*'
        Indefinitely:
            group: Admins
            permissions:
                   - '*'
        DaiCarmuhh:
            group: Admins
            permissions:
                   - '*'
    
     
  24. Offline

    Superhykle

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
              - 'essentials.spawn'
              - 'essentials.list'
    
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - 'essentials.home'
              - 'essentials.sethome'
              - 'essentials.spawn'
              - 'essentials.warp'
              - 'essentials.msg'
              - 'essentials.jump'
              - 'essentials.list'
    
        Trusted Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - 'essentials.home'
              - 'essentials.sethome'
              - 'essentials.spawn'
              - 'essentials.warp'
              - 'essentials.msg'
              - 'essentials.jump'
              - 'essentials.list'
              - 'essentials.help'
              - 'essentials.ban'
              - 'essentials.kick'
    
    Trial Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - 'essentials.home'
              - 'essentials.sethome'
              - 'essentials.spawn'
              - 'essentials.warp'
              - 'essentials.msg'
              - 'essentials.jump'
              - 'essentials.ban'
              - 'essentials.time'
              - 'essentials.list'
              - 'essentials.tphere'
              - 'essentials.tp'
              - 'essentials.help'
              - 'essentials.kick'
              - 'essentials.butcher'
     
    users:
    superhykle:
            group: Trial Admins
            permissions:
    hm0123:
            group: Trusted Member
            permissions:
    werelofe:
            group: Trusted Member
            permissions:
    MagnusGL:
            group: Trusted Member
            permissions:
    MetroidFan180:
            group: Trusted Member
            permissions:
    Nokitch:
            group: Trusted Member
            permissions:
    Dennisnagh:
            group: Member
            permissions:
    ROBLOX2MINECRAFT:
            group: Member
            permissions:
    Luke_Is_1337:
            group: Member
            permissions:
    Teedalt:
            group: Member
            permissions:
    Hectormora:
            group: Member
            permissions:
    Msawchuk:
            group: Member
            permissions:
    Eastonch:
            group: Member
            permissions:
    Zokas1992:
            group: Member
            permissions:
    Jk1ller:
            group: Member
            permissions:
    Mad_vV:
            group: Member
            permissions:
    IPencil:
            group: Member
            permissions:
    Kamfy:
            group: Member
            permissions:
    Player1:
            group: Trial Admins
            permissions: 
    Ok my errors before are fixed but now i have new error XD the groups Default,Member and Trusted Member can use there commands but the group trial admins can't:S but i dont know what is wrong.. anyone knows?(player1=Trial admin)
     
  25. Offline

    NickBrahz

    You did not set and Inheritance!
    Use this instead
    --- merged: Feb 20, 2011 2:18 AM ---
    Ok so for my server, i set up the default rank to NOT be able to build, to prevent randoms coming on and griefing, though i would like them to be able to look around, but they are still able to build! here is how i have my permissions:

    Code:
     groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
     
  26. Offline

    Ben Allison

    How can I make it so that default/moderator can't give them self items (use /i,/item/give,) and so admins can.
    thanks
    great plugin
     
  27. Offline

    Nijikokun

    PLUGIN AUTHORS, PLEASE BE AWARE YOU WILL HAVE TO CHANGE YOUR CODE FOR THE NEW PERMISSIONS JAR AND BUKKIT RELEASE.

    Please be patient as we work on examples. If you are anxious and know quite a lot about bukkit, you use PLUGIN_ENABLE to do this to check when it has been loaded.
     
  28. Offline

    DoomBunnyPwn

    I assume you are using general?
    If so, then what you need to do is just not add the permission general.items to the mods. Admins, by default, have access to all commands, to change this simply take away the single asterisk and replace it with the nodes you want only admins to have.
     
  29. Offline

    Vorthas

    I tried to limit the essentials /time command to moderators and above, but even VIP's (a step below moderators but above default) can use it. Here's my set up:

    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: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.me'
        Moderator:
            default: false
            info:
                prefix: '&3Mod'
                suffix:
                build: true
            inheritance:
                - VIP
            permissions:
                - 'general.player-info'
                - 'SimpleWarp.removewarp'
                - 'SimpleWarp.warpto'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.chat.shout'
                - 'essentials.time'
        Admins:
            default: false
            info:
                prefix: '&4Admin'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
        VIP:
            default: false
            info:
                prefix: '&1VIP'
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.teleport'
                - 'general.teleport.here'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.setwarp'
                - 'SimpleWarp.listwarps'
                - 'essentials.msg'
                - 'essentials.help'
    ##
    # Vorthas, HomeLoaf, ben456123 have control over all commands
    # aamw1792 can use /tphere, /tp, /warp, /listwarps, /setwarp, /msg, /help, /time, /item, and /give + default commands
    # SPSspeedracer can use /tphere, /tp, /warp, /listwarps, /setwarp, /msg, and /help + default commands
    ##
    users:
        Vorthas:
            group: Admins
            permissions:
        HomeLoaf:
            group: Admins
            permissions:
        ben456123:
            group: Admins
            permissions:
        aamw1792:
            group: Moderator
            permissions:
        SPSspeedracer:
            group: VIP
            permissions:
     
  30. Offline

    ledhead900

    Derpriciated event
    CB 358+

    [WARNING] Using the stupidly long constructor com.nijikokun.bukkit.Permissions.Permissions(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of Permissions to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-20 15:47:18 [WARNING] Plugin 'Permissions' (ver 1.0) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.

    nagging!
     
  31. Offline

    SycoPrime

    MoveCraft now supports Permissions.
     
Thread Status:
Not open for further replies.

Share This Page