[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

    Made them unable..... to speak??? This plugin does nothing at all with rights to speak.... Even if you completely mess up the config on purpose, i don't see how it would cause people to be unable to speak?? Unless you have a plugin or something with a permission that denies them to speak...
    The config seems to be fine unless i am missing something myself.
    And with operator status i mean when you use the command "/op <player>" from the console. An operator is able to use EVERY command available, including the /stop command and such things. So its only recommended if you trust a player for 300%.




    Strange, it shouldn't be a problem to paste configs. I past configs on here daily without any problems.
    Make sure that you are using spaces and not tabs.

    If you would have pasted your config in a code box, i would have been able to actually see the indention. It would make it a lot more easy to search for mistakes. :p
    I can see though that you have 2 empty lines in your config. Just above 'users:' and just above 'debug:'. Remove these empty lines.

    Same thing for you actually as the one above you. There are 2 empty lines in your config. Just above 'users:' and just above 'debug:' Remove the empty lines. PermissionsBukkit doesn't seem to like empty lines. xD
     
  3. Offline

    MondaiSenshi

    If anyone has the time, I could use a pair of fresh eyes to check mine:

    Code:
    users:
      Iggyness:
        groups:
        - mods
      Devmon52:
        groups:
        - mods
      Vannidar:
        groups:
        - mods
      Lime_God:
        groups:
        - owner
      Mondai:
        permissions:
          permissions.build: true
        groups:
        - owner
    groups:
      troll:
        permissions:
          permissions.build: false
      default:
        permissions:
          permissions.build: true
      members:
        permissions:
          bukkit.broadcast.user: true
          bukkit.command.help: true
          bukkit.command.kill: true
          bukkit.command.list: true
          bukkit.command.me: true
          bukkit.command.plugins: true
          bukkit.command.say: true
          bukkit.command.tell: true
          bukkit.command.time: true
          bukkit.command.version: true
          modreq.request: true
          modreq.status: true
          niftywarp.use.*: true
          niftywarp.use.add: true
          niftywarp.use.delete: true
          niftywarp.use.home: true
          niftywarp.use.homeset: true
          niftywarp.use.list: true
          niftywarp.use.rename: true
          niftywarp.use.set: true
          niftywarp.use.version: true
          niftywarp.use.warp: true
        inheritance:
        - default
      mods:
        permissions:
          server.basics
          bukkit.command.ban: true
          bukkit.command.ban.ip: true
          bukkit.command.ban.player: true
          bukkit.command.gamemode: true
          bukkit.command.give: true
          bukkit.command.kick: true
          bukkit.command.teleport: true
          bukkit.command.time.add: true
          bukkit.command.time.set: true
          bukkit.command.toggledownfall: true
          bukkit.command.unban: true
          bukkit.command.unban.ip: true
          bukkit.command.unban.player: true
          bukkit.command.whitelist: true
          bukkit.command.whitelist.add: true
          bukkit.command.whitelist.list: true
          bukkit.command.whitelist.remove: true
          bukkit.command.xp: true
          modreq.check: true
          modreq.claim: true
          modreq.close: true
          modreq.reopen: true
          modreq.tp-id: true
          niftywarp.admin.*: true
          niftywarp.admin.delete: true
          niftywarp.admin.rename: true
          niftywarp.admin.set: true
          niftywarp.use.warptocoord: true
        inheritance:
        - members
      owner:
        permissions:
          server.mods
          bukkit.broadcast: true
          bukkit.broadcast.admin: true
          bukkit.broadcast: true
          bukkit.command: true
          bukkit.command.op: true
          bukkit.command.op.give: true
          bukkit.command.op.take: true
          bukkit.command.reload: true
          bukkit.command.save: true
          bukkit.command.save.disable: true
          bukkit.command.save.enable: true
          bukkit.command.save.perform: true
          bukkit.command.stop: true
          bukkit.command.whitelist.enable: true
          bukkit.command.whitelist.disable: true
          bukkit.command.whitelist.reload: true
          craftbukkit: true
          niftywarp.use.*: true
          nolagg.chunks.sending: true
          nolagg.common.clear: true
          nolagg.common.gc: true
          nolagg.examine.run: true
          nolagg.lighting.fix: true
          nolagg.monitor.clearlog: true
          nolagg.monitor.log: true
          nolagg.monitor.notifylagging: true
          nolagg.monitor.showmemory: true
          nolagg.monitor.showtickrate: true
          nolagg.monitor.use: true
          nolagg.reload: true
          nolagg.tnt.clear: true
          nolagg.tnt.info: true
          permissions.*: true
          permissions.check: true
          permissions.dump: true
          permissions.group.*: true
          permissions.group.help: true
          permissions.group.list: true
          permissions.group.players: true
          permissions.group.setperm: true
          permissions.group.unsetperm: true
          permissions.help: true
          permissions.info: true
          permissions.player.*: true
          permissions.player.addgroup: true
          permissions.player.groups: true
          permissions.player.help: true
          permissions.player.removegroup: true
          permissions.player.setgroup: true
          permissions.player.setperm: true
          permissions.player.unsetperm: true
          permissions.reload: true
        inheritance: mods
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    I'm also getting the "An internal error occurred while attempting to perform this command." message in-game, and when I pull up the console I'm getting this (which is backwards, considering I'm running it through MultiCraft):

    Code:
    16.06 15:31:50 [Server] INFO    ... 12 more
    16.06 15:31:50 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    16.06 15:31:50 [Server] INFO    at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:146)
    16.06 15:31:50 [Server] INFO    at com.platymuus.bukkit.permissions.PermissionsCommand.groupCommand(PermissionsCommand.java:167)
    16.06 15:31:50 [Server] INFO Caused by: java.lang.NullPointerException
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    16.06 15:31:50 [Server] INFO    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    16.06 15:31:50 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    16.06 15:31:50 [Server] INFO    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    16.06 15:31:50 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    16.06 15:31:50 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'perm' in plugin PermissionsBukkit v1.6
    Thoughts...? Anyone...?
     
  4. Offline

    Snowy007

    The last 2? I think it might be the last 20 to 30 pages. xD Man.. i helped a lot of people here. xD
    Oh, and also he has an empty line at the top just above 'users:' :p

    There are 2 nodes in there that don't have the ': true' (or false) behind it.
    Which are 'server.basics' at the top of the 'mods' group and 'server.mods' at the top of the 'owner' group.
    Here it is fixed:

    Code:
    users:
      Iggyness:
        groups:
        - mods
      Devmon52:
        groups:
        - mods
      Vannidar:
        groups:
        - mods
      Lime_God:
        groups:
        - owner
      Mondai:
        permissions:
          permissions.build: true
        groups:
        - owner
    groups:
      troll:
        permissions:
          permissions.build: false
      default:
        permissions:
          permissions.build: true
      members:
        permissions:
          bukkit.broadcast.user: true
          bukkit.command.help: true
          bukkit.command.kill: true
          bukkit.command.list: true
          bukkit.command.me: true
          bukkit.command.plugins: true
          bukkit.command.say: true
          bukkit.command.tell: true
          bukkit.command.time: true
          bukkit.command.version: true
          modreq.request: true
          modreq.status: true
          niftywarp.use.*: true
          niftywarp.use.add: true
          niftywarp.use.delete: true
          niftywarp.use.home: true
          niftywarp.use.homeset: true
          niftywarp.use.list: true
          niftywarp.use.rename: true
          niftywarp.use.set: true
          niftywarp.use.version: true
          niftywarp.use.warp: true
        inheritance:
        - default
      mods:
        permissions:
          server.basics: true
          bukkit.command.ban: true
          bukkit.command.ban.ip: true
          bukkit.command.ban.player: true
          bukkit.command.gamemode: true
          bukkit.command.give: true
          bukkit.command.kick: true
          bukkit.command.teleport: true
          bukkit.command.time.add: true
          bukkit.command.time.set: true
          bukkit.command.toggledownfall: true
          bukkit.command.unban: true
          bukkit.command.unban.ip: true
          bukkit.command.unban.player: true
          bukkit.command.whitelist: true
          bukkit.command.whitelist.add: true
          bukkit.command.whitelist.list: true
          bukkit.command.whitelist.remove: true
          bukkit.command.xp: true
          modreq.check: true
          modreq.claim: true
          modreq.close: true
          modreq.reopen: true
          modreq.tp-id: true
          niftywarp.admin.*: true
          niftywarp.admin.delete: true
          niftywarp.admin.rename: true
          niftywarp.admin.set: true
          niftywarp.use.warptocoord: true
        inheritance:
        - members
      owner:
        permissions:
          server.mods: true
          bukkit.broadcast: true
          bukkit.broadcast.admin: true
          bukkit.broadcast: true
          bukkit.command: true
          bukkit.command.op: true
          bukkit.command.op.give: true
          bukkit.command.op.take: true
          bukkit.command.reload: true
          bukkit.command.save: true
          bukkit.command.save.disable: true
          bukkit.command.save.enable: true
          bukkit.command.save.perform: true
          bukkit.command.stop: true
          bukkit.command.whitelist.enable: true
          bukkit.command.whitelist.disable: true
          bukkit.command.whitelist.reload: true
          craftbukkit: true
          niftywarp.use.*: true
          nolagg.chunks.sending: true
          nolagg.common.clear: true
          nolagg.common.gc: true
          nolagg.examine.run: true
          nolagg.lighting.fix: true
          nolagg.monitor.clearlog: true
          nolagg.monitor.log: true
          nolagg.monitor.notifylagging: true
          nolagg.monitor.showmemory: true
          nolagg.monitor.showtickrate: true
          nolagg.monitor.use: true
          nolagg.reload: true
          nolagg.tnt.clear: true
          nolagg.tnt.info: true
          permissions.*: true
          permissions.check: true
          permissions.dump: true
          permissions.group.*: true
          permissions.group.help: true
          permissions.group.list: true
          permissions.group.players: true
          permissions.group.setperm: true
          permissions.group.unsetperm: true
          permissions.help: true
          permissions.info: true
          permissions.player.*: true
          permissions.player.addgroup: true
          permissions.player.groups: true
          permissions.player.help: true
          permissions.player.removegroup: true
          permissions.player.setgroup: true
          permissions.player.setperm: true
          permissions.player.unsetperm: true
          permissions.reload: true
        inheritance: mods
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
     
  5. Offline

    MondaiSenshi

    You may be my hero. I just couldn't stare at it anymore, I swear I was gonna lose it. :p Thanks!
     
  6. Offline

    Snowy007

    No problem. :p
     
  7. Offline

    PSU4EverServer

    Still not working oddly. I removed those empty lines, but every time I run /permissions reload
    on the server it completely clears the file and returns the same error that it can't load it.
     
  8. Offline

    Snowy007

    Ok, i spotted another mistake.
    'preciousstones.whitelist.*:true' needs to be 'preciousstones.whitelist.*: true' (notice the space after the : sign.)
    Here it is with everything 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:
        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
     
    PSU4EverServer likes this.
  9. Offline

    PSU4EverServer

    THANK YOU SO MUCH!

    That finally fixed it. I really do appreciate this.
     
  10. if a player join my server it's will not be the rank default why not?
     
  11. Offline

    Snowy007

    No problem. Glad its working now. :p

    How am i supposed to know? Maybe if you would give me some more information. Like do you get any errors. Or perhaps post your config so i can check for mistakes.
     
  12. Offline

    xSn4k3x

    It is shown in-game because of the prefixes I use. I don't have any permissions for the group 'default' and my standard group is 'Regular' just because it looks better than 'default' in my opinion. But if there's no way to change it, I guess I'm stuck.
     
  13. Offline

    Fratyr

    /permissions group list

    gave me this:

    the config.yml was opened in Notepad++... Ummm.. ? :)

    Update:
    Actually it gives me error for everything.
    Even with default config, adding a player to a group throws the same error
     
  14. what should i say more than the config file?
    Code:
    groups:
      default:
        permissions:
          permissions.build: true
          essentials.motd: true
          essentials.list: true
          essentials.help: false
          essentials.home: true
          essentials.sethome: true
          essentials.back: false
          essentials.pay: true
          essentials.spawn: false
          essentials.afk: true
          tcl.tpc: true
          tcl.tpca: true
          tcl.tpcd: true
          simpleprefix.default: false
          simpleprefix.mod: true
          rocket.launch: true
          rocket.launcher: true
          rocket.shoot.other: true
          rocket.shooter: true
          minevehicles.summarineremair: true
          minevehicles.submarinedrowndmg: true
          minevehicles.submarinecanuse: true
          minevehicles.aircraftfalldmg: true
          minevehicles.aircraftcanuse: true
          jobs.world.KREA: false
          jobs.join.miner: true
          jobs.join.bygger: true
          jobs.join.fisker: true
          jobs.join.hunter: true
          jobs.join.graver: true
          jobs.join.landmand: true
          jobs.join.skovhugger: true
          jobs.leave.miner: true
          jobs.leave.bygger: true
          jobs.leave.fisker: true
          jobs.leave.hunter: true
          jobs.leave.graver: true
          jobs.leave.landmand: true
          jobs.leave.skovhugger: true
          jobs.info.*: true
          lwc.protect: true
          general.player-info: true
          chestShop.shop.create: true
          chestShop.shop.sell: true
          myhome.home.basic.home: true
          myhome.home.basic.set: true
          iConomy.payment: true
          iConomy.holdings: true
          colorme.list: true
          falsebook.blocks.gate: true
          falsebook.blocks.bridge: true
          falsebook.blocks.lift: true
          falsebook.blocks.destroy: true
          fight.user: true
          worldguard.region.addmember.own.*: true
          worldguard.region.removemember.own.*: true
          autocraft.airship: true
        worlds:
          NW:
            multiverse:
              access:
                WILD: true
                dennyverden: true
                '*': true
              portal:
                access:
                  WILD: true
                  dennyverden: true
                  '*': true
          KREA:
            multiverse:
              access:
                KREA: true
                dennyverden: true
                '*': true
              portal:
                access:
                  KREA: true
                  dennyverden: true
                  '*': true
            essentials:
              warp: true
            permissions:
              build: true
            day:
              command:
                day: true
                night: true
              item:
                day: true
                night: true
            superpermbridge:
              colourfireworks:
                '*': true
            colourfireworks:
              '*': true
              redstonesign:
                all: true
            colourfirework:
              limited:
                all: true
              unlimited:
                all: true
          dennyverden:
            multiverse:
              access:
                '*': true
                nether: true
                KREA: true
                NW: true
              portal:
                access:
                  '*': true
                  nether: true
                  KREA: true
                  NW: true
            essentials:
              warp: true
            worldedit:
              navigation:
                jumpto: true
              wand: true
            day:
              command:
                day: true
                night: true
              item:
                day: true
                night: true
            pvparena:
              user: true
      adm:
        permissions:
          essentials:
            setwarp: true
            delwarp: true
            protect: false
            kick: true
            togglejail: true
            powertool:
              append: false
            broadcast: true
            tp: false
            ban: true
            unban: true
            warp:
              '*': true
          mothernature:
            '*': true
            command:
              sun: true
              rain: true
          falsebook:
            blocks:
              gate: true
            '*': true
          general:
            kick: true
            tp: true
            tphere: true
          movecraft:
            boat:
              sail: true
            ship:
              sail: true
          setrankpb:
            rank:
              mod: true
              fjols: true
            rankall: true
          simpleprefix:
            coa: true
            adm: true
          worldguard:
            region:
              define: true
              redefine:
                own:
                  '*': true
              select:
                own:
                  '*': true
              info:
                own:
                  '*': true
              removeowner:
                own:
                  '*': true
              addmember:
                own:
                  '*': true
              removemember:
                own:
                  '*': true
              remove:
                own:
                  '*': true
          worldedit:
            selection:
              pos: true
          honeypot:
            create: true
            break: true
          pvparena:
            adm: true
            create: true
          hawkeye:
            tool: true
          permissions:
            '*': true
            build: true
            help: true
            reload: true
            check: true
            info: true
            dump: true
            group:
              '*': true
              help: true
              list: true
              players: true
              setperm: true
              unsetperm: true
            player:
              '*': true
              help: true
              groups: true
              setgroup: true
              addgroup: true
              removegroup: true
              setperm: true
              unsetperm: true
          multiverse:
            teleport:
              self:
                p: true
            portal:
              create: true
              list: true
          allpermissions:
            reload: true
            givepermissions: true
          iConomy:
            '*': true
            accounts:
              '*': true
              create: true
              remove: true
              give: true
              take: true
              set: true
              status:
                set: true
              purge: true
              empty: true
            plus: true
            user: true
            help: true
            holdings:
              others: true
            payment: true
          superperms:
            '*': true
            PLUGINNAME: true
          lwc:
            '*': true
            protect: true
            adm: true
            allcommands: true
            mod: true
            deny: true
            create:
              '*': true
              public: true
              password: true
              private: true
            modify: true
            unlock: true
            info: true
            remove: true
            flag:
              '*': true
              redstone: true
              magnet: true
            allflags: true
            mode:
              '*': true
              persist: true
              droptransfer: true
            allmodes: true
          ChestShop:
            '*': true
            shop:
              '*': true
              create: true
              buy: true
              sell: true
            adm: true
            mod: true
          jobs:
            adm:
              grantxp: true
          fight:
            '*': true
            adm: true
            user: true
          cb:
            list: true
            adm:
              ignore: true
              pardon:
                all: true
                single: true
              add: true
              remove: true
              set:
                value: true
                literal: true
                kick: true
                command: true
          nolagg:
            clear: true
            monitor: true
            log: true
            clearlog: true
        worlds:
          dennyverden:
            magicspells:
              grant:
                carpet: true
              cast:
                carpet: true
              learn:
                carpet: true
              noreagents: true
        inheritance:
        - default
      owner:
        inheritance:
        - superadm
    messages:
      build: '&cDu kan ikke bygge her.'
    debug: false
    users:
     
  15. Why isnt there a * node?
     
  16. Offline

    DinoScope

    Okay, thanks a lot.
     
  17. Offline

    Snowy007


    Can't you change it with the prefix plugin you are using? I'm using 'SimplePrefix' and i can change the prefix of any group to whatever i want.

    Make sure that there are no empty lines in your config. I'm starting to think that the default config might have a small mistake in it since a lot of people here have the same mistake. An empty line just above 'debug:'. So if there are any empty lines, remove those.

    What the hell did you do with your config? It seems fine up to line 60 but everything else seems like plain rubbish. You can find a hundred examples in this thread of how a config should look like, but it definitely shouldn't look like this... I would recommend to just remove it and start over with the default config.

    No idea, but i don't care. Instead of giving a * node, you could just OP a user. An OP has rights to every single command so it will give the same effect.

    No problem.
     
  18. Offline

    bzip2

    The most annoying thing with some of the permissions plugins that I have used is that they change the vanilla game play with a default installation. As a server admin I know exactly how I want my server to be different from vanilla, and having a default that is different from vanilla is annoying.
     
  19. Offline

    Snowy007


    Don't really see your point here... but the only gameplay change that this permissions plugin does is that the default group can't build. But that can easily be changed by just putting the build permission to 'true'.
     
  20. Offline

    Fly007

    Okay. So I've been reading through the posts and theres a few kind of like this. Im trying to help someone setup a hosted server on clanforge. I've been doing the permissions for them because I have the most experience with it,(even if its only a small amount..)

    But I don't know what the heck I'm doing.. Ive got it set up, I used a yml parser to make sure its all it the right spots, but its not working the way I'm wanting it to. It lets any one thats been op'ed in vanilla /op to use any commands, but any regular player cannot use any commands at all. Not even /help.
    Have I missed something here?

    Code:
    ###################################################################
    # This is the default configuration template for this            #
    # plugin, PermissionsBukkit. Please consult these                #
    # guides on our wiki for more information on how to              #
    # use PermissionsBukkit:                                          #
    #                                                                #
    # http://wiki.multiplay.co.uk/Minecraft/Bukkit/PermissionsBukkit  #
    #                                                                #
    # http://wiki.multiplay.co.uk/Minecraft/Bukkit/Understanding_YAML #
    #                                                                #
    # Thanks, and good luck!                                          #
    ###################################################################
    user:
        zxVaPoRxz:
            permissions:
                permissions.*: true
            groups:
            - admin
        Fly007:
            permissions:
                permissions.*: true
            groups:
            - admin
        MotherDearest:
            permissions:
                permissions.*: true
            groups:
            - admin
    groups:
        user:
            permissions:
                group.default: true
                permissions.build: true
                essentials.afk: true
                essentials.help: true
                essentials.home: true
                essentials.ignore: true
                essentials.list: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.portal: true
                essentials.rules: true
                essentials.sethome: true
                essentials.suicide: true
                essentials.tpa: true
                essentials.tpaccept: true
                essentials.tpahere: true
                essentials.tpdeny: true
                essentials.tpo: true
                essentials.tpohere: true
                essentials.tppos: true
                ultimatearena.player: true
                iConomy.access: true
                iConomy.bank.access: true
                iConomy.bank.deposit: true
                iConomy.bank.join: true
                iConomy.bank.leave: true
                iConomy.bank.list: true
                iConomy.bank.main: true
                iConomy.bank.main.change: true
                iConomy.bank.main.set: true
                iConomy.bank.main.view: true
                iConomy.bank.transfer: true
                iConomy.bank.withdraw: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
        vip:
            permissions:
                permissions.build: true
                essentials.kick: true
                essentials.kick.notify: true
                essentials.mute: true
            inheritance:
            - user
        admin:
            permissions:
                iConomy.admin.account.create: true
                iConomy.admin.account.remove: true
                iConomy.admin.bank.create: true
                iConomy.admin.bank.remove: true
                iConomy.admin.bank.set: true
                iConomy.admin.empty: true
                iConomy.admin.grant: true
                iConomy.admin.hide: true
                iConomy.admin.purge: true
                iConomy.admin.reset: true
                iConomy.admin.set: true
                iConomy.admin.stats: true
                iConomy.bank.access: true
                iConomy.bank.deposit: true
                iConomy.bank.join: true
                iConomy.bank.join.multiple: true
                iConomy.bank.leave: true
                iConomy.bank.list: true
                iConomy.bank.main: true
                iConomy.bank.main.change: true
                iConomy.bank.main.set: true
                iConomy.bank.main.view: true
                iConomy.bank.transfer: true
                iConomy.bank.transfer.multiple: true
                iConomy.bank.withdraw: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
                afkbooter.exempt: true
                afkbooter.config: true
                ultimatearena.admin: true
                nocheatplus.admin.commands: true
                nocheatplus.admin.reload: true
                nocheatplus.admin.plugins: true
                nocheatplus.checks: true
                nocheatplus.checks.blockbreak: true
                nocheatplus.checks.blockplace: true
                nocheatplus.checks.chat: true
                nocheatplus.checks.inventory: true
                nocheatplus.checks.moving: true
                nocheatplus.checks.fight: true
                nocheatplus.mods: true
                nocheatplus.mods.cjb: true
                nocheatplus.mods.minecraftautomap: true
                nocheatplus.mods.rei: true
                nocheatplus.mods.smartmoving: true
                nocheatplus.mods.zombe: true
                worldedit.*: true
                worldguard.*: true
                permissions.*: true
                essentials.*: true
            inheritance:
            - vip
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
     
  21. Offline

    codiack01

    ok, so the issue im encountering is the groups above default not working. they dont have access to any of the commands in their group. only default works.
    Code:
    # PermissionsBukkit configuration file
    users:
      ConspiracyWizard:
        permissions:
          permissions.example: true
        groups:
        - admin
      codiack01:
        groups:
        - user
    groups:
      god:
        permissions:
          permissions.*: true
          essentials.*: true
          vanish.*: true
      seraph:
        permissions:
          permissions.*: true
          essentials.*: true
          vanish.*: 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
          essentials.kit: 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.tpdeny: 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.help: 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.kit: 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
          essentials.tpdeny: true
    messages:
      build: '&cYou do not have permission to build here.'
     
  22. Offline

    Snowy007


    You are completely missing the default group. Guessing that the 'user' group should be your default group, you should change the group name to 'default'. like this:
    Code:
    ###################################################################
    # This is the default configuration template for this            #
    # plugin, PermissionsBukkit. Please consult these                #
    # guides on our wiki for more information on how to              #
    # use PermissionsBukkit:                                          #
    #                                                                #
    # http://wiki.multiplay.co.uk/Minecraft/Bukkit/PermissionsBukkit  #
    #                                                                #
    # http://wiki.multiplay.co.uk/Minecraft/Bukkit/Understanding_YAML #
    #                                                                #
    # Thanks, and good luck!                                          #
    ###################################################################
    user:
        zxVaPoRxz:
            permissions:
                permissions.*: true
            groups:
            - admin
        Fly007:
            permissions:
                permissions.*: true
            groups:
            - admin
        MotherDearest:
            permissions:
                permissions.*: true
            groups:
            - admin
    groups:
        default:
            permissions:
                group.default: true
                permissions.build: true
                essentials.afk: true
                essentials.help: true
                essentials.home: true
                essentials.ignore: true
                essentials.list: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.portal: true
                essentials.rules: true
                essentials.sethome: true
                essentials.suicide: true
                essentials.tpa: true
                essentials.tpaccept: true
                essentials.tpahere: true
                essentials.tpdeny: true
                essentials.tpo: true
                essentials.tpohere: true
                essentials.tppos: true
                ultimatearena.player: true
                iConomy.access: true
                iConomy.bank.access: true
                iConomy.bank.deposit: true
                iConomy.bank.join: true
                iConomy.bank.leave: true
                iConomy.bank.list: true
                iConomy.bank.main: true
                iConomy.bank.main.change: true
                iConomy.bank.main.set: true
                iConomy.bank.main.view: true
                iConomy.bank.transfer: true
                iConomy.bank.withdraw: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
        vip:
            permissions:
                permissions.build: true
                essentials.kick: true
                essentials.kick.notify: true
                essentials.mute: true
            inheritance:
            - user
        admin:
            permissions:
                iConomy.admin.account.create: true
                iConomy.admin.account.remove: true
                iConomy.admin.bank.create: true
                iConomy.admin.bank.remove: true
                iConomy.admin.bank.set: true
                iConomy.admin.empty: true
                iConomy.admin.grant: true
                iConomy.admin.hide: true
                iConomy.admin.purge: true
                iConomy.admin.reset: true
                iConomy.admin.set: true
                iConomy.admin.stats: true
                iConomy.bank.access: true
                iConomy.bank.deposit: true
                iConomy.bank.join: true
                iConomy.bank.join.multiple: true
                iConomy.bank.leave: true
                iConomy.bank.list: true
                iConomy.bank.main: true
                iConomy.bank.main.change: true
                iConomy.bank.main.set: true
                iConomy.bank.main.view: true
                iConomy.bank.transfer: true
                iConomy.bank.transfer.multiple: true
                iConomy.bank.withdraw: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
                afkbooter.exempt: true
                afkbooter.config: true
                ultimatearena.admin: true
                nocheatplus.admin.commands: true
                nocheatplus.admin.reload: true
                nocheatplus.admin.plugins: true
                nocheatplus.checks: true
                nocheatplus.checks.blockbreak: true
                nocheatplus.checks.blockplace: true
                nocheatplus.checks.chat: true
                nocheatplus.checks.inventory: true
                nocheatplus.checks.moving: true
                nocheatplus.checks.fight: true
                nocheatplus.mods: true
                nocheatplus.mods.cjb: true
                nocheatplus.mods.minecraftautomap: true
                nocheatplus.mods.rei: true
                nocheatplus.mods.smartmoving: true
                nocheatplus.mods.zombe: true
                worldedit.*: true
                worldguard.*: true
                permissions.*: true
                essentials.*: true
            inheritance:
            - vip
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    First of all, you are missing the 'debug:' part at the bottom of the file. It should be:
    Code:
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    Second, it seems that you have a lot of permission nodes with brackets. ( the [ and ] signs) I highly doubt that those permission nodes are correct as i have never any like that.
    And third, your inheritance for your 'users' group isn't correct. It should be:
    Code:
      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.help: true
        inheritance:
        - default
     
  23. Offline

    codiack01

    well the users one was like that because the other way wasnt working at all. is there any reason they wouldnt be working?
     
  24. Offline

    Pintrix

    Hello, it's me again (third time I'm posting here) !
    Got another problem with my config. Really can't find the problem:
    Code:
    # PermissionsBukkit configuration file
    users:
      Pintrix:
        groups:
        - admin
        permissions:
          falsebook.blocks.bridge: true
      I_need_a_muffin:
        groups:
        - default
      LazerOLazer:
        groups:
        - default
      Beremans:
        groups:
        - default
        permissions:
          essentials.nuke: false
          essentials.nick: false
      Kaboem:
        groups:
        - default
      Riki115:
        groups:
        - default
      Superhero6:
        groups:
        - default
      Zeefir:
        groups:
        - default
      Adeni_Oraston:
        groups:
        - Moderator
      Pjeeeeeee:
        groups:
        - Moderator
        permissions:
          essentials.socialspy: true
      Drubbels:
        groups:
        - admin
        permissions:
          essentials.socialspy: true
          falsebook.blocks.bridge: true
          essentials.mute.exempt: false
      Booneskidz:
        groups:
        - default
      tristan3212:
        groups:
        - default
      tuuuurie:
        groups:
        - default
      eagle3212:
        groups:
        - default
    groups:
      outcast:
        permissions:
          permissions.build: true
          herochat.speak.offtopic: 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
          essentials.ban: true
          herochat.*: true
          simpleprefix.command.*: true
      default:
        permissions:
          permissions.build: true
          essentials.afk: true
          essentials.back: true
          essentials.back.ondeath: true
          essentials.balance: true
          essentials.balance.others: false
          essentials.balancetop: true
          essentials.chat.color: true
          essentials.chat.shout: true
          essentials.chat.question: true
          essentials.compass: true
          essentials.depth: true
          essentials.home: true
          essentials.ignore: true
          essentials.kit: true
          essentials.kit.tools: true
          essentials.mail: true
          essentials.mail.send: true
          essentials.me: false
          essentials.msg: true
          essentials.nick: false
          essentials.pay: true
          essentials.ping: true
          essentials.powertool: true
          essentials.protect: true
          essentials.sethome: true
          essentials.signs.use.*: true
          essentials.signs.create.disposal: true
          essentials.signs.create.mail: true
          essentials.signs.create.protection: true
          essentials.signs.create.trade: true
          essentials.signs.break.disposal: true
          essentials.signs.break.mail: true
          essentials.signs.break.protection: true
          essentials.signs.break.trade: true
          essentials.suicide: true
          essentials.time: true
          essentials.tpa: true
          essentials.tpaccept: true
          essentials.tpahere: true
          essentials.tpdeny: true
          essentials.warp: true
          essentials.warp.list: true
          essentials.worth: true
          essentials.gamemode: true
          essentials.gamemode.others: false
          falsebook.ic.standard
          falsebook.blocks.lift
          falsebook.blocks.lift.use
          falsebook.blocks.bridge: true
          falsebook.blocks.cauldron.use: true
          falsebook.blocks.gate: true
          falsebook.blocks.readbooks: true
          herochat.join.*: true
          herochat.leave.*: true
          herochat.speak.*: true
      moderator:
        permissions:
          permissions.build: 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
          herochat.*: true
          simpleprefix.command.editOwn: true
          simpleprefix.command.colours: true
          simpleprefix.command.editIndividual: true
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    
    Btw, is there an easy way to find syntax errors in yml files? (like a program that searches for tabs etc.)
     
  25. Offline

    Snowy007

    No idea, it should be working the way i showed you.

    You can use an online YAML parser: http://yaml-online-parser.appspot.com/
    It shows errors near line 134. If you look at the config, you see that you have 3 nodes that don't have 'true' or 'false'.

    The parser can't detect all syntax mistakes though. For instance, it won't complain about empty lines.
     
  26. Offline

    Fly007

    So what youre saying is, the default group MUST be named "default"?
     
  27. Offline

    Willpool

    For fuck's sake!

    Everytime I give my players a group they don't have the permissions. Everytime I give them permissions in the users they don't get the permissions. None of these permission plugins work. I'm not doing anything wrong.

    Uninstalled.
     
  28. Offline

    Snowy007

    Yes, is that a problem? You can't see the name in-game anyway and if you use a plugin for showing prefixes, you can usually change the prefix with that plugin.

    Obviously you are doing 'something' wrong. How else could it work for everyone but yourself. xD
    Now, if you stop acting so aggressive and instead show me your configuration file, i will probably be able to fix any mistakes there might be in there.

    Most common mistakes are:
    - Incorrect indention
    - Empty lines!!!
    - Forgetting 'true' or 'false'
    - Forgetting to put a space after the : sign and the 'true' or 'false'
     
  29. Offline

    karrotsrkool

    Hi, I'm setting up a server and would like the moderators to be able to use commands like ban and kick however they can't at the moment without being opped and when they are ops I can't restrict commands like /time day. I can't work out why so here is my code and do you know why:
    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
      karrot:
        groups:
        - admin
      dr_brian:
        groups:
        - admin
      masamune962:
        groups:
        - user
    groups:
      guest:
        default: true
        info:
          prefix: 'Guest'
        permissions:
          permissions.*: false
          permissions.build: false
          commandbook.*: false
      admin:
        info:
          prefix: 'Admin'
        permissions:
          permissions.*: true
        inheritance:
        - user
      user:
        info:
          prefix: 'User'
        permissions:
          Essentials.sethome: true
          Essentials.tpaccept: true
          Essentials.tpdeny: true
          Essentials.pay: true
          Essentials.balance: true
          Essentials.signs.use.*: true
          Essentials.afk: true
          Essentials.list: true
          Essentials.suicide: true
          Essentials.help: true
          Essentials.msg: true
          Essentials.mail: true
          Essentials.mail.*: true
          Essentials.home: true
          permissions.build: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - default
      moderator:
        info:
          prefix: 'Mod'
        children:
          Essentials.ban: true
          Essentials.pardon: true
          Essentials.unban: true
          Essentials.tempban: true
          Essentials.kick: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - user
        - server.admin
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    Thanks Andy A
     
  30. Offline

    Snowy007

    Maybe if you don't make stuff up it would work. xD
    I'm guessing you combined another permissions plugin with this one or something.
    'prefix' ? Shouldn't be in there... Use another plugin for creating prefixes. 'SimplePrefix' for example.
    'default: true' ? That won't work either. The group itself has to be named 'default'.
    'server.admin' at the moderator inheritance... you don't even have such group.

    Here it is with those things 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.
    users:
      ConspiracyWizard:
        permissions:
          permissions.example: true
        groups:
        - admin
      karrot:
        groups:
        - admin
      dr_brian:
        groups:
        - admin
      masamune962:
        groups:
        - user
    groups:
      default:
        permissions:
          permissions.*: false
          permissions.build: false
          commandbook.*: false
      admin:
        permissions:
          permissions.*: true
        inheritance:
        - user
      user:
        permissions:
          Essentials.sethome: true
          Essentials.tpaccept: true
          Essentials.tpdeny: true
          Essentials.pay: true
          Essentials.balance: true
          Essentials.signs.use.*: true
          Essentials.afk: true
          Essentials.list: true
          Essentials.suicide: true
          Essentials.help: true
          Essentials.msg: true
          Essentials.mail: true
          Essentials.mail.*: true
          Essentials.home: true
          permissions.build: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - default
      moderator:
        children:
          Essentials.ban: true
          Essentials.pardon: true
          Essentials.unban: true
          Essentials.tempban: true
          Essentials.kick: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - user
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
     
  31. Offline

    karrotsrkool

    Thanks, that was a compilation of various people who have obviously got it wrong however people who not an op but ranked as moderator still cant do things like kick and ban, any idea?
     

Share This Page