[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

    Acars

    ok is there a place for prefix/suffix anywhere in the yml paper :d
     
  3. Offline

    statistx

    ok, i give up and keep my 1.2 til it stops working.
    motherfucking permissions do nothing with the rewritten codes i posted up there. -_-

    "guywhowantedextrapermissions" in the group "mod" reports that he can't tp, can't use the PVP commands..basically no permission, except strangely the build permission, it even says "registering" when he logs in.

    After de-oping myself (i was the only op) i had no permissions either, but then i wrote /permissions reload and it worked, same goes for the group user, BUT the group mod is like it's not existing, still got no permssions for anything AND after logging out and in again, i had to write reload again
     
  4. Offline

    XLighterShadowX

    I can see why you took out the global '*' permission: why would we need it when we can just give them the OP status. But i'd like to request you put it back in. solely because of your true/false feature i'd like to give my admins/head admins the global '*' then use 'plugin.command: false' to form a blacklist, rather than having to make a massive whitelist, going through all the command nodes in all the plugins I have. Ever considered this? Still considering? :) it'd make my life easier seeing as I have LOADS of plugins :L
     
  5. Offline

    funky man

    If you are using the new 1.5 release that could be your issue, it seems a lot of people are having trouble with it including my self. If you are you may want to revert back to 1.2 (found here), until its fixed atleast.
    Also it is a good idea to run any yml configs through a parser (A good one here) as they break with the simpliest of mistakes.
     
  6. Offline

    Acars

    haha thanks I fixed some stuff though not sure how :confused:
     
  7. Offline

    DarkGuard357

    this has probably been asked before but is there any way to take away a specific, default command like /give.
     
  8. Offline

    funky man

    set it to false so bukkit.command.give: false
     
  9. Offline

    Acars

    ok so now im having troubles not sure if funkyman said this solution but when ever i add someone to the permissions group it basicly blocks them out.. not allowing them to talk :(
     
  10. Offline

    Oh_hi_thur

    So I put in all permissions in and it's working just fine. But when somebody connects to the server I have to reload the permissions and then they're good, but this happens EVERY time they log in, and this will get annoying after a while, how do I fix this?
     
  11. Offline

    mrcheesete0

    So I threw an error when I attempted to setgroup a player.
    Code:
    01.03 03:02:43 [Server] INFO     ... 14 more
    01.03 03:02:43 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    01.03 03:02:43 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:151)
    01.03 03:02:43 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:293)
    01.03 03:02:43 [Server] INFO Caused by: java.lang.NullPointerException
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    01.03 03:02:43 [Server] INFO     at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    01.03 03:02:43 [Server] INFO     at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:101)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744)
    01.03 03:02:43 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:784)
    01.03 03:02:43 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
    01.03 03:02:43 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    01.03 03:02:43 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    01.03 03:02:43 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.5
    01.03 03:02:43 [Server] SEVERE null
    01.03 03:02:43 [Server] INFO [Simple Prefix v1.4.6] Permissions node is incorrect or zerthisto doesn't have a node.
    01.03 03:02:43 [Server] INFO [Simple Prefix v1.4.6] Permissions node is incorrect or Delaveux doesn't have a node.
    01.03 03:02:43 [Server] INFO [Simple Prefix v1.4.6] Permissions node is incorrect or mrcheesete0 doesn't have a node.
    01.03 03:02:43 [Server] INFO [PLAYER_COMMAND] mrcheesete0: /permissions player setgroup zerthisto admin
    This is my config.yml:
    Code:
    # PermissionsBukkit configuration file
    # 
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    # 
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    # 
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    groups:
      admin:
        permissions:
          sortal.createsign: true
          sortal.createwarp: true
          sortal.delwarp: true
          sortal.register: true
          worldedit.selection.*: true
          worldedit.snapshots.*: true
          worldedit.history.*: true
          worldedit.navigation.*: true
          worldedit.analysis.*: true
          backup.backup: true
          backup.notify: true
          log.*: true
          vault.admin: true
          lwc.mod: true
          reporter.list: true
          reporter.view: true
          reporter.request: true
          reporter.complete: true
          reporter.respond: true
          KarmicShare.karma.other: true
          deadbolt.broadcast.*: true
          deadbolt.admin.create: true
          deadbolt.admin.bypass: true
          deadbolt.admin.commands: true
          deadbolt.admin.snoop: true
          OpenInv.openinv: true
          OpenInv.search: true
          OpenInv.crossworld: true
          OpenInv.exempt: true
          OpenInv.silent: true
          OpTalk.fattach: true
          Orebfuscator.deobfuscate: true
          xRayDeath.check: true
          xRayDeath.msg: true
          xRayDeath.search: true
          signlogger.notify
          vanish.standard: true
          bukkit.command.plugins: true
          simpleprefix.admins: true
          portal.portal: true
          mondochest.*: true
          partyhat.sign: true
          partyhat.use: true
          partyhat.wear.*: true
          jEnchant.enchant.sharpness.5: true
          jEnchant.enchant.smite.5: true
          jEnchant.enchant.baneofanthropods.5: true
          jEnchant.enchant.knockback.2: true
          jEnchant.enchant.fireaspect.2: true
          jEnchant.enchant.looting.3: true
          jEnchant.enchant.protection.4: true
          jEnchant.enchant.blastprotection.4: true
          jEnchant.enchant.fireportection.4: true
          jEnchant.enchant.projectileprotection.4: true
          jEnchant.enchant.fallprotection.4: true
          jEnchant.enchant.respiration.3: true
          jEnchant.enchant.aquaaffinity.1: true
          jEnchant.enchant.efficiency.5: true
          jEnchant.enchant.silktouch.1: true
          jEnchant.enchant.unbreaking.3: true
          jEnchant.enchant.fortune.3: true
          jEnchant.enchant.power.5: true
          jEnchant.enchant.punch.2: true
          jEnchant.enchant.flame.1: true
          jEnchant.enchant.infinity.1: true
          jEnchant.disenchant: true
          repairchest.create: true
          repairchest.use: true
          repairchest.destroy: true
          expbank.use: true
          KarmicShare.karma: true
          KarmicShare.give: true
          KarmicShare.commands.give: true
          KarmicShare.take: true
          KarmicShare.commands.take: true
          KarmicShare.list: true
          KarmicShare.value: true
          KarmicShare.info: true
          mobdisguise.*: true
          vanish.joinwithoutannounce: true
          vanish.silentquit: true
          vanish.fakeannounce: true
        inheritance:
        - default
      donator:
        permissions:
          simpleprefix.donator: true
          portal.portal: true
          mondochest.*: true
          partyhat.sign: true
          partyhat.use: true
          partyhat.wear.*: true
          jEnchant.enchant.sharpness.5: true
          jEnchant.enchant.smite.5: true
          jEnchant.enchant.baneofanthropods.5: true
          jEnchant.enchant.knockback.2: true
          jEnchant.enchant.fireaspect.2: true
          jEnchant.enchant.looting.3: true
          jEnchant.enchant.protection.4: true
          jEnchant.enchant.blastprotection.4: true
          jEnchant.enchant.fireportection.4: true
          jEnchant.enchant.projectileprotection.4: true
          jEnchant.enchant.fallprotection.4: true
          jEnchant.enchant.respiration.3: true
          jEnchant.enchant.aquaaffinity.1: true
          jEnchant.enchant.efficiency.5: true
          jEnchant.enchant.silktouch.1: true
          jEnchant.enchant.unbreaking.3: true
          jEnchant.enchant.fortune.3: true
          jEnchant.enchant.power.5: true
          jEnchant.enchant.punch.2: true
          jEnchant.enchant.flame.1: true
          jEnchant.enchant.infinity.1: true
          jEnchant.disenchant: true
          repairchest.create: true
          repairchest.use: true
          repairchest.destroy: true
          expbank.use: true
          KarmicShare.karma: true
          KarmicShare.give: true
          KarmicShare.commands.give: true
          KarmicShare.take: true
          KarmicShare.commands.take: true
          KarmicShare.list: true
          KarmicShare.value: true
          KarmicShare.info: true
          mobdisguise.*: true
          vanish.joinwithoutannounce: true
          vanish.silentquit: true
          vanish.fakeannounce: true
        inheritance:
        - default
      default:
        permissions:
          permissions:
            build: true
          sortal.warp: true
          lwc.protect: true
          reporter.report: true
          deadbolt.user.*: true
          OpenInv.anychest: true
          bukkit.command.plugins: false
    messages:
      build: '&cYou do not have permission to build here.'
    
    This really sucks because I just switched away from DroxPerms to this, hoping it would be more user-friendly to me. :(

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

    DarkGuard357

    is there any way to be more specific? i just want to make sure my friends cant spawn TNT. they are my friends but they'll destroy my buildings if i dont keep them in check.:)
    and does this work when they're in creative mode?
     
  13. Offline

    SpaceManiac

    Hey everyone!

    Sorry for all the trouble, and apologies for what amounts to an administrative slip-up on my part - I inadvertently uploaded a very early development version of 1.5 instead of the final release I intended to. A new version, 1.6, is available in the first post and here, and should fix any errors you are encountering as a result of upgrading to 1.5. Additionally, 1.6 will automatically fix portions of configurations that have been broken by 1.5 gradually as they are used.

    Again, the new build is here: http://dev.bukkit.org/server-mods/permbukkit/files/4/
     
    virtualism likes this.
  14. Offline

    funky man

    lmao, mistakes happen, its what makes us human? Will test asap.
     
  15. Offline

    LethalComet

    I Honestly DO NOT Know What Im Doing Wrong But For Every Permissions Setup Ive Tried It Never Works! Ill Send A File If You Need It But Please Help Me!
     

    Attached Files:

  16. Offline

    virtualism

    Thank you! I've been pulling my hair out for the past hour or so. Glad you fixed it so soon. My console is clean of errors once more! :)
     
  17. Offline

    mrcheesete0

    Updated to 1.6

    In console typed "perms player setgroup mrcheesete0 admin"

    results:
    Code:
    02.03 03:09:49 [Server] INFO     ... 7 more
    02.03 03:09:49 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    02.03 03:09:49 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:152)
    02.03 03:09:49 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:286)
    02.03 03:09:49 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.createPlayerNode(PermissionsCommand.java:400)
    02.03 03:09:49 [Server] INFO Caused by: java.lang.NullPointerException
    02.03 03:09:49 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02.03 03:09:49 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    02.03 03:09:49 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    02.03 03:09:49 [Server] INFO     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
    02.03 03:09:49 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:398)
    02.03 03:09:49 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
    02.03 03:09:49 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    02.03 03:09:49 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    02.03 03:09:49 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'perms' in plugin PermissionsBukkit v1.6
    02.03 03:09:49 [Server] WARNING Unexpected exception while parsing console command
     
  18. Offline

    LethalComet

    So Can someone just check or run my permissions file and fix it Please? I dont have any idea what's going on! :( Please Help
     
  19. Offline

    ProHDGaming214

    This is more hard but i am using this i am wacthing woopagaming video
     
  20. Offline

    blazee15

    Really need this updated to 1.2.2 even if its not a Stable Version.
     
  21. Offline

    callumpy

    1.6 works perfectly thanks!

    I'm using McMyAdmin to update the config file too if anyone wonders if it will work.
     
  22. Offline

    blazee15

    It works with McMyAdmin but not in 1.2.2 -_-
     
  23. Offline

    callumpy

    My McMyAdmin ain't even received the update for Bukkit 1.2.2 yet. Is it out?!
     
  24. Offline

    blazee15

    Nope they are currently awaiting the Stable Version of 1.2.2
     
  25. Offline

    mrcheesete0

    Still throwing an error when I type perms player setgroup mrcheesete0 admin in my console
    Code:
    02.03 19:42:35 [Server] INFO     ... 7 more
    02.03 19:42:35 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    02.03 19:42:35 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:152)
    02.03 19:42:35 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:286)
    02.03 19:42:35 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsCommand.createPlayerNode(PermissionsCommand.java:400)
    02.03 19:42:35 [Server] INFO Caused by: java.lang.NullPointerException
    02.03 19:42:35 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02.03 19:42:35 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    02.03 19:42:35 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    02.03 19:42:35 [Server] INFO     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
    02.03 19:42:35 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:398)
    02.03 19:42:35 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
    02.03 19:42:35 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    02.03 19:42:35 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    02.03 19:42:35 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'perms' in plugin PermissionsBukkit v1.6
    02.03 19:42:35 [Server] WARNING Unexpected exception while parsing console command
    My updated config
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        admin:
            permissions:
                sortal.createsign: true
                sortal.createwarp: true
                sortal.delwarp: true
                sortal.register: true
                worldedit.selection.*: true
                worldedit.snapshots.*: true
                worldedit.history.*: true
                worldedit.navigation.*: true
                worldedit.analysis.*: true
                backup.backup: true
                backup.notify: true
                log.*: true
                vault.admin: true
                lwc.mod: true
                reporter.list: true
                reporter.view: true
                reporter.request: true
                reporter.complete: true
                reporter.respond: true
                KarmicShare.karma.other: true
                deadbolt.broadcast.*: true
                deadbolt.admin.create: true
                deadbolt.admin.bypass: true
                deadbolt.admin.commands: true
                deadbolt.admin.snoop: true
                OpenInv.openinv: true
                OpenInv.search: true
                OpenInv.crossworld: true
                OpenInv.exempt: true
                OpenInv.silent: true
                OpTalk.fattach: true
                Orebfuscator.deobfuscate: true
                xRayDeath.check: true
                xRayDeath.msg: true
                xRayDeath.search: true
                signlogger.notify
                vanish.standard: true
                bukkit.command.plugins: true
                simpleprefix.admins: true
                portal.portal: true
                mondochest.*: true
                partyhat.sign: true
                partyhat.use: true
                partyhat.wear.*: true
                jEnchant.enchant.sharpness.5: true
                jEnchant.enchant.smite.5: true
                jEnchant.enchant.baneofanthropods.5: true
                jEnchant.enchant.knockback.2: true
                jEnchant.enchant.fireaspect.2: true
                jEnchant.enchant.looting.3: true
                jEnchant.enchant.protection.4: true
                jEnchant.enchant.blastprotection.4: true
                jEnchant.enchant.fireportection.4: true
                jEnchant.enchant.projectileprotection.4: true
                jEnchant.enchant.fallprotection.4: true
                jEnchant.enchant.respiration.3: true
                jEnchant.enchant.aquaaffinity.1: true
                jEnchant.enchant.efficiency.5: true
                jEnchant.enchant.silktouch.1: true
                jEnchant.enchant.unbreaking.3: true
                jEnchant.enchant.fortune.3: true
                jEnchant.enchant.power.5: true
                jEnchant.enchant.punch.2: true
                jEnchant.enchant.flame.1: true
                jEnchant.enchant.infinity.1: true
                jEnchant.disenchant: true
                repairchest.create: true
                repairchest.use: true
                repairchest.destroy: true
                expbank.use: true
                KarmicShare.karma: true
                KarmicShare.give: true
                KarmicShare.commands.give: true
                KarmicShare.take: true
                KarmicShare.commands.take: true
                KarmicShare.list: true
                KarmicShare.value: true
                KarmicShare.info: true
                mobdisguise.*: true
                vanish.joinwithoutannounce: true
                vanish.silentquit: true
                vanish.fakeannounce: true
            inheritance:
            - default
        donator:
            permissions:
                simpleprefix.donator: true
                portal.portal: true
                mondochest.*: true
                partyhat.sign: true
                partyhat.use: true
                partyhat.wear.*: true
                jEnchant.enchant.sharpness.5: true
                jEnchant.enchant.smite.5: true
                jEnchant.enchant.baneofanthropods.5: true
                jEnchant.enchant.knockback.2: true
                jEnchant.enchant.fireaspect.2: true
                jEnchant.enchant.looting.3: true
                jEnchant.enchant.protection.4: true
                jEnchant.enchant.blastprotection.4: true
                jEnchant.enchant.fireportection.4: true
                jEnchant.enchant.projectileprotection.4: true
                jEnchant.enchant.fallprotection.4: true
                jEnchant.enchant.respiration.3: true
                jEnchant.enchant.aquaaffinity.1: true
                jEnchant.enchant.efficiency.5: true
                jEnchant.enchant.silktouch.1: true
                jEnchant.enchant.unbreaking.3: true
                jEnchant.enchant.fortune.3: true
                jEnchant.enchant.power.5: true
                jEnchant.enchant.punch.2: true
                jEnchant.enchant.flame.1: true
                jEnchant.enchant.infinity.1: true
                jEnchant.disenchant: true
                repairchest.create: true
                repairchest.use: true
                repairchest.destroy: true
                expbank.use: true
                KarmicShare.karma: true
                KarmicShare.give: true
                KarmicShare.commands.give: true
                KarmicShare.take: true
                KarmicShare.commands.take: true
                KarmicShare.list: true
                KarmicShare.value: true
                KarmicShare.info: true
                mobdisguise.*: true
                vanish.joinwithoutannounce: true
                vanish.silentquit: true
                vanish.fakeannounce: true
            inheritance:
            - default
        default:
            permissions:
                permissions.build: true
                sortal.warp: true
                lwc.protect: true
                reporter.report: true
                deadbolt.user.*: true
                OpenInv.anychest: true
                bukkit.command.plugins: false
    messages:
        build: '&cYou do not have permission to build here.'
    
    debug: false
     
  26. Offline

    blazee15

    Just use SetRankPB

    We really need this updated like false, I dont even care if its stable or not.

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

    RaccoonLand

    hi, i am experiencing some trouble with permissionbukkit, its says "failed to load config" here is my config:

    users:
    racoonsru1e:
    permissions:
    permissions.*: true
    groups:
    - admin
    groups:
    default:
    permissions:
    permissions.build: true
    essentials.spawn: true
    essentials.afk: true
    essentials.help: true
    essentials.ignore: true
    essentials.mail.*: true
    essentials.motd: true
    essentials.msg: true
    essentials.rules: true
    essentials.sethome: true
    essentials.home: true
    essentials.suicide: true
    essentials.help: true
    essentials.compass: true

    admins:
    permissions:
    permissions.*: true
    inheritance:
    - helper
    helper:
    permissions:
    permissions.build: true
    hb.use: true
    adminchat.send: true
    adminchat.read: true
    essentials.time: true
    banhammer.kick: true
    essentials.tp.*: true
    essentials.weather: true
    worlds:
    creative:
    coolplugin.item: true
    inheritance:
    - default
    messages:
    build: '&cYou do not have permission to build here.'
    debug: false

    oh, that didnt come up very clear...

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

    mrcheesete0

    put it in
    Code:
     tags
     
  29. Offline

    LethalComet

    Code:
    users:
        LethalComet:
            permissions:
                permissions.buld: true
            groups:
            - Super-Admin
    groups:
        Respected:
            default: false
            info:
                prefix: ''
                suffix: ''
            permissions:
                - modifyworld.*
                - commandbook.clear
            inheritance:
                - Regular
        N00B:
            default: true
            prefix: ''
            permissions:
                - commandbook.kit.starter
                - commandbook.who
                - commandbook.motd
                - commandbook.intro
                - commandbook.rules
                - commandbook.kit.list
                - commandbook.time.check
                - commandbook.call
                - commandbook.home
                - commandbook.sethome
                - commandbook.warp.teleport
                - commandbook.warp.list
                - commandbook.msg
                - commandbook.away
                - commandbook.spawn
       Regular:
            default: false
            prefix: ''
            permissions:
                - commandbook.say.me
                - commandbook.warp.teleport.other
            inheritance:
                - N00B
        Advanced:
            prefix: ''
            permissions:
                - commands.here
                - commandbook.return
            inheritance:
                - Respected
        Mod:
            prefix: ''
            permissions:
                - commandbook.weather
                - commandbook.mute
                - commandbook.kick.*
                - commandbook.bans.ban
                - commandbook.bans.isbanned
                - commandbook.god
            inheritance:
                - Advanced
        Admin:
            prefix: ''
            permissions:
                - commands.here
                - never.use.tabs
                - commandbook.broadcast
                - commandbook.reload
                - commandbook.bans.unban
            inheritance:
                - Mod
        Super-Admin:
            prefix: ''
            permissions:
                - commandbook.give
                - commandbook.teleport.other
                - commandbook.clear.other
                - commandbook.gamemode
                - commandbook.gamemode.change
                - commandbook.gamemode.check
                - commandbook.gamemode.check.other
                - commandbook.spawnmob.cow
                - commandbook.spawnmob.pig
                - commandbook.spawnmob.chicken
            inheritance:
                - Admin
        Owner:
            prefix: ''
            permissions:
                - '*'
            inheritance:
                - Super-Admin
     
  30. Offline

    ravand

    It seems like the Essentials permissions are not given correctly to he Members. OPs can use it but everyone else cant :/
     
  31. Offline

    ItsHarry

    For my plugin, I need to know which group a player is in. How would I go about this? PLEASE HELP!!
     

Share This Page