[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

    Jobi

    Can I send my server? I've tried everything.
     
  3. Offline

    Earlstreim

    One trivial question. How to set up a multi world permissions? I guess that normal groups works the same on both worlds, but how to set up groups only for one world?
     
  4. Offline

    Timmylo


    thanks alot for your help I will get on this right away!
     
  5. Offline

    c0mp

    No problemo!
     
  6. Offline

    jonacemd

    I'm having problem setting up my permissions for the following plugins:
    • Citizens
    • AdminCMD
    I'm running 1185 craftbukkit on my vortexserver. Here is how I have the permissions current
    set up. Please help me. Thank you in advance.

    Code:
    users:
        jonacemd:
            permissions:
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: true
        admin:
            permissions:
                permissions.*: true
                admincmd.*: true
                admincmd.item.add: true
                admincmd.item.add.other: true
                admincmd.player.god: true
                admincmd.player.fly: true
                admincmd.spawn.set: true
                admincmd.spawn.tp: true
                superpermbridge.citizens.*: true
                superpermbridge.citizens.admin.info: true
                superpermbridge.citizens.basic.create: true
                superpermbridge.citizens.basic.use.info: true
                superpermbridge.citizens.basic.modify.remove: true
                superpermbridge.citizens.basic.modify.rename: true
                superpermbridge.citizens.basic.modify.settext: true
                superpermbridge.citizens.basic.modify.equip: true
                superpermbridge.citizens.basic.modify.talkclose: true
                superpermbridge.citizens.npccount.unlimited: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            inheritance:
            - default
    messages:
        build: '&cYou can't do that! Ask for help!'
    
    I initially tried using "permissions.*: true, admincmd.*: true, and superpermbridge.citizens.*: true." but it did not work. Normally whenever I start up the server and try using any of the command such as /i, /g, /fly, /npc create. It give me the "you do not have permission to use this" error. Again thank you.
     
  7. Offline

    jkmalan

    @dpakman
    Try removing the permissions.build: false in the global permissions spot, and just use the world specific permissions. See if that works for you.

    @BannerFigurezZz
    You still have default: true in the config. Remove it and name the default group to default.

    @Earlstreim
    Just name the group you want default to default! It should work like a charm. :D
     
  8. Offline

    Damien711

    I like this plugin a lot. Is there any possibility to add prefixes/suffixes into the default code as that would solve a lot of issues. Also is the mChat plugin you noted similar to HeroChat in its functionality?
     
  9. Offline

    RageX.ca

    Here my permissions.yml and config.yml
    I get an Error about mapping at line 24 and if i remove that line it continue to show errors anyway?
    Code:
    users:
        RageXca:
            permissions:
    
            groups:
            - owner
    groups:
        default:
            permissions:
                permissions.build: false
        owner:
            permissions:
                server.owner: true
            inheritance:
            - operators
        operators:
            permissions:
                bukkit.command.say:true
                bukkit.command.whitelist.enable: true
                bukkit.command.whitelist.disable: true
                bukkit.command.gamemode: true
                worldedit.chunkinfo: true
                worldedit.listchunks: true
                worldedit.delchunks: true
                worldedit.clipboard.load: true
                worldedit.clipboard.save: true
                worldedit.clipboard.copy: true
                worldedit.clipboard.flip: true
                worldedit.clipboard.rotate: true
                worldedit.clipboard.cut: true
                worldedit.clipboard.paste: true
                worldedit.clipboard.clear: true
                worldedit.limit: true
                worldedit.global-mask: true
                worldedit.reload: true
                worldedit.fast: true
                worldedit.generation.cylinder: true
                worldedit.generation.sphere: true
                worldedit.generation.forest: true
                worldedit.generation.pumpkins: true
                worldedit.generation.pyramid: true
                worldedit.history.undo: true
                worldedit.history.redo: true
                worldedit.history.clear: true
                worldedit.navigation.unstuck: true
                worldedit.region.replace: true
                worldedit.region.stack: true
                worldedit.region.set: true
                worldedit.region.overlay: true
                worldedit.region.naturalize: true
                worldedit.region.walls: true
                worldedit.region.faces: true
                worldedit.region.smooth: true
                worldedit.region.move: true
                worldedit.regen: true
                worldedit.scripting.execute: true
                worldedit.scripting.execute: true
                worldedit.analysis.count: true
                worldedit.selection.size: true
                worldedit.selection.shift: true
                worldedit.selection.chunk: true
                worldedit.selection.expand: true
                worldedit.selection.contract: true
                worldedit.selection.pos: true
                worldedit.selection.hpos: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldedit.selection.outset: true
                worldedit.selection.inset: true
                worldedit.analysis.distr: true
                worldedit.snapshots.list: true
                worldedit.snapshots.restore: true
                worldedit.brush.options.size: true
                worldedit.brush.options.mask: true
                worldedit.tool.info: true
                worldedit.tool.tree: true
                worldedit.tool.data-cycler : true
                worldedit.tool.replacer: true
                worldedit.tool.flood-fill: true
                worldedit.brush.sphere: true
                worldedit.brush.cylinder: true
                worldedit.brush.clipboard: true
                worldedit.brush.smooth: true
                worldedit.brush.ex: true
                worldedit.tool.deltree: true
                worldedit.tool.farwand: true
                worldedit.tool.lrbuild: true
                worldedit.brush.options.material: true
                worldedit.brush.options.range: true
                worldedit.remove: true
                worldedit.fill: true
                worldedit.fill.recursive: true
                worldedit.drain: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                worldedit.removeabove: true
                worldedit.removebelow: true
                worldedit.removenear: true
                worldedit.replacenear: true
                worldedit.snow: true
                worldedit.thaw: true
                worldedit.green: true
                worldedit.extinguish: true
                worldedit.butcher: true
            inheritance:
            - gms
        gms:
            permissions:
                server.gms: true
            inheritance:
            - mods
        mods:
            permissions:
                server.mods: true
            inheritance:
            - players
        players:
            permissions:
                permissions.build: true
                server.players: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    permissions.yml
    Code:
    server.players:
        children:
            bukkit.command.version: true
            bukkit.command.plugins: true
            bukkit.command.tell: true
            bukkit.command.kill: true
            bukkit.command.me: true
    server.mods:
        children:
            bukkit.command.help: true
            bukkit.command.kick: true
            bukkit.command.ban.player: true
            bukkit.command.unban.player: true
            bukkit.command.ban.ip: true
            bukkit.command.unban.ip: true
            bukkit.command.save.perform: true
            bukkit.command.list: true
            bukkit.command.whitelist.add: true
            bukkit.command.whitelist.remove: true
            bukkit.command.whitelist.list: true
            bukkit.command.whitelist.reload: true
            bukkit.command.teleport: true
            worldguard.heal: true
            worldguard.heal.other: true
            worldedit.navigation.ascend: true
            worldedit.navigation.descend: true
            worldguard.fire-toggle.*: true
            worldedit.navigation.jumpto: true
            worldedit.navigation.up: true
            worldedit.superpickaxe: true
            worldedit.superpickaxe.recursive: true
            worldedit.superpickaxe: true
            worldedit.superpickaxe.area: true
    server.gms:
        children:
            bukkit.command.time.add: true
            bukkit.command.time.set: true
            bukkit.command.give: true
            worldguard.god: true
            worldguard.god.other: true
            worldguard.ungod: true
            worldguard.ungod.other: true
            worldguard.slay: true
            worldguard.slay.other: true
            worldguard.locate: true
            worldguard.stack: true
            worldguard.stack.illegitimate: 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.addowner.*: true
            worldguard.region.removeowner.*: true
            worldguard.region.addmember.*: true
            worldguard.region.removemember.*: true
            worldguard.region.list: true
            worldguard.region.setpriority.*: true
            worldguard.region.setparent.*: true
            worldguard.region.remove.*: true
            worldguard.reload: true
            worldguard.report: true
            worldguard.report.pastebin: true
            worldedit.navigation.ceiling: true
            worldedit.navigation.thru: true
            citizens.admin.info: true
            citizens.admin.save: true
            citizens.admin.reload: true
            citizens.admin.clean: true
            citizens.basic.use.help: true
            citizens.basic.use.info: true
            citizens.basic.create: true
            citizens.basic.modify.move: true
            citizens.basic.modify.moveto: true
            citizens.basic.modify.copy: true
            citizens.basic.modify.remove: true
            citizens.basic.modify.remove.all: 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.equip: true
            citizens.basic.use.teleport: true
            citizens.basic.modify.talkclose: true
            citizens.basic.modify.lookat: true
            citizens.basic.use.select: true
            citizens.basic.modify.setowner: true
            citizens.basic.use.list: true
            citizens.waypoints.edit: true
            citizens.toggle.help: true
            citizens.toggle.all: true
    server.owner:
        children:
            bukkit.command.stop: true
            bukkit.command.save.disable: true
            bukkit.command.save.enable: true
            bukkit.command.op.give: true
            bukkit.command.op.take: true
            citizens.admin.debug: true
    Error is as follow [​IMG]
     
  10. Offline

    chrcms

    I am currently starting to switch to bukkit permissions, but I keep getting an error:

    09:18:29 [SEVERE] Permission node 'groups' in server config is invalid
    java.lang.IllegalArgumentException: 'default' key contained unknown value
    at org.bukkit.permissions.Permission.loadPermission(Permission.java:268)

    at org.bukkit.permissions.Permission.loadPermission(Permission.java:235)

    at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.
    java:452)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:162
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    My permissions.yml look like this
    groups:
    default:
    permissions:
    permissions.build: false
     
  11. Offline

    BannerFigurezZz

    ok thanks, I thought you needed to set a group at default: true.
    As for the moment it is working like a charm, so thanks again


    Still have one qeustion though:
    Are there bukkit permissions nodes like I can give someone the right to kick or only the right to ban names?
     
  12. Offline

    juli7796

    Another Problem: everyone but admins get the message "you don't have permission to use this" :(

    BukkitPermissions config again: http://pastebin.com/v3vhQn0T
     
  13. Offline

    dpakman

    I tried that, and still no one can build. Config.yml below (without users just to keep shorter)...

    Code:
    groups:
        default:
            permissions:
                permissions.build: false
        Guest:
            permissions:
                essentials.help: true
                essentials.motd: true
                essentials.rules: true
                essentials.kit: true
                essentials.kit.tools: true
                essentials.mail.send: true
                essentials.mail: true
            worlds:
                creative:
                    permissions.build: false
                world:
                    permissions.build: true
                adventure:
                    permissions.build: true
                nether:
                    permissions.build: true
            inheritance:
            - default
        Member:
            permissions:
                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.move: true
                citizens.basic.use.moveto: true
                citizens.basic.use.remove: true
                citizens.basic.modify.settext: true
                citizens.basic.modify.addtext: true
                citizens.basic.modify.lookat: true
                citizens.basic.modify.talkclose: true
                citizens.blacksmith.use.help: true
                citizens.blacksmith.use.status: true
                citizens.blacksmith.use.repair: true
                citizens.healer.use.help: true
                citizens.healer.use.status: true
                citizens.healer.use.heal: true
                citizens.trader.use.help: true
                citizens.trader.use.showmoney: true
                citizens.trader.use.list: true
                citizens.trader.use.trade: true
                citizens.wizard.use.help: true
                citizens.wizard.use.status: true
                citizens.wizard.use.interact: true
                citizens.npccount.5: true
                citizens.waypoints.edit: true
                essentials.pay: true
                essentials.worth: true
                essentials.list: true
                essentials.balance: true
                essentials.getpos: true
                essentials.home: true
                essentials.nick: true
                essentials.depth: true
                essentials.compass: true
                essentials.sethome: true
                essentials.sell: true
                essentials.me: true
                essentials.back: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.sell: true
                essentials.signs.use.trade: true
                essentials.signs.use.free: true
                essentials.signs.use.disposal: true
                essentials.signs.use.heal: true
                essentials.signs.use.mail: true
                essentials.signs.use.time:
                essentials.signs.use.warp:
                essentials.signs.use.weather: true
                EasyFlight.fly.self: true
            worlds:
                creative:
                    permissions.build: true
                world:
                    permissions.build: true
                adventure:
                    permissions.build: true
                nether:
                    permissions.build: true
            inheritance:
            - Guest
        Trusted:
            permissions:
                essentials.delwarp: true
                essentials.jump: true
                essentials.setwarp: true
                essentials.warp: true
                essentials.msg: true
                essentials.tp: true
                essentials.list: true
                essentials.tpohere: true
                essentials.warp.list: true
                essentials.warp.otherplayers: true
                essentials.back.ondeath: true
                essentials.time: true
                locker.lockinfo: true
                locker.lock.self: true
                locker.unlock.self: true
                magiccarpet.mc: true
                magiccarpet.ml: true
            worlds:
                creative:
                    permissions.build: true
                    essentials.time: true
                    essentials.time.set: true
                    essentials.time.world: true
                world:
                    permissions.build: true
                adventure:
                    permissions.build: true
                nether:
                    permissions.build: true
            inheritance:
            - Member
        Family:
            permissions:
                citizens.basic.modify.setowner: true
                locker.unlock.password: true
                locker.view.self: true
                essentials.eco: true
                essentials.invsee: true
                essentials.kick: true
                essentials.ban: true
                essentials.unban: true
            worlds:
                creative:
                    permissions.build: true
                world:
                    permissions.build: true
                adventure:
                    permissions.build: true
                nether:
                    permissions.build: true
            inheritance:
            - Trusted
        Admin:
            permissions:
                worldedit.analysis.count: true
                worldedit.analysis.distr: true
                essentials.god.others: true
                essentials.antioch: true
                essentials.backup: true
                essentials.ban: true
                essentials.ban.notify: true
                essentials.ban.offline: true
                essentials.banip: true
                essentials.broadcast: true
                essentials.burn: true
                essentials.clearinventory.others: true
                essentials.deljail: true
                essentials.essentials: true
                essentials.jails: true
                essentials.kick: true
                essentials.kick.exempt: true
                essentials.kick.notify: true
                essentials.kickall: true
                essentials.kill: true
                essentials.lightning: true
                essentials.setjail: true
                essentials.spawnmob: true
                essentials.tempban: true
                essentials.tempban.exempt: true
                essentials.tempban.offline: true
                essentials.thunder: true
                essentials.jail.exempt: true
                essentials.togglejail: true
                essentials.togglejail.offline: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.bigtree: true
                essentials.give: true
                essentials.give.item-: false
                essentials.give.item-all: false
                essentials.itemspawn.exempt: true
                essentials.god: false
                essentials.god.others: true
                essentials.heal: true
                essentials.heal.cooldown.bypass: true
                essentials.heal.others: true
                essentials.item: false
                essentials.itemspawn.exempt: false
                essentials.itemspawn.item-: false
                essentials.itemspawn.item-: false
                essentials.itemspawn.item-all: false
                essentials.kit: true
                essentials.ptime: true
                essentials.ptime.others: true
                essentials.repair: true
                essentials.time: true
                essentials.time.set: true
                essentials.tree: true
                essentials.unlimited: true
                essentials.unlimited.item-: false
                essentials.unlimited.item-: false
                essentials.unlimited.item-all: true
                essentials.unlimited.item-bucket: true
                essentials.unlimited.others: true
                essentials.balance: true
                essentials.balance.others: true
                essentials.balancetop: true
                essentials.eco: true
                essentials.pay: true
                essentials.sell: true
                essentials.setworth: true
                essentials.worth: true
                essentials.afk: true
                essentials.afk.kickexempt: true
                essentials.compass: true
                essentials.depth: true
                essentials.getpos: true
                essentials.help: true
                essentials.helpop: true
                essentials.helpop.receive: true
                essentials.ignore: true
                essentials.info: true
                essentials.list: true
                essentials.list.hidden: true
                essentials.mail: false
                essentials.mail.send: false
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.nick: false
                essentials.nick.others: false
                essentials.powertool: true
                essentials.powertooltoggle: true
                essentials.msg: true
                essentials.realname: true
                essentials.rules: true
                essentials.seen: true
                essentials.spawner: true
                essentials.suicide: true
                essentials.whois: true
                essentials.antioch: true
                essentials.backup: true
                essentials.ban: true
                essentials.ban.exempt: true
                essentials.ban.notify: true
                essentials.ban.offline: true
                essentials.banip: true
                essentials.broadcast: true
                essentials.burn: true
                essentials.clearinventory: true
                essentials.clearinventory.others: true
                essentials.deljail: true
                essentials.essentials: true
                essentials.ext: true
                essentials.fireball: true
                essentials.gc: true
                essentials.invsee: true
                essentials.jails: true
                essentials.kick: true
                essentials.kick.exempt: true
                essentials.kick.notify: true
                essentials.kickall: true
                essentials.kill: true
                essentials.lightning: true
                essentials.mute: true
                essentials.mute.exempt: true
                essentials.nuke: true
                essentials.ping: true
                essentials.reloadall: true
                essentials.setjail: true
                essentials.socialspy: true
                essentials.spawnmob: true
                essentials.tempban: true
                essentials.tempban.exempt: true
                essentials.tempban.offline: true
                essentials.thunder: true
                essentials.jail.exempt: true
                essentials.togglejail: true
                essentials.togglejail.offline: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.weather: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.delhome: true
                essentials.delhome.others: true
                essentials.delwarp: true
                essentials.home: true
                essentials.home.others: true
                essentials.jump: true
                essentials.sethome: true
                essentials.sethome.multiple: false
                essentials.sethome.multiple.unlimited: false
                essentials.sethome.others: true
                essentials.setwarp: true
                essentials.top: true
                essentials.tp: true
                essentials.tpa: true
                essentials.tpaall: true
                essentials.tpaccept: true
                essentials.tpahere: true
                essentials.tpall: true
                essentials.tpdeny: true
                essentials.tphere: true
                essentials.tpo: true
                essentials.tpohere: true
                essentials.tppos: true
                essentials.teleport.cooldown.bypass: true
                essentials.teleport.hidden: true
                essentials.teleport.timer.bypass: true
                essentials.tptoggle: true
                essentials.warp: false
                essentials.warp.: false
                essentials.warp.list: false
                essentials.warp.otherplayers: false
                essentials.portal: true
                essentials.world: false
                essentials.joinfullserver: true
                essentials.nocommandcost.: true
                essentials.nocommandcost.all: true
                essentials.signs.break.balance: true
                essentials.signs.break.buy: true
                essentials.signs.break.disposal: true
                essentials.signs.break.free: true
                essentials.signs.break.heal: true
                essentials.signs.break.mail: true
                essentials.signs.break.protection: true
                essentials.signs.break.sell: true
                essentials.signs.break.spawnmob: true
                essentials.signs.break.time: true
                essentials.signs.break.trade: true
                essentials.signs.break.warp: true
                essentials.signs.break.weather: true
                essentials.signs.color: true
                essentials.signs.create.balance: true
                essentials.signs.create.buy: true
                essentials.signs.create.disposal: true
                essentials.signs.create.free: true
                essentials.signs.create.heal: true
                essentials.signs.create.mail: true
                essentials.signs.create.protection: true
                essentials.signs.create.sell: true
                essentials.signs.create.spawnmob: true
                essentials.signs.create.time: true
                essentials.signs.create.trade: true
                essentials.signs.create.warp: true
                essentials.signs.create.weather: true
                essentials.signs.protection.override: true
                essentials.signs.trade.override: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.disposal: true
                essentials.signs.use.free: true
                essentials.signs.use.heal: true
                essentials.signs.use.mail: true
                essentials.signs.use.protection: true
                essentials.signs.use.sell: true
                essentials.signs.use.spawnmob: true
                essentials.signs.use.time:
                essentials.signs.use.trade: true
                essentials.signs.use.warp:
                essentials.signs.use.weather: true
                essentials.sleepingignored: true
                superpermbridge.worldguard: true
                superpermbridge.worldedit.*: true
            worlds:
                creative:
                    permissions.build: true
                world:
                    permissions.build: true
                adventure:
                    permissions.build: true
                nether:
                    permissions.build: true
            inheritance:
            - Family
    
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  14. Offline

    ShadowCreeper

    I think I got it all set up right, but I'm having one major problem, even as op and admin I can't use any default bukkit commands, eg: /gamemode
    when I try I get bukkit wants you to use command but bukkit won't let you, bukkit will give u tears or something.

    Here is my config
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        shadowlockie1:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
                portalstick.admin.*: false
                portalstick.creategrill: true
                portalstick.damageboots: true
                portalstick.deletegrill: true
                portalstick.placeportal: true
                portalstick.teleport: true
                skillz.skills: true
                skillz.skills.*: true
                skillz.skills.check: true
                skillz.skills.other: true
                xpmod.setxp: false
                xpmod.xp: true
        admin:
            permissions:
                permissions.*: true
                portalstick.*: true
                skillz.skills.*: true
                xpmod.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                permissions.*: true
                permissions.help: true
                superpermbridge.*: true
            worlds:
                world:
                    coolplugin.item: true
    messages:
        build: '&cPlease Try Building Somewhere Else.'
    debug: false
    how can I make it that I can use normal commands
     
  15. Offline

    Jobi

    Does someone has teamviewer?
     
  16. Offline

    Snaipe

    @SpaceManiac Do you plan on putting an option on database storage for groups ( MySQL ) ?
     
  17. Offline

    Armaxxx

  18. Offline

    ThePilotGuy

    Hey guys, I have just a quick question for you.

    How would I set a default group?
    default: true doesn't work.
     
  19. Offline

    cublikefoot

    Name the group "default"

    Look at line 19, you didn't put a space between bukkit.command.say and true

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

    jkmalan

    @BannerFigurezZz
    Your welcome, and here are the bukkit nodes -> http://wiki.bukkit.org/CraftBukkit_commands

    @dpakman
    Im sorry that I am unable to help you. Im completely baffled. I can only say that make sure that the nodes at the end of the admin and member groups have : true/: false (they're missing some) and that the names of the worlds mathc the names of the worlds on the actual folders perfectly. Case-sensitive (I think...) May someone with more knowledge than I be able to help you...

    @chrcms
    The permissions.yml isn't for setting groups in that way, its better used for creating your own nodes and some other things (You can use it to set which commands are op-only or default-only). Look to the top post under the tab 'How to use the permissions.yml'. It should help you more than I can.

    @Damien711
    I highly doubt that there will ever be prefix/suffix support with this plugin. Thats why there are plugins like mChat. mChat isn't Herochat, rather, you can get mChannel by the same author and it should do the same thing as Herochat.

    @ShadowCreeper
    You need the permission nodes for you to have the actual commands. You can go to the link above that I gave to BannerFigurezZz and it has the nodes you'll need.

    @ThePilotGuy
    Default: true doesn't exist in PermissionsBukkit. Rather, name the group you want default as default.

    @Armaxxx
    If you want this plugin to be supported by CraftBukkitUpToDate, you have to ask both SpaceManiac and NoFear13 to do it. But you really dont need it for this plugin, it hasn't been updated in a while for whatever reason, and I dont know when it will be next updated, though my guess is that it won't be anytime soon.
     
  21. Offline

    SBHouse

    HELP! I'm just getting started with my migration to PermissionsBukkit. I'll be using the bridge also for some plugins that use the old Yeti permissions. I just want to know if I've got a decent framework to start from. I don't want to spend all the time I need to do this without knowing I'm at least facing the right direction before I start. Thank you ANYONE that can help!

    Code:
    users:
        myusername:
            permissions:
                permissions.build: true
            groups:
            - admin
        anotheruser1:
            permissions:
                permissions.build: true
            groups:
            - member
        anotheruser2:
            permissions:
                permissions.build: true
            groups:
            - member
    
    groups:
        default:
            permissions:
                permissions.build: false
                group.default: true
        Member:
            permissions:
                permissions.build: true
                server.admin: false
                group.default: false
                group.member: true
                permissions.example: true/false
            worlds:
                world1:
                    permissions.example: true/false
                world1_nether:
                    permissions.example: true/false
                world2:
                    permissions.example: true/false
                world3:
                    permissions.example: true/false
                world4:
                    permissions.example: true/false
            inheritance:
            - default
        Admin:
            permissions:
                permissions.build: true        
                server.admin: true
                group.default: false
                group.admin: true
                permissions.example: true/false
            worlds:
                world1:
                    permissions.example: true/false
                world1_nether:
                    permissions.example: true/false
                world2:
                    permissions.example: true/false
                world3:
                    permissions.example: true/false
                world4:
                    permissions.example: true/false
            inheritance:
            - default
    
    messages:
        build: '&cYou do not have permission to build here.'
    
    
    It looks like the spacing got messed up when I pasted. There are 4 spaces for each increasing indent.

    If my code window didn't work, here's a link: http://pastebin.com/njghMvaa

    Thank you anyone for any help you can provide!

    - SBHouse
     
  22. Offline

    jkmalan

    @SBHouse
    Nice job, but when you put a group under the user area, its case-sensitive. With the default group, u dont have to deny nodes such as server.admin because default doesn't inherit that. And im guessing that you aren't going to be giving people permissions.example, right? :p
     
  23. Offline

    SBHouse

    @jkmalan

    Nope... No "permissions.example" in the final product when I get there. I specifically crafted this example for posting. So I'm thinking I'm just gonna lowercase the group names if it's case sensitive - seems like less chances for mistake.

    And do I *HAVE* to have the inheritance on the groups if I don't want to?
     
  24. Offline

    jkmalan

    @SBHouse
    No, you dont need to have the inheritance. You also dont need the world permissions if you dont want it. Just the usual stuff, and whatever you do, don't forget the : true/: false at the end of each node. And finally, you dont need to have the permissions.build spam the config. Users dont need it if they are in a group, but you probably know that. Happy Converting! :D
     
  25. Offline

    zmshotz

    Can you update for 1240? :D
     
  26. Offline

    SBHouse

    @jkmalan

    Thanks for all your help!

    I too was thinking I didn't need to spam the config file with permissions.build on each user, but I was also trying to figure out what else to put there on the individual level in the permissions section when I really don't need to. However, I did come to the rationalization that this would be an easy way to invoke a penalty box on a player if all I had to do was go put "false" on their build permission.

    Would it be OK to simply list users like this?

    Code:
        username1:
            groups:
            - groupname
        username2:
             groups:
             - groupname
        username3:
             groups:
             - groupname
    
    That would be a lot simpler since I don't envision doing many permissions at the individual user level. But if I need the permissions section, I might was well do the basic build permission.

    Thoughts?
     
  27. Offline

    Epics

    This would work fine.
     
  28. Offline

    Babaguchee

    Hi Im a huge nub and dont get this here is a list of my plugins and name is Babaguchee( Owner) can u plz show me what my permissions.yml would look like

    Tpack
    AntiCreeper
    ChairCraft
    ColorSheep
    ColorSign
    DiscoSheep
    Essentials
    godPowers
    GroupManager
    HeroicDeath
    IBICF (I belive I can Fly)
    Jail
    Lockette
    MagicCarpet
    mChat
    mPasswordProtector
    ObserverCube
    PermissionsBukkit
    PlgSetspawn
    SafeFire
    SpeedSign
    Speedwalk
    Stargate
    Superperm
    Train Carts
    VoxelAir
    Warpz0r
    WeatherControl
    WolfPound
    Worldedit

    well thats my list can you please help me out im rlly confused and i need iconomy but wow..... thats hard to get and please help me on anyother good plugins + i need a better flying plugin

    THANKYOU SOOOOOOOOOOOOOOOOOOOOOOO MUCH FOR EVEN TRYING TO HELP ME

    FROM BABAGUCHEE
     
  29. Is there a default ANTI-BUILD setting ? If so I will use it
     
  30. Offline

    DonutEcstasy

    When I ran my server I got this error
    Code:
    16:38:49 [SEVERE] Could not load 'plugins\PermissionsBukkit-1.2.jar' in folder '
    plugins':
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 43, column 8:
        groups:
               ^
    Is there anything wrong with my config?
    I couldnt upload the yml file so i uploaded it as text.
    Can somebody help me check? :)
     

    Attached Files:

  31. Offline

    Wannab

    i have 2 groups that i want to give the player setgroup permission to, Moderator and Admin
    is there any way that i can disallow Moderator the ability to setgroup themselves to Admin, as it is right now i can set myself up as the Moderator group in my test server, and I am allowed to promote myself to Admin
     

Share This Page