Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    saturnine_nl

    Sometimes you have to rule out the obvious. As I expected, a nice clean permissions.yml ...
    You could contact @TheYeti to discuss this bug. As this is a level above my current knowledge :confused:
    [MERGETIME="1300015479"][/MERGETIME]
    multiworld works as follows
    Code:
    /bukkitfolder
       /multi_worlds
           /world1
           /world2
           /world3
    
    /bukkitfolder
         /plugins
             /permissions
                 /multi_worlds
                       world1.yml
                       world2.yml
                       world3.yml
    
    
    As you can see the path to your worlds must be the same within the permissions folder,
    otherwise the permissions.yml file for that world could not be found and loaded.
    The /multi_worlds folder is optional, but I suggest to use a seperate folder structure to keep things nice and clean ...
     
  3. Offline

    olliepack

    Hi,
    I'm a little lost with this plugin and cant seem to get my head around the coding in the yml file. Basically, all I need is admin permissions for users: "thepack" and "white_flame" to be able to use all the commands for the following plugins: TPack, Citizens, creaturebox, SimpleWarp and fly, ridge, fly. Would someone be able to write a yml file for this please? lots of internets to the person who can!

    Many thanks.
     
  4. Offline

    4Soldier93

    Hey Thanks for the fast Help :)
    I try it now :p
     
  5. Offline

    TheDarkness73

    Wait, so if we want permissions for another world, we need to make a new yml file?
     
  6. Offline

    loli559

    hey everyone so i am fairly new with permissions and need some help, i ahve configured it all and dont know if it is right
    because whenever a player joins, it is made to go default, but they cannot edit block


    can someone plz help


    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'myhome.home'
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.msg'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'jail.modifyjail.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'myhome.*'
                - 'jail.command.jailcreate'
                - 'jail.command.jaildelete'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'jail.command.jailtransfer'
                - 'jail.command.jailtransferall'
                - 'jail.command.jailcheck'
                - 'jail.command.jailtelein'
                - 'jail.command.jailteleout'
                - 'jail.command.jaillist'
                - 'jail.command.unjailforce'
                - 'jail.command.jailclear'
                - 'jail.command.jailclearforce'
                - 'jail.command.jailbackup'
                - 'jail.usercmd.jailstatus'
    ##
    # MODS AND ADMINS
    ##
    users:
        jaggerbull:
            group: Admins
            permissions:
        j0zzy:
            group: Admins
            permissions:
        loli559:
            group: Admins
            permissions:
        robotman89:
            group: default
            permissions:
                
     
  7. Offline

    4Soldier93

    Doesnt work :(
    I have the same permissions like bevore.
    Permissions dont change the rules after i switch the world :(
     
  8. Offline

    TheDarkness73

    So, I have the yml renamed and set up for my world, but it wont work. Here is my yml and the server log message:

    Code:
    2011-03-13 14:05:20 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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:76)
    ... 8 more
    Caused by: mapping values are not allowed here
    in "<reader>", line 62, column 16:
    default: false
    ^
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    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.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:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:82)
    ... 13 more
    2011-03-13 14:05:20 [SEVERE] Could not load plugins\PermissionsSupport.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/elmakers/mine/bukkit/permission/PermissionHandler
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.elmakers.mine.bukkit.permission.PermissionHandler
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 11 more
    The text:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Exiled
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
         Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'eggplugin'
                - 'towny.town.claim
                - '- multiverse.portal.select'
                - '- multiverse.list'
                - '- multiverse.world.spawn'
                - 'bandages.use'
                - 'nSpleef.member'
                - 'lwc.protect'
                - 'findme.find.hideme'
                - 'findme.find.player'
                - mobRider.command.goto
                - 'mobRider.command.attack
                - 'mobRider.command.go
                - 'mobRider.command.stop
                - 'mobRider.players
                - 'mobRider.animals
                - 'mobRider.monsters
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.target'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
                - 'myhome.home.*'
                - 'plugman.list'
                - 'plugman.describe'
                - 'signColours.*'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
                - Activity_Coordinator
            permissions:
                - 'towny.nation.new'
                - '- multiverse.world.create'
                - '- multiverse.world.remove'
                - '- multiverse.world.import'
                - '- multiverse.tp'
                - '- multiverse.world.setspawn'
                - '- multiverse.portal.destination'
                - '- multiverse.portal.remove'
                - '- multiverse.portal.list'
                - 'nSpleef.admin'
                - 'lwc.mod'
                - 'myhome.*'
                - 'plugman.admin'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        TheDarkness73:
            group: Admins
            permissions:
        Crimsonflame:
            group: Exiled
            permissions:
        Vorthas_Kraeul
            group: Exiled
            permissions:
     
  9. Offline

    4Soldier93

    After "Exiled" you forget a double dot -> "Exiled:"
     
  10. Offline

    Nineza

    Try this:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Exiled:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    
         Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'eggplugin'
                - 'towny.town.claim
                - '- multiverse.portal.select'
                - '- multiverse.list'
                - '- multiverse.world.spawn'
                - 'bandages.use'
                - 'nSpleef.member'
                - 'lwc.protect'
                - 'findme.find.hideme'
                - 'findme.find.player'
                - 'mobRider.command.goto'
                - 'mobRider.command.attack'
                - 'mobRider.command.go'
                - 'mobRider.command.stop'
                - 'mobRider.players'
                - 'mobRider.animals'
                - 'mobRider.monsters'
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.target'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
                - 'myhome.home.*'
                - 'plugman.list'
                - 'plugman.describe'
                - 'signColours.*'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
                - Activity_Coordinator
            permissions:
                - 'towny.nation.new'
                - '- multiverse.world.create'
                - '- multiverse.world.remove'
                - '- multiverse.world.import'
                - '- multiverse.tp'
                - '- multiverse.world.setspawn'
                - '- multiverse.portal.destination'
                - '- multiverse.portal.remove'
                - '- multiverse.portal.list'
                - 'nSpleef.admin'
                - 'lwc.mod'
                - 'myhome.*'
                - 'plugman.admin'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        TheDarkness73:
            group: Admins
            permissions:
        Crimsonflame:
            group: Exiled
            permissions:
        Vorthas_Kraeul
            group: Exiled
            permissions:
    Also,
    Code:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
                - Activity_Coordinator
    
    That means Moderator is inheriting from Activity_Coordinator. You don't have a group called Activity_Coordinator? :/
     
  11. Offline

    saturnine_nl

    also try to prevent adding users to more then 1 group, it could really get messy if group B inherits group A
    and user X is member of group A and B ...
     
  12. Offline

    Triggjo2

    Thats how i set it up minus building rights where it says build= true after default change that to build= false
     
  13. Offline

    TheDarkness73

    So ir removed exile for now, didnt need it until l8r, but now, still notihng:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
         Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'eggplugin'
                - 'towny.town.claim
                - 'multiverse.portal.select'
                - 'multiverse.list'
                - 'multiverse.world.spawn'
                - 'bandages.use'
                - 'nSpleef.member'
                - 'lwc.protect'
                - 'findme.find.hideme'
                - 'findme.find.player'
                - 'mobRider.command.goto
                - 'mobRider.command.attack
                - 'mobRider.command.go
                - 'mobRider.command.stop
                - 'mobRider.players
                - 'mobRider.animals
                - 'mobRider.monsters
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.target'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
                - 'myhome.home.*'
                - 'plugman.list'
                - 'plugman.describe'
                - 'signColours.*'
                - 'monsterhunt.usercmd.hunt
                - monsterhunt.usercmd.huntscore'
                - monsterhunt.usercmd.huntstatus'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'towny.nation.new'
                - 'multiverse.world.create'
                - 'multiverse.world.remove'
                - 'multiverse.world.import'
                - 'multiverse.tp'
                - 'multiverse.world.setspawn'
                - 'multiverse.portal.destination'
                - 'multiverse.portal.remove'
                - 'multiverse.portal.list'
                - 'nSpleef.admin'
                - 'lwc.mod'
                - 'myhome.*'
                - 'plugman.admin'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        TheDarkness73:
            group: Admins
            permissions:
     
  14. Offline

    zaklampje

    Okey, u didn't respond my previous post, so I'll ask it again.


    This is my config file, called mythworld.yml:

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   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:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'permissions.reload'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        zaklampje:
            group: Default
            permissions:
    When I launch this, it just works... But when I destroy a block, it says:

    Code:
    2011-03-13 16:53:42 [INFO] Starting minecraft server version Beta 1.3
    2011-03-13 16:53:42 [WARNING] **** NOT ENOUGH RAM!
    2011-03-13 16:53:42 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-13 16:53:42 [INFO] Loading properties
    2011-03-13 16:53:42 [INFO] Starting Minecraft server on *:25565
    2011-03-13 16:53:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    2011-03-13 16:53:42 [INFO] Preparing level "mythworld"
    2011-03-13 16:53:42 [INFO] Preparing start region
    2011-03-13 16:53:43 [INFO] Preparing spawn area: 8%
    2011-03-13 16:53:44 [INFO] Preparing spawn area: 16%
    2011-03-13 16:53:45 [INFO] Preparing spawn area: 36%
    2011-03-13 16:53:46 [INFO] Preparing spawn area: 52%
    2011-03-13 16:53:47 [INFO] Preparing spawn area: 69%
    2011-03-13 16:53:48 [INFO] Preparing spawn area: 81%
    2011-03-13 16:53:49 [INFO] Preparing spawn area: 93%
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-13 16:53:50 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix)  loaded
    2011-03-13 16:53:50 [INFO] Done (0,831s)! For help, type "help" or "?"
    2011-03-13 16:54:17 [INFO] 143 recipes
    2011-03-13 16:54:17 [INFO] zaklampje [/127.0.0.1:1293] logged in with entity id 2098
    2011-03-13 16:54:38 [INFO] Loaded world: mythworld
    2011-03-13 16:54:38 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:656)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:309)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:370)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-13 16:54:49 [INFO] CONSOLE: Stopping the server..
    2011-03-13 16:54:49 [INFO] Stopping server
    2011-03-13 16:54:49 [INFO] [MonsterTamer]: version [1.2] (Companions) disabled
    2011-03-13 16:54:49 [INFO] [Permissions] version [2.5.3] (Phoenix) disabled successfully.
    2011-03-13 16:54:49 [INFO] Saving chunks
    
    Further, I can't use commands. It says I've got no permissions for that or something.

    ...
     
  15. Offline

    Nineza

    Did you even BOTHER to read what I wrote? :/
    Try this:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
         Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'eggplugin'
                - 'towny.town.claim
                - '- multiverse.portal.select'
                - '- multiverse.list'
                - '- multiverse.world.spawn'
                - 'bandages.use'
                - 'nSpleef.member'
                - 'lwc.protect'
                - 'findme.find.hideme'
                - 'findme.find.player'
                - 'mobRider.command.goto'
                - 'mobRider.command.attack'
                - 'mobRider.command.go'
                - 'mobRider.command.stop'
                - 'mobRider.players'
                - 'mobRider.animals'
                - 'mobRider.monsters'
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.target'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
                - 'myhome.home.*'
                - 'plugman.list'
                - 'plugman.describe'
                - 'signColours.*'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'towny.nation.new'
                - '- multiverse.world.create'
                - '- multiverse.world.remove'
                - '- multiverse.world.import'
                - '- multiverse.tp'
                - '- multiverse.world.setspawn'
                - '- multiverse.portal.destination'
                - '- multiverse.portal.remove'
                - '- multiverse.portal.list'
                - 'nSpleef.admin'
                - 'lwc.mod'
                - 'myhome.*'
                - 'plugman.admin'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        TheDarkness73:
            group: Admins
            permissions:
    
     
  16. Offline

    TheDarkness73

    Thanks. so what was wrong with mine, so I can know next time I edit it
     
  17. Offline

    Alex H

    this is teh terminal start-up i get when running my server and permisions is not getting loaded by my other programs HELP!!


    12:53:33 [INFO] Starting minecraft server version Beta 1.3
    12:53:33 [INFO] Loading properties
    12:53:33 [INFO] Starting Minecraft server on *:25565
    12:53:33 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-530-g6904501-b542jnks (MC: 1.3)
    12:53:33 [INFO] Preparing level "world"
    12:53:33 [INFO] Preparing start region
    12:53:34 [INFO] Preparing spawn area: 52%
    12:53:35 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 62, column 9:
    default: true
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 70, column 13:
    'tell'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.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.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:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:82)
    ... 13 more
    12:53:35 [INFO] Stargate v.0.24 is enabled.
    12:53:35 [INFO] [Stargate] {world} Loaded 17 stargates with 0 set as always-on
    12:53:35 [INFO] [Stargate] Permissions not loaded, using defaults
    12:53:35 [INFO] QuickBelt 0.1.1 loaded.
    12:53:35 [INFO] Done (0.191s)! For help, type "help" or "?"
    >
     
  18. Offline

    TheYeti

    That is saying that you have a YAML error on line 62 and line 70 of your config file. In actuality based on the error I would look at the line before it on each of them as you either didn't close a tag or put something that you shouldn't have there.

    That error is generally received when it can't find your permissions file. Are you sure that the level-name: from server.properties is mythworld? That would be my most likely guess based on the error you are receiving.
    [MERGETIME="1300038115"][/MERGETIME]
    First thing I notice is that you are giving Admins additional permissions beyond the - '*' This isn't needed as that is exactly what the * does, it gives that group all permissions. Next, your user robotman89 is listed as being in group: default, however, earlier you defined a Default group. Make sure you match the groups, it is case sensitive. Finally, my guess on why block breaking doesn't work is you don't have the config file named properly. Make sure you named the file the same as the level-name: from server.properties.
     
  19. Offline

    CallMeVlad911

    I am having some trouble getting permissions working.
    I am trying to get a few plugins working with it, and I am pretty sure I am not setting permissions properly.

    Specifically I'm trying to get Stargate v 0.23 working. B/c I couldn't get any suggestions on how to get Permissions working properly on that forum, I figure I'll check here next.
    There are some errors on my command line, and for the sake of space, I'm just going to attach it as a txt file. (I have very little familiarity with programming, so I apologize if my problem is obvious and has been answered before)

    Could someone post or upload a copy of their /groups file for permissions that works?
    I'm at the point where copy+paste is about all I think of to get my permissions file functional on my server.
    Any help is much appreciated : )
     

    Attached Files:

  20. Offline

    saturnine_nl

  21. Offline

    Alex H

    @ theyeti I cannot find the error, removed the comment lines and now the error says line four but i cant figure out whats wrong with it

    groups:
    Default:
    default:true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    'stargate.use'
    'tell'
    'kill'
    '?'
    'list'
    'me'
    'help'
    Moderator:
    default:'false'
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    'kick'
    'give'
    'tp'
    Admins:
    default:'false'
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Moderator
    permissions:
    'stargate.create'
    'stargate.destroy'
    'ban'
    'pardon'
    'ban-ip'
    'pardon-ip'


    users:
    hehe3301:
    group: defult
    permissions:
    'time'
    'stargate.hidden'
    'stargate.private'
    '*'
    Dailyarch:
    group: Admins
    permissions:
    wartex8:
    group: default
    permissions:
    Klink:
    group: Moderator
    permissions:
    namehere:
    group: default
    permissions:
    namehere:
    group: default
    permissions:
    namehere:
    group: default
    permissions:
    namehere:
    group: default
    permissions:
    namehere:
    group: default
    permissions:
     
  22. Offline

    zaklampje

  23. Offline

    Anoniempje

    arent you missing:
    Code:
    plugin:
        permissions:
            system: default
            copies: 
    ?
     
  24. Offline

    Alex H

    added that at the begining of the code now it says

    Caused by: mapping values are not allowed here
    in "<reader>", line 8, column 13:
    info:
    ^
     
  25. Offline

    zaklampje

    I think u have a tab in one line...
     
  26. Offline

    Alex H

    just checked the entire code.. tab free
    [MERGETIME="1300051269"][/MERGETIME]
    fixed it by downloading a vanilla copy of the permissions config file
     

    Attached Files:

  27. Offline

    Rietas

  28. Offline

    Black_Katana

    Is there a possible way to put the /give [player] [hex#] [#of] command into the permissions config? I have multiverse on my server, and i was wondering if i could make it so players could use the commands on some maps, but not others. possible?
     
  29. Offline

    runyet1

    Getting error code can send it to you if you need it is there anything wrong with it

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #  Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #  If this file is for your default world (the one in server.properties) then you must
    #  leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #  To make a group inherit the permissions from another
    #  group simply place the groups name in the "inheritance:" like so:
    #
    #  Example:
    #      inheritance:
    #          - Default
    ##
    #  All permissions including the asterisks must be placed in single quotes.
    #  like so:
    #
    #      - 'foo.bar'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'foo.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    #  If you give a group this permissions, do not have the group inherit any permissions
    #  from other groups.  Any users assigned to this group should NOT be given any additional
    #  permissions either.
    ##
    #  To exempt a node use the - prefix like so:
    #      - '-foo.bar'
    ##
    #  prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #  such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'MyHome'
                - 'CraftBook'
                - 'CraftBookCircuits'
                - 'CraftBookMechanisms'
                - 'CraftBookVehicles'
                - 'FenceStack'
                - 'CraftBook'
     
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'WorldEdit'
                - 'multiverse.world.create'
                - 'MyHome'
                - 'CraftBook'
                - 'CraftBookCircuits'
                - 'CraftBookMechanisms'
                - 'CraftBookVehicles'
                - 'FenceStack'
                - 'CraftBook'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # runyet is in the Admin group
    # ZackFFVIICC is a member of the Moderator group
    # Pokemondan11 is a member of the Moderator group
    # Videomaximum is a member of the Moderator group
    ##
    users:
        TheDarkness73:
            group: Admins
            permissions:
    
     
  30. Offline

    ethood1999

    Hello. I am a noob to Bukkit as I just started using it. I have done everything correctly in the settings and my server loads of perfectly fine, it's just that when I say something in chat, the correct prefix doesn't come up.

    Here's the snippet of the YML file for the settings for the group "Admins":
    Code:
        Admins:
            default: false
            info:
                prefix: 'Admin'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Originally, this is what it said in the YML file for my specific user (my username is ethood1999):
    Code:
        ethood1999:
            group: Admins
            permissions:
    but when that didn't show the prefix of "Admin" when I spoke in chat, I changed it to this:
    Code:
        ethood1999:
            group: Admins
            info:
                prefix: 'Admin'
                suffix: ''
            permissions:
    Both don't work. Please help. Excuse me if it's a simple fix, I'm just a noob.
     
  31. Offline

    glata

    Thanks, I realized I had white list enabled
     
Thread Status:
Not open for further replies.

Share This Page