[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

    Mitzey234

    umm here try this...
    delete everything but the jar and the map items
    (if you run on mac... keep the command app that you make to run the server
    and if you run the server on a PC with a .bat file to start it up... then keep that too.)
    then start the server and once it makes a plugins folder, stop the server
    and then downlaod your plugins and put them in.
    if you get the same thing, then one of the plugins is making this occur.
     
  3. Offline

    Danielzxzx

    Why is it now that everyone is put into the default group? I'm in the group 'co-owner' but it says that i'm in default. It just started doing this today.

    Code:
    users:
        Danielzxzx:
            groups:
            - co-owner
        LedZepGuy:
            groups:
            - co-owner
        benic:
            groups:
            - moderator
        capatise:
            groups:
            - moderator
        shotgunmaster4:
            groups:
            - moderator
        andrewdude_fail:
            groups:
            - recruit
        coltslayer:
            groups:
            - private
        xGTHxACE:
            groups:
            - private
        xSlush:
            groups:
            - private
        Stan1225:
            groups:
            - private
        10_ton_dick:
            groups:
            - private
        Raven__:
            groups:
            - private
        breakingu:
            groups:
            - private
        badboyash00:
            groups:
            - private
        phr0zenkidd:
            groups:
            - private
        blackout966:
            groups:
            - private
        WailordWin:
            groups:
            -private
        Avashark:
            groups:
            - corporal
        Mini_Me22:
            groups:
            - corporal
    groups:
        default:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        recruit:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        private:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        corporal:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        sergeant:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        lieutenant:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        captain:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        major:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        commander:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        colonel:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        general:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
        co-owner:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                bukkit.command.kick: true
                bukkit.command.ban.player: true
                bukkit.command.unban.player: true
                bukkit.command.ban.ip: true
                bukkit.command.unban.ip: true
                bukkit.command.op.give: true
                bukkit.command.op.take: true
                bukkit.command.teleport: true
                bukkit.command.give: true
                bukkit.command.say: true
                bukkit.command.gamemode: true
                bukkit.command.reload: true
                meanadmins.admin: true
                meanadmins.kill: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.reload: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.guiColumnThree: true
                spoutessentials.music: true
                deathcounter.admin: true
                deathcounter.users: true
                permissions.player.addgroup: true
                permissions.player.removegroup: true
                votebans.canKick: true
                votebans.canNotBeBanned: true
        moderator:
            permissions:
                permissions.build: false
                bukkit.command.tell: true
                bukkit.command.kill: true
                bukkit.command.me: true
                bukkit.command.help: true
                bukkit.command.list: true
                bukkit.command.version: true
                bukkit.command.plugins: true
                bukkit.command.kick: true
                bukkit.command.ban.player: true
                bukkit.command.unban.player: true
                bukkit.command.ban.ip: true
                bukkit.command.unban.ip: true
                bukkit.command.teleport: true
                bukkit.command.say: true
                meanadmins.admin: true
                meanadmins.kill: true
                nohunger.instantheal: true
                nohunger.disablehunger: true
                spoutessentials.joinmessage: true
                spoutessentials.leavemessage: true
                spoutessentials.guiHELP: true
                spoutessentials.guiColumnOne: true
                spoutessentials.guiColumnTwo: true
                spoutessentials.music: true
                deathcounter.users: true
                votebans.canKick: true
                votebans.canNotBeBanned: true
    messages:
        build: ''
    debug: false
    
     
  4. Offline

    b00n

    no permissions are working on my server at all.
    it was my understanding that i could use the default permissions.yml to make children commands, and here is that:
    trusted.default:
    description: All the permissions for the trusted members of the server.
    default: false
    children:
    admincmd.player.eternal: true
    admincmd.tp.to: true
    admincmd.tp.location: true
    admincmd.tp.back: true
    deathcontrol.use: true
    deathcontrol.free: true
    deathcontrol.admin: true
    owner.default:
    description: All the permissions for the owner of the server.
    default: false
    children:
    admincmd.player.*: true
    admincmd.tp.*: true
    admincmd.server.*: true
    admincmd.time.*: true
    admincmd.item.*: true
    admincmd.weather.*: true
    admincmd.mob.*: true
    deathcontrol.use: true
    deathcontrol.free: true
    deathcontrol.admin: true
    iConomy.*: true
    towny.town.*: true
    towny.nation.*: true
    towny.wild.*: true
    ----and then my permissions inside of permissionsbukkit/config.yml:
    users:
    b00n33:
    permissions:
    groups:
    - owner
    pluffalo:
    permissions:
    groups:
    - Admins
    i do have it all spaced, and to my knowledge properly.
    im really confused as to why this isnt working. maybe the children commands, but also whenever i try to use and of the /perm commands in game, it just sends out all the commands.
     
  5. Offline

    Snaipe

    You have forgotten a space here :

    Code:
        WailordWin:
            groups:
            -private
    between the '-' and 'private'.

    you should always check your configs with a yaml parser...
     
    Danielzxzx likes this.
  6. Offline

    Danielzxzx

    Thanks so much! Not sure why nothing before that won't even work but I guess thats how it works.

    I have another question. How do I make the default group, 'recruit'?
     
  7. Offline

    jkmalan

    @Phedg1
    To set it for users:
    Code:
    users:
        jkmalan:
            permissions:
                permissions.build: true
                permissions.*: true
            worlds:
                world1:
                    permissions.build: false
                world1_nether:
                    permissions.*: false
    It is the same setup, do you have it correct?
     
  8. Offline

    Clucky

    Thanks for the help, works perfectly :D
     
  9. Offline

    iggi

    Can someone help me, for some reason /permissions reload is now just printing help text and not reloading the permissions, does anyone know why?
     
  10. Offline

    Ashneil Roy

    Hi
    I'm making a small adminmode plugin that lets you switch your group and gamemode with /am . I'm having a bit of trouble with setting the group. I haven't found anything about this on forums. I'm not skilled enough in java to tie directly into permissionsbukkit myself. Does anyone know of a way to set a user's group from inside a plugin?

    Thanks in advance.
     
  11. Offline

    gameswereus

    Thanks for this great plugin.
     
  12. Offline

    ForsakenRealmz

    Anyone know why it doesn't show "Admin" before my name?
     
  13. Offline

    Anora

    hey is there a way to allow a player to interact whit objects? like levers, dores and switches and presures plates
     
  14. Offline

    Bartrulz

    i'm getting an error when launching my bukkit server:
    Code:
    [SEVERE] Error occurred while enabling PermissionsBukkit v1.2 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
     in "<reader>", line 57, column 30:
                    permissions.build: true
                                     ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:535)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
        at org.bukkit.util.config.Configuration.load(Configuration.java:89)
        at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:116)
        at com.platymuus.bukkit.permissions.BlockListener.<init>(BlockListener.java:15)
        at com.platymuus.bukkit.permissions.PermissionsPlugin.onEnable(PermissionsPlugin.java:39)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  15. Offline

    Ashneil Roy

    It's your config.
     
  16. Offline

    Eternaleel

    Okay I've been trying to figure this out on my own for a couple of days now, and I've finally given up.
    It's probably going to be something ridiculously simple that I would have never seen.
    This is my second server, but I've never used bukkit before. I am only trying to run one plugin currently which is PressurePort. Here is what I got in my config.yml
    Show Spoiler

    Code:
    users:
        DP_Infinity:
            permissions:
            groups:
            - admin
        fidgeting:
            permissions:
            groups:
            - moderator
        Phyllis18:
            permissions:
            groups:
            - moderator
        Tzukasu:
            permissions:
            groups:
            - moderator
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
                PressurePort.*: true
            inheritance:
            - user
        moderator:
            permissions:
                permissions.*: true
            inheritance:
            - admin
        user:
            permissions:
                permissions.build: true
                PressurePort.Use: true
            worlds:
                creative:
                     coolplugin.item: true
            inheritance:
            - default
    messages:
        build: 'You do not have permission to build here.'
    


    I have no idea what I'm doing wrong. All I know is that when I start running my server I notice that in craftbukkit it says Permission system not detected defaulting to OP. PressurePort won't work without a permissions system, otherwise I would just use the OP system.
    I am hoping the fix is super simple.... oTL
     
  17. Offline

    hcfreddy

    How can i go back to the good old Permissions, with the good old SetRank on the latest bukkit stable??? Because i don't know how to use the new, but i know the old one.
     
  18. Offline

    MiNdFrReAk

    Hello,

    Im using your plugin till 3 month or longer, I dont know.
    So until now it works really fine.
    But recently it didn't work exactly.

    If I make an Area and create it, the console says to me that the area is createt, but
    If I go to the area, no welcomemsg appears and if I type /al info Its shows an error that I
    must be in a Area.
    I use the recetangle option in the .dat file.

    I'm doing the protection like in the video in your descripton.
     
  19. Offline

    Julianoz1224

    Mine just wont work :(
    I add permissions to the config for both my player and group but the commands still tell me I dont have permission

    Also when I try to use any command I just get the help menu. :(
     
  20. Offline

    Pepe578

    My users cant build even if I gave them permissions.build to true
     
  21. Offline

    Spl1tz

    Could you tell me please whats wrong with this setting?
    I gave default, members and mods the same World specific permissions (in BattleWorld2) (and each with their own inheritance ofc) but the nodes won't work when they are in that world...

    Code:
    groups:
        default:
            permissions:
                banhammer.weight.light: true
                commandbook.afk: true
                commandbook.call: true
                commandbook.clear: true
                commandbook.motd: true
                commandbook.msg: true
                commandbook.return: true
                commandbook.rules: true
                commandbook.say: true
                commandbook.say.me: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                commandbook.who: true
                commandbook.whois: true
                hsp.CooldownExempt.<*>: true
                hsp.command.groupspawn.use: true
                hsp.command.home.use: true
                hsp.command.sethome.use: true
                hsp.command.spawn.use: true
                hsp.home.bedsethome: true
                inventorySave.use: true
                lwc.protect: true
                mchat.custVar.default: true
                mchat.prefix.default: true
                multiverse.access.Zeworld: true
                multiverse.access.Zeworld_nether: true
                multiverse.access.Zeworld2: false
                multiverse.access.Zeworld2_nether: false
                permissions.build: true
                tombstone.cmd.tombfind: true
                tombstone.freechest: true
                tombstone.freesign: true
                tombstone.large: true
                tombstone.lwc: true
                tombstone.quickloot: true
                tombstone.sign: true
                tombstone.use: true
                warpz0r.compasshome: true
                warpz0r.compassreset: true
                warpz0r.compasswarp: true
                warpz0r.free.bedhome: true
                warpz0r.free.home: true
                warpz0r.free.sethome: true
                warpz0r.free.warp: true
                warpz0r.list: true
                warpz0r.use.warp: true
                xauth.register: true
            worlds:
                BattleWorld2:
                armageddon.display: true
                armageddon.configure: true
                armageddon.toggle: true
                armageddon.grenades.*: true
                armageddon.guns.*: true
                commandbook.give: true
            inheritance:
            - default
     
  22. Offline

    Munno

    Until recently my server worked perfectly with the same setup I have now. After a massive crash, the permission lines

    bukkit.command.

    completely breaks the permissions.

    It seems to be a (Craft)Bukkit problem because everything worked perfectly until the entire server crashed.
    Bukkit and PermissionsBukkit have been reinstalled, but the error still occurs.

    I don't exactly know where to post this, so I'm putting it here and in CB forum.
     
  23. Offline

    Ben1853

    Is there a way to interact with things like pressure plates or buttons? Antibuild seems to be not letting me do this. I don't want them to build but i want them to interact.
     
  24. Offline

    John

    Does PermissionsBukkit work with Essentials?
     
  25. Offline

    Snaipe

    you forgot 4-space-tabulations here :
    Code:
            worlds:
                BattleWorld2:
                armageddon.display: true
                armageddon.configure: true
                armageddon.toggle: true
                armageddon.grenades.*: true
                armageddon.guns.*: true
                commandbook.give: true
    
    the code should look like this :

    Code:
            worlds:
                BattleWorld2:
                    armageddon.display: true
                    armageddon.configure: true
                    armageddon.toggle: true
                    armageddon.grenades.*: true
                    armageddon.guns.*: true
                    commandbook.give: true
    
     
  26. Offline

    Spl1tz

    Oooh that was it, i somehow fixed it myself but this is good to know.
    Thx!
     
  27. Offline

    Monjhall

    Is there a way to automatically grant specific permissions after a certain period of time? For example, after an hour of play time a person is upgraded from default to a regular user. This would require players to show some dedication before they can blow stuff up.
    If this isn't currently included is there the possibility of adding it in the future?
     
  28. Offline

    Wannab

    it doesnt look like anything is being done with this plugin, so i wouldnt expect any new features, or updates for that matter, ive already dumped it for pex
     
  29. Offline

    Jigsaw

    "the Official Default Groups Plugin"

    This is the plugin bukkit recommends for permissions and yet it never gets updated? I switched a while ago thinking that was going to be the last time I had to switch a permissions plugin. Now I keep looking back here to see for new changes or updates and NOTHING. Please someone take this over that is actually going to work on it. I mean COME ON this is recommended by bukkit. Very disappointed.
     
  30. Offline

    GameFAQsRolo

    It does seem strange that the recommended build hasn't been updated in so long, but the dev build on the bukkitdev page is updated regularly. If you're absolutely sure a problem you're having is caused by permissionsbukkit, then just download the latest dev build.
     
  31. Offline

    Rich Boos

    It is very sad that the official groups plugin is rarely updated. Especially since some plugin authors are refusing to support anything but super-perms. I've used every permission manager since March (essentials, permssions2,3, pex, bpermissions) and was hoping that PermissionsBukkit would have taken the best features of each. It doesn't. Instead
    - We lose the wildcard which sounds great theoretically (Plugin devs will impliment their own permission.*) but fails in reality (they don't, so you have to type it all anyway or get a bridge).
    - We have an official group plugin that on the main thread it recommends other users builds??wat?
    - A sometimes updated forum thread
    - A sometimes updated bukkit dev

    I understand having consistancy and standards make sense, but 'competition' is also good and it is a shame that some plugins only support superperms. I've donated over $50.00 split up among some of my favorite plugins. It seems like soon I won't have have a permission solution I can throw money at until it works. meh.
     

Share This Page