[ADMN/DEV] PermissionsBukkit v2.0 - Official Default Groups Plugin [1.5.2-R1.0]

Discussion in 'Archived: Plugin Releases' started by SpaceManiac, Jul 17, 2011.

  1. Offline

    SpaceManiac

    PermissionsBukkit - the Official Default Groups Plugin
    Current Version: v2.0
    Find PermissionsBukkit on BukkitDev!

    If you are getting a specific error or cannot determine what is wrong with your permissions file, filing a ticket on BukkitDev will make me much more likely to respond to you; general questions are best to ask in this thread or on the forums on BukkitDev.

    It's been a long time coming, but with the accomplishment of build 1000 Bukkit has finally accomplished a built-in Permissions system (codenamed Superperms). For more info on how they work, and how to integrate them with your plugin, see the official Permissions FAQ. Keep in mind that you should rarely, if ever, have to hook this plugin directly; instead keep things in the realm of checking player.hasPermission("yourplugin.node"). The FAQ thread has more info on how to use Superperms with things like chat prefixes/suffixes.

    Features:
    • Storage of users and groups in plugins/PermissionsBukkit/config.yml.
    • Both users and groups can be assigned individual permissions and parent groups to inherit permissions from.
    • Support for global and per-world permissions.
    • Reload configuration from file with out reloading the plugin.
    • Ability to check if a player has a specific permission node.
    • Ability to dump all permissions a player has and the plugins that set them.
    • Ability to print plugin, description, and default for a given permission node.
    • Ability to modify the permissions of groups and users and the groups of a user in-game.
    • Built-in antibuild via the "permissions.build" node (defaults to allowing anyone to build).
    • A minimalistic bridge from Permissions 3.0 to Superperms is available as a separate plugin, which does not depend on PermissionsBukkit.
    Command Usage:

    Show Spoiler
    PermissionsBukkit uses the command /permissions, with aliases /perms and /perm.

    /permissions reload - reload the configuration from disk.
    /permissions check <node> [player] - check if a player or the sender has a permission (any plugin).
    /permissions info <node> - prints information on a specific permission.
    /permissions dump [player] [page] - prints info about a player's (or the sender's) permissions.
    /permissions setrank <player> <group> - set a player to be in a group with per-group permissions.
    /permissions group - list group-related commands.
    /permissions group list - list all groups.
    /permissions group players <group> - list players in a group.
    /permissions group setperm <group> <[world:]node> [true|false] - set a permission on a group.
    /permissions group unsetperm <group> <[world:]node> - unset a permission on a group.
    /permissions player - list player-related commands.
    /permissions player groups <player> - list groups a player is in.
    /permissions player setgroup <player> <group,...> - set a player to be in only the given groups.
    /permissions player addgroup <player> <group> - add a player to a group.
    /permissions player removegroup <player> <group> - remove a player from a group.
    /permissions player setperm <player> <[world:]node> [true|false] - set a permission on a player.
    /permissions player unsetperm <player> <[world:]node> - unset a permission on a player.

    All commands have in-game help and are usable from the server console.

    Configuration:
    Show Spoiler
    A permission node is a string like 'permissions.build', usually starting with the name of the plugin. Refer to a plugin's documentation for what permissions it cares about. Each node should be followed by true to grant that permission or false to revoke it, as in 'permissions.build: true'. Some plugins provide permission nodes that map to a group of permissions - for example, PermissionsBukkit has 'permissions.*', which automatically grants permissions for all PermissionsBukkit commands. You can also specify false for permissions of this type.

    Users inherit permissions from the groups they are a part of. If a user is not specified here, or does not have a 'groups' node, they will be in the group 'default'. Permissions for individual users may also be specified by using a 'permissions' node with a list of permission nodes, which will override their group permissions. World permissions may be assigned to users with a 'worlds:' entry.

    Groups can be assigned to players and all their permissions will also be assigned to those players. Groups can also inherit permissions from other groups. Like user permissions, groups may override the permissions of their parent group(s). Unlike users, groups do NOT automatically inherit from default. World permissions may be assigned to groups with a 'worlds:' entry.

    The cannot-build message is configurable. If it is left blank, no message will be displayed to the player if PermissionsBukkit prevents them from building, digging, or interacting with a block. Use '&' characters to signify color codes.

    An example configuration file might look like this:
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    

    Permissions:
    Show Spoiler
    PermissionsBukkit checks for the following permission nodes:
    • permissions.build - Allows a player to build. Defaults to true.
    • permissions.help - Allows viewing of usage for /permissions.
    • permissions.reload - Allows use of /permissions reload.
    • permissions.check - Allows use of /permissions reload.
    • permissions.info - Allows use of /permissions reload.
    • permissions.dump - Allows use of /permissions reload.
    • permissions.group.help - Allows viewing of usage for /permissions group.
    • permissions.group.list - Allows use of /permissions group list.
    • permissions.group.players - Allows use of /permissions group players.
    • permissions.group.setperm - Allows use of /permissions group setperm.
    • permissions.group.unsetperm - Allows use of /permissions group unsetperm.
    • permissions.player.help - Allows viewing of usage for /permissions player
    • permissions.player.groups - Allows use of /permissions player groups.
    • permissions.player.setgroup - Allows use of /permissions player setgroup.
    • permissions.player.addgroup - Allows use of /permissions player addgroup.
    • permissions.player.removegroup - Allows use of /permissions player removegroup.
    • permissions.player.setperm - Allows use of /permissions player addgroup.
    • permissions.player.unsetperm - Allows use of /permissions player removegroup.
    Also, the following parent nodes are provided for convenience:

    • permissions.* - Maps to permissions.help, .reload, .check, .info, .dump, and to permissions.group.* and permissions.player.*. Defaults to op.
    • permissions.group.* - Maps to permissions.group.help, .list, .players, .setperm, and .unsetperm.
    • permissions.player.* - Maps to permissions.player.help, .groups, .setgroup, .addgroup, .removegroup, .setperm, and .unsetperm.


    Frequently Asked Questions:
    1. Where are my * nodes? (open)
    Bukkit's Superperms has no built-in concept of a global '*' node that automatically gives all permissions, which is intentional - a player can instead be given all permissions by being given 'op' status (that is, listed in ops.txt). Additionally, individual plugins define a parent node (which could be 'pluginname.*' or 'pluginname.all' or anything else) which maps to whatever subpermissions in that plugin the author desires.

    An example is PermissionsBukkit, which provides three such permissions: 'permissions.group.*' for all /permissions group commands, 'permissions.player.*' for all /permissions player commands, and'permissions.*' for all /permissions commands (including permissions.group.* and permissions.player.*).

    If you are using SuperpermsBridge, you can do something similar to '*' nodes for plugins which use Permissions 2.7/3.1 - see the next FAQ for more information.
    2. How do I use SuperpermsBridge? (open)
    SuperpermsBridge is kind of like FakePermissions for GroupManager or PermissionsBridge for PermissionsEx. Once it's installed, it pretends to be the Permissions plugin and converts any plugins that use Permissions 2.7 or Permissions 3.1 to use Superperms instead.

    You can have PermissionsBukkit without SuperpermsBridge or SuperpermsBridge without PermissionsBukkit if you like, but both of these are limited in functionality. If you install SuperpermsBridge without PermissionsBukkit you will not be able to make use of PermissionsBukkit's groups feature or admin commands, and if you install PermissionsBukkit without SuperpermsBridge, plugins that have not updated to use Superperms directly will not function.

    For plugins that use Permissions 2.7/3.1, you can use the special node 'superpermbridge.*' to give the equivalent of what used to be the '*' node for plugins that do not use Superperms directly. If you don't want to give the * node, you can also use the node 'superpermbridge.pluginname' to do the equivalent of what used to be the 'pluginname.*' node. Once again, these only apply to plugins that SuperpermsBridge handles and not to plugins using Superperms directly.
    3. How do I use the root permissions.yml? (open)
    The file 'permissions.yml' in the root of your server can be used to set up custom parent permissions. Parent permissions are a single node that, when given to a player or group, automatically give all their children node. Here's a simple example:
    Code:
    server.basics:
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    
    Now, if you give a player the node 'server.basics', they automatically get all the nodes listed here. Children may also say 'false' instead of 'true', in which case giving the parent will remove the child instead of giving it.

    You can also specify a description if you like, which can be used by plugins to provide information on your node (such as PermissionsBukkit's /perm info command). If you want, you can also provide a default, which can be one of "true", "false", "op", or "notop". CraftBukkit will automatically assign everyone, no one (default), ops, or non-ops the children permissions based on the specified default. Without any plugin like PermissionsBukkit, you can use this defaults system as a limited way to assign people permissions. Here's a more complex example:
    Code:
    server.basics:
        description: Basic permissions for My Cool Server.
        default: true
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    server.admin:
        description: Admin permissions for My Cool Server.
        default: op
        children:
            commandbook.broadcast: true
            commandbook.teleport: true
            commandbook.kick: true
            commandbook.ban: true
    
    You can also define permissions without children, but this is of limited usefulness in permissions.yml (though is important in plugin.yml; see question #6)
    4. How do I switch from (other Permissions plugin)? (open)
    Depends on the Permissions plugin! If you were using PEX's YAML backend, I have a converter done and available on the PermissionsBukkit Tools page. Also available on the tools page is an automatic converter for Essentials GroupManager users.yml and groups.yml files. Automatic converters for Permissions 2.7 and 3.x are on their way, but in the meantime you can still convert your configurations manually.
    5. Where are prefixes and suffixes (or option nodes)? (open)
    Bukkit Superperms has no built-in prefix/suffix settings or non-boolean permission nodes, so individual chat plugins will have to start supporting Superperms in order to make use of non-Permissions-plugin based prefixes and suffixes. Herochat, iChat, and Simple Suffix are all aware of the Superperms update, but in the meantime you can use mChat, which already supports Superperms.

    Once you install mChat and configure the mchat.prefix, mchat.suffix, and mchat.group names in its configuration file (see the example), use PermissionsBukkit to give players or groups the permissions "mchat.prefix.admin", replacing "admin" with whatever node you configured. For example, with an mchat configuration that looks similar to this:
    Code:
    da-name-format: '+prefix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+name&f: +message'
    mchat:
        prefix:
            admin: '&4DtK [SO] &7 '
            sadmin: '&9DtK [SA] &7 '
            jadmin: '&aDtK [JA] &7  '
            member: '&cDtK [M] &7 '
    
    You can assign players or groups the mchat.prefix.admin node to get the "SO" prefix, mchat.prefix.sadmin to get the "SA" prefix, and so on.
    6. (Coders) How do I set up my plugin.yml? (open)
    Take a look at this post in Dinnerbone's FAQ for an example. This is a lot like the setup of permissions.yml (see above), but you can also define non-parent permissions (just include description and default and leave out children).
    7. Is PermissionsBukkit outdated? (open)
    No! PermissionsBukkit 2.0 was last updated for 1.3.1-R2.0, is verified to work on 1.4.7-R1.0, and is unlikely to break on future releases.

    Downloads:
    Current Version:

    PermissionsBukkit v2.0 (jar) (details)
    Old Versions:
    PermissionsBukkit v1.6 (jar) (details)

    [​IMG]

    Changelog:

    Friday 7 September 2012 (2.0)
    • Fixed a case-sensitivity issue with setting per-world permissions that could cause some permissions to fail to apply.
    • Added /perm setrank <player> <group> subcommand (alias rank) with per-group permissions (permissions.setrank and permissions.setrank.<group>)
    • Added plugin metrics via http://mcstats.org/plugin/PermissionsBukkitMCStats (disableable in plugins/PluginMetrics/config.yml)
    Wednesday 29 February 2012 (1.6)
    • Fixed some massive issues that were caused due to having uploaded a buggy, in-development version instead of 1.5.
    • Note: If your configuration was messed up as a result of this issue, the new build should gradually correct it as needed.
    Saturday 25 February 2012 (1.5b)
    • Revamped to be compatible with R5.
    • Fixed issues with permissions not carrying properly on world change.
    • Many internal improvements for performance and stability.
    • SuperpermsBridge: in honor of R5 removing deprecated code, SuperpermsBridge is officially gone!
    Monday 18 July 2011 (1.1/1.2)
    • Fix BukkitContrib incompatibility issues.
    • Improved the output of the /perm check command.
    • Fixed issues when 'users:' is not specified in the config file.
    • Fixed the /permissions reload command.
    • SuperpermsBridge: improve wildcard handling; in addition to 'superpermbridge.*' and 'superpermbridge.pluginname', now supported are 'superpermbridge.plugin.*', 'superpermbridge.plugin.subnode.*', and so on.
    Monday 18 July 2011 (1.0/1.1)
    • SuperpermsBridge: adding the special 'superpermbridge.*' and 'superpermbridge.pluginname' nodes (see #2 in the FAQ for details).
    Sunday 17 July 2011 (1.0/1.0)

    • Initial release of PermissionsBukkit v1.0 and SuperpermsBridge v1.0.
     
    madmac, Gesundheit, tripleX and 23 others like this.
  2. Offline

    Gravity

    If you want issues to actually get fixed, say what they are.
    "wont work" and "errors" are about as vague as you could possibly get.
    And for future reference, the original permissions plugin ssssuuucccckkeedddd!
     
  3. Offline

    Pintrix

    Hello!
    I'm having trouble with my permissions (can't use any command and everybody seems to be member of the 'default' group), probably some wrong indention in the config, but I can't find where. Here it is:
    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    users:
      Pintrix:
        groups:
        - admin
      I_need_a_muffin:
        groups:
        - administrator
      LazerOLazer:
        groups:
        - administrator
      Beremans:
        groups:
        - administrator
      Kaboem:
        groups:
        - administrator
      Riki115:
        groups:
        - administrator
      Superhero6:
        groups:
        - administrator
      Zeefir:
        groups:
        - administrator
      Adeni_Oraston:
        groups:
        - administrator
      Pjeeeeeee:
        groups:
        - administrator
        permissions:
          essentials.socialspy: true
      Drubbels:
        groups:
        - administrator
        permissions:
          essentials.socialspy: true
          falsebook.blocks.bridge: true
      Booneskidz:
        groups:
        - administrator
      pintrix:
        permissions:
          falsebook.blocks.bridge: true
      beremans:
        permissions:
          essentials.nuke: false
          essentials.nick: false
      tristan3212:
        groups:
        - administrator
      tuuuurie:
        groups:
        - administrator
      eagle3212:
        groups:
        - administrator
    groups:
      default:
        permissions:
          permissions.build: true
          Essentials.*: true
      admin:
        permissions:
          permissions.*: true
          Essentials.*: true
          worldedit.*: true
          chestrestock.*: true
          chestrestock.cmd.create: true
          chestrestock.cmd.*: true
          giftpost.*: true
          worldportal.*: true
          vanish.*: true
          mobdisguise.*: true
          falsebook.blocks.*: true
          falsebook.anyic: true
          chestrestock.cmd.help: true
          falsebook.destroy.bridge: true
          falsebook.destroy.blocks: true
          chestrestock.cmd.set: true
          chestrestock.cmd.restock: true
      user:
        permissions:
          permissions.build: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - default
      administrator:
        permissions:
          permissions.*: true
          Essentials.*: true
          worldedit.*: true
          chestrestock.*: true
          chestrestock.cmd.create: true
          giftpost.*: true
          worldportal.*: true
          vanish.*: true
          essentials.socialspy: false
          falsebook.anyic: true
          falsebook.blocks.*
          falsebook.destroy.bridge: true
          falsebook.destroy.blocks: true
          chestrestock.cmd.restock: true
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    
    Hope someone can find the problem !
     
  4. Offline

    Snowy007


    Found 2 problems.
    - Pintrix and Beremans where listed under the users 2 times. One of the instances with only a group and the other with only permissions.
    - At the very bottom, 'falsebook.blocks.*' didn't had 'true' or 'false' behind it.
    Here is a fixed version:

    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    users:
      Pintrix:
        groups:
        - admin
        permissions:
          falsebook.blocks.bridge: true
      I_need_a_muffin:
        groups:
        - administrator
      LazerOLazer:
        groups:
        - administrator
      Beremans:
        groups:
        - administrator
        permissions:
          essentials.nuke: false
          essentials.nick: false
      Kaboem:
        groups:
        - administrator
      Riki115:
        groups:
        - administrator
      Superhero6:
        groups:
        - administrator
      Zeefir:
        groups:
        - administrator
      Adeni_Oraston:
        groups:
        - administrator
      Pjeeeeeee:
        groups:
        - administrator
        permissions:
          essentials.socialspy: true
      Drubbels:
        groups:
        - administrator
        permissions:
          essentials.socialspy: true
          falsebook.blocks.bridge: true
      Booneskidz:
        groups:
        - administrator
      tristan3212:
        groups:
        - administrator
      tuuuurie:
        groups:
        - administrator
      eagle3212:
        groups:
        - administrator
    groups:
      default:
        permissions:
          permissions.build: true
          Essentials.*: true
      admin:
        permissions:
          permissions.*: true
          Essentials.*: true
          worldedit.*: true
          chestrestock.*: true
          chestrestock.cmd.create: true
          chestrestock.cmd.*: true
          giftpost.*: true
          worldportal.*: true
          vanish.*: true
          mobdisguise.*: true
          falsebook.blocks.*: true
          falsebook.anyic: true
          chestrestock.cmd.help: true
          falsebook.destroy.bridge: true
          falsebook.destroy.blocks: true
          chestrestock.cmd.set: true
          chestrestock.cmd.restock: true
      user:
        permissions:
          permissions.build: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - default
      administrator:
        permissions:
          permissions.*: true
          Essentials.*: true
          worldedit.*: true
          chestrestock.*: true
          chestrestock.cmd.create: true
          giftpost.*: true
          worldportal.*: true
          vanish.*: true
          essentials.socialspy: false
          falsebook.anyic: true
          falsebook.blocks.*: true
          falsebook.destroy.bridge: true
          falsebook.destroy.blocks: true
          chestrestock.cmd.restock: true
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
     
  5. Can you add prefix to this?
     
  6. Offline

    Pintrix

    Thanks Snowy !
     
  7. Offline

    Snowy007

    Use another plugin for that. I use'SimplePrefix' but there are other possibilities.

    No problem.
     
  8. Offline

    xSn4k3x

    Is there a way to change the default group to something other than "default?" It's kind of tedious to have to change every new person's group when they log in. Thanks
     
  9. Offline

    Snowy007

    I don't see your problem... its not like 'default' is actually shown in-game or anything. Just give all permissions new people need to the default group.
    And no, its not possible to have another group be the default because of what i just said. Its not needed if you use it right.
     
  10. Offline

    lemmonmd

    I am getting this error when trying to change a users group:

    2012-06-12 13:23:08 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.6
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at com.platymuus.bukkit.permissions.PermissionsCommand.createPlayerNode(PermissionsCommand.java:400)
    at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:301)
    at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:152)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)


    HERE IS MY CONFIG.YML:

    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    users:
    lemmonmd:
    permissions:
    permissions.player.*: true
    permissions.group.*: true
    permissions.*: true

    groups:
    - admin
    kolaracdn:
    permissions:
    permissions.player.*: true
    permissions.group.*: true
    permissions.*: true

    groups:
    - admin
    LaQJunkez:
    permissions:

    groups:
    - moderator
    groups:
    default:
    permissions:
    admin:
    permissions:
    - 'permissions.*'
    - 'commandbook.*'
    inheritance:
    - moderator
    - user
    moderator:
    permissions:
    - 'permissions.player.*'
    - 'commandbook.*'
    inheritance:
    - user
    user:
    permissions:
    - 'commandbook.who'
    - 'commandbook.motd'
    - 'commandbook.rules'
    - 'commandbook.time.check'
    - 'commandbook.say.me'
    - 'commandbook.msg'
    - 'commandbook.mute'
    - 'commandbook.whereami'
    - 'commandbook.clear'
    - 'commandbook.whois'
    - 'commandbook.bans.isbanned'
    - 'myhome.home.basic.home'
    - 'myhome.home.basic.set'
    - 'myhome.home.basic.delete'
    - 'permissions.build'
    worlds:
    creative:
    coolplugin.item: true
    inheritance:
    - default
    messages:
    build: '&cYou do not have permission to build here.'
    debug: false
     
  11. Offline

    Snowy007

    Please put configs in code tags next time, indention is really important with these things and if you just paste them here like this, i can't check if the indention is correct. Its also a lot harder to read this way.
    I can already tell you though that there are 3 empty lines in the config. Never use empty lines.
     
  12. Offline

    freaky3000

    Is there a way that a mod can change players groups? But not be albe to change himself to a higher rank. For instance if i use permissions.player.setgroup, then the mod can access all the groups(default,mod,admin, ...). I tried to create permissions.player.setgroup.default, permissions.player.setgroup.builder but that doesn't work.
     
  13. Offline

    Snowy007

    Unfortunately not. Yes i think its stupid.
     
  14. Thanks! :D
     
  15. Offline

    codiack01

    Could someone take a look at this and see if there is an error anywhere? when we try to type /permissions we get the following error "An internal error occured when trying to perform this command." All of the permissions commands give the same error. We had it working fine with some basic stuff and the errors only occured after we finished the file. (This is the finished file) Any assistance would be awesome. weve been trying to figure it out ourselves for several days now.
    [Please note that we put conspiriacywizard in suers and the ser group (used to be user) in just to check the spacing ourselves. copied it from the sample config file in this post.
    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        codiack01:
            groups:
            - god
        alistair2511:
            groups:
            - user
        noobhedz:
            groups:
            - seraph
        b4beta:
            groups:
            - seraph
        synomonia:
            groups:
            - seraph
        killercies:
            groups:
            - hero
        vinnie2co:
            groups:
            - hero
        steadyslayer:
            groups:
            - hero
        jaded:
            groups:
            - seraph
        dragoonofchaos:
            groups:
            - VIP
        procsteady:
            groups:
            - seraph
    groups:
        ser:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
        god:
            permissions:
                permissions.*: true
                essentials.*: true
        seraph:
            permissions:
                permissions.*: true
                essentials.*: true
        hero:
            permissions:
                permissions.*: true
                essentials.kick: true
                essentials.tempban: true
                essentials.tempban.offline: true
                essentials.gamemode: true
                essentials.togglejail: true
                essentials.invsee: true
                essentials.sethome.multiple.unlimited: true
                essentials.warp.*: true
                essentials.clearinventory: true
                essentials.gc: true
                essentials.broadcast: true
                essentials.ext: true
                essentials.tp: true
                essentials.tphere: true
                essentials.mute: true
                essentials.jails: true
                essentials.weather: true
                essentials.spawnmob.*: true
            inheritance:
            - assasin
        assasin:
            permissions:
                essentials.warp.[assasin_cave]: true
            inheritance:
            - VIP
        VIP:
            permissions:
                essentials.sethome: true
                essentials.home: true
                permissions.build: true
                essentials.compass: true
                essentials.depth: true
                essentials.ignore: true
                essentials.mail: true
                essentials.me: true
                essentials.msg: true
                essentials.tell: true
                essentials.r: true
                essentials.spawn: true
                essentials.list: true
                essentials.who: true
                essentials.help: true
                essentials.rules: true
                essentials.balance: true
                essentials.helpop: true
                essentials.info: true
                essentials.motd: true
                essentials.afk: true
                essentials.tpa: true
                essentials.tpahere: true
                essentials.tpaccept: true
                essentials.tpadeny: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.disposal: true
                essentials.signs.use.enchant: true
                essentials.signs.use.free: true
                essentials.signs.use.gamemode: true
                essentials.signs.use.heal: true
                essentials.signs.use.kit: true
                essentials.signs.use.mail: true
                essentials.signs.use.protection: true
                essentials.signs.use.sell: true
                essentials.signs.use.spawnmob: true
                essentials.signs.use.time: true
                essentials.signs.use.trade: true
                essentials.signs.use.warp: true
                essentials.signs.use.weather: true
                essentials.bigtree: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.sethome.multiple.[3]: true
                essentials.warp.[biome_arena]: true
                essentials.warp.[deasert_arena]: true
                essentials.warp.[arcadia]: true
                essentials.signs.create.heal: true
                essentials.signs.create.disposal: true
                essentials.signs.create.mail: true
                essentials.kit.[VIP]: true
                essentials.warp.list: true
            inheritance:
            - users
        users:
            permissions:
                permissions.build: true
                essentials.compass: true
                essentials.depth: true
                essentials.ignore: true
                essentials.mail: true
                essentials.me: true
                essentials.msg: true
                essentials.tell: true
                essentials.r: true
                essentials.spawn: true
                essentials.sethome: true
                essentials.home: true
                essentials.list: true
                essentials.who: true
                essentials.help: true
                essentials.rules: true
                essentials.balance: true
                essentials.helpop: true
                essentials.info: true
                essentials.motd: true
                essentials.afk: true
                essentials.tpaccept: true
                essentials.tpadeny: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.disposal: true
                essentials.signs.use.enchant: true
                essentials.signs.use.free: true
                essentials.signs.use.gamemode: true
                essentials.signs.use.heal: true
                essentials.signs.use.kit: true
                essentials.signs.use.mail: true
                essentials.signs.use.protection: true
                essentials.signs.use.sell: true
                essentials.signs.use.spawnmob: true
                essentials.signs.use.time: true
                essentials.signs.use.trade: true
                essentials.signs.use.warp: true
                essentials.signs.use.weather: true
            inheritance:
            - default
        default:
            permissions:
                permissions.build: true
                essentials.sethome: true
                essentials.home: true
                essentials.list: true
                essentials.who: true
                essentials.help: true
                essentials.rules: true
                essentials.balance: true
                essentials.helpop: true
                essentials.info: true
                essentials.motd: true
                essentials.afk: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.disposal: true
                essentials.signs.use.enchant: true
                essentials.signs.use.free: true
                essentials.signs.use.gamemode: true
                essentials.signs.use.heal: true
                essentials.signs.use.kit: true
                essentials.signs.use.mail: true
                essentials.signs.use.protection: true
                essentials.signs.use.sell: true
                essentials.signs.use.spawnmob: true
                essentials.signs.use.time: true
                essentials.signs.use.trade: true
                essentials.signs.use.warp: true
                essentials.signs.use.weather: true
                essentials.tpaccept: true: true
                essentials.tpadeny: true: true
    messages:
        build: '&cYou do not have permission to build here.'
     
  16. Offline

    DinoScope

    Does with work with R4?

    I recently switched to Group Manager, but I realized that this is significantly better.


    Edit: Oh, I see you changed the title. Guess the release of my server is gonna have to wait till this is updated for R4. :l
     
  17. Offline

    sakuos

    I'm having problems with commands permissions, i hope someone of you can spot the problem. if someone other than OP (/op name) tries to use any command or use [lift up] or other signs like that, they get message, wich goes like ''you do not have access to this command'' or somthing like that. here is the config.yml
    Code:
    # PermissionsBukkit configuration file
    # 
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    # 
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    # 
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    
    users:
        ghinni:
            permissions:
                permissions.*: true
            groups:
            - admin
        sakuos:
            permissions:
                permissions.*: true
            groups:
            - admin
        malix:
            permissions:
                permissions.*: true
            groups:
            - admin 
        tst18:
            permissions:
                permissions.*: true
            groups:
            - admin
        waurio:
            permissions:
                permissions.*: true
            groups:
            - admin
        theflamie:
            permissions:
                permissions.*: true
            groups:
            - admin                                       
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.build: true
                permissions.*: true
                essentials.*: true
                essentials.god: true
                essentials.jump: true
                logblock.*: true
                logblock.tools.tool: true
                logblock.tools.toolblock: true
                lwc.admin: true
                lytreehelper.*: true
                mcbans.*: true
                mcbans.ban: true
                mcbans.ban.global: true
                mcbans.ban.local: true
                mcbans.ban.temp: true
                mcbans.ban.view: true
                mcbans.kick: true
                mchat.group.Admins: true
                mchat.prefix.Admins: true
                mchat.suffix.Admins: true
                mcmmo.*: true
                mcmmo.tools.mmoedit: true
                permissions.*: true
                permissions.build: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                worldedit.navigation.jumpto: true
                worldedit.navigation.thru: true
                mobdisguise.*: true
            inheritance:
            - user
        VIP:
            permissions:
                permissions.build: true
                mchat.group.VIP: true
                mchat.prefix.VIP: true
                mchat.suffix.VIP: true
                permissions.build: true
                essentials.god: true
                essentials.jump: true
                mcbans.ban.temp: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                mobdisguise.*: true
            inheritance:
            - user        
        user:
            permissions:
                permissions.build: true
                craftbook.ic.safe: true
                craftbook.mech.*: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.bridge: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.gate: true
                craftbook.mech.light-switch: true
                essentials.afk: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.balance: true
                essentials.balancetop: true
                essentials.gamemode: false
                essentials.give: false
                essentials.god: false
                essentials.heal: false
                essentials.health: true
                essentials.help: true
                essentials.home: true
                essentials.item: false
                essentials.kit: true
                essentials.kit.clay: true
                essentials.kit.coal: true
                essentials.kit.cobble: true
                essentials.kit.dirt: true
                essentials.kit.feather: true
                essentials.kit.glow: true
                essentials.kit.gravel: true
                essentials.kit.ice: true
                essentials.kit.leather: true
                essentials.kit.leaves: true
                essentials.kit.moss: true
                essentials.kit.nether: true
                essentials.kit.redstone: true
                essentials.kit.sand: true
                essentials.kit.snow: true
                essentials.kit.snowslab: true
                essentials.kit.soul: true
                essentials.kit.sponge: true
                essentials.kit.string: true
                essentials.kit.wood: true
                essentials.kit.wood_birch: true
                essentials.kit.wood_dark: true
                essentials.kit.wool: true
                essentials.list: true
                essentials.me: true
                essentials.motd: true
                essentials.pay: true
                essentials.repair: false
                essentials.rules: true
                essentials.seen: true
                essentials.sethome: true
                essentials.signs.buy.use: true
                essentials.signs.disposal.create: true
                essentials.signs.disposal.use: true
                essentials.signs.protection.create: true
                essentials.signs.protection.use: true
                essentials.signs.sell.use: true
                essentials.signs.trade.use: true
                essentials.spawn: true
                essentials.warp: true
                essentials.warp.list: true
                logblock.*: false
                logblock.tools.tool: false
                logblock.tools.toolblock: false
                lwc.protect: true
                lytreehelper.destroyall: true
                mchat.group.def: true
                mchat.prefix.def: true
                mchat.suffix.def: true
                mcmmo.commands.party: true
                mcmmo.skills.*: true
                monsterhunt.usercmd.hunstatus: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntscore: true
                monsterhunt.usercmd.huntstatus: true
                permissions.build: true
                worldguard.region.info.*: false
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
    debug: false
     
  18. Offline

    Kristian45

    I'm new to making a server (Not new to MC, just making a server, ok?) and I installed this plugin for permissions for certain people to do certain things. Now, I have type in the most of the nodes for now, but whenever I load up the server, I get:
    19:31:53 [SEVERE] [PermissionsBukkit] Unable to load configuration!

    So here is my Config.YML. (Also, please don't go extremely technical on me, like I said, I'm new to making servers):

    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    users:
        kristian45:
            permissions:
            groups:
            - special
    users:
        kristian45:
            permissions:
            groups:
            special
    groups:
        default:
        permissions:
            permissions.build: false
        normal:
            permissions:
                permissions.help: true
                permissions.*: false
                permissions.group.*: false
                permissions.player.*: false
                essentials.chat.color: true
                essentials.chat.magic: false
                essentials.chat.format: false
                essentials.msg.color: false
                essentials.msg.magic: false
                essentials.msg.format: false
                essentials.signs.color: false
                essentials.signs.magic: false
                essentials.signs.format: false
                essentials.nick.color: true
                essentials.nick.magic: false
                essentials.nick.format: true
            inheritance:
            - default
        special:
            permissions:
            permissions.help: true
            permissions.*: false
            permissions.player.*: true
            essentials.chat.color: true
            essentials.chat.magic: true
            essentials.chat.format: true
            essentials.msg.color: true
            essentials.msg.magic: true
            essentials.msg.format: true
            essentials.signs.color: true
            essentials.signs.magic: true
            essentials.signs.format: true
            essentials.nick.color: true
            essentials.nick.magic: true
            essentials.nick.format: true
        inheritance:
        - default
        criminal:
            permissions:
                permissions.help: false
                permissions.build: false
                permissions.*: false
        inheritance:
        - default
    messages:
        build: '&cYou do not have permission to build here.'
     
    debug: false
    EDIT: For some reason, when I copied this, everything isn't in line, although in my config file it is. For example, all the nodes for Special is in line in my config file, but here it isnt. But still, it doesnt work.
     
  19. Offline

    Snowy007

    It will probably work fine on R4. It rarely happens that this plugin breaks with new bukkit builds. Actually... it only happened once, and that was with that update that caused every single plugin to break.
    I haven't updated my server to R4 yet but i'm sure that there will be no problems.

    There is an empty line at the bottom of your file, just above 'debug:'. Remove the empty line.
    The plugin doesn't like empty lines. :p

    Same thing as the above person, you have an empty line just above 'debug:'. Remove this empty line.
    Also chances are that you used a tab instead of spaces for indention at the 'special' group. Make sure that you are only using spaces for indenting the nodes and not tabs.
     
  20. Offline

    DinoScope

    I wonder what's causing this error then...?

    Permissions just don't work. It worked for a bit, but when I added more permissions to it, it stopped working. Not only do the ones I recently added not work, but the ones I added before I added more don't work anymore either. I'm adding Essentials permissions and stuff.
     
  21. Offline

    Snowy007

    Thats because you made a mistake somewhere in your config. This plugin is really strict, a small mistake can cause the whole plugin to function incorrectly.
    Make sure that indention is correct and that there are no empty lines.
     
  22. Offline

    DinoScope

    Okay. When I get home, I can post my config. Then you could just show me where my issue is. :p
     
  23. Offline

    Vein

    I'm having a frustrating time with this plugin. I've configured my permissions so that players who first join can have building rights (since they'll have to be whitelisted anyway.) however, players in the default group still don't have build rights even if I set it for them.

    This is my config:

    Code:
    groups:
    default:
    permissions:
    permissions.build: true
    essentials.balance: true
    essentials.pay: true
    hsp.home.bedsethome: true
    donator:
    permissions:
    permissions.build: true
    essentials.balance: true
    essentials.pay: true
    hsp.home.bedsethome: true
    inheritance:
    - default
    moderator:
    Permissions:
    worldedit.clipboard.copy: true
    worldedit.clipboard.rotate: true
    worldedit.clipboard.flip: true
    worldedit.clipboard.cut: true
    worldedit.clipboard.paste: true
    essentials.gamemode: true
    essentials.give: true
    essentials.god: true
    essentials.heal: true
    essentials.heal.others: true
    essentials.balance.others: true
    essentials.ban: true
    essentials.ban.offline: true
    essentials.kick: true
    essentials.tp: true
    essentials.tp.others: true
    inheritance:
    -default
    -donator
    admin:
    Permissions:
    '*'
    WHAT AM I DOING WRONG!?
     
  24. Offline

    Snowy007

    You are lacking any indention. Look through this thread to see lots of config examples.
    A group should look like this:

    Code:
    groups:
        donator:
            permissions:
                permissions.build: true
                essentials.balance: true
                essentials.pay: true
                hsp.home.bedsethome: true
            inheritance:
            - default
    You can use either 2 or 4 spaces indention per 'level'.
     
  25. Offline

    sakuos

    it didnt do anything, tought i removed empty line above debug.
    still gives players: ''you do not have access to that command''
    theres no tabs/empty lines, i cant just figure it out. this is getting fustrating... i'll put config.yml again here:
    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    users:
        ghinni:
            permissions:
                permissions.*: true
            groups:
            - admin
        sakuos:
            permissions:
                permissions.*: true
            groups:
            - admin
        malix:
            permissions:
                permissions.*: true
            groups:
            - admin
        tst18:
            permissions:
                permissions.*: true
            groups:
            - admin
        waurio:
            permissions:
                permissions.*: true
            groups:
            - admin
        theflamie:
            permissions:
                permissions.*: true
            groups:
            - admin                                 
    groups:
        default:
            permissions:
                permissions.build: true
        admin:
            permissions:
                permissions.build: true
                permissions.*: true
                essentials.*: true
                essentials.god: true
                essentials.jump: true
                logblock.*: true
                logblock.tools.tool: true
                logblock.tools.toolblock: true
                lwc.admin: true
                lytreehelper.*: true
                mcbans.*: true
                mcbans.ban: true
                mcbans.ban.global: true
                mcbans.ban.local: true
                mcbans.ban.temp: true
                mcbans.ban.view: true
                mcbans.kick: true
                mchat.group.Admins: true
                mchat.prefix.Admins: true
                mchat.suffix.Admins: true
                mcmmo.*: true
                mcmmo.tools.mmoedit: true
                permissions.*: true
                permissions.build: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                worldedit.navigation.jumpto: true
                worldedit.navigation.thru: true
                mobdisguise.*: true
            inheritance:
            - user
        VIP:
            permissions:
                permissions.build: true
                mchat.group.VIP: true
                mchat.prefix.VIP: true
                mchat.suffix.VIP: true
                permissions.build: true
                essentials.god: true
                essentials.jump: true
                mcbans.ban.temp: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                mobdisguise.*: true
            inheritance:
            - user   
        user:
            permissions:
                permissions.build: true
                craftbook.ic.safe: true
                craftbook.mech.*: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.bridge: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.gate: true
                craftbook.mech.light-switch: true
                essentials.afk: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.balance: true
                essentials.balancetop: true
                essentials.gamemode: false
                essentials.give: false
                essentials.god: false
                essentials.heal: false
                essentials.health: true
                essentials.help: true
                essentials.home: true
                essentials.item: false
                essentials.kit: true
                essentials.kit.clay: true
                essentials.kit.coal: true
                essentials.kit.cobble: true
                essentials.kit.dirt: true
                essentials.kit.feather: true
                essentials.kit.glow: true
                essentials.kit.gravel: true
                essentials.kit.ice: true
                essentials.kit.leather: true
                essentials.kit.leaves: true
                essentials.kit.moss: true
                essentials.kit.nether: true
                essentials.kit.redstone: true
                essentials.kit.sand: true
                essentials.kit.snow: true
                essentials.kit.snowslab: true
                essentials.kit.soul: true
                essentials.kit.sponge: true
                essentials.kit.string: true
                essentials.kit.wood: true
                essentials.kit.wood_birch: true
                essentials.kit.wood_dark: true
                essentials.kit.wool: true
                essentials.list: true
                essentials.me: true
                essentials.motd: true
                essentials.pay: true
                essentials.repair: false
                essentials.rules: true
                essentials.seen: true
                essentials.sethome: true
                essentials.signs.buy.use: true
                essentials.signs.disposal.create: true
                essentials.signs.disposal.use: true
                essentials.signs.protection.create: true
                essentials.signs.protection.use: true
                essentials.signs.sell.use: true
                essentials.signs.trade.use: true
                essentials.spawn: true
                essentials.warp: true
                essentials.warp.list: true
                logblock.*: false
                logblock.tools.tool: false
                logblock.tools.toolblock: false
                lwc.protect: true
                lytreehelper.destroyall: true
                mchat.group.def: true
                mchat.prefix.def: true
                mchat.suffix.def: true
                mcmmo.commands.party: true
                mcmmo.skills.*: true
                monsterhunt.usercmd.hunstatus: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntscore: true
                monsterhunt.usercmd.huntstatus: true
                permissions.build: true
                worldguard.region.info.*: false
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    EDIT: ANY players do not have permission to build unless theyr op
     
  26. Offline

    Snowy007

    Can't really find anything wrong actually...
    I see that you give your admin users the 'permissions.*' permission, even though they already get it for being in the admin group. Probably not the cause of this problem but its unnecessary. Here it is with that thing fixed:
    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    users:
        ghinni:
            groups:
            - admin
        sakuos:
            groups:
            - admin
        malix:
            groups:
            - admin
        tst18:
            groups:
            - admin
        waurio:
            groups:
            - admin
        theflamie:
            groups:
            - admin                               
    groups:
        default:
            permissions:
                permissions.build: true
        admin:
            permissions:
                permissions.build: true
                permissions.*: true
                essentials.*: true
                essentials.god: true
                essentials.jump: true
                logblock.*: true
                logblock.tools.tool: true
                logblock.tools.toolblock: true
                lwc.admin: true
                lytreehelper.*: true
                mcbans.*: true
                mcbans.ban: true
                mcbans.ban.global: true
                mcbans.ban.local: true
                mcbans.ban.temp: true
                mcbans.ban.view: true
                mcbans.kick: true
                mchat.group.Admins: true
                mchat.prefix.Admins: true
                mchat.suffix.Admins: true
                mcmmo.*: true
                mcmmo.tools.mmoedit: true
                permissions.*: true
                permissions.build: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                worldedit.navigation.jumpto: true
                worldedit.navigation.thru: true
                mobdisguise.*: true
            inheritance:
            - user
        VIP:
            permissions:
                permissions.build: true
                mchat.group.VIP: true
                mchat.prefix.VIP: true
                mchat.suffix.VIP: true
                permissions.build: true
                essentials.god: true
                essentials.jump: true
                mcbans.ban.temp: true
                vanish.*: true
                vanish.currentlyVanished: true
                vanish.see: true
                mobdisguise.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                craftbook.ic.safe: true
                craftbook.mech.*: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.bridge: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.gate: true
                craftbook.mech.light-switch: true
                essentials.afk: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.balance: true
                essentials.balancetop: true
                essentials.gamemode: false
                essentials.give: false
                essentials.god: false
                essentials.heal: false
                essentials.health: true
                essentials.help: true
                essentials.home: true
                essentials.item: false
                essentials.kit: true
                essentials.kit.clay: true
                essentials.kit.coal: true
                essentials.kit.cobble: true
                essentials.kit.dirt: true
                essentials.kit.feather: true
                essentials.kit.glow: true
                essentials.kit.gravel: true
                essentials.kit.ice: true
                essentials.kit.leather: true
                essentials.kit.leaves: true
                essentials.kit.moss: true
                essentials.kit.nether: true
                essentials.kit.redstone: true
                essentials.kit.sand: true
                essentials.kit.snow: true
                essentials.kit.snowslab: true
                essentials.kit.soul: true
                essentials.kit.sponge: true
                essentials.kit.string: true
                essentials.kit.wood: true
                essentials.kit.wood_birch: true
                essentials.kit.wood_dark: true
                essentials.kit.wool: true
                essentials.list: true
                essentials.me: true
                essentials.motd: true
                essentials.pay: true
                essentials.repair: false
                essentials.rules: true
                essentials.seen: true
                essentials.sethome: true
                essentials.signs.buy.use: true
                essentials.signs.disposal.create: true
                essentials.signs.disposal.use: true
                essentials.signs.protection.create: true
                essentials.signs.protection.use: true
                essentials.signs.sell.use: true
                essentials.signs.trade.use: true
                essentials.spawn: true
                essentials.warp: true
                essentials.warp.list: true
                logblock.*: false
                logblock.tools.tool: false
                logblock.tools.toolblock: false
                lwc.protect: true
                lytreehelper.destroyall: true
                mchat.group.def: true
                mchat.prefix.def: true
                mchat.suffix.def: true
                mcmmo.commands.party: true
                mcmmo.skills.*: true
                monsterhunt.usercmd.hunstatus: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntscore: true
                monsterhunt.usercmd.huntstatus: true
                permissions.build: true
                worldguard.region.info.*: false
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    Do you get any errors in the console during startup or when using any of the PermissionsBukkit commands? (Use Operator status if you don't have permissions to the commands)
     
  27. Offline

    sakuos

    config that you made, disallowed admins to speak, and what you mean with operator status?
    oh, and noting came up in console when anyone tried commands

    EDIT: and no-one can use any commands
     
  28. Offline

    Vein

    Indention is in my permissions file, it's just that when I posted it here, that's what it came out as.
     
  29. Offline

    DinoScope

    Here's my Config:

    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.

    users:
    Example:
    permissions:
    permissions.example: true
    groups:
    - admin
    groups:
    default:
    permissions:
    permissions.build: true
    essentials.spawn: true
    essentials.tpa: true
    essentials.home: true
    essentials.sethome: true
    essentials.msg: true
    essentials.motd: true
    essentials.pay: true
    essentials.help: true
    essentials.sell: true
    essentials.worth:true
    essentials.balance: true
    essentials.tpaccept: true
    essentials.tpdeny: true
    essentials.tptoggle: true
    essentials.signs.create.buy: true
    essentials.signs.create.sell: true
    admin:
    permissions:
    permissions.*: true
    inheritance:
    - user
    user:
    permissions:
    permissions.build: true
    worlds:
    creative:
    coolplugin.item: true
    inheritance:
    - default
    messages:
    build: '&cYou do not have permission to build here.'

    debug: false

    But it just doesn't work. (There is indentation in my config file)
     
  30. Offline

    PSU4EverServer

    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
     
    users:
        Gbattaglia:
            groups:
            - ops
        DarkSwante:
            groups:
            - ops
        Yourdogsdead:
            groups:
            - ops
        alexkkzx:
            groups:
            - members
        archoas:
            groups:
            - members
        AmandaMo1127:
            groups:
            - members
        asterblaster:
            groups:
            - members
        Babk0Ck:
            groups:
            - members
        Bladella:
            groups:
            - members
        Br4dders05:
            groups:
            - members
        carl1245:
            groups:
            - members
        Clojahken:
            groups:
            - members
        Conman1909:
            groups:
            - members
        CoolDell100:
            groups:
            - members
        Darkswordkirby:
            groups:
            - members
        Dark__Gamer:
            groups:
            - members
        donnavandevanter:
            groups:
            - members
        drumemrboy10:
            groups:
            - members
        gfogt:
            groups:
            - members
        Goutmister89:
            groups:
            - members
        guildPVP:
            groups:
            - members
        Gurman8r:
            groups:
            - members
        hvergi:
            groups:
            - members
        hemkiller:
            groups:
            - members
        hedhunter55:
            groups:
            - members
        Pink4life10101:
            groups:
            - members
        Ibroninja:
            groups:
            - members
        IHASNOUSERNAME:
            groups:
            - members
        i_like_to_stalk:
            groups:
            - members
        jamers_6:
            groups:
            - members
        jakersf123:
            groups:
            - members
        jimmygeorge360:
            groups:
            - members
        johnbdm:
            groups:
            - members
        julkapsleren1:
            groups:
            - members
        junhotak:
            groups:
            - members
        fire_buffalo:
            groups:
            - members
        ICBCNerd:
            groups:
            - members
        monalfie:
            groups:
            - members
        odd_henrique:
            groups:
            - members
        Orharnah:
            groups:
            - members
        machisan0991:
            groups:
            - members
        Mackrel01:
            groups:
            - members
        Minecraft969:
            groups:
            - members
        Noonegoes21:
            groups:
            - members
        rathieon:
            groups:
            - members
        RinkerForever:
            groups:
            - members
        SameulSpark:
            groups:
            - members
        Shade10398:
            groups:
            - members
        SonicMan24:
            groups:
            - members
        SuperKingBigNuts:
            groups:
            - members
        StrawBarberShop:
            groups:
            - members
        Shiroi_Kiba:
            groups:
            - members
        t3hlazy1:
            groups:
            - members
        t1k1r:
            groups:
            - members
        TheRigelator:
            groups:
            - members
        TamableSpider:
            groups:
            - members
        theinfamouskanti:
            groups:
            - members
        ToxicSkeleton:
            groups:
            - members
        turtlenajder:
            groups:
            - members
        tylger:
            groups:
            - members
        Wolverine1414:
            groups:
            - members
        Kenato911:
            groups:
            - members
        ryknoof:
            groups:
            - members
        Veritasnl:
            groups:
            - members
        Victor41051:
            groups:
            - members
        Vidaa504:
            groups:
            - members
        xA7XFanx:
            groups:
            - members
        XxchrisxX18:
            groups:
            - members
        Xopurewc:
            groups:
            - members
    groups:
        default:
            permissions:
                permissions.build: false
                essentials.rules: true
                essentials.spawn: true
        ops:
            permissions:
                permissions.build: true
            inheritance:
            - user
        members:
            permissions:
                permissions.build: true
                essentials.afk: true
                essentials.rules: true
                essentials.spawn: true
                ultimatearena.player: true
                ultimatearena.builder: true
                preciousstones.benefit.*: true
                preciousstones.whitelist.*:true
                skychest.use: true
                ichat.color: true
                PhysicalShop.use: true
                PhysicalShop.build: true
                courier.write: true
                courier.send: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
     
    debug: false
    My server comes up with this error on reload every time:
    "SEVERE [PermissionsBukkit] Unable to load configuration!"

    Any ideas. This is a rather urgent matter, and all help is appreciated.
    I have been working at it for numerous hours and have yet to make progress.
     
  31. Offline

    MondaiSenshi

    There's already been a handful of codes Snowy commented on in just the past page or 2 with this one problem: You seem to have an empty line at the end of your config file just above the "debug" line. Try taking that out.
     

Share This Page