[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

    Celtic Minstrel

    @zenyl – Make sure you're using version 1.2 since your issue sounds like it may be something that was fixed in 1.2; basically, permissions weren't updating when you changed worlds, so you permanently got the permissions of whatever world you were in when you logged in.
     
  3. Offline

    SpaceManiac

    A lot of people have been reporting issues where nobody has any permissions. Can I get a plugin list? Same from anyone else having a similar problem?
     
  4. Offline

    CoolOppo

    I have a question/feature request. Why not make it like permissions and groupmanager where you don't need the true and false message at the end? To take a permission off, all you need to do is remove it, not set it to false, so why make everyone do extra work?

    Read the Original Post.

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

    Celtic Minstrel

    @CoolOppo – It is already exactly like Permissions, short of syntax. Writing "permission.node: false" in PermissionsBukkit is exactly identical in functionality to writing "-permission.node" in Permissions. It's true that requiring the true or false is a little more verbose, but that's not necessarily a bad thing.
     
  6. My personal needs for permissions:
    1. Allow to create separated list of groups on every world
    2. Allow to create Separated list of players
    3. Option to inherit/mirror only users/groups from another world

    For example:
    - world - groups + users (for example user1 as default and user2 as moderator)
    - world_nether - users from world, but groups different
    - creative - users from world - (for example user1 as moderator and user2 as default)
    - creative_nether - groups from world_nether - users from creatie
    - someworld - new users and groups
    - someworld_skyland - users and groups from someworld
    - someworld_nether - users and groups from someworld


    if some world will needed to change/add more/less groups to be abble to change
    (+ be abble to grant someone access to promote/demote someother player on specified world
    eg, dedicated world for my friend connected to my other world but i want to grant him access to promote people on his map)
    i can manage to do this with Permissions 3.X more or less

    How to do this with PermissionsBukkit?
     
  7. Offline

    Showhung

    what is wrong in this config?
    Code:
    users:
        Showhung:
            groups:
            - Admins
        Netsroht:
            groups:
            - Admins
        Tabboss:
            groups:
            - Admins
    groups:
      default:
        permissions:
          foo.bar: true
          buttonwarp.use: true
          buttonwarp.getreward: true
          iConomy.rank: true
          iConomy.list: true
          iConomy.payment: true
          CommandIConomy.Free: true
          petition: true
          permissions.build: false
      stan:
        permissions:
          foo.bar: true
          buttonwarp.use: true
          buttonwarp.getreward: true
          iConomy.rank: true
          iConomy.list: true
          iConomy.payment: true
          CommandIConomy.Free: true
          iConomyBank.bank: true
          regionmarket.sell: true
          regionmarket.offer: true
          regionmarket.accept: true
          regionmarket.remove: true
          regionmarket.list: true
          ChestShop.shop.*: true
          petition: true
          mcmmo.regeneration: true
          mcmmo.item.chimaerawing: true
          hungry.player.*: true
          bandages.use: true
          herobounty.new: true
          herobounty.accept: true
          herobounty.locate: true
          herobounty.list: true
          permissions.build: true
      Const:
        permissions:
          foo.bar: true
          falsebook.blocks.*: true
          falsebook.cart.*: true
          falsebook.ic.standard: true
          falsebook.ic.detection: true
          falsebook.ic.selftriggered: true
          permissions.build: true
      Wiz:
        permissions:
          foo.bar: true
          runecraft.rune.*: true
          permissions.build: true
      Dri:
        permissions:
          foo.bar: true
          movecraft.*: true
          permissions.build: true
      Thi:
        permissions:
          foo.bar: true
          mcmmo.skills.acrobatics: true
          mcmmo.skills.unarmed: true
          mcmmo.ability.unarmed: true
          PickPocket.use: true
          thief.dmg: true
          permissions.build: true
      Ber:
        permissions:
          foo.bar: true
          mcmmo.ability.axes: true
          mcmmo.skills.axes: true
          mcmmo.skills.woodcutting: true
          mcmmo.skills.acrobatics: true
          mcmmo.ability.woodcutting: true
          ber.iron: true
          ber.dia: true
          permissions.build: true
      Hun:
        permissions:
          foo.bar: true
          mcmmo.skills.acrobatics: true
          mcmmo.skills.herbalism: true
          mcmmo.ability.herbalism: true
          mcmmo.skills.archery: true
          mcmmo.skills.taming: true
          permissions.build: true
      Min:
        permissions:
          foo.bar: true
          mcmmo.skills.mining: true
          mcmmo.skills.repair: true
          mcmmo.skills.excavation: true
          mcmmo.skills.acrobatics: true
          min.iron: true
          min.dia: true
          permissions.build: true
      Swo:
        permissions:
          foo.bar: true
          mcmmo.ability.swords: true
          mcmmo.skills.swords: true
          door.shield: true
          swo.iron: true
          swo.dia: true
          permissions.build: true
      preMod:
        permissions:
          foo.*: true
          foo.test: false
          falsebook.blocks.*: true
          falsebook.cart.*: true
          falsebook.ic.standard: true
          falsebook.ic.detection: true
          falsebook.ic.selftriggered: true
          buttonwarp.use: true
          buttonwarp.getreward: true
          runecraft.teleport: true
          runecraft.rune.*: true
          movecraft.*: true
          iConomy.rank: true
          iConomy.list: true
          iConomy.payment: true
          CommandIConomy.Free: true
          regionmarket.sell: true
          regionmarket.offer: true
          regionmarket.accept: true
          regionmarket.remove: true
          regionmarket.list: true
          ChestShop.shop.*: true
          petition.moderate: true
          petition.warp-to-own-if-assigned: true
          PickPocket.protected: true
          worldedit.generation.forest: true
          permissions.build: true
        inheritance:
          - Default
      Mod:
        permissions:
          permissions.build: true
        inheritance:
          - Default
      SuMod:
        permissions:
          permissions.build: true
        inheritance:
          - Default
      Admins:
        permissions:
          permissions.build: true
          '*': true
    thanks for help
     
  8. Offline

    Mathew Alden

    So let me rephrase this. Is there a plug-in that utilizes permissions and lets some people player-kill and not others?
     
  9. Offline

    kuyan

    @SpaceManiac This will happen for me on and off. Here's what I have:
    Bukkit Version: git-Bukkit-0.0.0-985-g2cc4221-b1064jnks
    Plugins: BigBrother, BorderGuard, ColorMe, CommandBook, HeroicDeath, MagicCarpet, MineBackup, MultiInv, Multiverse-Core, Multiverse-Portals, MyHome, MyWarp, PermissionsBukkit, PetitionPlugin, PortalStick, RocketBoots, ServerSave, Spout, SpyerAdminCommands, Permissions, WorldEdit, WorldGuard, XcraftChat, LWC, SpyerAdmin

    This problem often happens when a group is set ingame (/permissions player setgroup kuyanatan DictatorOfEveryoneIncludingSpaceManiac) or after a reload.

    @Showhung The '*' node is not legal. Won't work in PermissionsBukkit.
     
  10. Offline

    CoolOppo

    Oh I see, thanks. Why not just make the minus work then, maybe even just an option to choose in the config? It's much easier than having to add the true to the end every time.
     
  11. Offline

    Pim1234

    what's wrong with this?
    cb 1060

    config.yml (open)

    Code:
    # PermissionsBukkit configuration file
    
    users:
        pim16aap2:
            permissions: []
            groups:
            - King
        alex5775:
            permissions: []
            groups:
            - Assistant
        Scribblezzz:
            permissions: []
            groups:
            - Assistant
        BloodRayne89:
            permissions: []
            groups:
            - Assistant
    
    etc, etc, etc, etc, etc, etc, etc, etc, etc, etc, etc, etc
    
    groups:
        Slave:
            permissions:
                permissions.build: true
                styxspace.teleport.enter: true
                Iconomy.acces: true
                Iconomy.payment: true
                mobbounty.collect: true
                mobbounty.mb: true
                fight.user: true
                craftbook.mech.cauldron: true
                essentials.help: true
                essentials.list: true
                Permiconomy.buy: true
                virtualshop.nobuy: true
                virtualshop.nosell: true
                essentials.mail: true
                snd.help: true
                snd.join.*: true
                essentials.helpop: true
                essentials.spawn: true
                afkkick.getmessage: true
                mchat.prefix.Slave: true
        Citizen:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: true
                bog.*: true
                passwordprotect.nopassword: true
                appleseed.plant.apple: true
                iconomy.bank.*: true
                scavenger.scavenge: true
                simplechestlock.lock: true
                essentials.back: true
                essentials.back.ondeath: true
                privatewarp.pw: true
                essentials.home: true
                essentials.sethome: true
                backpack.nodrop: true
                backpack.size9: true
                gcb.access: true
                wolfpound.use: true
                towny.town.resident: true
                towny.top: true
                mchat.prefix.Slave: false
                mchat.prefix.Citizen: true
            inheritance:
            - Slave
        Merchant:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: false
                bog.*: false
                passwordprotect.nopassword: false
                appleseed.plant.apple: false
                iconomy.bank.*: false
                scavenger.scavenge: false
                simplechestlock.lock: false
                essentials.back: false
                essentials.back.ondeath: false
                privatewarp.pw: false
                essentials.home: false
                essentials.sethome: false
                backpack.nodrop: false
                backpack.size9: false
                gcb.access: false
                wolfpound.use: false
                towny.town.resident: false
                towny.top: false
                mchat.prefix.Citizen: false
                Iconomy.list: true
                Iconomy.rank: true
                bedrespawn.*: true
                mchat.prefix.Slave: false
                mchat.prefix.Citizen: false
                mchat.prefix.Merchant: true
            inheritance:
            - Citizen
        Nobleman:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: false
                bog.*: false
                passwordprotect.nopassword: false
                appleseed.plant.apple: false
                iconomy.bank.*: false
                scavenger.scavenge: false
                simplechestlock.lock: false
                essentials.back: false
                essentials.back.ondeath: false
                privatewarp.pw: false
                essentials.home: false
                essentials.sethome: false
                backpack.nodrop: false
                backpack.size9: false
                gcb.access: false
                wolfpound.use: false
                towny.town.resident: false
                towny.top: false
                mchat.prefix.Citizen: false
                Iconomy.list: false
                Iconomy.rank: false
                bedrespawn.*: false
                mchat.prefix.Merchant: false
                appleseed.*: true
                essentials.heal: true
                towny.town.new: true
                mchat.prefix.Slave: false
                mchat.prefix.Citizen: false
                mchat.prefix.Merchant: false
                mchat.prefix.Nobleman: true
            inheritance:
            - Merchant
        VIP:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: false
                bog.*: false
                passwordprotect.nopassword: false
                appleseed.plant.apple: false
                iconomy.bank.*: false
                scavenger.scavenge: false
                simplechestlock.lock: false
                essentials.back: false
                essentials.back.ondeath: false
                privatewarp.pw: false
                essentials.home: false
                essentials.sethome: false
                backpack.nodrop: false
                backpack.size9: false
                gcb.access: false
                wolfpound.use: false
                towny.town.resident: false
                towny.top: false
                mchat.prefix.Citizen: false
                Iconomy.list: false
                Iconomy.rank: false
                bedrespawn.*: false
                mchat.prefix.Merchant: false
                appleseed.*: false
                essentials.heal: false
                towny.town.new: false
                mchat.prefix.Nobleman: false
                VIP.VIP: true
                nocheat.all: true
                afkkick.exempt: true
                kyku.tower: true
                multiverse.tp: true
                mobdisguise.[mobtype]: true
                towny.cheat.bypass: true
                backpack.upgrade: true
                mchat.prefix.Slave: false
                mchat.prefix.Citizen: false
                mchat.prefix.Merchant: false
                mchat.prefix.Nobleman: false
                mchat.prefix.VIP: true
            inheritance:
                - Nobleman
        Assistant:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: false
                bog.*: false
                passwordprotect.nopassword: false
                appleseed.plant.apple: false
                iconomy.bank.*: false
                scavenger.scavenge: false
                simplechestlock.lock: false
                essentials.back: false
                essentials.back.ondeath: false
                privatewarp.pw: false
                essentials.home: false
                essentials.sethome: false
                backpack.nodrop: false
                backpack.size9: false
                gcb.access: false
                wolfpound.use: false
                towny.town.resident: false
                towny.top: false
                mchat.prefix.Citizen: false
                Iconomy.list: false
                Iconomy.rank: false
                bedrespawn.*: false
                mchat.prefix.Merchant: false
                appleseed.*: false
                essentials.heal: false
                towny.town.new: false
                mchat.prefix.Nobleman: false
                VIP.VIP: false
                nocheat.all: false
                afkkick.exempt: false
                kyku.tower: false
                multiverse.tp: false
                mobdisguise.[mobtype]: false
                towny.cheat.bypass: false
                backpack.upgrade: false
                mchat.prefix.VIP: false
                easyban.*: true
                bb.admin.info: true
                bb.admin.rollback: true
                essentials.heal: true
                essentials.tp: true
                essentials.tp: true
                essentials.tpaccept: true
                nocheat.all: true
                worldedit.superpickaxe: true
                essentials.helpop.receive: true
                essentials.tpahere: true
                minecraft.reload: true
                minecraft.tp: true
                kyku.tower: true
                jail.command.jail: true
                jail.command.unjail: true
                adminchat: true
                towny.cheat.bypass: true
                gcb.allowfly: true
                mchat.prefix.Slave: false
                mchat.prefix.Citizen: false
                mchat.prefix.Assistant: true
            inheritance:
                - Citizen
        King:
            permissions:
                permissions.build: false
                styxspace.teleport.enter: false
                Iconomy.acces: false
                Iconomy.payment: false
                mobbounty.collect: false
                mobbounty.mb: false
                fight.user: false
                craftbook.mech.cauldron: false
                essentials.help: false
                essentials.list: false
                Permiconomy.buy: false
                virtualshop.nobuy: false
                virtualshop.nosell: false
                essentials.mail: false
                snd.help: false
                snd.join.*: false
                essentials.helpop: false
                essentials.spawn: false
                afkkick.getmessage: false
                mchat.prefix.Slave: false
                bof.*: false
                bog.*: false
                passwordprotect.nopassword: false
                appleseed.plant.apple: false
                iconomy.bank.*: false
                scavenger.scavenge: false
                simplechestlock.lock: false
                essentials.back: false
                essentials.back.ondeath: false
                privatewarp.pw: false
                essentials.home: false
                essentials.sethome: false
                backpack.nodrop: false
                backpack.size9: false
                gcb.access: false
                wolfpound.use: false
                towny.town.resident: false
                towny.top: false
                mchat.prefix.Citizen: false
                Iconomy.list: false
                Iconomy.rank: false
                bedrespawn.*: false
                mchat.prefix.Merchant: false
                appleseed.*: false
                essentials.heal: false
                towny.town.new: false
                mchat.prefix.Nobleman: false
                VIP.VIP: false
                nocheat.all: false
                afkkick.exempt: false
                kyku.tower: false
                multiverse.tp: false
                mobdisguise.[mobtype]: false
                towny.cheat.bypass: false
                backpack.upgrade: false
                mchat.prefix.VIP: false
                easyban.*: false
                bb.admin.info: false
                bb.admin.rollback: false
                essentials.heal: false
                essentials.tp: false
                essentials.tp: false
                essentials.tpaccept: false
                nocheat.all: false
                worldedit.superpickaxe: false
                essentials.helpop.receive: false
                essentials.tpahere: false
                minecraft.reload: false
                minecraft.tp: false
                kyku.tower: false
                jail.command.jail: false
                jail.command.unjail: false
                adminchat: false
                towny.cheat.bypass: false
                gcb.allowfly: false
                mchat.prefix.Assistant: false
                afkkick.*: true
                kyku.*: true
                appleseed.*: true
                bb.*: true
                towny.*: true
                bof.*: true
                bog.*: true
                craftbook.*: true
                easyban.*: true
                flatlands.*: true
                flowerpower.*: true
                iconomy.*: true
                gianttrees.*: true
                givemewool.*: true
                gcb.*: true
                jail.*: true
                passwordprotect.: true
                simplegodmode.isgodbydefault: true
                pw.*: true
                scavenger.scavenge: true
                wolfpound.*: true
                VIP.VIP: true
                worldedit.*: true
                essentials.*: true
                mobdisguise.*: true
                nocheat.all: true
                spoutbackpack.*: true
                wrath.*: true
                mchat.prefix.King: true
                mchat.suffix.King: true
    messages:
        build: '&cYou do not have permission to build here, contact pim16aap2/server'
    
    

    Show Spoiler
     
  12. Offline

    jedimaster0

    Okay, I don't really have a problem per se. I was just wondering if my permissions file is correct. If someone more adapt at this than I would look it over, I would be grateful.

    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        Jedimaster0:
            groups:
            - Admins
        HanSolo:
            groups:
            - Citizen
        dragonkiller:
            groups:
            - Citizen
        circuitwave:
            groups:
            - Moderator
        poop:
            groups:
            - Citizen
        sith117:
            groups:
            - Moderator
    groups:
        Default:
            permissions:
                superpermbridge.SignShop.Signs: true
                cm.init: true
                commandbook.kit.kits: true
                commandbook.kit.list: true
                commandbook.motd: true
                commandbook.who: true
                commandbook.more: true
                commandbook.give: true
                commandbook.teleport: true
                commandbook.time: true
                commandbook.time.check: true
                commandbook.weather: true
                commandbook.spawn: true
                commandbook.return: true
                commandbook.call: true
                commandbook.msg: true
                commandbook.say: true
                commandbook.say.me: true
                commandbook.whereami: true
                commandbook.clear: true
                commandbook.slap: true
                commandbook.slap.other: true
                commandhelper.repeat: true
                multihome.defaulthome.go: true
                multihome.defaulthome.set: true
                multihome.defaulthome.invite: true
                multihome.defaulthome.invitetimed: true
                multihome.defaulthome.uninvite: true
                multihome.namedhome.go: true
                multihome.namedhome.set: true
                multihome.namedhome.delete: true
                multihome.namedhome.list: true
                multihome.namedhome.invite: true
                multihome.namedhome.invitetimed: true
                multihome.namedhome.uninvite: true
                multihome.free.defaulthome.go: true
                multihome.listinvites.toothers: true
                multihome.listinvites.tome: true
                panelmaster.heal.use: true
                panelmaster.infinite.use: true
                panelmaster.purchase.make: true
                panelmaster.purchase.use: true
                panelmaster.save.use: true
                panelmaster.sellpoint.make: true
                panelmaster.sellpoint.use: true
                panelmaster.suicide.use: true
                permissions.build: true
                superpermbridge.runecraft: true
                sortal.coords: true
                sortal.createwarp: true
                sortal.placesign: true
                sortal.register: true
                sortal.setprice: true
                sortal.warp: true
                stargate.use: true
                worldguard.god: true
                worldguard.ungod: true
        Citizen:
            permissions:
                cm.init: true
                commandbook.rocket: true
                commandbook.rocket.other: true
                commandbook.barrage: true
                commandbook.barrage.other: true
                commandbook.shock: true
                commandbook.shock.other: true
                stargate.create: true
                stargate.destroy.owner: true
                stargate.option.backwards: true
                worldedit.history.undo: true
                worldedit.history.redo: true
                worldguard.god.other: true
                worldguard.ungod: true
                worldguard.heal: true
                worldguard.heal.other: true
                worldguard.locate: true
                worldguard.stack: true
                superpermbridge.worldguard.region.define: true
                superpermbridge.worldguard.region.redefine.own: true
                superpermbridge.worldguard.region.claim: true
                superpermbridge.worldguard.region.select.own: true
                superpermbridge.worldguard.region.info: true
                worldguard.region.list: true
                superpermbridge.worldguard.region.setpriority.own: true
                superpermbridge.worldguard.region.setparent.own: true
                superpermbridge.worldguard.region.remove.own: true
                worldedit.chunkinfo: true
                worldedit.listchunks: true
                worldedit.analysis.count: true
                worldedit.analysis.distr: true
                worldedit.snapshots.list: true
                worldedit.tool.info: true
                worldedit.snow: true
                worldedit.thaw: true
                worldedit.navigation.unstuck: true
                worldedit.navigation.ascend: true
                worldedit.navigation.descend: true
                worldedit.navigation.ceiling: true
                worldedit.navigation.thru: true
                worldedit.navigation.jumpto: true
                worldedit.navigation.up: true
            inheritance:
            - default
        Moderator:
            permissions:
                blacklist.ignore: true
                superpermbridge.cm: true
                cm.init: true
                cm.area.define: true
                cm.area.set: true
                cm.area.set.overlap: true
                cm.area.delete.player: false
                cm.box.set: true
                cm.box.set.overlap: true
                cm.box.list.player: true
                cm.song.list.player: true
                cm.upload.mp3: true
                cm.upload.midi: true
                commandbook.whois: true
                commandbook.whois.other: true
                commandbook.debug.info: true
                commandbook.debug.clock: true
                commandbook.kick: true
                commandbook.bans.ban: true
                commandbook.bans.unban: true
                commandbook.bans.isbanned: true
                commandbook.time.lock: true
                commandbook.weather: true
                commandbook.weather.thunder: true
                commandbook.teleport.other: true
                commandbook.mute: true
                multihome.othershome.go: true
                multihome.othershome.list: true
                multihome.free.defaulthome.set: true
                worldedit.clipboard.copy: true
                worldedit.clipboard.cut: true
                worldedit.clipboard.paste: true
                worldedit.clipboard.rotate: true
                worldedit.clipboard.flip: true
                worldedit.clipboard.load: true
                worldedit.clipboard.save: true
                worldedit.history.clear: true
                worldedit.selection.pos: true
                worldedit.selection.hpos: true
                worldedit.selection.chunk: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldedit.selection.expand: true
                worldedit.selection.contract: true
                worldedit.selection.shift: true
                worldedit.selection.outset: true
                worldedit.selection.inset: true
                worldedit.selection.size: true
                worldedit.tool.tree: true
                worldedit.tool.replacer: true
                worldedit.brush.sphere: true
                worldedit.brush.cylinder: true
                worldedit.brush.clipboard: true
                worldedit.brush.smooth: true
                worldedit.brush.ex: true
                worldedit.delchunks: true
                worldedit.clipboard.clear: true
                worldedit.generation.cylinder: true
                worldedit.generation.sphere: true
                worldedit.generation.forest: true
                worldedit.generation.pumpkins: 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.regen: true
                worldedit.scripting.execute: true
                worldedit.snapshots.restore: true
                worldedit.superpickaxe: true
                worldedit.superpickaxe.area: true
                worldedit.superpickaxe.recursive: true
                worldedit.brush.options.mask: true
                worldedit.brush.options.material: true
                worldedit.brush.options.size: true
                worldedit.fill: true
                worldedit.fill.recursive: true
                worldedit.drain: true
                worldedit.removeabove: true
                worldedit.removebelow: true
                worldedit.removenear: true
                worldedit.replacenear: true
                worldedit.extinguish: true
                worldedit.butcher: true
                worldedit.remove: true
                worldedit.tool.data-cycler: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                worldguard.ungod.other: true
                worldguard.locate: true
                worldguard.stack: true
                worldguard.slay: true
                worldguard.slay.other: true
                superpermbridge.worldguard.fire-toggle: true
                worldguard.region.define: true
                superpermbridge.worldguard.region.redefine.own: true
                superpermbridge.worldguard.region.redefine.member: true
                worldguard.region.claim: true
                superpermbridge.worldguard.region.select.own: true
                superpermbridge.worldguard.region.select.member: true
                superpermbridge.worldguard.region.info: true
                superpermbridge.worldguard.region.addowner.own: true
                superpermbridge.worldguard.region.addowner.member: true
                superpermbridge.worldguard.region.removeowner.own: true
                superpermbridge.worldguard.region.removeowner.member: true
                superpermbridge.worldguard.region.addmember.own: true
                superpermbridge.worldguard.region.addmember.member: true
                superpermbridge.worldguard.region.removemember.own: true
                superpermbridge.worldguard.region.removemember.member: true
                worldguard.region.list: true
                superpermbridge.worldguard.region.flag.regions.own: true
                superpermbridge.worldguard.region.flag.regions.member: true
                superpermbridge.worldguard.region.flag.flags: true
                superpermbridge.worldguard.region.setpriority.own: true
                superpermbridge.worldguard.region.setpriority.member: true
                superpermbridge.worldguard.region.setparent.own: true
                superpermbridge.worldguard.region.setparent.member: true
                superpermbridge.worldguard.region.remove.own: true
                superpermbridge.worldguard.region.remove.member: true
                superpermbridge.stargate: true
                superpermbridge.SignShop: true
                superpermbridge.panelmaster: true
                worldguard.notify: true
                superpermbridge.minecartmania.signs: true
                superpermbridge.minecartmania: true
            inheritance:
            - Citizen
        Admins:
            permissions:
                permissions.*: true
            inheritance:
            - Moderator
        user:
            permissions:
                permissions.build: true
                worldguard.notify: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to do this (T_T)\(^_^).'
    debug: false
    
    Nodes like this "superpermbridge.cm: true" are what I am really curious about. This used to be "cm.*", and I was wanting to know if I did this right?
     
  13. Offline

    HansAnderson

    I also wanted to share that I find PermissionsBukkit a wonderful and easy permissions system. I was able to quickly convert from Permissions 3. One of the best features is the use of permissions.yml in the root server folder. With PermissionsBukkit, my server has become much more organized and easy to maintain.
     
  14. Offline

    Showhung

    Code:
    users:
        Showhung:
            groups:
            - Admins
        Netsroht:
            groups:
            - Admins
        Tabboss:
            groups:
            - Admins
    groups:
      default:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.buttonwarp.use: true
          superpermbridge.buttonwarp.getreward: true
          superpermbridge.iConomy.rank: true
          superpermbridge.iConomy.list: true
          superpermbridge.iConomy.payment: true
          superpermbridge.CommandIConomy.Free: true
          superpermbridge.petition: true
          permissions.build: false
      stan:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.buttonwarp.use: true
          superpermbridge.buttonwarp.getreward: true
          superpermbridge.iConomy.rank: true
          superpermbridge.iConomy.list: true
          superpermbridge.iConomy.payment: true
          superpermbridge.CommandIConomy.Free: true
          superpermbridge.iConomyBank.bank: true
          superpermbridge.regionmarket.sell: true
          superpermbridge.regionmarket.offer: true
          superpermbridge.regionmarket.accept: true
          superpermbridge.regionmarket.remove: true
          superpermbridge.regionmarket.list: true
          superpermbridge.ChestShop.shop.*: true
          superpermbridge.petition: true
          superpermbridge.mcmmo.regeneration: true
          superpermbridge.mcmmo.item.chimaerawing: true
          superpermbridge.hungry.player.*: true
          superpermbridge.bandages.use: true
          superpermbridge.herobounty.new: true
          superpermbridge.herobounty.accept: true
          superpermbridge.herobounty.locate: true
          superpermbridge.herobounty.list: true
          permissions.build: true
      Const:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.falsebook.blocks.*: true
          superpermbridge.falsebook.cart.*: true
          superpermbridge.falsebook.ic.standard: true
          superpermbridge.falsebook.ic.detection: true
          superpermbridge.falsebook.ic.selftriggered: true
          permissions.build: true
      Wiz:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.runecraft.rune.*: true
          permissions.build: true
      Dri:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.movecraft.*: true
          permissions.build: true
      Thi:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.mcmmo.skills.acrobatics: true
          superpermbridge.mcmmo.skills.unarmed: true
          superpermbridge.mcmmo.ability.unarmed: true
          superpermbridge.PickPocket.use: true
          superpermbridge.thief.dmg: true
          permissions.build: true
      Ber:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.mcmmo.ability.axes: true
          superpermbridge.mcmmo.skills.axes: true
          superpermbridge.mcmmo.skills.woodcutting: true
          superpermbridge.mcmmo.skills.acrobatics: true
          superpermbridge.mcmmo.ability.woodcutting: true
          permissions.build: true
      Hun:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.mcmmo.skills.acrobatics: true
          superpermbridge.mcmmo.skills.herbalism: true
          superpermbridge.mcmmo.ability.herbalism: true
          superpermbridge.mcmmo.skills.archery: true
          superpermbridge.mcmmo.skills.taming: true
          permissions.build: true
      Min:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.mcmmo.skills.mining: true
          superpermbridge.mcmmo.skills.repair: true
          superpermbridge.mcmmo.skills.excavation: true
          superpermbridge.mcmmo.skills.acrobatics: true
          permissions.build: true
      Swo:
        permissions:
          superpermbridge.foo.bar: true
          superpermbridge.mcmmo.ability.swords: true
          superpermbridge.mcmmo.skills.swords: true
          superpermbridge.door.shield: true
          permissions.build: true
      preMod:
        permissions:
          superpermbridge.foo.*: true
          superpermbridge.foo.test: false
          superpermbridge.falsebook.blocks.*: true
          superpermbridge.falsebook.cart.*: true
          superpermbridge.falsebook.ic.standard: true
          superpermbridge.falsebook.ic.detection: true
          superpermbridge.falsebook.ic.selftriggered: true
          superpermbridge.buttonwarp.use: true
          superpermbridge.buttonwarp.getreward: true
          superpermbridge.runecraft.teleport: true
          superpermbridge.runecraft.rune.*: true
          superpermbridge.movecraft.*: true
          superpermbridge.iConomy.rank: true
          superpermbridge.iConomy.list: true
          superpermbridge.iConomy.payment: true
          superpermbridge.CommandIConomy.Free: true
          superpermbridge.regionmarket.sell: true
          superpermbridge.regionmarket.offer: true
          superpermbridge.regionmarket.accept: true
          superpermbridge.regionmarket.remove: true
          superpermbridge.regionmarket.list: true
          superpermbridge.ChestShop.shop.*: true
          superpermbridge.petition.moderate: true
          superpermbridge.petition.warp-to-own-if-assigned: true
          superpermbridge.PickPocket.protected: true
          superpermbridge.worldedit.generation.forest: true
          permissions.build: true
        inheritance:
          - Default
      Mod:
        permissions:
          permissions.build: true
        inheritance:
          - Default
      SuMod:
        permissions:
          permissions.build: true
        inheritance:
          - Default
      Admins:
        permissions:
          superpermbridge.*: true
          permissions.*: true
    why i cant build on my server, the superpermbridge works but not the bukkitpermissions
    thanks
     
  15. Offline

    nawmataronyu

    im getting an issue ingame with this, im using permissionbukkit, i have my setting like this for testing
    Code:
    users:
    
        456:
    
            permissions:
                permissions.*: true
    
            groups:
    
            - admin
    
        nawmataronyu:
    
            groups:
    
            - builder
    :
    
    groups:
        default:
    
            permissions:
    
                permissions.build: false
     
        builder:
    
            permissions:
    
                permissions.build: true
                simplechestlock.lock.*: true
        architect:
    
            permissions:
    
                permissions.build: true
    
                simplechestlock.lock.*: true
        mod:
    
            permissions:
    
                permissions.build: true
    
                simplechestlock.lock.*: true
        admin:
    
            permissions:
    
                permissions.*: true
    
                simplechestlock.*: true
    :
        build: '&cYou do not have permission to build here.'
    debug: false
    
    but in game I cannot lock chests, i get this message "You can't lock or unlock blocks! Permission denied!"
     
  16. Offline

    Celtic Minstrel

    Not worth the extra work of supporting two formats.
     
  17. Offline

    Raptor2213

    I'm trying to give certain players admin-level permissions on certain worlds, and I was wondering if this would work:

    Show Spoiler
    Code:
        Name:
            permisisons:
            groups:
            - Moderator
            worlds:
                WorldName:
                    inheritance:
                    - Admin


    ...or do I have to copy/paste in all the admin permissions to that particular world?

    Because you didn't give the admin group build permissions. Change your Mod, SuMod, and Admins section to use proper inheritances, like this:
    Show Spoiler
    Code:
      Mod:
        permissions:
        inheritance:
          - preMod
      SuMod:
        permissions:
        inheritance:
          - Mod
      Admins:
        permissions:
          superpermbridge.*: true
          permissions.*: true
        inheritance:
          - SuMod


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

    Pim1234

    i am completely lost...
    how to set this up? i have no idea what to do with those stupid true and false thingy's


    is the permissions converter almost ready?
     
  19. How to reload root/permissions.yml file without restarting or reloading every plugin?
     
  20. Offline

    Smack

    I just copied your code into Notepad++ and compared to mind. Now I'm not a coder, but I believe these things are very picky about spacing and stuff. I noticed there was a tiny miss spacing when opened in Notepad, which could be causing yours not to work, as otherwise it's identical with mine, that is working fine.

    Just a note: I don't use any ' ' in mine, and it works fine.

    Code:
    users:
        Steveymack:
            groups:
            - admin
        IainKeers:
            groups:
            - admin
        draaglom:
            groups:
            - user
        diptych:
            groups:
            - user
        arthurwellesley:
            groups:
            - user
        kevy_kev:
            groups:
            - user
        lap12345:
            groups:
            - user
        rawdon:
            groups:
            - user
        amishelectrician:
            groups:
            - user
        tomf60:
            groups:
            - admin
        gavmiller90:
            groups:
            - user
        radio_zone:
            groups:
            - user
        andizzzle:
            groups:
            - user
        vettigeswa:
            groups:
            - user
        darkmantle:
            groups:
            - user
        john_forseti:
            groups:
            - user
        frerk:
            groups:
            - user
        diakun:
            groups:
            - user
        viperb10:
            groups:
            - user
        mrmikee48:
            groups:
            - user
        cyborch:
            groups:
            - user
        ranflax:
            groups:
            - user
        blagging:
            groups:
            - user
        ezmagon:
            groups:
            - user
        evilpaperclip:
            groups:
            - user
        maskedturk:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.build: true
                permissions.*: true
                superpermbridge.CommandBook: true
                lwc.admin: true
                superpermbridge.signColours: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                commandbook.whereami.compass: true
                commandbook.msg: true
                commandbook.say.me: true
                commandbook.say: true
                commandbook.return: true
                commandbook.spawn: true
                commandbook.time.check: true
                commandbook.who: true
                lwc.create: true
                lwc.info: true
                lwc.remove: true
                lwc.modify: true
                lwc.unlock: true
                superpermbridge.signColours: true
            inheritance:
            - default
    messages:
        build: '&cYou    do    not    have    permission    to    build    here.'
    
    A quick note to mods:
    I'm running 1.1 still, as I couldn't get 1.2 to work at all. I found that if I removed all users bar myself, my server would work. After that I re-uploaded the current file with everyone on it again, and it's still working. For some reason trying to upload the file with everyone on it first, didn't seem to work. No idea why. It may help others if they do the same thing.

    (I have just moved to a new server, so everything has been installed fresh.)
     
  21. I have downloaded clean version of bukkit, downlaoded mcMMO.jar, put into plugins, and want to globaly disable everything except woodcutting, but my config dosn't working,

    i have i /permissions.yml:


    Code:
    s.def:
        default: true
        children:
            mcmmo.defaults: false
            mcmmo.skills.*: false
            mcmmo.skills.mining: false
            mcmmo.skills.woodcutting: true
    
    Result: everything is on like when permissions.yml was empty.
     
  22. Offline

    Boltblaster

    Code:
    users:
        boltblaster:
            groups:
            - Owner
        oliverjuhl1:
            groups:
            - Admin
        spok:
            permissions:
            groups:
            - Admin
        thecomposer:
            groups:
            - Admin
        kingy98:
            groups:
            - Moderator
        barsking:
            groups:
            - default
        glueman884:
            groups:
            - default
        killerx10x:
            groups:
            - VIP
        Halley242:
            groups:
            - VIP
        fb4lif3:
            groups:
            - default
    groups:
        default:
            permissions:
                permissions.build: true
                superpermbridge.citizens.use.blacksmith: true
                superpermbridge.citizens.blacksmith.use.repair: true
                superpermbridge.citizens.healer.use.heal: true
                superpermbridge.citizens.wizard.use.interact: true
                superpermbridge.citizens.trader.use.trade: true
                superpermbridge.citizens.use.healer: true
                superpermbridge.citizens.use.trader: true
                superpermbridge.essentials.afk: true
                superpermbridge.essentials.help: true
                superpermbridge.HomeX.*: true
                superpermbridge.essentials.kit: true
                superpermbridge.essentials.mail: true
                superpermbridge.essentials.mail.send: true
                superpermbridge.essentials.me: true
                superpermbridge.essentials.msg: true
                superpermbridge.essentials.portal: true
                superpermbridge.essentials.sethome: true
                superpermbridge.essentials.spawn: true
                superpermbridge.essentials.warp: true
                superpermbridge.essentials.warp.list: true
                superpermbridge.mobarena.arenas.*: true
                superpermbridge.essentials.rules: true
                superpermbridge.essentials.list: true
                superpermbridge.essentials.nick: true
                superpermbridge.essentials.back: true
                superpermbridge.mobarena.use.*: true
                superpermbridge.mobarena.classes.*: true
                superpermbridge.essentials.suicide: true
                superpermbridge.SpawnX.spawn: true
                superpermbridge.lwc.protect: true
                superpermbridge.NightClub.go: true
                superpermbridge.essentials.kit.*: true
                mchat.prefix.default: true
                superpermbridge.iConomy.access: true
                superpermbridge.iConomy.list: true
                superpermbridge.iConomy.payment: true
                superpermbridge.iConomy.rank: true
                superpermbridge.factions.participate: true
        Admin:
            permissions:
                permissions.player.setgroup: true
                superpermbridge.*: true
                mchat.prefix.Admin: true
                DarkBrotherhood.use.poison: true
                DarkBrotherhood.use.lockpick: true
                DarkBrotherhood.roll: true
                DarkBrotherhood.use.shuriken: true
                DarkBrotherhood.assassinate: true
                DarkBrotherhood.climb: true
                EffectiveArrow.use.flaming: true
                EffectiveArrow.use.iron: true
                EffectiveArrow.use.razor: true
                EffectiveArrow.use.smoke: true
                superpermbridge.iConomy.access: true
                superpermbridge.iConomy.list: true
                superpermbridge.iConomy.payment: true
                superpermbridge.iConomy.rank: true
                lwc.protect: true
                lwc.admin: true
                superpermbridge.factions.participate: true
            inheritance:
            - Moderator
        Moderator:
            permissions:
                superpermbridge.essentials.*: true
                superpermbridge.citizens.use.blacksmith: true
                superpermbridge.citizens.use.healer: true
                superpermbridge.citizens.use.trader: true
                superpermbridge.worldedit.butcher: true
                superpermbridge.magiccarpet.mc: true
                superpermbridge.SpawnX.spawn: true
                superpermbridge.lwc.protect: true
                superpermbridge.NightClub.go: true
                superpermbridge.HomeX.*: true
                superpermbridge.jail.command.jail: true
                superpermbridge.jail.command.unjail: true
                mchat.prefix.Moderator: true
                DarkBrotherhood.use.poison: true
                DarkBrotherhood.use.lockpick: true
                DarkBrotherhood.roll: true
                DarkBrotherhood.use.shuriken: true
                DarkBrotherhood.assassinate: true
                DarkBrotherhood.climb: true
                EffectiveArrow.use.flaming: true
                EffectiveArrow.use.iron: true
                EffectiveArrow.use.razor: true
                EffectiveArrow.use.smoke: true
                superpermbridge.iConomy.access: true
                superpermbridge.iConomy.list: true
                superpermbridge.iConomy.payment: true
                superpermbridge.iConomy.rank: true
                superpermbridge.factions.participate: true
        Owner:
            permissions:
                permissions.*: true
                superpermbridge.*: true
                mchat.prefix.Owner: true
                DarkBrotherhood.use.poison: true
                DarkBrotherhood.use.lockpick: true
                DarkBrotherhood.roll: true
                DarkBrotherhood.use.shuriken: true
                DarkBrotherhood.assassinate: true
                DarkBrotherhood.climb: true
                EffectiveArrow.use.*: true
                lwc.protect: true
                lwc.admin: true
                superpermbridge.factions.participate: true
        VIP:
            permissions:
                superpermbridge.essentials.god: true
                permissions.build: true
                superpermbridge.citizens.use.blacksmith: true
                superpermbridge.citizens.blacksmith.use.repair: true
                superpermbridge.citizens.healer.use.heal: true
                superpermbridge.citizens.wizard.use.interact: true
                superpermbridge.citizens.trader.use.trade: true
                superpermbridge.citizens.use.healer: true
                superpermbridge.citizens.use.trader: true
                superpermbridge.essentials.afk: true
                superpermbridge.essentials.help: true
                superpermbridge.HomeX.*: true
                superpermbridge.essentials.kit: true
                superpermbridge.essentials.mail: true
                superpermbridge.essentials.mail.send: true
                superpermbridge.essentials.me: true
                superpermbridge.essentials.msg: true
                superpermbridge.essentials.portal: true
                superpermbridge.essentials.sethome: true
                superpermbridge.essentials.spawn: true
                superpermbridge.essentials.warp: true
                superpermbridge.essentials.warp.list: true
                superpermbridge.mobarena.arenas.*: true
                superpermbridge.essentials.rules: true
                superpermbridge.essentials.list: true
                superpermbridge.essentials.nick: true
                superpermbridge.essentials.back: true
                superpermbridge.mobarena.use.*: true
                superpermbridge.mobarena.classes.*: true
                superpermbridge.essentials.suicide: true
                superpermbridge.SpawnX.spawn: true
                superpermbridge.lwc.protect: true
                superpermbridge.NightClub.go: true
                superpermbridge.essentials.kit.*: true
                mchat.prefix.VIP: true
                DarkBrotherhood.use.poison: true
                DarkBrotherhood.use.lockpick: true
                DarkBrotherhood.roll: true
                DarkBrotherhood.use.shuriken: true
                DarkBrotherhood.assassinate: true
                DarkBrotherhood.climb: true
                EffectiveArrow.use.flaming: true
                EffectiveArrow.use.iron: true
                EffectiveArrow.use.razor: true
                EffectiveArrow.use.smoke: true
                superpermbridge.iConomy.access: true
                superpermbridge.iConomy.list: true
                superpermbridge.iConomy.payment: true
                superpermbridge.iConomy.rank: true
                superpermbridge.factions.participate: true
        Assassin:
            permissions:
                permissions.build: true
                superpermbridge.citizens.use.blacksmith: true
                superpermbridge.citizens.blacksmith.use.repair: true
                superpermbridge.citizens.healer.use.heal: true
                superpermbridge.citizens.wizard.use.interact: true
                superpermbridge.citizens.trader.use.trade: true
                superpermbridge.citizens.use.healer: true
                superpermbridge.citizens.use.trader: true
                superpermbridge.essentials.afk: true
                superpermbridge.essentials.help: true
                superpermbridge.HomeX.*: true
                superpermbridge.essentials.kit: true
                superpermbridge.essentials.mail: true
                superpermbridge.essentials.mail.send: true
                superpermbridge.essentials.me: true
                superpermbridge.essentials.msg: true
                superpermbridge.essentials.portal: true
                superpermbridge.essentials.sethome: true
                superpermbridge.essentials.spawn: true
                superpermbridge.essentials.warp: true
                superpermbridge.essentials.warp.list: true
                superpermbridge.mobarena.arenas.*: true
                superpermbridge.essentials.rules: true
                superpermbridge.essentials.list: true
                superpermbridge.essentials.nick: true
                superpermbridge.essentials.back: true
                superpermbridge.mobarena.use.*: true
                superpermbridge.mobarena.classes.*: true
                superpermbridge.essentials.suicide: true
                superpermbridge.SpawnX.spawn: true
                superpermbridge.lwc.protect: true
                superpermbridge.NightClub.go: true
                superpermbridge.essentials.kit.*: true
                mchat.prefix.Dark_Brotherhood: true
                DarkBrotherhood.use.poison: true
                DarkBrotherhood.use.lockpick: true
                DarkBrotherhood.roll: true
                DarkBrotherhood.use.shuriken: true
                DarkBrotherhood.assassinate: true
                DarkBrotherhood.climb: true
                EffectiveArrow.use.flaming: true
                EffectiveArrow.use.iron: true
                EffectiveArrow.use.razor: true
                EffectiveArrow.use.smoke: true
                superpermbridge.iConomy.access: true
                superpermbridge.iConomy.list: true
                superpermbridge.iConomy.payment: true
                superpermbridge.iConomy.rank: true
                superpermbridge.factions.participate: true
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    This is my config file. I realise it's long, and I didn't use inheritance apart from Admin. None has any permissions when I use this Could someone please point out what I've done wrong? Greatly appreciated.

    Edit: Please don't point out that I've missed the 'permissions.build' to some groups. This is the original log I've had, I've messed about with the others quite a lot. I'll put the permission to the final one.
     
  23. Offline

    Skettalee

    Quick question..... If im using 1.1 and I see you guys have 1.2 out, can just shutting the server down, replacing the jar with 1.2 and restarting be what the upgrade process is?
     
  24. Offline

    Andrew Harwood

    I get this when I use the default permissions file you provide at the start of the thread:
    [SEVERE] Permission node 'groups' in server config is invalid

    I downloaded the starter bukkit server installation for the noobs. It works but when I paste your permission text into the file and then start the server I get this error. Any ideas? I am using a PC on windows 7
     
  25. Offline

    Rellac

    So, It seems I'm getting the following error on startup:


    Code:
    [SEVERE] Could not load 'plugins\PermissionsBukkit-1.1.jar' in folder 'plugins':
    while parsing a block mapping
     in "<reader>", line 2, column 5:
            Derp:
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 115, column 8:
               inheritance:
               ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    And here's the config I'm using (Just the two ranks while I'm testing):

    Code:
    groups:
        Derp:
            permissions:
                banrecipe.*: false
                banrecipe.5: true
                banrecipe.20: true
                banrecipe.22: true
                banrecipe.23: true
                banrecipe.24: true
                banrecipe.35: true
                banrecipe.41: true
                banrecipe.42: true
                banrecipe.44: true
                banrecipe.45: true
                banrecipe.47: true
                banrecipe.50: true
                banrecipe.53: true
                banrecipe.54: true
                banrecipe.57: true
                banrecipe.61: true
                banrecipe.65: true
                banrecipe.66: true
                banrecipe.67: true
                banrecipe.80: true
                banrecipe.82: true
                banrecipe.85: true
                banrecipe.89: true
                banrecipe.91: true
                banrecipe.96: true
                banrecipe.259: true
                banrecipe.281: true
                banrecipe.282: true
                banrecipe.321: true
                banrecipe.323: true
                banrecipe.324: true
                banrecipe.325: true
                banrecipe.328: true
                banrecipe.330: true
                banrecipe.333: true
                banrecipe.339: true
                banrecipe.340: true
                banrecipe.342: true
                banrecipe.343: true
                banrecipe.351: true
                banrecipe.354: true
                banrecipe.357: true
                banrecipe.358: true
                banrecipe.359: true
                superpermbridge.armorkeep.gold.*: true
                foo.bar: true
                essentials.afk: true
                essentials.help: true
                essentials.getpos: true
                essentials.ignore: true
                essentials.list: true
                essentials.mail: true
                essentials.mail.send: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.rules: true
                essentials.whois: true
                magicspells.grant.help: true
                magicspells.grant.mark: true
                magicspells.grant.recall: true
                magicspells.grant.list: true
                magicspells.grant.gate: true
                magicspells.learn.help: true
                magicspells.learn.mark: true
                magicspells.learn.recall: true
                magicspells.learn.list: true
                magicspells.learn.gate: true
                superpermbridge.magicspells.cast.*: true
                superpermbridge.DuckShop.use.*: true
                DuckShop.break.other: true
                DuckShop.break.personal: true
                iConomy.payment: true
                iConomy.list: true
                iConomy.access: true
                mybed.own: true
                nomovedtooquicklykick.exempt: true
                PaintingSwitch.use: true
                lagmeter.command.lag: true
                hungry.player.hunger: true
                hungry.player.hunger.check: true
                hungry.player.food: true
                hungry.player.food.list: true
                buttonwarp.use: true
                buttonwarp.getreward: true
                lwc.protect: true
                EffectiveArrow.use.normal: true
                permissions.build: true
                mcmmo.skills.woodcutting: true
                mcmmo.skills.unarmed: true
                mcmmo.skills.excavation: true
                mcmmo.skills.swords: true
                bookworm.create: true
                bookworm.write.own: true
                bookworm.copy.own: true
                bookworm.copy.others: true
                bookworm.remove.own: true
                bookworm.remove.others: true
                bookworm.destroy.own: true
                superpermbridge.towny.wild.*: true
                towny.town.claim: true
                towny.town.resident: true
                CommandSigns.use.*: true
        Rogue:
            permissions:
                ulp.lockpick: true
                herosneak.sneak: true
                mcmmo.ability.swords: true
                mcmmo.skills.acrobatics: true
                superpermbridge.armorkeep.leather.*: true
           inheritance:
           - Derp
    users:
        Rellac:
            groups:
            - Rogue
    
    
    I'm trying to use inheritence to reduce the spam in my ocnfig file, for easier editing. The errors started when I tried that, so I assume it's the problem. No idea how to fix it, however.

    I'm using 1.2, but this seems easier for a faster response, and the other forums are rather ugly when it comes to code, if I do say so myself.
     
  26. Offline

    rezznov

    17:09:00 [INFO] Permission system not detected
    17:09:00 [INFO] [LocalAreaChat] Radius set to 40
    17:09:00 [INFO] LocalAreaChat version 0.07.1b is enabled!
    17:09:00 [INFO] [MobDisguise] by desmin88 version 1.6 enabled.
    17:09:00 [INFO] Server permissions file permissions.yml is empty, ignoring it
    17:09:00 [INFO] Done (0.185s)! For help, type "help" or "?"


    HELP!!!!!!!!!!!!!!
    i cant get permissions to work what did i do wrong
    i underlined and put in bold the things wrong
     
  27. Offline

    Skettalee

    That information is just talking about the basic permissions file. You need to make sure you got PermissionsBUKKIT in yourplugins, both the jar and the folder with the config.yml file.
     
  28. Offline

    rezznov

    i do have both permissionsbukkit and the folder and the config.yml in the folder. the jar and the folder are in my plugins folder
     
  29. Offline

    Skettalee

    Im really not the developer but go ahead and list all plugins your using. Use a pastebin.com to paste the full bootup log so we could look closer at everything.
     
  30. Offline

    rezznov

    ok my plugins are LocalAreaChat, Essentials, MobDisguise, and PermissionsBukkit
    why do i use pastbin?
     
  31. Offline

    Skettalee

    Its the easiest way to paste a full log of your server startup and all the elements loading so we can take a look at it. And example would be like this: http://pastebin.com/z0zWPgKp (one of my old ones)
     

Share This Page