[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

    Snowy007

    Don't use tabs. Tabs don't work.
    Always indent everything with spaces.
     
  3. Offline

    Surma

    I'm having a bit of a problem. It appears that setting a wildcard permission (example vanish.*: true) overrides any later more specific nodes (example vanish.effects.smoke: false), even if the wildcard node is inherited or specified earlier in the same group.

    I organise my config.yml such that default is denied everything (example admincmd.*: false) and then granted a subset of specific permissions (example admincmd.server.rules: true). Every group "above" in the power chain inherits from the one below and permissions are granted as appropriate, so I don't have to re-type everything everywhere. It's a sort of "deny by default" policy. I know my first statement is correct, because right now default is set to vanish.*: false and later the admin group (which I am) is granted vanish.normal: true and vanish.op: true but I can't /vanish. Earlier, admin was granted vanish.*: true (which did override the earlier vanish.*: false) but then I had the problem that a bunch of effects were turned on (it goes boom when you go visible/invisible) and I joined vanished by default, even though I set permission nodes such that this behaviour would be turned off (there are nodes to set this behaviour, vanish.*: true turns them on and I set permission nodes later in the file which should turn them off).

    I'm guessing the reason for this is because wildcard nodes are checked before specific ones, so my question is: Is there a way (besides giving player-specific permissions) to make a specific node have higher priority than a general wildcard node, or am I just going to have to expand all the root plugin.*: false nodes under default (which is a lot of unnecessary typing)?
     
  4. Offline

    Snowy007

    Why you would deny all permissions first? PermissionsBukkit already works with a 'deny by default' policy. If you don't give a 'true' permission to a group, they simply don't have that permission.
    Also using vanish.*: true (or false) and then denying (or allowing) other vanish permissions 'should' work fine. Maybe things might be more clear if you post your config?
     
  5. Offline

    Surma

    It does? Sweet! Anyway, here's my config:
    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:
        Surma92:
            groups:
            - owner
        Mataata:
            groups:
            - user
        Ampbox3000:
            groups:
            - user
        LegoPer:
            groups:
            - trusteduser
        Flyyyman:
            groups:
            - trusteduser
        KaeraNeko:
            groups:
            - trusteduser
        Yeppsy:
            groups:
            - trusteduser
        Interpreter:
            groups:
            - trusteduser
        Pads:
            groups:
            - trusteduser
        nissen:
            groups:
            - trusteduser
        C-J:
            groups:
            - trusteduser
        Alexecus:
            groups:
            - trusteduser
        Mikerophone279:
            groups:
            - trusteduser
        Takyodor:
            groups:
            - trusteduser
        drakrytaren:
            groups:
            - trusteduser
        torzanswe:
            groups:
            - trusteduser
        Koschei:
            groups:
            - user
        NieliNinja:
            groups:
            - trusteduser
        Friscomeal:
            groups:
            - trusteduser
        jocken2:
            groups:
            - trusteduser
        oveng190:
            groups:
            - trusteduser
        valthorn:
            groups:
            - trusteduser
        Celestico:
            groups:
            - trusteduser
        dikkebolletje:
            groups:
            - trusteduser
        Meavar:
            groups:
            - trusteduser
        lucaspalsmarker:
            groups:
            - trusteduser
        PonWer92:
            groups:
            - user
    groups:
        default:
            permissions:
                admincmd.*: false
                admincmd.server.motd: true
                admincmd.server.news: true
                admincmd.server.rules: true
                admincmd.player.list: true
                admincmd.player.kill: true
                admincmd.player.whois: true
                admincmd.player.reply: true
                admincmd.maxHomeByUser.1: true
                admincmd.immunityLvl.10: true
                admincmd.maxItemAmount.1: true
                bookworm.*: false
                bukkit.*: false
                multiverse.*: false
                multiverse.help: true
                multiverse.access.Pangaea: true
                multiverse.access.Pangaea_nether: true
                multiverse.access.Pangaea_the_end: true
                multiverse.access.Cherno: true
                multiverse.access.Cherno_nether: true
                multiverse.access.Cherno_the_end: true
                multiverse.teleport.self.Pangaea: true
                multiverse.teleport.self.Cherno: true
                multiverse.core.coord: true
                multiverse.core.info: true
                multiverse.core.list.environments: true
                multiverse.core.list.worlds: true
                permissions.*: false
                spout.plugin.ignorespoutcraft: true
                spout.plugin.forcespoutcraft: false
                spout.client.*: false
                vanish.*: false
                worldedit.*: false
                worldguard.*: false
        user:
            permissions:
                admincmd.player.msg: true
                admincmd.player.mute: true
                admincmd.player.afk: true
                admincmd.player.roll: true
                admincmd.player.played: true
                admincmd.player.pres: true
                admincmd.maxHomeByUser.1: true
                admincmd.immunityLvl.30: true
                admincmd.maxItemAmount.0: true
                bookworm.create: true
                bookworm.write.own: true
                bookworm.place.own: true
                bookworm.place.others: true
                bookworm.copy.own: true
                bookworm.copy.others: true
                bookworm.remove.own: true
                bookworm.destroy.own: true
                multiverse.core.list.who: true
                permissions.build: true
                spout.client.*: true
            inheritance:
            - default
        trusteduser:
            permissions:
                multiverse.access.DragonCity: true
                multiverse.access.DragonCity_nether: true
                multiverse.access.DragonCity_the_end: true
                multiverse.access.WonderField: true
                multiverse.access.WonderField_nether: true
                multiverse.access.WonderField_the_end: true
                multiverse.teleport.self.DragonCity: true
                multiverse.teleport.self.DragonCity_nether: true
                multiverse.teleport.self.DragonCity_the_end: true
                multiverse.teleport.self.WonderField: true
            worlds:
                DragonCity:
                    worldedit.*: true
                    worldguard.*: true
                DragonCity_nether:
                    worldedit.*: true
                    worldguard.*: true
                DragonCity_the_end:
                    worldedit.*: true
                    worldguard.*: true
                WonderField:
                    worldedit.*: true
                    worldguard.*: true
                WonderField_nether:
                    worldedit.*: true
                    worldguard.*: true
                WonderField_the_end:
                    worldedit.*: true
                    worldguard.*: true
            inheritance:
            - user
        admin:
            permissions:
                admincmd.*: true
                admincmd.maxHomeByUser.0: true
                admincmd.immunityLvl.140: true
                bookworm.*: true
                bookworm.write.deny.bookid: true
                bookworm.place.deny.bookid: true
                bookworm.copy.deny.bookid: true
                bookworm.remove.deny.bookid: true
                bookworm.destroy.deny.bookid: true
                bukkit.*: true
                multiverse.*: true
                permissions.*: true
                vanish.standard: true
                vanish.op: true
                vanish.toggle.all: true
                vanish.hooks.essentials.hide: true
                vanish.spout.status: true
                vanish.effects.toggle.all: true
                worldedit.*: true
                worldguard.*: true
            inheritance:
            - user
        owner:
            permissions:
                admincmd.immunityLvl.150: true
            inheritance:
            - admin
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    You know, I just noticed that default gets permissions.*: false and then user gets permissions.build: true and that works just fine. Do plugins have the ability to check wildcard nodes directly? If that is the case it's possible that it's just vanish that ignores specific nodes if the global vanish.* is false.
     
  6. Offline

    PCGeek971

    *PC Wonders*
    Is it pssible to give permissions to a group so that they can set players only to a certain group? Such as:
    Admin permission:
    permissions.player.setgroup.vip

    So that admins can set players to the vip rank but not any other ranks.
    Please reply, Thanks
     
  7. Offline

    Snowy007

    I edited your config a little.
    I removed all the false nodes at the default level. As i said earlier, permissions are always false unless you give true. :p
    I also changed the admin group inheritance. The admin group was inheriting from the 'user' group and i'm quite sure your intention was to let them inherit from the 'trusteduser' group.
    This should probably work:
    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:
        Surma92:
            groups:
            - owner
        Mataata:
            groups:
            - user
        Ampbox3000:
            groups:
            - user
        LegoPer:
            groups:
            - trusteduser
        Flyyyman:
            groups:
            - trusteduser
        KaeraNeko:
            groups:
            - trusteduser
        Yeppsy:
            groups:
            - trusteduser
        Interpreter:
            groups:
            - trusteduser
        Pads:
            groups:
            - trusteduser
        nissen:
            groups:
            - trusteduser
        C-J:
            groups:
            - trusteduser
        Alexecus:
            groups:
            - trusteduser
        Mikerophone279:
            groups:
            - trusteduser
        Takyodor:
            groups:
            - trusteduser
        drakrytaren:
            groups:
            - trusteduser
        torzanswe:
            groups:
            - trusteduser
        Koschei:
            groups:
            - user
        NieliNinja:
            groups:
            - trusteduser
        Friscomeal:
            groups:
            - trusteduser
        jocken2:
            groups:
            - trusteduser
        oveng190:
            groups:
            - trusteduser
        valthorn:
            groups:
            - trusteduser
        Celestico:
            groups:
            - trusteduser
        dikkebolletje:
            groups:
            - trusteduser
        Meavar:
            groups:
            - trusteduser
        lucaspalsmarker:
            groups:
            - trusteduser
        PonWer92:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.build: false
                admincmd.server.motd: true
                admincmd.server.news: true
                admincmd.server.rules: true
                admincmd.player.list: true
                admincmd.player.kill: true
                admincmd.player.whois: true
                admincmd.player.reply: true
                admincmd.maxHomeByUser.1: true
                admincmd.immunityLvl.10: true
                admincmd.maxItemAmount.1: true
                multiverse.help: true
                multiverse.access.Pangaea: true
                multiverse.access.Pangaea_nether: true
                multiverse.access.Pangaea_the_end: true
                multiverse.access.Cherno: true
                multiverse.access.Cherno_nether: true
                multiverse.access.Cherno_the_end: true
                multiverse.teleport.self.Pangaea: true
                multiverse.teleport.self.Cherno: true
                multiverse.core.coord: true
                multiverse.core.info: true
                multiverse.core.list.environments: true
                multiverse.core.list.worlds: true
                spout.plugin.ignorespoutcraft: true
                spout.client.*: false
        user:
            permissions:
                admincmd.player.msg: true
                admincmd.player.mute: true
                admincmd.player.afk: true
                admincmd.player.roll: true
                admincmd.player.played: true
                admincmd.player.pres: true
                admincmd.maxHomeByUser.1: true
                admincmd.immunityLvl.30: true
                admincmd.maxItemAmount.0: true
                bookworm.create: true
                bookworm.write.own: true
                bookworm.place.own: true
                bookworm.place.others: true
                bookworm.copy.own: true
                bookworm.copy.others: true
                bookworm.remove.own: true
                bookworm.destroy.own: true
                multiverse.core.list.who: true
                permissions.build: true
                spout.client.*: true
            inheritance:
            - default
        trusteduser:
            permissions:
                multiverse.access.DragonCity: true
                multiverse.access.DragonCity_nether: true
                multiverse.access.DragonCity_the_end: true
                multiverse.access.WonderField: true
                multiverse.access.WonderField_nether: true
                multiverse.access.WonderField_the_end: true
                multiverse.teleport.self.DragonCity: true
                multiverse.teleport.self.DragonCity_nether: true
                multiverse.teleport.self.DragonCity_the_end: true
                multiverse.teleport.self.WonderField: true
            worlds:
                DragonCity:
                    worldedit.*: true
                    worldguard.*: true
                DragonCity_nether:
                    worldedit.*: true
                    worldguard.*: true
                DragonCity_the_end:
                    worldedit.*: true
                    worldguard.*: true
                WonderField:
                    worldedit.*: true
                    worldguard.*: true
                WonderField_nether:
                    worldedit.*: true
                    worldguard.*: true
                WonderField_the_end:
                    worldedit.*: true
                    worldguard.*: true
            inheritance:
            - user
        admin:
            permissions:
                admincmd.*: true
                admincmd.maxHomeByUser.0: true
                admincmd.immunityLvl.140: true
                bookworm.*: true
                bookworm.write.deny.bookid: true
                bookworm.place.deny.bookid: true
                bookworm.copy.deny.bookid: true
                bookworm.remove.deny.bookid: true
                bookworm.destroy.deny.bookid: true
                bukkit.*: true
                multiverse.*: true
                permissions.*: true
                vanish.standard: true
                vanish.op: true
                vanish.toggle.all: true
                vanish.hooks.essentials.hide: true
                vanish.spout.status: true
                vanish.effects.toggle.all: true
                worldedit.*: true
                worldguard.*: true
            inheritance:
            - trusteduser
        owner:
            permissions:
                admincmd.immunityLvl.150: true
            inheritance:
            - admin
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false

    Unfortunately that is not possible. I'm having the same problem that my moderators could make themselves admin if they want.
    I solved it by disabling the 'setgroup moderator' and 'setgroup admin' commands with another plugin. The downside however is that i have to manually give people moderator status now if i want to promote them to moderator. :p
     
  8. Offline

    Surma

    Thanks a lot :)
     
  9. Offline

    mercury19

    Sure. Sorry the reply is late, I have been computerles for a bit.

    iZone:


    Code:
    on-create:
      protection: true
      monster: false
      animal: false
      welcome: false
      farewell: false
      heal: false
      hurt: false
      pvp: false
      creeper: false
      tnt: false
      explosion: false
      fire: false
      restriction: false
      jail: false
      lightning: false
      deathdrop: false
      safedeath: false
      drop: false
      interact: true
      enderman: false
      god: false
      gamemode: false
      takeitem_in: false
      takeitem_out: false
      giveitem_in: false
      giveitem_out: false
      texturepack: false
      melt: false
    tools:
      check: 268
      define: 269
    healing:
      time: 3
      amount: 1
    hurting:
      time: 7
      amount: 2
    restriction:
      size:
        (-1, -1, -1): izone.zone.max-size.unlimited
        (100, 256, 100): izone.zone.max-size.1
      zone:
        '-1': izone.zone.max-zone.unlimited
        '5': izone.zone.max-zone.1
    and Permissionsbukkit:


    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:
    groups:
        default:
            permissions:
                iZone*: 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



    EDIT: I got isone to work with PermissionsEx...
     
  10. Offline

    KrisEike

    This is the best permissions plugin out, would be nice if you could update it to the newest CBs
     
  11. I want this too. Came here looking for this.
     
  12. Offline

    SpaceManiac

    PermissionsBukkit 2.0 is out!
    • 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/PermissionsBukkit (disableable in plugins/PluginMetrics/config.yml)
    Grab it here: http://dev.bukkit.org/server-mods/permbukkit/files/5-permissions-bukkit-v2-0/
     
  13. Offline

    shark4675

    umm there's something wrong when someone does /spawn it still says they can't use the commands. i know the person i tied with was in the rank user. it with i have easy essentials i put in the nodes ess.afk ess.home ess.heal and ess.sethome what did i do wrong?
     
  14. Offline

    Mr__Rainbow__

    ok sir i try to install a lot f different plugins and all diff times and this is what keeps saying but with plugins name and files says about this plz tell me what i did wrong or what i am doing wrong below is error



    19:23:32 [SEVERE] Could not load 'plugins/PluginManager.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
    ... 9 more
     
  15. Hi All,

    I am really stuck with this plugin. I installed Bukkit Core on my tekkit server and i'm really struggling with the permissions. I'm sure i'm setting them correctly but something is wrong.

    Example:

    my users want to be able to use the /home set of commands. the core documentation states that they need the permissions core.home so to test the permission I gave 1 user the permission core.home.* he is still being told that he doesn't have the permissions to use the command. What am I doing wrong!? Please help.

    Regards

    Daro
     
  16. Offline

    leagris

    I have a major issue with the new setrank command.
    Setrank superseed or erase all secondary groups.
    I have a permissions setup where players belong to several groups (One main and two others)

    The new setrank alias rank command would be much usefull as add/remove to preserve secondary groups:
    Code:
    addrank <player> <group>
    removerank <player> <group>
    Good point, while I would prefer it for add/remove group:
    Code:
    permissions.player.addgroup.groupname
    permissions.player.removegroup.groupname
    There is already a pull request about it here:
    https://github.com/SpaceManiac/PermissionsBukkit/pull/15
     
  17. Offline

    stoneminer02

    Questions:

    1 - Press to show text and pictures! (open)
    Can we use something like "/permissionsbukkit import pex"?
    [​IMG]


    2 - Press to show text and pictures! (open)
    Can we make custom nodes?
    [​IMG]


    If you use essentials so see the command permission list!
    The link is here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  18. Offline

    Jemrada

    When a Player dies, is it possible to remove them from all groups except default?

    Currently, our players can automatically be added to a permission group when a trigger is activated. If they die, I would like them to be removed from all groups except default. Basically a total reset.
     
  19. Offline

    AlphaCoder

    I am trying to set player to join as [n00b], but they still seem to join with [default].
    config.yml:
    Code:
    users:
      commander_shroom:
        groups:
        - '1337'
      mdhough1965:
        groups:
        - Owner
        permissions:
          essential.mute.exempt: false
      leadhead2015:
        groups:
        - Admin
      skyboxmonster:
        groups:
        - Mod
      yoda94501:
        groups:
        - Mod
      digdigdig674:
        groups:
        - n00b
      aid:
        groups:
        - n00b
      aidanblue:
        groups:
        - Admin
      imintt:
        groups:
        - n00b
      tacorsrawesome:
        groups:
        - n00b
      tacosrawesome:
        groups:
        - Mod
      imiint:
        groups:
        - Mod
      tanner0007:
        groups:
        - Member
      alkizar:
        groups:
        - '1337'
        permissions:
          essentials.sudo.exempt: false
          disguisecraft.seer: false
          essentials.mute.exempt: false
      an_awesome:
        groups:
        - Trusted
      an_awesome_dude:
        groups:
        - Mod
      thewondersock:
        groups:
        - Trusted
      bedo:
        groups:
        - Member
      bendonoghue69er:
        groups:
        - Member
      joevader18:
        groups:
        - Member
      el228:
        groups:
        - Member
      camiloninja:
        groups:
        - Member
      el224:
        groups:
        - Member
      george123535uh:
        groups:
        - Member
      what_the_nether:
        groups:
        - n00b
      ely123456:
        groups:
        - n00b
      arfdog70:
        groups:
        - Mod
      jhlo:
        groups:
        - n00b
      vivtar:
        groups:
        - n00b
      vivtitar:
        groups:
        - n00b
      dietcoke345:
        groups:
        - n00b
      abd11:
        groups:
        - n00b
      adb11:
        groups:
        - n00b
      osonoby:
        groups:
        - n00b
      awesome:
        groups:
        - Donator
      rap990606:
        groups:
        - member
      bo_yo:
        groups:
        - Member
      bo_yo_:
        groups:
        - Member
      kevinandpaul:
        groups:
        - Member
      alen4221:
        groups:
        - Member
      eak60:
        groups:
        - n00b
      poopplayer242436:
        groups:
        - n00b
      arturogavino:
        groups:
        - n00b
      von132:
        groups:
        - n00b
      disguisecraft.seer:
        groups:
        - default
      limes336:
        groups:
        - Member
      ultraghostie:
        groups:
        - n00b
      dilliep:
        groups:
        - trusted
      captainsparklez:
        groups:
        - Owner
      faustoromano:
        groups:
        - Admin
      fausroromano:
        groups:
        - Admin
      faustroromano:
        groups:
        - Admin
      faustromano:
        groups:
        - Admin
      lnkrock10:
        groups:
        - n00b
      linkrock10:
        groups:
        - n00b
      alphamod3:
        groups:
        - Owner
      lportal:
        groups:
        - n00b
      hellbreaker:
        groups:
        - n00b
      hellbreaker23:
        groups:
        - n00b
      thatsundancekid:
        groups:
        - n00b
      that:
        groups:
        - n00b
    groups:
      n00b:
        permissions:
          bukkit.*: false
          permissions.build: true
          permissions.help: true
          permissions.group.help: true
          permissions.player.help: true
          essentials.balance: true
          essentials.afk: true
          essentials.help: true
          essentials.info: true
          essentials.balancetop: true
          essentials.list: true
          essentials.me: true
          essentials.motd: true
          essentials.rules: true
          essentials.spawn: true
          essentials.signs.use.*: true
      Member:
        default: false
        permissions:
          essentials.pay: true
          essentials.worth: true
          essentials.mail: true
          essentials.msg: true
          essentials.suicide: true
          essentials.delhome: true
          essentials.home: true
          essentials.sethome: true
          essentials.tpa: true
          essentials.tpaccept: true
          essentials.tpdeny: true
          essentials.warp.list: true
          essentials.warp: true
          essentials.protect: true
          essentials.protect.admin: true
          essentials.signs.create.protection: true
          essentials.signs.use.protection: true
          essentials.chat.color: true
          essentials.chat.magic: true
          essentials.chat.format: true
          bukkit.command.seed: true
          essentials.signs.protection: true
          essentials.signs.use.*: true
        inheritance:
        - n00b
      Trusted:
        default: false
        permissions:
          multiverse.core.list.environments: true
          multiverse.core.confirm: true
          multiverse.core.spawn.self: true
          multiverse.core.list.who: true
          multiverse.teleport.self.*: true
          multiverse.core.coord: true
          multiverse.core.info: true
          multiverse.core.list.worlds: true
          multiverse.help: true
          essentials.back: true
          essentials.tpahere: true
          essentials.chat.url: true
          essentials.signs.color: true
          essentials.signs.magic: true
          essentials.signs.format: true
        inheritance:
        - Member
      Donator:
        default: false
        permissions:
          essentials.feed: true
          essentials.hat: true
          essentials.heal: true
          essentials.kit: true
          essentials.more: true
          essentials.ptime: true
          essentials.repair: true
          essentials.compass: true
          essentials.depth: true
          essentials.getpos: true
          essentials.ignore: true
          essentials.itemdb: true
          essentials.msg.color: true
          essentials.msg.magic: true
          essentials.msg.format: true
          essentials.msg.url: true
          essentials.signs.url: true
          essentials.tpaall: true
          essentials.tptoggle: true
          essentials.setwarp: true
          essentials.joinfullserver: true
        inheritance:
        - Trusted
      Mod:
        default: false
        permissions:
          essentials.break: true
          essentials.break.bedrock: true
          essentials.workbench: true
          essentials.eco: true
          essentials.getpos: true
          essentials.getpos.others: true
          essentials.helpop.recieve: true
          essentials.near: true
          essentials.nick.*: true
          essentials.seen.*: true
          essentials.whois: true
          essentials.clearinventory: true
          essentials.clearinventory.others: true
          essentials.ext: true
          essentials.gc: true
          essentials.kick: true
          essentials.kill: true
          essentials.mute: true
          essentials.mute.exempt: true
          essentials.remove: true
          essentials.killall: true
          essentials.tempban: true
          essentials.jump: true
          essentials.top: true
          essentials.delwarp: true
          essentials.tppos: true
          essentials.gamemode: true
          essentials.jail: true
          essentials.togglejail: true
          essentials.tp: true
          essentials.nick: true
          essentials.tphere: true
        inheritance:
        - Donator
      Admin:
        default: false
        permissions:
          disguisecraft.*: true
          essentials.bigtree: true
          essentials.enchant: true
          essentials.exp: true
          essentials.exp.*: true
          essentials.fly: true
          essentials.fly.others: true
          essentials.gamemode: true
          essentials.gamemode.others: true
          essentials.give: true
          essentials.give.*: true
          essentials.time: true
          essentials.itemspawn.exempt: true
          essentials.oversizedstacks: true
          essentials.god: true
          essentials.god.others: true
          essentials.heal.cooldown.bypass: true
          essentials.heal.others: true
          essentials.item: true
          essentials.itemspawn.*: true
          essentials.tree: true
          essentials.nick: true
          essentials.powertool: true
          essentials.spawner: true
          essentials.antioch: true
          essentials.backup: true
          essentials.ban: true
          essentials.banip: true
          essentials.broadcast: true
          essentials.burn: true
          essentials.essentials: true
          essentials.deljail: true
          essentials.fireball: true
          essentials.invsee.modify: true
          essentials.invsee: true
          essentials.kill.force: true
          essentials.killall: true
          essentials.lightning: true
          essentials.nuke: true
          essentials.thunder: true
          essentials.togglejail: true
          essentials.jail.exempt: true
          essentials.togglejail.offline: true
          essentials.unban: true
          essentials.unbanip: true
          essentials.vanish: true
          essentials.vanish.see: true
          essentials.list.hidden: true
          essentials.teleport.hidden: true
          essentials.setspawn: true
          essentials.delhome: true
          essentials.delhome.others: true
          essentials.home.others: true
          essentials.sethome.multiple.unlimited: true
          essentials.tp: true
          essentials.tp.others: true
          essentials.tpall: true
          essentials.tphere: true
          essentials.tpo: true
          essentials.tpohere: true
          essentials.protect.admin: true
          essentials.protect.exemptplacement: true
          essentials.protect.exemptusage: true
          essentials.protect.ownerinfo: true
          essentials.signs.*: true
          essentials.sleepingignored: true
          essentials.protect.alerts.notrigger: true
          permissions.*: true
          worldedit.*: true
        inheritance:
        - Mod
      '1337':
        default: false
        permissions:
          multiverse.core.purge: true
          multiverse.core.spawn.other: true
          multiverse.teleport.other.*: true
          voxelsniper.litesniper: true
          essentials.sudo: true
          essentials.sudo.exempt: true
        inheritance:
        - Admin
      CoOwner:
        default: false
        permissions:
          permissions.*: false
          essentials.mute.exempt: false
          essentials.kick.exempt: false
          bukkit.command.op.give: false
          bukkit.command.op.take: false
          essentials.spawner: true
        inheritance:
        - Owner
      Owner:
        default: false
        permissions:
          multiverse.core.silent: true
          multiverse.core.modify: true
          multiverse.core.remove: true
          multiverse.core.delete: true
          multiverse.core.unload: true
          multiverse.core.spawn.set: true
          multiverse.core.reload: true
          multiverse.core.import: true
          multiverse.core.create: true
          bukkit.command.op.give: true
          bukkit.command.op.take: true
          voxelsniper.sniper: true
          essentials.signs.*: true
          essentials.signs.use.*: true
          essentials.signs.create.*: true
          essentials.signs.break.*: true
          bukkit.command.gamerule: true
        inheritance:
        - 1337
    
     
  20. Offline

    Light_Wing


    If you look at the group "Member" you will see they have an option above the perms line. the option is "default: false" add that to the noobs group and change it to "default: true"
     
  21. Offline

    LefortKiller

    AlphaCoder, Light_Wing is right I think. But if it works, can I please can your server? I hate the Singleplayer.

    Thanks!
     
  22. Offline

    ParaSonaFade

    How can i make it so when they are set to a certain rank there name color changes and they get a prefix?
     
  23. Offline

    nuke21

    Is it possible to make the wrath just cause player damage with it's explosion but not actually destroy any blocks?
     
  24. Offline

    frederikhk

    If you mean creeper then just do /gamerule MobGriefing false :)
     
  25. Offline

    nuke21

    I like the damage done to players, that takes away from the game if the player doesn't have to worry about any of that. I just don't like when the wraths blow up the stuff I make in the Nether. The creepers don't blow up blocks when they blow up for me. I wish the wraths did the same thing.
     
  26. Offline

    grimPstrife

    Hello there. First I would like to thank you for all your hard work. Now down to the issue. I am the co-owner of a small server and we recently attempted to configure out permissions. I have looked over them and tested time and time again and yet nothing. The game stills say we don't have permission to access commands when unoped. Any help would be wonderful. here is out permissions.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        default:
            default: true
            info:
                prefix: '[Noobie]'
                suffix: ''
                permissions.build: true
            inheritance:
            permissions:
                - 'essentials.help'
        builder:
            default: true
            info:
                prefix: '[Builder]'
                suffix: ''
                permissions.build: true
            inheritance:
                - default
            permissions:
                - 'essentials.home'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.who'
                - 'essentials.list'
                - 'essentials.kit.*'
                - 'essentials.kit.starter'
                - 'essentials.spawn'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.back'
                - 'essentials.balance'
                - 'essentials.balance.others'
                - 'essentials.balancetop'
                - 'essentials.chat.shout'
                - 'essentials.chat.question'
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.delhome'
                - 'essentials.getpos'
                - 'essentials.geoip.show'
                - 'essentials.help'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.me'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.msg.color'
                - 'essentials.near'
                - 'essentials.pay'
                - 'essentials.ping'
                - 'essentials.rules'
                - 'essentials.realname'
                - 'essentials.seen'
                - 'essentials.sell'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.suicide'
                - 'essentials.time'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpahere'
                - 'essentials.tpadeny'
                - 'essentials.world'
                - 'essentials.worth'
                - 'essentials.xmpp'
                - 'essentials.warplist'
        operator:
            default: false
            info:
                prefix: '[Operator]'
                suffix: ''
                permissions.build: true
            inheritance:
                - default
                - builder
            permissions:
                - 'essentials.tp'
                - 'essentials.ban'
                - 'essentials.time day'
                - 'essentials.kick'
                - 'essentials.jail'
                - 'essentials.seen.banreason'
                - 'essentials.kill'
                - 'essentials.mute'
                - 'essentials.tempban'
                - 'essentials.back'
                - 'essentials.chat.spy'
        moderator:
            default: false
            info:
                prefix: [Moderator]
                suffix: ''
                permissions.build: true
            inheritance:
                - default
                - operator
                - builder
            permissions:
                - 'essentials.give'
                - 'esentials.powertool'
                - 'essentials.heal'
                - 'essentials.feed'
                - 'essentials.fly'
                - 'essentials.gamemode'
                - 'essentials.god'
                - 'essentials.item'
                - 'essentials.socialspy'
                - 'essentials.joinfullserver'
                - 'essentials.signs.create.balance'
                - 'essentials.signs.create.heal'
                - 'essentials.signs.create.time'
                - 'essentials.signs.create.warp'
                - 'essentials.signs.break.balance'
                - 'essentials.signs.break.heal'
                - 'essentials.spawnmob.*'
                - 'essentials.unbanip'
                - 'essentials.mute.exempt'
                - 'essentials.kill'
        admin:
            default: false
            info:
                prefix: [Admin]
                suffix: ''
                permissions.build: true
            inheritance:
                - default
                - builder
                - operator
                - moderator
            permissions:
                - 'worldedit.*'
                - 'worldguard.*'
                - 'essentials.spawnmob.*'
                - 'essentials.kill.*'
                - 'essentials.kick.exempt'
        co-owner:
            default: false
            info:
                prefix: [co-owner]
                suffix: ''
                permissions.build: true
            inheritance:
              - default
              - builder
              - operator
              - moderator
              - admin
            permissions:
              - 'essentials.*'
              - 'worldedit.*'
              - 'worldguard.*'
              - 'essentials.tempban.exempt'
              - 'essentials.jail.exempt'
              - 'essentials.kick.exempt'
              - 'essentials.ban.exempt'
              - 'essentials.mute.exempt'
              - 'essentials.kill.exempt'
        owner:
            default: false
            info:
                prefix: [owner]
                suffix: ''
                permissions.build: true
            inheritance:
                - default
                - builder
                - operator
                - moderator
                - admin
                - co-owner
            permissions:
                - 'essentials.*'
                - 'worldedit.*'
                - 'worldguard.*'
                - 'essentials.tempban.exempt'
                - 'essentials.jail.exempt'
                - 'essentials.kick.exempt'
                - 'essentials.ban.exempt'
                - 'essentials.mute.exempt'
                - 'essentials.kill.exempt'
        users:
            grimPstrife:
                permissions:
                groups:
                    - co-owner
            smbryce88:
                permissions:
                groups:
                    - owner
            quang88:
                permissions:
                groups:
                    - moderator
     
  27. Offline

    Vern8k

    Get rid of the "- " before node names. Include ": true" or ": false" after the node name. If you're using Essentials chat, configure chat prefixes in the Essentials config instead of in PermissionsBukkit. Since PermissionsBukkit allows 2-space indents, might as well use them instead of 4-space indents. Here's a short example where default users aren't allowed to build (permissions.build: false), admins get a permission called "super.admin.permission.*" and mods get "special.mod.permission"

    Code:
    users:
      vern8k:
        groups:
        - admin
      myuser1:
        groups:
        - moderator
      myuser2:
        groups:
        - user
    groups:
      default:
        permissions:
          permissions.build: false
      admin:
        permissions:
          permissions.*: true
          super.admin.permission.*: true
        inheritance:
          - user
      user:
        permissions:
          permissions.build: true
          some.other.permission: true
        inheritance:
          - default
      moderator:
        permissions:
          permissions.build: true
          special.mod.permission: true
        inheritance:
          - default
    
     
  28. Offline

    Chriskerr0

    So I'm using v2.0 and I have my mods set with the permission "permission.*: true" but they still can't set players in groups . What do I I need to do so maypole moderators can set the groups that other players are in
     
  29. Offline

    Vern8k

    You're missing an "s" at the end of "permissions." It should be
    Code:
    permissions.*: true
     
  30. Offline

    Chriskerr0

    it does have an s, it is correct and it still wont let my mods add people to groups. what node do i need to put here so my mods can add people to the builder group?
     
  31. Offline

    Vern8k

    Please upload your permissions file to pastebin, and post the pastebin link here. It's far easier to figure out the problem when we can see everything instead of dragging the information out bit-by-bit.
     

Share This Page