[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

    Xanadar

    I am having this exact same issue. I have no idea what is causing this.
    Here is a pastie to mine: http://pastie.org/2704741

     
  3. Offline

    Raskull

    You need to remove the - and add true or false to your permissions. Fix the spacing as well. Looks like you just copy/pasted from an old permissions config and didn't bother to actually look at the yml formatting of this plugin.
     
  4. Offline

    Seismic

    Just a question, do I need both Krinsdeath fixbuild and permissionsbukkit 1.1 or just one of them?
     
  5. Offline

    goodoletom

    hey no plugins are picking it up, WHY?
     
  6. Offline

    nedtheninja

    Unless a good tutorial for this plugin comes up, its dead.
     
    Clucky likes this.
  7. Offline

    Seismic

    Can anyone plz help me? I'm really getting annoyed by this why it doesn't work. there is no error message, but in the server one simply has absolutly no permissions or all permissions.
    here is mij config file:
    <iframe src="http://pastebin.com/embed_iframe.php?i=azfFe5aP" style="border:none;width:100%"></iframe>
     
  8. Offline

    Wannab

    yeh im starting to agree with you, not because there isnt a tutorial, but because it doesnt seem like anything is happening with the plugin, no features being added, no updates, no response from the plugin developer....

    for being the "official default group plugin" and being recommended by the bukkit team, this is kinda lame
     
    Clucky and fahlman like this.
  9. Offline

    Crysillion

    ITT: Bukkit fucking up a perfectly good thing, considering I haven't really met anyone that's had issues with Nijjiokun's Permissions, and yet have had tons of issues with this.

    Just saying, this whole thing has really pissed me off. This hasn't made things better. It's made them worse.
     
  10. Offline

    Celtic Minstrel

    While it's true this plugin hasn't been updated, it's also true that it still works, so it doesn't really need an update. That said, there are about half a dozen things I'd like to improve in this plugin but haven't had time.
     
  11. Offline

    Elfsovereign

    I realize this is a bit of an extreme action to take, but I've been trying to fix this for a while:
    Something with this file is off, and I can't tell what. Pretty much nothing is working anymore, and the groups are non-responsive to other plugins like iChat. Here's my config file:
    Code:
    users:
        Elfsovereign:
            permissions:
                permissions.example: true
            groups:
            - Owner
        Meike13:
            permissions:
                permissions.example: true
            groups:
            - Owner
        deathphantom95:
            permissions:
                superpermbridge.*: true
            groups:
            - Owner
        lego1251:
            permissions:
                permissions.example: true
            groups:
            - Admins
        elfsovereign:
            permissions:
                permissions.example: true
            groups:
            - Admins
        FauxDazzle:
            permissions:
                permissions.example: true
            groups: []
        cole823:
            permissions:
                permissions.example: true
            groups:
            - Trusted
        parkerjallen:
            permissions:
            groups:
            - Citizen
        popdot:
            groups:
            - Citizen
        j_m_t_14:
            groups:
            - Citizen
        whitewarrior23:
            groups:
            - Citizen
        KITTNER:
            groups:
            - Trusted
        mimi117:
            groups:
            - Citizen
        painleader:
            groups:
            - Prisoner
        munchie285:
            groups:
            - Citizen
        yelloweon:
            groups:
            - Citizen
        koozya1234:
            groups:
            - Citizen
        playerslayerx:
            groups:
            - Citizen
        citizen:
            groups:
            - default
            - Leysdaea
        leysdaea:
            groups:
            - default
            - Citizen
        minermandavid:
            groups:
            - Citizen
        anguisinherba:
            groups:
            - Citizen
    groups:
        default:
            permissions:
                falsebook.anyic: true
                falsebook.blocks.gate: true
                falsebook.blocks.lift: true
                falsebook.blocks.bridge: true
                ichat.color: true
                falsebook.*: true
                superpermbridge.seats.sit: true
                seats.sit: true
                permissions.build: false
                wormhole.use.sign: true
                superpermbridge.commandbook.rules: true
                superpermbridge.mobarena.use.*: true
                superpermbridge.mobarena.classes.*: true
                superpermbridge.mobarena.arenas.*: true
                warpz0r.home: true
                warpz0r.sethome: true
                warpz0r.bedhome: true
                superpermbridge.warpz0r.*: true
                superpermbridge.bridge-enable: true
                superpermbridge.bridge-redstone: true
                superpermbridge.bridge-blocks: true
                superpermbridge.bridge-max-length: true
                superpermbridge.gate-enable: true
                superpermbridge.gate-redstone: true
                superpermbridge.elevators-enable: true
                superpermbridge.craftbook.mech.bookshelf.use: true
                superpermbridge.redstone-netherstone: true
                superpermbridge.nSpleef.member.join: true
                superpermbridge.nSpleef.member.leave: true
                superpermbridge.mxRingplatform.use: true
                superpermbridge.wormhole.*: true
                superpermbridge.craftbook.*: true
                superpermbridge.creativegates.use: true
        Admins:
            permissions:
                falsebook.*: true
                ichat.color: true
                superpermbridge.mobarena.admin.protect: true
                superpermbridge.mobarena.admin.restore: true
                superpermbridge.mobarena.admin.force.end: true
                superpermbridge.mobarena.admin.force.start: true
                superpermbridge.mobarena.admin.config.reload: true
                superpermbridge.mobarena.setup.arena: true
                superpermbridge.mobarena.setup.setarena: true
                superpermbridge.mobarena.setup.addarena: true
                superpermbridge.mobarena.setup.delarena: true
                superpermbridge.mobarena.setup.editarena: true
                superpermbridge.mobarena.setup.setregion: true
                superpermbridge.mobarena.setup.expandregion: true
                superpermbridge.mobarena.setup.showregion: true
                superpermbridge.mobarena.setup.setlobbyregion: true
                superpermbridge.mobarena.setup.expandlobbyregion: true
                superpermbridge.mobarena.setup.setwarp: true
                superpermbridge.mobarena.setup.spawnpoints: true
                superpermbridge.mobarena.setup.addspawn: true
                superpermbridge.mobarena.setup.delspawn: true
                superpermbridge.mobarena.setup.autogenerate: true
                superpermbridge.mobarena.setup.autodegenerate: true
                wormhole.use.dialer: true
                wormhole.use.compass: true
                wormhole.remove.own: true
                wormhole.remove.all: true
                wormhole.build: true
                wormhole.config: true
                wormhole.list: true
                wormhole.go: true
                wormhole.build.groupone: true
                wormhole.build.grouptwo: true
                wormhole.build.groupthree: true
                wormhole.cooldown.groupone: true
                wormhole.cooldown.grouptwo: true
                wormhole.cooldown.groupthree: true
                warpz0r.warp: true
                warpz0r.set: true
                warpz0r.set.cost: true
                warpz0r.remove: true
                warpz0r.list: true
                warpz0r.warpto: true
                warpz0r.worldwarp: true
                warpz0r.worldhome: true
                warpz0r.compasshomewarpz0r.home: true
                warpz0r.sethome: true
                warpz0r.bedhome: true
                warpz0r.compasswarp: true
                warpz0r.compassreset: true
                warpz0r.free.warp: true
                warpz0r.free.setwarp: true
                warpz0r.free.removewarp: true
                warpz0r.free.home: true
                warpz0r.free.sethome: true
                warpz0r.free.bedhome: true
                warpz0r.admin.clearhome: true
                warpz0r.admin.home: true
                warpz0r.admin.sethome: true
                superpermbridge.supplysign.*: true
                SimpleJail.jail: true
                SimpleJail.unjail: true
                SpawnX.*: true
                superpermbridge.worldguard.region.define.*: true
                superpermbridge.worldguard.region.redefine.*: true
                superpermbridge.worldguard.region.select.*: true
                superpermbridge.worldguard.region.info.*: true
                superpermbridge.worldguard.region.addowner.*: true
                superpermbridge.worldguard.region.removeowner.*: true
                superpermbridge.worldguard.region.addmember.*: true
                superpermbridge.worldguard.region.removemember.*: true
                superpermbridge.worldguard.region.list: true
                superpermbridge.worldguard.region.flag.regions.*: true
                superpermbridge.worldguard.region.flag.flags.*: true
                superpermbridge.worldguard.region.setpriority.*: true
                superpermbridge.worldguard.region.setparent.*: true
                superpermbridge.worldguard.region.remove.*: true
                superpermbridge.worldguard.reload: true
                superpermbridge.worldguard.report: true
                superpermbridge.worldguard.report.pastebin: true
                superpermbridge.worldguard.*: true
            inheritance:
            - Moderator
        Citizen:
            permissions:
                falsebook.*: true
                ichat.color: true
                commandblocks.use: true
                superpermbridge.commandbook.give.*: true
                superpermbridge.commandbook.give.infinite: true
                superpermbridge.commandbook.give.stacks: true
                superpermbridge.commandbook.give.stacks.unlimited: true
                mobarena.use.*: true
                movecraft.aircraft.*: true
                movecraft.boat.info: true
                movecraft.boat.sail: true
                movecraft.car.*: true
                permissions.build: true
                superpermbridge.commandbook.kit.kits.*: true
                superpermbridge.commandbook.kit.list: true
                superpermbridge.commandbook.kits.kit.build: true
                superpermbridge.commandbook.kits.kit.electric: true
                superpermbridge.commandbook.kits.kit.starter: true
                superpermbridge.commandbook.kits.kit.wool: true
                superpermbridge.commandbook.spawn: true
                superpermbridge.lockette.user.create.*: true
                superpermbridge.nSpleef.member.creategame: true
                superpermbridge.nSpleef.member.deletegame: true
                superpermbridge.nSpleef.member.list: true
                superpermbridge.nSpleef.member.wager: true
                superpermbridge.supplysign.access: true
                superpermbridge.supplysign.access.armor: true
                superpermbridge.supplysign.access.build: true
                superpermbridge.supplysign.access.chainmail: true
                superpermbridge.supplysign.access.desert: true
                superpermbridge.supplysign.access.diamondplus: true
                superpermbridge.supplysign.access.diamondtool: true
                superpermbridge.supplysign.access.dye: true
                superpermbridge.supplysign.access.electric: true
                superpermbridge.supplysign.access.furniture1: true
                superpermbridge.supplysign.access.furniture2: true
                superpermbridge.supplysign.access.goldplus: true
                superpermbridge.supplysign.access.goldtools: true
                superpermbridge.supplysign.access.ironplus: true
                superpermbridge.supplysign.access.irontools: true
                superpermbridge.supplysign.access.makecake: true
                superpermbridge.supplysign.access.rare: true
                superpermbridge.supplysign.access.tools: true
                superpermbridge.supplysign.access.transport: true
                superpermbridge.supplysign.access.woodplus: true
                superpermbridge.supplysign.access.woodtools: true
                superpermbridge.supplysign.access.wool: true
                superpermbridge.worldguard.region.claim: true
                superpermbridge.worldguard.region.redefine.member.*: true
                superpermbridge.worldguard.region.redefine.own.*: true
                superpermbridge.wormhole.*: true
                warpz0r.sethome: true
                warpz0r.bedhome: true
                warpz0r.free.home: true
                warpz0r.free.sethome: true
                warpz0r.free.bedhome: true
                warpz0r.worldwarp: true
                warpz0r.worldhome: true
                SpawnX.spawn: true
                superpermbridge.commandbook.clear: true
            inheritance:
            - default
        Trusted:
            permissions:
                falsebook.*: true
                ichat.color: true
                superpermbridge.commandbook.*: true
                superpermbridge.commandbook.time: true
                superpermbridge.commandbook.teleport: true
                superpermbridge.commandbook.msg: true
                superpermbridge.commandbook.return: true
                superpermbridge.commandbook.call: true
                superpermbridge.commandbook.weather: true
                superpermbridge.commandbook.weather.thunder: true
            inheritance:
            - Citizen
        Moderator:
            permissions:
                falsebook.*: true
                ichat.color: true
                superpermbridge.creativegates.*: true
                permissions.*: true
                superpermbridge.commandbook.*: true
                superpermbridge.commandbook.kits.kit.admin: true
                superpermbridge.commandbook.give: true
                superpermbridge.commandbook.give.other: true
                superpermbridge.commandbook.give.infinite: true
                superpermbridge.commandbook.give.stacks: true
                superpermbridge.commandbook.give.stacks.unlimited: true
                superpermbridge.commandbook.who: true
                superpermbridge.commandbook.time.check: true
                superpermbridge.commandbook.time: true
                superpermbridge.commandbook.time.lock: true
                superpermbridge.commandbook.spawnmob: true
                superpermbridge.commandbook.spawnmob.many: true
                superpermbridge.commandbook.weather: true
                superpermbridge.commandbook.weather.thunder: true
                superpermbridge.commandbook.teleport: true
                superpermbridge.commandbook.teleport.other: true
                superpermbridge.commandbook.return: true
                superpermbridge.commandbook.call: true
                superpermbridge.commandbook.say: true
                superpermbridge.commandbook.msg: true
                superpermbridge.commandbook.mute: true
                superpermbridge.commandbook.slap: true
                superpermbridge.commandbook.slap.other: true
                superpermbridge.commandbook.clear: true
                superpermbridge.commandbook.clear.other: true
                superpermbridge.commandbook.shock: true
                superpermbridge.commandbook.shock.other: true
                superpermbridge.commandbook.barrage: true
                superpermbridge.commandbook.barrage.other: true
                superpermbridge.commandbook.rocket: true
                superpermbridge.commandbook.rocket.other: true
                superpermbridge.commandbook.thor: true
                superpermbridge.commandbook.thor.other: true
                superpermbridge.commandbook.debug.clock: true
                superpermbridge.commandbook.debug.info: true
                superpermbridge.commandbook.reload: true
                superpermbridge.commandbook.kick: true
                superpermbridge.mxRingplatform.create: true
                superpermbridge.mxRingplatform.list: true
                superpermbridge.mxRingplatform.nowait: true
            inheritance:
            - Trusted
        Prisoner:
            permissions:
                falsebook.*: true
                ichat.color: true
                mchat.prefix.Prisoner: true
                permissions.build: false
        Owner:
            permissions:
                falsebook.anyic: true
                falsebook.blocks.gate: true
                falsebook.blocks.lift: true
                falsebook.blocks.bridge: true
                falsebook.*: true
                ichat.color: true
                superpermbridge.*: true
                permissions.*: true
                creativegates.*: true
                vanish.*: true
                commandblocks.set: true
                commandblocks.use: true
                superpermbridge.seats.sit: true
                seats.sit: true
                superpermbridge.bb.*: true
    messages:
        build: To build you must ask to be made a Citizen.
    debug: false
    
    EDIT: Pretty sure we're running the 1240 build as well, and the server runs 1240. If you need the iChat config, or any others let me know.
     
  12. Offline

    zanetheinsane

    @Elfsovereign : I had a very weird problem last night with a user not having a permission that they technically should have had. They were part of the correct group and the permission was set to "true" in the config, but when I manually checked the node ingame it reported that they had the permission set to false, even though other online players from the exact same group had the correct permission. Once I manually removed and re-added the permission there were no problems.

    Go in game and do "/permissions check ichat.color <player>" to see if they are actually even getting the node. (The player has to be logged on for this to work.) I don't now what is causing this problem but it's a good place to start.
     
  13. Offline

    cowsheepo

    http://pastebin.com/ZjARiHVd

    can somebody please tell me where i'm going wrong? i'm digging up blocks fine, but whenever i go for any command i just get the 'bukkit is sad'

    (or, alternatively, change to work with a different plugin?)

    Plugin list: MCStats3,ChatLogger,ChestShop,ChopTree,Jail,LWC,LocalShop,PermissionsBukkit-1.2,RemoteBukkit,SimpleAntiGrief,WorldEdit,iConomy,iConomyDeath

    (just out of server.properties)

    Thanks,
    Steven
     
  14. Offline

    Azlodin

    Is it possible to set per-world groups for users?
     
  15. Offline

    GravelSocks

    There is some issue when using PermissionsBukkit/SuperPermsBridge 1.2 in CB1317. I see a null ptr exception on shutdown.

    Code:
    2011-10-18 12:10:12 [INFO] CONSOLE: Stopping the server..
    2011-10-18 12:10:12 [INFO] Stopping server
    2011-10-18 12:10:12 [INFO] PermissionsBukkit v1.2 is now disabled
    2011-10-18 12:10:12 [SEVERE] Error occurred (in the plugin loader) while disabling Permissions v2.7.7 (Is it up to date?): null
    java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.java:245)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:992)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-18 12:10:12 [INFO] Saving chunks
    2011-10-18 12:10:12 [INFO] Stopping server
    2011-10-18 12:10:12 [INFO] Saving chunks
    When there are no other plugins installed besides perms/superpermsbridge, I don't see the problem. But, when I install BigBrother, for example, and it enables default minecraft permissions, then I see the above error on shutdown. I hope this is helpful. It may be a bukkit issue, rather than perms, but if so, please pass it along. There seem to be numerous server shutdown issues with CB1317, based on what I have noticed.
     
  16. Offline

    Adfest

    I seem to be having some difficulty setting up world based permissions. And here I thought I had this shiny new system down.

    here is an example of what I am attempting and how I'm doing it:

    I have multiverse with a custom map in a world called "custommap" (clever, I know).

    Most of my players have the magiccarpet.mc: true permission. I would like them to have that available to them in my default world called "happyland" (ignore how stupid that is please), but not in "custommap". I have tried a few things out that have not worked.

    (edit: assume those examples of how I set it up down there are properly spaced and such for yaml. I know how to do all that, the forum doesn't like it though)
    (edit2: oh look! a code button! nvm)

    player based permissions:

    Code:
    playername:
        groups:
        - reg
        permissions:
            magiccarpet.mc: true
        world:
            customworld:
                magiccarpet.mc: false
    When I did this the player was able to use the permission in both worlds. I also attempted this same thing, but removing "permissions: magiccarpet.mc: true" and adding "happyland: magiccarpet.mc: true" like so:

    Code:
    playername:
        groups:
        - reg
        permissions:
           somethingelse.doody: true
        world:
            customworld:
                magiccarpet.mc: false
            happyland:
                magiccarpet.mc: true
    This resulted in the player not having access to the permission in either world.

    I also attempted something similar, but under group permissions rather than user that resulted in the same issues as stated above. Then I tried to make a special custom node in the root permissions config that looked a bit like this:

    Code:
    feature.mc:
        description: magic carpet feature
        children:
            world:
                custommap:
                    magiccarpet.mc: false
                happyland:
                    magiccarpet.mc: true
        default: false
    Got all excited about that feature and its potential, but just doesn't work with worlds. I'm obviously doing something wrong here, but I just can't tell what. Anyone experienced with world based permissions able to spot what I'm doing wrong here, or even an example of what you did could help.
     
  17. Offline

    Celtic Minstrel

    Are you using PB 1.2? That was slightly broken in 1.1 as I recall.
     
  18. Offline

    Heliwr

    I think you need worlds: instead of world:
     
  19. Offline

    draognzboy

    Hey guys, i have a problem. What i'm trying to do is to add someone to the group called 'Poison' I dont know what im doing wrong.. please help me out. this is my config

    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    
    users:
        Theinterception:
            groups:
            - Poison
    groups:
        Default:
            permissions:
                factions.create: true
                factions.participate: true
                permissions.build: true
                essentials.build: false
                essentials.rules: true
                essentials.motd: true
                essentials.list: true
                essentials.helpop: true
                essentials.help: true
                essentials.balance: true
        Poison:
            permissions:
                essentials.kit: true
                permissions.build: true
                essentials.balance: true
                essentials.home: true
                essentials.kit.poison: true
                essentials.msg: true
                essentials.pay: true
                essentials.sethome: true
                essentials.tpa: true
                essentials.tpaccept: true
                essentials.tpahere: true
                essentials.tpdeny: true
                essentials.helpop: true
                essentials.help: true
                essentials.spawn: true
                essentials.rules: true
                essentials.motd: true
            inheritance:
            - Default
        Moderator:
            permissions:
                essentials.ban: true
                essentials.ban.notify: true
                essentials.banip: true
                essentials.broadcast: true
                essentials.clearinventory: true
                essentials.delwarp: true
                essentials.eco.loan: true
                essentials.ext: true
                essentials.getpos: true
                essentials.helpop.recieve: false
                essentials.home.others: true
                essentials.invsee: true
                essentials.jails: true
                essentials.jump: true
                essentials.kick: true
                essentials.kick.notify: true
                essentials.kill: true
                essentials.mute: true
                essentials.nick.others: false
                essentials.realname: true
                essentials.setwarp: true
                essentials.signs.create.*: true
                essentials.signs.break.*: true
                essentials.spawner: true
                essentials.thunder: true
                essentials.time: true
                essentials.time.set: true
                essentials.protect.alerts: true
                essentials.protect.admin: true
                essentials.protect.ownerinfo: true
                essentials.ptime: true
                essentials.ptime.others: true
                essentials.togglejail: true
                essentials.top: true
                essentials.tp: true
                essentials.tphere: true
                essentials.tppos: true
                essentials.tptoggle: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.weather: true
                essentials.whois: true
                essentials.world: true
            inheritance:
            - Builder
        Admin:
            permissions:
                preciousstones.admin.*
                preciousstones.bypass.*
                preciousstones.benefit.*: true
                preciousstones.alert.*: true
                preciousstones.whitelist.*: true
                preciousstones.override.*: true
                permissions.*: true
                -essentials.backup: true
                -essentials.essentials: true
                -essentials.setspawn: true
                -essentials.reloadall: true
                essentials.*: true
                permissions.player.*: true
                permissions.group.*: true
            inheritance:
            - Moderator
        Owner:
            permissions:
                -essentials.backup: false
                -essentials.essentials: false
                -essentials.setspawn: false
                -essentials.reloadall: false
            inheritance:
            - Admin
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  20. Offline

    Heliwr

    Maybe try replacing every instance of Default with default.
     
  21. Offline

    KungFuJack3

    I really want permissions but I just cant get it to work! This is my config:

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

    Celtic Minstrel

    @KungFuJack3 – First, replace "Guest" with "default", and second, let us know what's wrong so we can tell you how to fix it.
     
  23. Offline

    Adfest

    *facepalm*

    That'd be it. I had a feeling it would be something small I was missing. I still can't get it to work with the root permissions thing, but I'm sure I'll get over it.

    Thank you much!
     
  24. Offline

    goodoletom

    Last edited by a moderator: Jul 14, 2016
  25. Offline

    KungFuJack3

    Ok, It works but it wont let me build and that even though I have set it so I can do everything. The only thing I dont think is working is WorldEdit. Can you check to see if I did it right and if not can you get it right for me?

    This is how it looks now:
    Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    
    users:
        KungFuJack3:
            permissions:
            groups:
            - Owner
        jamiealexw:
            permissions:
            groups:
            - Co-Owner
        angusrocks123:
            permissions:
            groups:
            - Co-Owner
    groups:
        default:
            permissions:
                permissions.build: false
        Guest:
            permissions:
                permissions.build: true
                teleport.users: true
                warpy.warp: true
                fight.user: true
            inheritance:
            - default
        Owner:
            permissions:
                permissions.*: true
                teleport.*: true
                mobdisguise.*: true
                citizens.admin.override.remove: true
                citizens.admin.override.setowner: true
                citizens.npccount.unlimited: true
                colornames.*: true
                movecraft.*: true
                warpy.*: true
                worldedit.*: true
                fight.admin: true
                fight.user: true
                IBICF.fly: true
            inheritance:
            - Co-Owner
        Regular:
            permissions:
                permissions.build: true
                teleport.users: true
                warpy.warp: true
                fight.user: true
            inheritance:
            - Guest
        Co-Owner:
            permissions:
                permissions.*: true
                teleport.*: true
                citizens.admin.override.remove: true
                mobdisguise.*: true
                citizens.admin.override.setowner: true
                citizens.npccount.unlimited: true
                colornames.*: true
                movecraft.*: true
                warpy.*: true
                worldedit.*: true
                fight.user: true
                IBICF.fly: true
            inheritance:
            - VIP
        VIP:
            permissions:
                permissions.*: true
                teleport.*: true
                mobdisguise.*: true
                citizens.admin.override.remove: true
                citizens.admin.override.setowner: true
                citizens.npccount.unlimited: true
                colornames.*: true
                movecraft.*: true
                warpy.*: true
                worldedit.*: true
                fight.user: true
                IBICF.fly: true
            inheritance:
            - Regular
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  26. Offline

    Seismic

    @Celtic Minstrel
    can you please look into my problem? It's really wierd, because there's no error message at all, but a player when I deop him or her he or she can't do anything at all even if he is in a group like admins. how can that be?
    here is a link to my current file:
    http://pastebin.com/azfFe5aP

    well i solved my own problem, i just reloaded permissionsbukkit in game -.-
    thats all, problem solved for me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  27. Offline

    Celtic Minstrel

    @goodoletom – Plugins shouldn't need to detect it. The ones that say "Permissions not detected, defaulting to op" are probably plugins that still need to be updated to support superperms, and you should ask about this in their threads.

    @Seismic – I can't see any reason from that config why you wouldn't be able to do anything, though there are probably more "false" lines than you need. Are you sure PermissionsBukkit isn't throwing an error on startup?
     
  28. Offline

    Seismic

  29. Offline

    nodice

    hi I have MCMyAdmin So should I direct questions to them about how to install it or you Also Do I put nodes in permissions.yml in the bin folder or the one in the actual permissions folder bukkit? Thanks a lot man.
     
  30. Offline

    Wannab

    just because it appears to work, doesnt mean it works without bugs, or that it isnt flawed in many ways, so again it DOES need to be updated, also for the fact that it is being promoted by bukkit, should insist that the plugin remain in current development, not be put on the back burner for months

    i guess the easiest thing to do would be remove "official" from the plugin title
     
  31. Offline

    codename_B

    I'd prefer there being no "official" manager unless it was absolutely perfect, which this is obviously not.
     

Share This Page