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

    littleclaz

    ok guys im getting an error its annyoing me..
    it says
    Code:
    SEVERE: 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: mapping values are not allowed here
     in "<reader>", line 38, column 17:
                    info:
                        ^
    
    heres my config file in paste bin format
    http://pastebin.com/eGtDRG93
    thanks in advanced stephen
     
  3. Offline

    Mhalkyer

    I was told it was "Hexidecimal Colors", so you could look that up, but to be honest, just save the image! =D
     
  4. Offline

    Vogue

  5. Offline

    Etsijä

    OK, I'm testing the different "user profiles" on my server, and keep getting this

    Code:
    2011-01-25 21:15:10 [INFO] [PLAYER_COMMAND] Etsija: /kick
    25.1.2011 21:15:10 org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Essentials
    java.lang.ArrayIndexOutOfBoundsException: 1
            at org.bukkit.earth2me.essentials.EssentialsListener.onPlayerCommand(EssentialsListener.java:123)
            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)
    when trying to /kick when I belong to the Default group (which of course shouldn't be allowed), for which my settings for that group are:

    Code:
        Default:
            default: true
            info:
                prefix: '&f'
                suffix: '&f'
                build: false
            inheritance:
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.msg'
                - 'essentials.ping'
    However, typing /help on server seems to give me help for only the commands I've enabled in my permissions file for the group Default - so the permissions file is written & parsed properly, right? Anyone have any clue what this is?
     
  6. Offline

    Mhalkyer

    I used http://yaml-online-parser.appspot.com/ and found your problem quickly.
    Your 'info' section in the Default group isn't indented correctly and you needed spaces after ":". Here's a fixed verison:

    http://pastebin.com/tmn813KL

    Click download in the top right and save it for yourself =)
    --- merged: Jan 25, 2011 7:26 PM ---
    Post your config.yml also please =)
     
  7. Offline

    Gbhsl

    okay i have ichat installed and basically want to use the admin to get the colours to show up in my name, i think i have set up it up right but it's still not working can anyone shoe me what i'm 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:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix: '&1[&6Moderator&f]&2'
                suffix: '&5'
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix: '&1[&4Admin&f]&2'
                suffix: '&1'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        TheArchitect:
            group: Admins
            permissions:
    Thanks in advance
     
  8. Offline

    Mhalkyer

    I would update your Essentials plugin and post the error on it's thread. I saw other people had that issue, hopefully the plugin dev has figured it out.

    And yes, with Essentials /help only shows the commands you can run. He said he's redo'ing the help system tho, so that may change soon.
    --- merged: Jan 25, 2011 7:35 PM ---
    Your Permission/config.yml is correct, just make sure your /iChat/config.yml is configured the way you want. IE:
    Code:
    message-format: '[+prefix&f] +suffix+name&f: +message'
    The above block would look something like this (if prefix was red and suffix was blue):
    [Admin] Mhalkyer: Hi
     
  9. Offline

    Etsijä

    Oh sorry, you're right, the Java error really does point to an Essentials bug, not Permissions. Sry for the White Noise :).
     
  10. Offline

    Vogue

    Here it comes, config.yml :D
    Hope someone can help me..

    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:
            - 'myhome.home.basic.*'
            - 'lwc.protect'
            - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix:
                - 'A'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        JohnGotti:
            group: Admins
            permissions:
            - '*'
        Vogue.RSD:
            group: Admins
            permissions:
            - '*'
     
  11. Offline

    craftopia.net

    Straight from the dev's of bukkit.
     
    TehSeph likes this.
  12. Offline

    Mhalkyer

    Hmm, it's formatted correctly, but your Admin prefix should be like this:
    Code:
    prefix: 'A'
    Just 1 line is needed.
     
  13. Offline

    Xemnas33

    I'm confused. I used a link on the iConomy page to download SQL both MySQL and SQLlite but I get this error on startup

    PhysDB [v1.46] Outdated Database!
    PhysDB [v1.46]Upgrading from 1.00 to 1.10
    PhysDB [v1.46]Altering table "protections" and filling with default data
    PhysDB [v1.46] Oops! Something went wrong:
    java.sql.SQLException: file is encrypted or is not a database

    Then there's a load of lines which I can print screen if needed. It mentions lwc craftbukkit and database.

    Thought i'd ask here though as it's probably just something to do with an outdated database with any guess :p
     
  14. Offline

    Mhalkyer

    This doesn't really have anything to do with Permissions, I would just ask on the iConomy thread.

    Good luck man [​IMG]
     
  15. Offline

    jonahrab

    OMG how do i promote people! AAAAA
     
  16. Offline

    Vogue

    Uhm no one can help? Its still the same error :S

    Error output:
    http://pastebin.com/VwtGX4FV

    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:
            - 'myhome.home.basic.*'
            - 'lwc.protect'
            - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix:
                - 'A'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        JohnGotti:
            group: Admins
            permissions:
            - '*'
        Vogue.RSD:
            group: Admins
            permissions:
            - '*'
    Thanks in advance for any help..
     
  17. Offline

    Bobertbarker

    Can someone please help me? Im getting no errors, but no groups work, and no commands work, other than Worldedit, which works for EVERYONE. PLEASE help!
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Regular:
            default: false
            info:
                prefix:Reg
                suffix:Reg
                build:true
            inheritance:
                - Default
            permissions:
                - 'general.spawn'
            Admins:
            default: false
            info:
                prefix:Admin
                suffix:Admin
                build:true
            inheritance:
                - Default
            permissions:
                - '.general.*'
                - '*'
      
        users:
           Bobertbarker:
               group: Admins
               permissions:
               - '*'
           TheSleepyGene:
               group: Admins
               permissions:
               - '*'
            
       
     
  18. Offline

    Starrk

    None of your plugins work anymore...none. Please help, no commands work.
     
  19. Offline

    arcenion

    hey i have a really ugly problem with my config i testet it on this yml site and i always get the same error sorry for my bad english.

    here is the config 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:
        member:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.afk'
                - 'essentials.sell'
        mods:
            default: false
            info:
                prefix:'&d[&4Mod&d]&c'
                suffix:'&c'
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.afk'
                - 'essentials.sell'
                - 'essentials.nick'
                - 'essentials.kit.*'
                - 'essentials.help'
                - 'essentials.heal'
                - 'essentials.rules'
        Admins:
            default: false
            info:
                prefix:'&d[&4Admin&d]&c'
                suffix:'&c'
                build: true
            inheritance:
                - mods
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        arcenion:
            group: Admins
            permissions:
        Player:
            group: mods
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.afk'
                - 'essentials.sell'
                - 'essentials.nick'
                - 'essentials.kit.*'
                - 'essentials.help'
                - 'essentials.heal'
                - 'essentials.rules'
        XshadowstormX:
            group: mods
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.afk'
                - 'essentials.sell'
                - 'essentials.nick'
                - 'essentials.kit.*'
                - 'essentials.help'
                - 'essentials.heal'
                - 'essentials.rules'
     
  20. Offline

    littleclaz

    right using the stuff in the paste bin you posted me i cannot or any of my users do any of the commands :/

    it says in the console window unknown command.... also i want the admins to become pink but it isnt working either... also there is now group name either... its just playername :/
    what shall i doo

    EDIT:
    the plugins im using are:
    this...
    General
    WorldEdit
    WorldGuard
     
  21. Offline

    bwe95

    when i type a worldguard/worldedit command in it just says the usage and doesn't give me the item or whatever the command was for, does this on a few other plugins too...

    Example:
    I type: //wand
    comes back as: //wand usage: Gives you the "edit wand"
     
  22. Offline

    Mhalkyer

    You have to manually edit config.yml at the moment.

    I already answered your question! Your admin prefix should just be "prefix: 'a' "

    Try this, I fixed some of your errors:
    http://pastebin.com/CCceQhmb
     
  23. Offline

    Shamus03

    whenever i load the plugin, i get this error:
    Code:
    SEVERE: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java: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(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:81)
        ... 8 more
    Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 78, column 1:
            group: Admins
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        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.composeNode(Composer.java:132)
        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.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:62)
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:76)
        ... 13 more
    
    anyone know whats happening? I have the latest version of everything.
     
  24. Offline

    Bobertbarker

    I tried that code, and it still doesn't restrict anything. I think the reason MagicCarpet is restricted is because its actually version 1.3, even though it says its 1.4. and 1.3 uses its own permission system. Also, Defaults are able to build, and Admins don't get the Admin Prefix. Thanks in advance
     
  25. OMG THANK U SOOOO MUCK *KISS*
     
  26. Offline

    Bobertbarker

    Code:
    # Supports "system: default" and "system: GroupUsers"
    plugin:
        permissions:
            system: default
    groups:
        admins:
            default: false
            info:
                prefix: 'a'
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
                - '*'
        mods:
            default: false
            info:
                prefix: 'b'
                suffix:
                build: true
            inheritance:
                - regular
            permissions:
                - 'kick'
                - 'tp'
                - 'tphere'
                - 'item'
                - 'give'
                - 'tip'
                - 'time'
                - 'magiccarpet'
                - 'cuboid'
        regular:
            default: false
            info:
                prefix: 'c'
                suffix:
                build: true
            inheritance:
                - default
            permissions:
                - 'tpc'
                - 'tpchere'
                - 'sethome'
                - 'home'
        default:
            default: true
            info:
                prefix: 'f'
                suffix:
                build: false
            inheritance:
                - default
            permissions:
                - 'help'
                - 'spawn'
                - 'warp'
                - 'compass'
                - 'tell'
    
    users:
        Bobertbarker:
            group: default
            permissions:
    
        TheSleepyGene:
            group: admins
            permissions:
    
        VictorianGirl306:
            group: regular
            permissions:
    
        MarcoTheItalian:
            group: regular
            permissions:
    
        dude7474:
            group: regular
            permissions:
    
        bradenbaik:
            group: regular
            permissions:
    
        Bananaphophilly:
            group: regular
            permissions:
    
        colebaik:
            group: regular
            permissions:
    
        Nuklearjerky:
            group: regular
            permissions:
    
        Rimmish:
            group: regular
            permissions:
    
        Colorz:
            group: default
            permissions:
    
        DrShotgun:
            group: mods
            permissions:
    
        Kamau19:
            group: regular
            permissions:
    
        ghostarcher12:
            group: regular
            permissions:
    
        TehReeves:
            group: default
            permissions:
    
        Slobinitiate:
            group: regular
            permissions:
    
        twarbird:
            group: regular
            permissions:
    
        lonewalrusfilms:
            group: regular
            permissions:
    
        h2os1999:
            group: regular
            permissions:
    
        Grimaur:
            group: regular
            permissions:
    
        L_5p4ngl312:
            group: admins
            permissions:
    
        chrisklug:
            group: regular
            permissions:
    
    
    Ok so I used that converter from hey0 to bukkit, so I realize these commands will not work, but restriction still doesnt work. At least the commands work, but worldedit is usable by default, and default can also build. Also, the admins don't have the prefix
     
  27. Offline

    unya

    I seem to have a problem with permissions. I'm in the admin group but I can't use the commands. Anyone care to help out?
    Everything on the server is updated today.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'lwc.protect'
                - 'simpleshop.buy'
                - 'simpleshop.sell'
                - 'myhome.home.*'
                - 'myhome.home.soc.*'
               #worldedit/guard
                - '/locate'
    
        Moderator:
            default: false
            info:
                prefix: '&e☆-MOD-'
                suffix: '&6☆'
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.*'
                - 'iConomy.*'
                - 'lwc.mod'
                - 'simpleshop.*'
                - 'myhome.*'
               #worldedit
                - '/reloadwe'
                - '/worldeditselect'
                - '/worldedit'
               #worldguard
                - '/stopfire'
                - '/allowfire'
                - '/god'
                - '/heal'
                - '/slay'
                - '/stack'
                - '/region'
                - '/reloadwg'
    
        Admins:
            default: false
            info:
                prefix: '&d❤-ADMIN-'
                suffix: '&4❤'
                build: true
            inheritance:
                - Moderators
            permissions:
                - '*'
                - 'lwc.admin'
                - '/reloadwg'
    ##
    #
    #
    ##
    #users:
        unya:
            group: Admins
            permissions:
        user1:
            group: Moderators
            permissions:
        user2:
            group: Moderators
            permissions:
        user3:
            group: Moderators
            permissions:
        user4:
            group: Moderators
            permissions:
      
    
     
  28. Offline

    Louis_XIV

    Try removing the # at the beginning of the '#users:' line; that should do the trick.
     
  29. Offline

    KiloWhiskey

    A bit off topic, do the stars and hearts work in titles? and if so, what are the commands to add them? I'm editing with pico through ssh, but I can scp the file from windows if I need to add the symbols that way.
     
  30. Offline

    Bobv2

    What is the permission to use /pr? I have to reload the server every time I want to test a group without '*' permissions.
     
  31. Offline

    Louis_XIV

    Well, the reason that default users can build, even with build set to false, is probably because you need the Anti-Build mod. I'm not sure about the issue with the prefix though or what problems you're having with restrictions besides build privileges.
    --- merged: Jan 26, 2011 12:07 AM ---
    Try using 'permissions.*' as a permission for that group; haven't tested it, but it should work in theory, probably.
    Started using this last night, so I'm not 100% on this. >_>
    Edit: Just tested to make sure, and it works; the exact permission is 'permissions.reload'
    --- merged: Jan 26, 2011 12:25 AM ---
    ...this has been answered many times before, but this thread is getting a bit long, I can usually understand tl;dr, and most don't understand Java errors. So anyway, it's because you used tabs in your config file, when you should only use spaces.
     
Thread Status:
Not open for further replies.

Share This Page