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

    datLicht

    Hi,
    I need help with this plugin...

    First I started my server with this plugin, MyWarp, MyHome, Teleplus everything worked fine, now I installed IChat and restarted the server and nothing is working for me...

    That means:
    I can not give a command to the server (/pr will not work, every other command will disconnect me wit NullPointer Exception)

    thats what I'm getting using /pr :
    Code:
    Jan 26, 2011 9:51:54 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:281)
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:287)
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:323)
            at com.nijiko.permissions.Control.permission(Control.java:190)
            at com.nijikokun.bukkit.Permissions.Permissions$Listener.onPlayerCommand(Permissions.java:165)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
            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:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-26 09:51:54 [INFO] datLicht issued server command: pr
    2011-01-26 09:51:54 [INFO] Unknown console command. Type "help" for help.
    

    thats what I'm getting using /tp qjump :
    Code:
    2011-01-26 09:37:59 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:281)
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:287)
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:323)
            at com.nijiko.permissions.Control.permission(Control.java:190)
            at me.taylorkelly.teleplus.TelePermissions.permission(TelePermissions.java:42)
            at me.taylorkelly.teleplus.TelePermissions.toPlayer(TelePermissions.java:79)
            at me.taylorkelly.teleplus.TelePlus.onCommand(TelePlus.java:161)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:84)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:157)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:548)
            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:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    Remove iChat and AntiBuild seems not to solve the Problem...

    [EDIT] I added my config file as .txt format, on Server it is .yml [/EDIT]

    Please help me

    Greetz
    datLicht
     

    Attached Files:

  3. Offline

    TehSeph

    [EDIT] Nevermind... figured it out. :D

    In response to the above user, change
    Code:
    inheritance:
    - Default
    in VIP to:
    Code:
    inheritance:
    - Gast
    As you've changed the default user group to Gast, but forgot to change that portion.
    I made the same goof when renaming my "Moderator" group to "Mod" for easier user: adding.
     
  4. Offline

    Thendon

    I need help at setting permissions for the Essentials plugin..
    I added in the config this lines:

    Code:
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'essentials.*'
                - 'essentials.item'
    and
    Code:
        [I]myname[/I]:
            group: Admins
            permissions:
                - '*'
                - 'essentials.*'
                - 'essentials.item'
    But if i use the item command for example, i get the message "You do not have access to that command". What's wrong? [​IMG]
     
  5. Offline

    datLicht

    Hi TehSeph,
    was a stupid misstake.... I should better read my lines ;)

    thanks for your fast help
     
  6. Offline

    snam

    Please help me out with this . I've been sitting in 5 hours with this . Every time i start the server i get this error :

    Code:
    2011-01-26 11:58:51 [INFO] [General] version [1.9] (Yakuza) loaded
    2011-jan-26 11:58:51 org.bukkit.plugin.SimplePluginManager loadPlugins
    ALLVARLIG: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:83)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:81)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 36, column 5:
    Default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 65, column 6:
    Admins:
    ^
    
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:62)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    76)
    ... 13 more
    Creativ version 1.1 is enabled!
    2011-01-26 11:58:51 [INFO] [General] Permission system not enabled. Disabling pl
    ugin.
    2011-01-26 11:58:51 [INFO] [General] version [1.9] (Yakuza) disabled
    Kit version 1.5 is enabled!
    Noon (v1.2 by Feverdream) is on.
    2011-01-26 11:58:51 [INFO] Done! For help, type "help" or "?"
    Here i my config : http://pastebin.com/BVJMbQB0
     
  7. Offline

    chill1977

    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: '&8'
                suffix:
                build: false
            inheritance:
            permissions:
                - 'mywarp.warp.*'
        Vip:
            default: false
            info:
                prefix: '&a'
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Moderator:
            default: false
            info:
                prefix: '&1'
                suffix:
                build: true
            inheritance:
                - Vip
            permissions:
                - 'mywarp.*'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
        Owner:
            default: false
            info:
                prefix: '&d'
                suffix:
                build: true
            inheritance:
                -Admins
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    
        snam1997:
            group: Owner
            permissions:
        SourZ:
            group: Admins
            permissions:
    TRy that and tell me what you get.
    --- merged: Jan 26, 2011 11:35 AM ---
    It's also submitted on pastebin i believe
    --- merged: Jan 26, 2011 11:38 AM ---
    Did you copy and paste that code from somewhere into notepad then edit it to fit your needs? A lot of times it will turn the spaces into tabs and that wont work.
     
  8. Offline

    TehSeph

    np Litch, as I said, I too made the same mistake. lol
    Thendon, make sure your spaces and the order is correct. Also, could ya post your whole config?
    snam, what version of craftbukkit are you running? And, have you tried the above config from chill?
     
  9. Offline

    chill1977

    yeah might help to know if he got it working or not.
     
  10. Offline

    Thendon

    my whole 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:
                - 'general.spawn'
        VIP:
            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:
                - '*'
                - 'essentials.*'
                - 'essentials.item'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        THendon:
            group: Admins
            permissions:
                - '*'
                - 'essentials.*'
                - 'essentials.item'
    
        sk89q:
            group: Default
            permissions:
                - 'general.time'
     
  11. Offline

    mrtechguy

    FIXED: For all those who have errors like this, make sure all the spacing on your custom groups, etc is EXACT, apparently the plugin is somewhat pedantic about this.

    My config produces an error on Line 36 Col 5 which is the start of the default block

    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'
        shopmod:
            default: false
            info:
               build: true
           inheritance:
                   - Default
           permissions:
                    - 'simpleshop.items.remove'
                    - 'simpleshop.items.reload'
                    - 'simpleshop.items.add'
                    - 'simpleshop.items.update'
                    - 'iConomy.*'
                    - 'iConomy.deposit'
    
        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:
        mrtechguy:
            group: shopmod
            permissions:
        Dutchie_:
            group: shopmod
            permissions:
    
     
  12. Offline

    chill1977

    @Thendon, general and essentials both have a command for /items, it may be that 1 is causing a conflict with the other. The yml looks fine and looks like it is config correctly, so if those are all the commands you are needing then just take out the essentials and go with the general plugin. Also your inheritance for admins is mods , yet you dont have that group so really there is no inheritance there.
    --- merged: Jan 26, 2011 12:52 PM ---
    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'
        VIP:
            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:
                - VIP
            permissions:
                - '*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        THendon:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
    Thendon here is the new code without the essentials
     
  13. Offline

    Thendon

    Thanks, it works [​IMG]
     
  14. Offline

    chill1977

    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'
        shopmod:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'simpleshop.items.remove'
                - 'simpleshop.items.reload'
                - 'simpleshop.items.add'
                - 'simpleshop.items.update'
                - 'iconomy.*'
                - 'iconomy.deposit'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
            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:
        mrtechguy:
            group: shopmod
            permissions:
        Dutchie_:
            group: shopmod
            permissions:
    Mrtechguy, here you go, the problem was in the spacing and some missing parts ;)

    NP Thendon
     
  15. Offline

    Phanku

    It seems to me that this wonderful "easy to use" Yalm based user permissions seem more complicated than originally thought. The last like 2-3 pages is nothing but people saying I can't figure these out or I can't get them right. Just out of curiosity is there any reason it was decided to use yalm? Wouldn't Json been way easier?
     
  16. Offline

    chill1977

    yeah, it's not that hard, it's just picky, most of the problems is with spacing and easy stuff
     
  17. Offline

    Phanku

    Json isn't picky as it ignores most whitespace. All you need to do is have the brackets and the colons in the right place.
     
  18. Offline

    wormy217

    can you make it so that the plugin reloads the permissions every time the command to add or remove is used?
     
  19. Offline

    chill1977

    and you can not skip lines in the code or it will error as above mrtechguy's problem was a line jump after the shopmod permissions :)
     
  20. Offline

    Draconicus

    None of my players can use /me. Any idea?
    We have GroupUsers, but it has everyone set on "*" to nullify the controls.
    I even tried adding '/me' to the default group. Is this a problem with General?
     
  21. Offline

    chill1977

    no problems here using permissions
    --- merged: Jan 26, 2011 2:20 PM ---
    anyone know where to put the general.exempt.usage and placing for Guardian in the permissions file?
     
  22. Offline

    ias

    hello all who read this,

    i got always thes problem:

    on my server all not definated users dont go into the default group.
    as user i can build but no command works.
    I use essentials, WorldEdit and WorldGuard
    here is the config.


    thx for help and sorry for my bad english.
     

    Attached Files:

  23. Offline

    Dysalot

    This gives everyone a brief glimpse into one frustration in coding as I mentioned on the previous page. Looking endlessly for a mistake that is causing problems, only to find it is something very trivial seeming. Like an extra space, or forgotten ':'

    Almost every error has been a minor mistake.
     
  24. Offline

    Miech

    I keep wondering why plugin makers aren't using XML for their configurations. Pretty hard to screw up XML and there are some fantastic parsers out there.
     
  25. Offline

    chill1977

    To start with your admins need to inherate from the vip, not that that would really matter, but your essential config yml would be needed to figure this out as well, as this permission file is ok
     
  26. Offline

    alexanderpas

    what I seem to be missing (or I'm not looking correctly) in this plugin, is the ability to explicitly DENY a permission, while allowing the all others from that group
    EXAMPLE:
    ALLOW everything from general.*
    but DENY general.spawn.set
     
  27. Offline

    PandaVidya

    can someone explain what im doing wrong?

    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: Member
                prefix: Member
                suffix:
                build: true
            inheritance: 
            permissions:
                - 'general.spawn'
        Moderator: Moderator
            default: false
            info: Moderator
                prefix: Moderator
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins: Admin
            default: false
            info: Admin
                prefix: Admin
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # PandaVidya has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        PandaVidya:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
     
  28. Offline

    causs

    Hello,

    I have one question regarding this mod. As an admin, can I place/remove players in/from groups ingame? If so, what is the command line?
     
  29. Offline

    Louis_XIV

    Not yet, hasn't been implemented; but here's to hoping it does. The official craftbukkit implementation of permissions will have it via feature #36, but I'm not sure when that will be finished. Either way, we'll have commands to do that soon.
     
  30. Offline

    causs

    Thank you very much!
     
  31. Offline

    Louis_XIV

    On the line 'Moderator: Moderator' change it to just 'Moderator:' and 'Admins: Admin' to just 'Admins:'. That should fix it, everything else looks ok.
     
Thread Status:
Not open for further replies.

Share This Page