[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

    Th3Controller

    Indeed as to ClanForge is behind the new plugins that came with the wave of the bukkit build. They still haven't updated the newest plugins. We are also having trouble with multiworlds (theyre testing their own plugin to fix this) I hope this would fix it. I will also convert to this as soon as mChat appears and a converter is ready.
     
  3. Offline

    Garninc580

    Hello, I am getting this error message when ever i try to run my server.



    Code:
    15:38:22 [SEVERE] Could not load 'plugins\PermissionsBukkit-1.1.jar' in folder '
    plugins':
    while scanning a simple key
     in "<reader>", line 40, column 13:
                    SpawnX.spawn
                    ^
    could not found expected ':'
     in "<reader>", line 41, column 5:
            Peasant:
            ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            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.composeMappingNode(Composer.java
    :230)
            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:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.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.j
    ava:175)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:207)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:130)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15:38:22 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    
    This is my permissions config.
    Code:
    users:
        Garninc580:
            permissions:
                permissions.example: true
            groups:
            - Emperor
    groups:
        Default:
            permissions:
                permissions.build: false
                spawnX.spawn
        Peasant:
            permissions:
                permissions.build: true
                SpawnX.spawn
            inheritance:
            - Default
        Civilian:
            permissions:
                permissions.build: true
                SpawnX.spawn
            inheritance:
            - Peasant
       Aristocrat:
            permissions:
                permissions.build: true
                SpawnX.spawn
            inheritance:
            - Civilian
        Lord:
            permissions:
                permissions.build: true
                SpawnX.spawn
            inheritance:
            - Aristocrat
        Emperor:
            permissions:
                permissions.*: true
                permissions.group.*
                permissions.player.*
                SpawnX.*
                admincmd.item.*
            inheritance:
            - Lord
    
    messages:
        build: '&cYou do not have permission to build here.'
    
    Any help will be much appreciated.

    Code:
    ERROR:
    
    while scanning a simple key
      in "<unicode string>", line 11, column 13:
                    spawnX.spawn
                    ^
    could not found expected ':'
      in "<unicode string>", line 12, column 5:
            Peasant:
            ^
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    Paah

    You are missing a lot of ": true" and/or ": false".
     
  5. Offline

    Garninc580

    so do i put either a :true or a :false next to all the permission nodes?
     
  6. Offline

    Paah

    Yes.
     
  7. Offline

    Techykid3

    I'm starting to learn this, my question still arises, if i don't put a node in for a user, does it assume its "true" or "false". For example, if I didn't want someone to have myplugin.admin, if I just left it out, would it give it to the person, or would it assume its false?


    Also how do I set a default group for someone to "start with" the first time they login?
     
  8. Offline

    SpaceManiac

    For plugins not updated to Superperms, the default is always false. For plugins that have updated, it might default to true depending on the plugin author's choice, but this is unlikely for admin permissions.

    I've added mChat configuration generators to the PEX and GM converters and am ironing out some issues in the P2 and P3 converters before I release them fully. Sorry for all the delay, it's been busy around here lately. I'll try to read through the thread and answer everyone else's questions as well.
     
  9. Offline

    dayofdarkfire

    I need some help with this plugin. First off here is my permission.yml and PermissionsBukkit config.yml

    permissions.yml
    Show Spoiler
    Code:
    server.user:
            default: true
            children:
                permissions.build: true
                appleseed.plant.apple: true
                BOSEconomy.common.*: true
                brokenfingers: true
                choptree.chop: true
                craftbook.mech.bridge: true
                craftbook.mech.bridge.use: true
                craftbook.mech.gate: true
                craftbook.mech.gate.use: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.cauldron: true
                craftbook.mech.light-switch: true
                door.shield: true
                drbed.heal: true
                factions.participate: true
                fishpeople.infiniteair: true
                iConomyChestShop.shop.create: true
                iConomyChestShop.shop.buy: true
                iConomyChestShop.shop.sell: true
                iConomyChestShop.command.iteminfo: true
                mobarena.arenas.*: true
                mobarena.classes.*: true
                mobarena.use.join: true
                mobarena.use.leave: true
                mobarena.use.spectate: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntscore: true
                monsterhunt.usercmd.huntstatus: true
                monsterhunt.usercmd.hunttele: true
                myhome.home.basic.home: true
                myhome.home.basic.set: true
                myhome.home.basic.delete: true
                myhome.home.soc.others: true
                myhome.home.soc.invite: true
                myhome.home.soc.uninvite: true
                myhome.home.soc.public: true
                myhome.home.soc.private: true
                PortableTorch.Allow: true
                fight.user: true
                tomb.create: true
                travelportals.portal.use: true
                zc.chickenswarm: true
    server.mod:
            default: true
            children:
                permissions.build: true
                factions.create: true
                factions.manageSafeZone: true
                factions.manageWarZone: true
                iConomyChestShop.admin: true
                mobarena.admin.protect: true
                mobarena.setup.arena: true
                mobarena.setup.setarena: true
                mobarena.setup.addarena: true
                mobarena.setup.delarena: true
                mobarena.setup.editarena: true
                mobarena.setup.setregion: true
                mobarena.setup.expandregion: true
                mobarena.setup.setlobbyregion: true
                mobarena.setup.setwarp: true
                mobarena.setup.spawnpoints: true
                mobarena.setup.addspawn: true
                mobarena.setup.delspawn: true
                mobarena.setup.autogenerate: true
                mobarena.setup.autoregenerate: true
                monsterhunt.admincmd.huntzone: true
                fight.admin: true
                simplegive.give: true
                simplegive.item: true
                simplegive.item.id: true
                simplegive.give.id: true
                travelportals.portal.create: true
                travelportals.portal.destroy: true
                travelportals.portal.command.help: true
                travelportals.portal.command.hide: true
                travelportals.portal.command.list: true
                travelportals.portal.command.name: true
                travelportals.portal.command.warp: true
                travelportals.command.info: true
                travelportals.command.deactivate: true
                worldedit.brush.*: true
                worldedit.clipboard.*: true
                worldedit.generation.*: true
                worldedit.history.*: true
                worldedit.navigation.*: true
                worldedit.region.*: true
                worldedit.wand.*: true
                worldedit.selection.*: true
                worldedit.analysis.*: true
                worldedit.superpickaxe.*: true
                worldedit.tool.*: true
                worldguard.god: true
                worldguard.ungod: true
                worldguard.heal: true
                worldguard.heal.other: ture
                worldguard.region.*: true


    config.yml
    Show Spoiler

    Code:
    
    users:
        Dayofdarkfire:
            permissions:
                permissions.example: true
            groups:
            - admin
        Dunazuka:
            permissions:
                permissions.example: true
            groups:
            - mod
        Legend4263:
            permissions:
                permissions.example: true
            groups:
            - mod
        ArsonsAngel:
            permissions:
                permissions.example: true
            groups:
            - mod
        Shaden_Salazar:
            permissions:
                permissions.example: true
            groups:
            - mod
        Jon93:
            permissions:
                permissions.example: true
            groups:
            - mod
        Vrontisarus_Rex:
            permissions:
            groups:
            -mod
        Sons_of_Poseidon:
            permission:
            group:
            -user
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - mod
        mod:
            permissions:
                server.mod: true
            inheritance:
            - user
        user:
            permissions:
                server.user: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    


    For some reason when I am not an OP I cannot do anything, not even build. I have also tried leaving the permissions.yml blank and putting all the permissions in config.yml but regardless I get the same results. Is there something I'm doing wrong? Do I need a plugin that allows me to have groups such as admin, mod, user?
     
  10. Offline

    L3m0n

    how would i go about making separate world permissions?
     
  11. Offline

    Techykid3

    Code:
    [SIZE=12px][FONT=Consolas]    user: [COLOR=rgb(255, 0, 0)][B]        permissions:             shop.user: true         worlds:             creative:                 shop.user: false[/B][/COLOR]         inheritance:         - default[/FONT][/SIZE]
    
    Lets say you DIDN'T want them to have the node "shop.user" in the world "creative", but in ALL OTHER worlds, you want them too. The configuration above that I quoted, should help you out.
    [/code][/COLOR][/FONT]
     
  12. Offline

    HunterAP

    @SpaceManiac
    Hey, it's me again. After our search for bugs the other night, and with the revelation that MCMMO is enabling commands by default, I'm seriously concerned about the security issues that BukkitPermissions presents.
    If plugin authors can auto-enable permissions to commands without telling server ops what commands are available, that opens up a whole bunch of potential security problems. I really think that you guys need to take a step back and evaluate the point of having permissions in the first place.
    I suggest giving the server ops complete control over permissions, just like all of the other permissions plugins. Don't allow the plugin authors to enable commands by default. Though that makes things easier for admins, it also makes servers vulnerable to attacks. The last thing that we need is some plugin developer slipping in backdoor commands.
     
  13. Offline

    Exxidion

    I need help... I can do little to nothing on my server and do not understand why. I think it has to do with the config file, but I am not sure... Any ideas? (config file pasted below)
    Code:
    users:
        Exxidion:
            groups:
            - Administrators
        crafter123:
            groups:
            - Administrators
    groups:
        default:
            permissions:
                permissions.build: true
                commandSigns.use: true
                scrollingmenusign.scroll: true
                commandsigns.use: true
        Regulars:
            permissions:
                multiverse.world.spawn: true
            inheritance:
            - default
        Donators:
            permissions:
                appleseed.plant.*: true
                appleseed.wand: true
                herochat.color: true
                itemdetector.create.block: true
                itemdetector.create.remove: true
                itemdetector.create.pit: true
                itemdetector.create.damage: true
                itemdetector.create.launch: true
                itemdetector.create.fire: true
                itemdetector.create.kill: true
                itemdetector.create.heal: true
                itemdetector.create.repair: true
                itemdetector.create.thunder: true
            inheritance:
            - Regulars
        Developers:
            permissions: {}
        Moderators:
            permissions:
                commandSigns.exec: true
                herochat.admin: true
                magiccarpet.mc: true
                magiccarpet.ml: true
                multiverse.tp: true
                multiverse.list: true
            inheritance:
            - Regulars
        Administrators:
            permissions:
                permissions.*: true
                appleseed.infinite.fertilizer: true
                appleseed.sign.place: true
                appleseed.infinite.cap: true
                commandSigns.create: true
                commandSigns.super: true
                commandSigns.super.elevated: true
                commandSigns.super.fakeuser: true
                commandSigns.super.restricted: true
                commandSigns.default: true
                commandSigns.config: true
                commandSigns.alias: true
                multiverse.world.create: true
                multiverse.world.import: true
                multiverse.world.remove: true
                multiverse.world.setspawn: true
                multiverse.portal.create: true
                multiverse.portal.select: true
                multiverse.portal.destination: true
                multiverse.portal.remove: true
                multiverse.portal.list: true
                scrollingmenusign.commands.create: true
                scrollingmenusign.commands.sync: true
                scrollingmenusign.commands.break: true
                scrollingmenusign.commands.delete: true
                scrollingmenusign.commands.add: true
                scrollingmenusign.commands.remove: true
                scrollingmenusign.commands.title: true
                scrollingmenusign.commands.list: true
                scrollingmenusign.commands.show: true
                scrollingmenusign.commands.page: true
                scrollingmenusign.commands.save: true
                scrollingmenusign.commands.reload: true
                scrollingmenusign.commands.getcfg: true
                scrollingmenusign.commands.setcfg: true
                scrollingmenusign.commands.macro: true
                scrollingmenusign.commands.debug: true
                scrollingmenusign.destroy: true
                scrollingmenu.colorsigns: true
            inheritance:
            - Moderators
            - Donators
        BlueWarrior:
            permissions: {}
        BlueArcher:
            permissions: {}
        BlueBuilder:
            permissions: {}
        BlueGriefer:
            permissions: {}
        BlueMedic:
            permissions: {}
        BlueAssassin:
            permissions: {}
        BlueScout:
            permissions: {}
        RedWarrior:
            permissions: {}
        RedArcher:
            permissions: {}
        RedBuilder:
            permissions: {}
        RedGriefer:
            permissions: {}
        RedMedic:
            permissions: {}
        RedAssassin:
            permissions: {}
        RedScout:
            permissions: {}
        Spectator:
            permissions: {}
    messages:
        build: '&4You do not have permission to build here.'
    
    I do not understand where I went wrong in the yml...
     
  14. I think i'm starting to get the hang of the new system...
    I just want to make sure i'm not doing anything wrong.

    I'm using the plugin TeleConfirmLite , and for some reason, all users can teleport, regardless of the permissions.I'm pretty sure its a problem with the plugin not recognizing permissions at all, but not defaulting to OP only... I just want to make sure my config is set up right:
    Code:
    users:
        -snip-
    groups:
        default:
            permissions:
                permissions.build: true
                superpermbridge.craftbook.mech.*: true
                SpawnControl.sethome.basic: true
                SpawnControl.home.basic: true
                SpawnControl.spawn.use: true
                commandbook.who: true
                commandbook.motd: true
                commandbook.rules: true
                lastseen.query.name: true
                tcl.tpc: false
                tcl.tpchere: false
                tcl.tpca: true
                tcl.tpcd: true
                buttonwarp.use: true
                bcvote.weather: true
                heroicrebuke.list: true
        admins:
            permissions:
                permissions.*: true
                superpermbridge.*: true
                superpermbridge.buttonwarp.*: true
            inheritance:
            - default
        mem_stone:
            permissions:
                permissions.build: true
                lwc.protect: true
                kit.kit: true
                kit.si: true
                tcl.tpc: true
                tcl.tpchere: true
            inheritance:
            - default
        mem_iron:
            permissions:
                permissions.build: true
                bb.admin.info: true
                lwc.protect: true
                kit.kit: true
                kit.ii: true
                kit.id: true
                tcl.tpc: true
                tcl.tpchere: true
                bcvote.time: true
            inheritance:
            - default
        mem_diamond:
            permissions:
                bb.admin.info: true
                bcvote.time: true
                kit.dd: true
                kit.di: true
                kit.kit: true
                lwc.protect: true
                permissions.build: true
                tcl.tpc: true
                tcl.tpchere: true
            inheritance:
            - default
        vip_diamond:
            permissions:
                lwc.protect: true
                kit.kit: true
                kit.dvip: true
            inheritance:
            - default
        vip_iron:
            permissions:
                lwc.protect: true
                kit.kit: true
                kit.ivip: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
    Mostly everything else is working as it should... except for LWC, which is not recognizing the groups i have defined, and all players are receiving unlimited locks. (I believe this issue has to do with how groups are being communicated to LWC via PB ... not sure how to fix that).

    I'm still testing out a lot of plugins, one by one, to see what permissions are usable, and how far i can push it :)
     
  15. Offline

    asm0deus

    I'm currently running PEX. I see their is a converter and all that good stuff but I'm not fully understanding what this is and why I should switch. Is this more stable... better functionality... the new "default"?

    Thanks in advanced!
     
  16. Offline

    krinsdeath

    Try removing the { }, and make sure you have the latest version of SuperPermsBridge.jar.


    Since it's obvious you're already running SuperPermsBridge, it may be that LWC relies on querying groups from Permissions to resolve settings, and as such won't be usable (with the new permissions system) until its Author updates it to work without them. I'm unfamiliar with the plugin (and its source), so I can't say this for sure. Until then, I'd suggest attempting to add the superpermbridge.lwc.* permission to see if you can get it to work at all.
    This plugin provides a configurable set of permissions for Bukkit's new native permissions support. Since the new permissions are accessed directly from inside Bukkit, they won't ever break on updates. As a result, they are slightly more stable.

    The downside currently is that this system uses a different method of resolving user and group-specific settings, and instead relies on configurations from within the plugins that utilize these settings, rather than a persistent storage system inside permissions itself (for example, the prefix and suffix fields).

    New plugins will be released to utilize this system, and more plugins will be updated to use it as time goes on. For now, if you're uncomfortable with the switch (due to incompatibilities, or whatever), it's entirely acceptable to just use your current permissions system until things are more fleshed out.
     
    obscurehero likes this.
  17. Offline

    mczinth

    I'm frustrated, my friends are expecting me to get the permissions up and running and they should be but its like the plugin isn't running. I check the logs and everythings hooked into permissions alright but I go into the game and I'm not admin or default for that matter and the /permissions commands give back "Unknown console command. Type /help for help."

    heres the yml


    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        zinth:
            permissions:
            groups:
            - admin
    
    groups:
        default:
            permissions:
                mchat.prefix.default: true
                permissions.build: false
                commandbook.spawn: true
                lwc.blockinventory: true
        admin:
            permissions:
                permissions.*: true
                superpermbridge.*: true
                mchat.prefix.admin: true
                mchat.prefix.user: false
                mchat.prefix.default: false
                mchat.prefix.moderator: false
            inheritance:
            - moderator
        user:
            permissions:
                mchat.prefix.user: true
                mchat.prefix.default: false
                permissions.build: true
                commandbook.who: true
                commandbook.motd: true
                commandbook.intro: true
                commandbook.rules: true
                commandbook.say: true
                commandbook.say.me: true
                commandbook.msg: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                myhome.home.basic.set: true
                myhome.home.basic.home: true
                lwc.protect: true
                iConomy.access: true
                iConomy.rank: true
                iConomy.list: true
            PlanetMC:
                :
                    coolplugin.item: true
            inheritance:
            - default
        moderator:
            permissions:
                mchat.prefix.moderator: true
                mchat.prefix.user: false
                mchat.prefix.default: false
                commandbook.time.check: true
                commandbook.time: true
                commandbook.time.lock: true
                commandbook.weather: true
                commandbook.weather.thunder: true
                commandbook.teleport: true
                commandbook.teleport.other: true
                commandbook.return: true
                commandbook.call: true
                commandbook.warp.teleport: true
                commandbook.warp.teleport.other: true
                commandbook.warp.set: true
                commandbook.broadcast: true
                commandbook.mute: true
                commandbook.kick: true
                myhome.home.basic.delete: true
                lwc.mod: true
                /god: true
                /heal: true
            inherutance:
            - user
    messages:
        build: '&cYou do not have permission to build.'
    and the log

    Code:
    04:01:47 [INFO] [CommandHelper]: 0 alias(es) defined.
    04:01:47 [INFO] WorldEdit 4.6 enabled.
    04:01:47 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    04:01:48 [INFO] [iConomy] Logging is currently disabled.
    04:01:48 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    04:01:48 [INFO] [iConomy] Developed by: [Nijikokun]
    04:01:48 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    04:01:48 [INFO] WorldGuard: (world) Single session is enforced.
    04:01:48 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    04:01:48 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    04:01:48 [INFO] WorldGuard: (world) Lava fire is blocked.
    04:01:48 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    04:01:48 [INFO] WorldGuard: Loaded configuration for world 'world"
    04:01:48 [INFO] WorldGuard: (world_nether) Single session is enforced.
    04:01:48 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    04:01:48 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    04:01:48 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    04:01:48 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    04:01:48 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    04:01:48 [INFO] WorldGuard 5.2.2 enabled.
    04:01:48 [INFO] CommandBook 1.5.2 enabled.
    04:01:48 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    ures have been disabled to be compatible with poorly written server wrappers.
    04:01:48 [INFO] CommandBook: 3 banned name(s) loaded.
    04:01:48 [INFO] CommandBook: 1 kit(s) loaded.
    04:01:48 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    04:01:48 [INFO] MapMarkers version 0.3.2 enabled
    04:01:48 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    04:01:48 [INFO] [BBROTHER] ------------------------------------
    04:01:48 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of
    BigBrother!
    04:01:48 [INFO] [BBROTHER] Please note that, since this is far from complete, th
    ere will be many bugs.
    04:01:48 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bu
    gs.nexisonline.net/bb
    04:01:48 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for up
    dates and build notifications.
    04:01:48 [INFO] [BBROTHER] ------------------------------------
    04:01:48 [INFO] [BBROTHER] Building `bbdata` table...
    04:01:48 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    04:01:48 [INFO] [BBROTHER] Building `bbworlds` table...
    04:01:48 [INFO] [BBROTHER] Building `bbactions` table...
    04:01:48 [INFO] [BBROTHER] Action #1 - BrokenBlock
    04:01:48 [INFO] [BBROTHER] Action #2 - PlacedBlock
    04:01:48 [INFO] [BBROTHER] Action #3 - DestroySignText
    04:01:48 [INFO] [BBROTHER] Action #4 - Teleport
    04:01:48 [INFO] [BBROTHER] Action #5 - DeltaChest
    04:01:48 [INFO] [BBROTHER] Action #6 - Command
    04:01:48 [INFO] [BBROTHER] Action #7 - Chat
    04:01:48 [INFO] [BBROTHER] Action #8 - Disconnect
    04:01:48 [INFO] [BBROTHER] Action #9 - Login
    04:01:48 [INFO] [BBROTHER] Action #10 - DoorOpen
    04:01:48 [INFO] [BBROTHER] Action #11 - ButtonPress
    04:01:48 [INFO] [BBROTHER] Action #12 - LeverSwitch
    04:01:48 [INFO] [BBROTHER] Action #13 - CreateSignText
    04:01:48 [INFO] [BBROTHER] Action #14 - LeafDecay
    04:01:48 [INFO] [BBROTHER] Action #15 - FlintAndSteel
    04:01:48 [INFO] [BBROTHER] Action #16 - TNTExplosion
    04:01:48 [INFO] [BBROTHER] Action #17 - CreeperExplosion
    04:01:48 [INFO] [BBROTHER] Action #18 - MiscExplosion
    04:01:48 [INFO] [BBROTHER] Action #19 - ChestOpen
    04:01:48 [INFO] [BBROTHER] Action #20 - BlockBurn
    04:01:48 [INFO] [BBROTHER] Action #21 - Flow
    04:01:48 [INFO] [BBROTHER] Action #22 - DropItem
    04:01:48 [INFO] [BBROTHER] Action #23 - PickupItem
    04:01:48 [INFO] [BBROTHER] Action #24 - SignDestroyed
    04:01:48 [INFO] [BBROTHER] Action #25 - Heartbeat
    04:01:48 [INFO] [BBROTHER] Action #26 - BlockPistoned
    04:01:48 [INFO] [BBROTHER] Building `bbusers` table...
    04:01:48 [INFO] [BBROTHER] Permissions plugin found but disabled. Enabling 'Perm
    issions' (v2.7.7).
    04:01:48 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    04:01:48 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    04:01:48 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    04:01:48 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    04:01:48 [INFO] [iConomy] hooked into Permissions.
    04:01:48 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.7
    04:01:48 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    04:01:48 [INFO] [BBROTHER] BigBrother 1.10.0-SNAPSHOT (build #641) enabled!
    04:01:48 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    04:01:48 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
    or /mc.
    04:01:48 [INFO] [MagicCarpet] Using Permissions.
    04:01:48 [INFO] LWC: Loaded 133 locale strings (0 overrides)
    04:01:49 [INFO] Using Permissions API
    04:01:49 [INFO] LWC: Loading SQLite
    04:01:49 [INFO] LWC: Using: Native
    04:01:49 [INFO] LWC: Precached 0 protections.
    04:01:49 [INFO] LWC: At version: 3.21-git-LWC-2936c58564bf9d84e97a9a024af1644c8f
    67f269-b54jnks
    04:01:49 [INFO] Done (0.330s)! For help, type "help" or "?"
    If anyone could help I would appreciate it a lot thanks.
     
  18. Offline

    gambiit08

    having this issue as well...

    /help = null
    /permissions = unknown command
    many other commands simply say that i do not have permission to use said command...even though
    i'm the admin...and have every permission....

    please help... so aggravating
     
  19. Offline

    Celtic Minstrel

    Most likely you actually don't have every permission. Remember that wildcards can't always be relied on, and the global * will never work.
     
  20. Offline

    Jessy1237

    I was just wondering is there a way that i can give admins permission to all commands with online like the old permissions by nikijoun.

    it used to be like this

    admin:
    permissions:
    - '*'
    Do asterisks still mean all?
     
  21. Offline

    SpaceManiac

    Check question 1 in the FAQ.
     
  22. Offline

    xezesis

    I keep getting this error when I have a group inheriting from a group with a permissions that relates to the /permissions.yml in the root

    Heres the error and my configs
    Code:
    2011-07-21 16:40:53 [SEVERE] java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:179)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:185)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.permissions.PermissibleBase.calculatePermissions(PermissibleBase.java:167)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:65)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:80)
    2011-07-21 16:40:53 [SEVERE]     at com.platymuus.bukkit.permcompat.PermissionHandler.internalHasPermission(PermissionHandler.java:23)
    2011-07-21 16:40:53 [SEVERE]     at com.platymuus.bukkit.permcompat.PermissionHandler.permission(PermissionHandler.java:59)
    2011-07-21 16:40:53 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:61)
    2011-07-21 16:40:53 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    2011-07-21 16:40:53 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermission(WorldGuardPlugin.java:322)
    2011-07-21 16:40:53 [SEVERE]     at com.sk89q.worldguard.protection.GlobalRegionManager.hasBypass(GlobalRegionManager.java:232)
    2011-07-21 16:40:53 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerCommandPreprocess(WorldGuardPlayerListener.java:983)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-07-21 16:40:53 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-21 16:40:53 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-21 16:40:53 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:179)
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:185)
        at org.bukkit.permissions.PermissibleBase.calculatePermissions(PermissibleBase.java:167)
        at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:65)
        at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:80)
        at com.platymuus.bukkit.permissions.PermissionsCommand.checkPerm(PermissionsCommand.java:444)
        at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:34)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Code:
    groups:
        default:
            permissions:
                server.basics: true
        Trusted:
            permissions:
                commandbook.return: true
                essentials.heal: true
                permissions.build: true
            inheritance:
            - Default
        Rank1:
            permissions:
                commandbook.give: true
                commandbook.give.infinite: true
                commandbook.give.stacks: true
                commandbook.give.stacks.unlimited: true
                worldguard.god: true
                worldguard.god.others: true
                herochat.color: true
                permissions.build: true
            inheritance:
            - Trusted
        PBuilder:
            permissions:
                worldedit.*: true
                commandbook.give: true
                commandbook.give.infinite: true
                commandbook.give.stacks: true
                commandbook.give.stacks.unlimited: true
                superpickaxe.use: true
                permissions.build: true
            inheritance:
            - Trusted
        Moderator:
            permissions:
                server.mod: true
            inheritance:
            - PBuilder
        Admins:
            permissions:
                permissions.*: true
            inheritance:
            - Moderator
    users:
        xezesis:
            groups:
            - Admins
        XxS1LENTxX:
            groups:
            - Moderator
        Iimpro:
            groups:
            - Admins
        HomoCow:
            groups:
            - PBuilder
        Xtrememan:
            groups:
            - Moderator
        realheri:
        phin97:
        Protokiller:
            groups:
            - PBuilder
        danchinator:
            groups:
            - PBuilder
            - Rank1
        d4rkangerl007:
        Erc107:
            groups:
            - Admins
        D4rkAngel007:
            groups:
            - Moderator
        goofmobber:
        Goofmobber:
        anna:
        Lady_Anna:
        the_sober_ninja:
            groups:
            - Trusted
        bperrin:
        cuzzybros:
            groups:
            - Trusted
        DavidJD:
            groups:
            - Trusted
        username:
        xNighthawk70x:
            groups:
            - Moderator
        binman79:
            groups:
            - PBuilder
        MuffinTop23:
            groups:
            - Trusted
        BMXLover3:
            groups:
            - Trusted
            - Moderator
        Phin1797:
            groups:
            - Trusted
    
    Code:
    server.basics:
        description: The Basics
        default: false
        children:
            facepalm.self: true
            mywarp.warp.basic.warp: true
            mywarp.warp.sign.warp: true
            commandbook.debug.info: true
            commandbook.whois: true
            commandbook.msg: true
            commandbook.msg: true
            commandbook.say.me: true
            commandbook.call: true
            commandbook.spawn: true
            commandbook.who: true
            commandbook.motd: true
            commandbook.time.check: true
            commandbook.whereami: true
            commandbook.whereami.compass: true
            commandbook.whereami.compass: true
            commandbook.clear: true
            myhome.home.basic.home: true
            myhome.home.basic.set: true
            myhome.home.basic.delete: true
            myhome.home.soc.invite: true
            myhome.home.soc.uninvite: true
            myhome.home.soc.others: true
            myhome.home.soc.public: true
            myhome.home.soc.private: true
            mcbans.vote: true
            logblock.me: true
            logblock.tool: true
            logblock.toolblock: true
            logblock.lookup: true
            permissions.build: true
    server.mod:
        description: Server Moderater Permissions
        default: false
        children:
            facepalm.other: true
            mywarp.admin: true
            mcbans.admin: true
            mcbans.mute.all: true
            mcbans.mute.player: true
            mcbans.vote.msg: true
            mcbans.vote.kick: true
            mcbans.ban.temp: true
            mcbans.ban.local: true
            mcbans.ban.global: true
            mcbans.unban: true
            mcbans.kick: true
            mcbans.mod: true
            herochat.admin: true
            logblock.rollback: true
            essentials.nick: true
            essentials.setwarp: true
            worldguard.god: true
            worldguard.god.others: true
            permissions.*: true
            commandbook.*: true
            superpermsbridge.commandbook.*: true
            mchat.channel.admin: true
            mchat.reload: true
            superpermbridge.infhchests.placesign: true
            infhchests.placesign: true
            myhome.*: ture
            superpermsbridge.myhome.*: true
    PS: I know some of it is a bit messy (My Config), but as far as i know it is correct YML
    Quick edit, this actually seems unrelated to inheritance I'm not sure what brought it on, looking at it now.
     
  23. Offline

    Jessy1237

    Thank you.

    Sorry for not reading it. I probably sound like a noob. so,

    superpembridge.*: true

    will work fro my old plugins which haven't updated to the new permissions. Thanks
     
  24. Offline

    krinsdeath

    @xezesis - In your permissions.yml, in server.mod, your myhome.*: line has "ture" instead of true.

    Also, your inheritance on Trusted is "Default," while your default group is "default."

    edit: don't change the group to "Default," rather change your inheritance to "default."

    @mczinth - I think your issue is that you tried to specify a world "PlanetMC:" key inside one of your groups, and did so with improper syntax. This probably won't match your configuration, but it'll give you an idea:

    Code:
    groups:
      SomeGroup:
        permissions:
          global.node: true
        worlds:
          PlanetMC:
            local.node: true
    
     
  25. Offline

    xezesis

    Thank You, was still noticing that myself. I haven't had enough sleep.
     
  26. Offline

    L3m0n

    [/FONT][/COLOR][/FONT][/COLOR][/FONT][/COLOR]
    [/code][/quote]

    [/code][/quote][/code][/quote][/FONT][/COLOR]



    thanks for that you've helped me alot :)[/code][/FONT][/COLOR][/quote]
     
  27. Offline

    kallyssa

    Config File:
    Code:
    users:
    groups:
        default:
            permissions:
                permissions.build: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntscore: true
                monsterhunt.usercmd.huntstatus: true
                monsterhunt.usercmd.hunttele: true
            worlds:
                focusworld:
                    server.basics: true
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    Permissions file
    Code:
    server.basics:
        children:
            commandbook.give: true
            commandbook.call: true
            
    This current configuration is letting me access the commandbook commands with no problem however it lets me access them in every world and not just the one world. I have also tried moving the commands under children into the place where the server.basics is now and it has the same result. It appears not to be supporting multiple worlds at the moment. I have also tried setting server.basic under the worlds section to false for the main world.

    Any help would be greatly appreciated.

    PS also tried with Admincmd to get it to behave differently on different worlds and no luck with it either - worked on all worlds or didn't work on any of the worlds. And also tried listing the permissions under users section as well.
     
  28. Offline

    Wolfthal

    I don't understand... How can I configure the plugin.yml? I downloaded the permissionsbukkit.jar and put it in the plugins folder, but the config file is inside the .jar ? I don't understand.
     
  29. Offline

    freman

    I use this now :D

    Wolfthal you don't need to touch the plugin.yml, just PermissionsBukkit/config.yml

    Here's an example based on my signlift plugin
    Code:
    users:
       Fremnet:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
                signlift.*: false
        admin:
            permissions:
                permissions.*: true
                signlift.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                signlift.create.normal: true
                signlift.create.private.own: false
                signlift.use.normal: true
                signlift.use.private.own: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  30. Offline

    Xandaros

    The permission node mcmmo.tools.mmoedit is not even present in my config.yml. Neither in any groups or for a player.
    permissions.yml is empty.
    Why does it get set to true?
    This is the case with all mcmmo nodes, so why is this happening?

    Setting it to false in the default group works for all inherited groups, but that's not a solution but barely a workaround.
    And it says it gets set to true, it doesn't default.

    I really need to get this resolved soon, as our players really like mcMMO and until that gets fixed, I can't turn it on, as some players might abuse their new powers...
     
  31. Offline

    mczinth

    Thank you that fixed it, can't believe it was that silly thing. Now to finish working on the rest of the plugins so my friends server can go public. Thanks again :D
     

Share This Page