[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

    squeezer

    thanks alot, i'll give it a try!

    // ah that's exactly what i've tried too. does not work.
    nevertheless thanks
     
  3. Offline

    Zoaen

    Really? Cus it only happens when i have the plugin
     
  4. Offline

    staticfactory

    You get that message when you try to use a Bukkit vanilla command and you do not have access (OP).
     
  5. Offline

    Zoaen

    thank you very much

    I have essentials and theres no essentials.* node so i have to put in every permission but make sure ,since im using inheritance, no permissions are already inputed

    Is there any way i can just have all permissions something like *.*: true or something like that

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  6. Offline

    SilencShadoW

    Its the easy way, but if my moderators need to add default to member i need this permissions :S
     
  7. Offline

    Citizen Derp

    So, it seems like inheritance gets calculated last, so if you inherit a group that disallows something it will override the permission from the group which allows it. Am I missing something?
     
  8. Offline

    Celtic Minstrel

    You can override permissions from inherited groups.
     
  9. Offline

    cubmandan

    Is there anyway I could have both my worlds which i am using with WorldWarp 2.2 To be able to have different commands? For example one of the worlds is build the other survival I want build to have essentials.give but I don't want survival to have that. Do you know any possible way for this to work?
     
  10. Offline

    chelben9

    does this work with multiple worlds or no cause i really need it like the
     
  11. Offline

    Zocomen

    "A minimalistic bridge from Permissions 3.0 to Superperms is available as a separate plugin, which does not depend on PermissionsBukkit."
    So if a plugin needs Permissions 3.1.6, it's enough to have superpermbridge installed? Or do you need Permissions 3.1.6 installed, and superpermbridge only transfer the permissions to PermissionsBukkit?
    I am confused as you can see xD
    Sorry for bother you btw.
     
  12. Offline

    tony687

    since perms 3.1.6 is now inactive, i decided to switch to PermissionsBukkit. Can someone please tell me how to convert these files?
     

    Attached Files:

  13. Hey just use 'superpermbridge.essentials.*' for all Essentials commands or 'superpermbridge.*' for all available commands
     
  14. Offline

    Zocomen

    I've just discovered a bug. When I do /reload my permissions works, I have all commands. But when I leave,
    and log back in, I have not got permissions to anything. How comes this? I'm using McMyAdmin, and got no Errors in the log. Please help, just someone :)
    Here's my config file. It's alot of stuff, but can't see what the problem is.
    It's writted by McMyAdmin to announce.
    Code:
    groups:
        default:
            permissions:
                commandbook.who: true
                commandbook.motd: true
                commandbook.rules: true
                commandbook.kit.list: true
                commandbook.spawn: true
                commandbook.say: true
                commandbook.say.me: true
                commandbook.msg: true
                commandbook.whereami: true
                worldedit.navigation.unstuck: true
                citizens.blacksmith.use.repair: true
                citizens.healer.use.heal: true
                citizens.trader.use.list: true
                citizens.trader.use.trade: true
                citizens.wizard.use.interact: true
                worldborder.list: true
                lottery.buy: true
                mcmmo.motd: true
                mcmmo.commands.ability: true
                mcmmo.regeneration: true
                mcmmo.chat.partychat: true
                mcmmo.commands.party: true
                mcmmo.commands.ptp: true
                mcmmo.ability.*: true
                mcmmo.skills.*: true
                factions.participate: true
                vote.voteyes.day: true
                vote.voteyes.night: true
                vote.voteyes.sun: true
                vote.voteyes.rain: true
                vote.voteno.day: true
                vote.voteno.night: true
                vote.voteno.sun: true
                vote.voteno.rain: true
                vote.startvote.day: true
                vote.startvote.night: true
                vote.startvote.sun: true
                vote.startvote.rain: true
                stargate.use: true
                livingforest.replant.chopped: true
                livingforest.chat.me.disable: true
                livingforest.chat.me.enable: true
                modtrs.command.modlist: true
                modtrs.command.modreq: true
                heroes.classes.*: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                permissions.build: false
        Regulars:
            permissions:
                commandbook.warp.teleport: true
                commandbook.whois: true
                commandbook.whois.other: true
                lwc.protect: true
                factions.create: true
                factions.viewAnyPower: true
                tombstone.use: true
                tombstone.lwc: true
                tombstone.sign: true
                mchat.prefix.Regulars: true
                mchat.suffix.Regulars: true
                mchat.prefix.default: false
                mchat.suffix.default: false
            inheritance:
              - 'default'
        Moderators:
            permissions:
                commandbook.give: true
                commandbook.give.other: true
                commandbook.more: true
                commandbook.time.check: true
                commandbook.time: true
                commandbook.time.lock: true
                commandbook.spawnmob: true
                commandbook.weather: true
                commandbook.teleport: true
                commandbook.teleport.other: true
                commandbook.locations.coords: true
                commandbook.return: true
                commandbook.call: true
                commandbook.warp.set: true
                commandbook.broadcast: true
                commandbook.mute: true
                commandbook.clear: true
                commandbook.clear.other: true
                commandbook.slap: true
                commandbook.slap.other: true
                commandbook.rocket: true
                commandbook.rocket.other: true
                commandbook.barrage: true
                commandbook.barrage.other: true
                commandbook.shock: true
                commandbook.shock.other: true
                commandbook.kick: true
                commandbook.bans.ban: true
                commandbook.bans.unban: true
                commandbook.bans.isbanned: true
                worldedit.brush.smooth: true
                worldedit.brush.ex: true
                worldedit.chunkinfo: true
                worldedit.listchunks: true
                worldedit.clipboard.copy: true
                worldedit.clipboard.cut: true
                worldedit.clipboard.paste: true
                worldedit.clipboard.rotate: true
                worldedit.clipboard.flip: true
                worldedit.clipboard.clear: true
                worldedit.generation.forest: true
                worldedit.generation.sphere: true
                worldedit.generation.cylinder: true
                worldedit.history.undo: true
                worldedit.generation.pumpkins: true
                worldedit.navigation.ascend: true
                worldedit.navigation.descend: true
                worldedit.navigation.ceiling: true
                worldedit.navigation.thru: true
                worldedit.navigation.jumpto: true
                worldedit.region.set: true
                worldedit.region.replace: true
                worldedit.region.overlay: true
                worldedit.region.faces: true
                worldedit.region.smooth: true
                worldedit.region.move: true
                worldedit.region.stack: true
                worldedit.selection.pos: true
                worldedit.selection.hpos: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldedit.selection.expand: true
                worldedit.selection.contract: true
                worldedit.selection.shift: true
                worldedit.selection.inset: true
                worldedit.selection.outset: true
                worldedit.selection.size: true
                worldedit.analysis.count: true
                worldedit.analysis.distr: true
                worldedit.superpickaxe: true
                worldedit.tool.info: true
                worldedit.tool.tree: true
                worldedit.tool.replacer: true
                worldedit.extinguish: true
                worldedit.snow: true
                worldedit.replacenear: true
                worldedit.removenear: true
                worldedit.removebelow: true
                worldedit.removeabove: true
                worldedit.fixwater: true
                worldedit.fixlava: true
                worldedit.drain: true
                worldedit.fill.recursive: true
                worldedit.fill: true
                worldedit.brush.options.size: true
                worldedit.brush.options.material: true
                worldedit.brush.options.mask: true
                worldedit.history.redo: true
                worldedit.history.clear: true
                worldguard.god: true
                worldguard.god.other: true
                worldguard.ungod: true
                worldguard.ungod.other: true
                worldguard.heal: true
                worldguard.heal.other: true
                worldguard.slay: true
                worldguard.slay.other: true
                worldguard.locate: true
                worldguard.halt-activity.*: true
                worldguard.region.define.*: true
                worldguard.region.redefine.*: true
                worldguard.region.claim.*: true
                worldguard.region.select.*: true
                worldguard.region.info.*: true
                worldguard.region.list: true
                worldguard.region.flag.*: true
                worldguard.region.flag.flags.*: true
                worldguard.region.setpriority.*: true
                worldguard.region.setparent.*: true
                worldguard.region.remove.*: true
                bb.admin.watch: true
                bb.admin.info: true
                bb.admin.rollback: true
                citizens.admin.info: true
                citizens.basic.create: true
                citizens.basic.use.help: true
                citizens.basic.use.info: true
                citizens.basic.use.select: true
                citizens.basic.use.list: true
                citizens.basic.use.teleport: true
                citizens.basic.modify.move: true
                citizens.basic.modify.moveto: true
                citizens.basic.modify.remove: true
                citizens.basic.modify.copy: true
                citizens.basic.modify.rename: true
                citizens.basic.modify.color: true
                citizens.basic.modify.settext: true
                citizens.basic.modify.addtext: true
                citizens.basic.modify.resettext: true
                citizens.basic.modify.item: true
                citizens.basic.modify.armor: true
                citizens.basic.modify.lookat: true
                citizens.basic.modify.talkclose: true
                citizens.basic.modify.setowner: true
                citizens.waypoints.edit: true
                citizens.npccount.25: true
                citizens.blacksmith.use.help: true
                citizens.blacksmith.use.status: true
                citizens.healer.use.help: true
                zens.healer.use.status: true
                citizens.healer.modify.levelup: true
                citizens.trader.use.help: true
                citizens.trader.use.showmoney: true
                citizens.trader.modify.money: true
                citizens.trader.modify.stock: true
                citizens.trader.modify.clearstock: true
                citizens.wizard.use.help: true
                citizens.wizard.use.status: true
                citizens.wizard.use.locations: true
                citizens.wizard.modify.mode: true
                citizens.wizard.modify.addloc: true
                citizens.wizard.modify.removeloc: true
                citizens.wizard.modify.unlimited: true
                lwc.mod: true
                mcmmo.tools.mcrefresh: true
                announcer.add: true
                announcer.broadcast: true
                vote.startvote.ban: true
                vote.startvote.kick: true
                vote.startvote.restart: true
                vote.voteyes.*: true
                vote.voteno.*: true
                stargate.create: true
                stargate.create.personal: true
                stargate.destroy.all: true
                stargate.hidden: true
                stargate.private: true
                stargate.free.create: true
                stargate.free.destroy: true
                stargate.option.hidden: true
                stargate.option.alwayson: true
                stargate.option.private: true
                stargate.option.free: true
                stargate.option.backwards: true
                tombstone.admin: true
                tombstone.cmd.tomblist: true
                tombstone.cmd.tombfind: true
                tombstone.cmd.tombreset: true
                modtrs.mod: true
                modtrs.command.check: true
                modtrs.command.ban: true
                modtrs.command.unban: true
                modtrs.command.complete: true
                modtrs.command.broadcast: true
                modtrs.command.teleport: true
                heroes.admin.exp: true
                heroes.admin.classchange: true
                heroes.admin.healthchange: true
                mchat.prefix.Moderators: true
                mchat.suffix.Moderators: true
                mchat.prefix.Regulars: false
                mchat.suffix.Regulars: false
            inheritance:
              - 'Regulars'
        Administrators:
            permissions:
                superpermbridge.*: true
                permissions.reload: true
                mchat.prefix.Administrators: true
                mchat.suffix.Administrators: true
                mchat.prefix.Moderators: false
                mchat.suffix.Moderators: false
                permissions.build: true
            inheritance:
              - 'Moderators'
        Donator:
            permissions:
                commandbook.time: true
                commandbook.warp.set: true
                commandbook.teleport: true
                commandbook.teleport.other: true
                citizens.basic.create: true
                mcmmo.item.chimaerawing: true
                stargate.create: true
                stargate.create.personal: true
                stargate.destroy.owner: true
                stargate.option.private: true
                mchat.prefix.Donator: true
                mchat.suffix.Donator: true
                mchat.prefix.Legend: false
                mchat.suffix.Legend: false
            inheritance:
              - 'Legend'
        Legend:
            permissions:
                citizens.toggle.help: true
                citizens.toggle.blacksmith: true
                citizens.toggle.healer: true
                citizens.toggle.trader: true
                citizens.toggle.wizard: true
                citizens.basic.use.help: true
                citizens.basic.use.info: true
                citizens.basic.use.select: true
                citizens.basic.use.list: true
                citizens.basic.use.teleport: true
                citizens.basic.modify.move: true
                citizens.basic.modify.moveto: true
                citizens.basic.modify.copy: true
                citizens.basic.modify.remove: true
                citizens.basic.modify.rename: true
                citizens.basic.modify.color: true
                citizens.basic.modify.settext: true
                citizens.basic.modify.addtext: true
                citizens.basic.modify.resettext: true
                citizens.basic.modify.item: true
                citizens.basic.modify.armor: true
                citizens.basic.modify.lookat: true
                citizens.basic.modify.talkclose: true
                citizens.npccount.5: true
                citizens.blacksmith.use.help: true
                citizens.blacksmith.use.status: true
                citizens.healer.use.help: true
                zens.healer.use.status: true
                citizens.trader.use.help: true
                citizens.trader.use.showmoney: true
                citizens.trader.modify.money: true
                citizens.trader.modify.stock: true
                citizens.trader.modify.clearstock: true
                citizens.wizard.use.help: true
                citizens.wizard.use.status: true
                citizens.wizard.use.locations: true
                citizens.wizard.modify.mode: true
                citizens.wizard.modify.addloc: true
                citizens.wizard.modify.removeloc: true
                citizens.wizard.modify.unlimited: true
                stargate.free.use: true
                tombstone.freechest: true
                tombstone.large: true
                tombstone.freesign: true
                tombstone.quickloot: true
                mchat.prefix.Legend: true
                mchat.suffix.Legend: true
                mchat.prefix.Regulars: false
                mchat.suffix.Regulars: false
            inheritance:
              - 'Regulars'
        Head-Admin:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Head-Admin: true
                mchat.suffix.Head-Admin: true
                mchat.prefix.Administrators: false
                mchat.suffix.Administrators: false
                permissions.build: false
            inheritance:
              - 'Administrators'
        Admin:
            permissions:
                commandbook.give.infinite: true
                commandbook.give.stacks: true
                commandbook.give.stacks.unlimited: true
                commandbook.more: true
                commandbook.more.infinite: true
                commandbook.weather.thunder: true
                worldedit.superpickaxe.area: true
                worldedit.brush.sphere: true
                worldedit.brush.cylinder: true
                worldedit.brush.clipboard: true
                worldedit.generation.cylinder: true
                worldedit.generation.sphere: true
                worldguard.reload: true
                citizens.admin: true
                citizens.npccount.unlimited: true
                citizens.trader.modify.unlimited: true
                lwc.admin: true
                worldborder.reload: true
                lottery.admin.draw: true
                lottery.admin.addtopot: true
                factions.manageSafeZone: true
                factions.manageWarZone: true
                factions.adminBypass: true
                factions.reload: true
                factions.disband: true
                factions.worldOptions: true
                announcer.delete: true
                announcer.moderate: true
                announcer.admin: true
                vote.unbannable: true
                heroes.admin.reload: true
                mchat.prefix.Admin: true
                mchat.suffix.Admin: true
                mchat.prefix.Moderators: false
                mchat.suffix.Moderators: false
            inheritance:
              - 'Moderators'
        Owner:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Owner: true
                mchat.suffix.Owner: true
                mchat.prefix.Administrators: false
                mchat.suffix.Administrators: false
                permissions.build: false
            inheritance:
              - 'Administrators'
    
     
  15. Offline

    vildaberper

    Ok, got some problems wit the dev build:
    The errors are gone, but it seems like the player gets unregistered anyway.

    This is my console output:
    Code:
    [VARNING] vildaberper was kicked for floating too long!
    [INFO] true 'dc.allowflight.sky'
    [VARNING] vildaberper was kicked for floating too long!
    [INFO] false 'dc.allowflight.sky'
    So first I have permission, as excpected, but after that I dont have any permissions at all.
    It might have something to do with you having Monitor as priority for your kick listener, which would lead to your code running before anyone elses. I suggest setting it to High, so that other plugins can cancel the event without having to hook into your plugin and register the player again in some way (and bypass the method beeing protected).
     
  16. Offline

    MrMag518

    Im not gona use this before there comes a easu or automatic converter from permissions 3.1.6 or 3.1 whaterver
    Tried do this manually IMPOSSIBLE!
    well, I hope u get the converter soon...
     
  17. Offline

    abriel

    So, I need some help understanding this, and I'm sorry if it's been answered before in the post. Sifting through 29 pages of information is daunting:

    I have this plugin loaded using just the default config.yml file. If I understand it right, it should be restricting new users on the server so that they are unable to build anything. Yet this is not the case. Is this plugin supposed to work with the permissions.yml file in the root, or is it designed to replace it? Should I remove permissions.yml?

    Thanks!
     
  18. Offline

    d00ba

    Wow, looks like a lot of grief. What a waste of time. I'll stick with 2.7.4 for now.
     
  19. Offline

    Ben Quincy

    How do you give the admin group permission to use the in game permission commands?
     
  20. Offline

    R3411y

    What is the permission for placing water or lava from a bucket??
     
  21. Offline

    Zoaen

    Wow really? Thanks so much!
     
  22. Offline

    TheMadMan697

    Does anyone know of a way to grant a user a rank for a specified amount of time. does/will this plugin ever support that or does anyone know how i could do this?
     
  23. Offline

    Ben Quincy

    For some reason i lost all permission to use commands but my file is the same . Can someone tell me why this is happening?
    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 '
    users:
        BenQuincy:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                superpermbridge.commandbook.*: true
                superpermbridge.*: true
                superpermbridge.permissionsbukkit.*:true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: 'You do not have permissions to Build here'
     
  24. Offline

    Mercury

    @SpaceManiac - When player uses /mv tp <other world> (MultiVerse 2.0) Permissions are not updated for him. Player still has old permissions as in previous world. He has to reconnect.

    This is fixed under DEV version!
     
  25. Offline

    Snowy007

    i'm thinking of switching from permissions 2.7.4 to permissionsbukkit. everything is clear to me and i tested it on a test server with success. but i have just 1 question left.
    right now i have 2 worlds with different groups. 'creative' and 'skylands'
    in creative i have the groups 'guest', 'builder', 'elite builder', 'admin', 'moderator'
    in skylands i have the groups 'skylands', 'skylands admin' and 'skylands moderator'
    How would i do this with permissionsbukkit?
    There is only one config file to put the users and groups in....
     
  26. Offline

    HadrienM

    I hope there will be a switch tool from permissions 3.1.6... a have plenty of worlds and perm. strings... more than 1000 lines. And daily, more plugins are breaking because of the permissions... :'(
     
  27. Offline

    Mattokun

    I've been fruitlessly trying to install a permissions system for a few days. I understand how YAML format works, and there's no formatting error in my code. The plugins in my plugins folder are PermissionsBukkit 1.1, Essentials v2.5 (and EssentialsChat), and SuperpermsBridge. Essentials has a set of lines in it's config:

    Code:
    # Use the permission system of bukkit
    # This only works if no other permission plugins are installed
    use-bukkit-permissions: true
    This would make it refer to the 'permissions.yml' file in the root folder, right? But no matter what I try, (including removing PermissionsBukkit 1.1 and SuperpermsBridge from the plugins folder) I always appear in the 'default' group if I chat in-game. As you'll see in the code below, which is the permissions.yml in the root folder, I don't even have a group named 'default'.
    Code:
    users:
        Mattokun:
            permissions:
            groups:
            - Operator
        PersonB:
            permissions:
                permissions.*: true
            groups:
            - Admin
        PersonC:
            permissions:
            groups:
            - Newbie
    groups:
        Newbie:
            permissions:
                permissions.build: false
        Regular:
            permissions:
                permissions.build: true
            inheritance:
        Admin:
            permissions:
                permissions.*: true
            inheritance:
            - Regular
        Operator:
            permissions:
            inheritance:
    messages:
        build: '&cYou do not have permission to build here.'
    
    I'm at a loss; what am I doing wrong? Thank you in advance for whatever help anyone can give me.

    Edit: Am I using the wrong plugins; are Essentials and Permbukkit/superperms incompatible? I'm completely confused and out of options.
     
  28. Offline

    Celtic Minstrel

    Um, Monitor runs last of all, not first.

    You can't have the groups be different in each world. However, you can make it seem that way by assigning prefixes depending on the world you're in, as long as the moderators and admins in both worlds are the same.

    If that won't work for you, then there are two other permissions plugins that I know of which you can try: bPermissions, and PermissionsEx.

    Everything, pretty much. :p

    What you're missing is the true purpose of the permissions.yml file. Your config that you posted is quite correct (by the way, I believe you need a default group); however, it's in the wrong place. It goes not in the permissions.yml but in the config.yml in the PermissionsBukkit folder.

    The permissions.yml is a place for you to define custom permissions nodes, normally ones which group other permissions nodes. An example of how to do that:
    Code:
    my.node:
      children:
        permissions.one: true
        permission.two: false
    
     
  29. Offline

    iceguru

    Can someone get back to me on if this works like permissions ?

    IE: Do I have to check if all my plugins support this or can I just swap them out?
     
  30. Offline

    Celtic Minstrel

    You need to check if you plugins support "Bukkit permissions" or "superperms". If not, this won't work, though you can use Superpermbridge to make it (mostly) work.
     
  31. Offline

    Mattokun

    In fact, they are the same, verbatim. In that case, should I revert "use-bukkit-permissions" to false, and blank permissions.yml in the root folder? It's also kind of disheartening finding out I'm doing 'pretty much everything' wrong. haha

    Edit: I just thought, to create a 'default' group, does PermissionsBukkit set a default group if it's coded as such?
    Code:
    groups:
        Newbie:
            default: true
    or am I just a total Newb myself? :confused:
     

Share This Page