[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

    Savoie

    Any way to convert from Perms 3.1 to this easily? Not manually if possible.
     
  3. Offline

    RustyDagger

    I am currently having an issue where no1 that is not op on the server can build ontop of that commandbook and worldguard are spitting out errors so my day is really shit

    there is nothing in my permissions file saying users cant build but yet they still cant no other plugin on the server has the ability to do such a thing as far as i know.

    permissions file:

    Code:
    users:
        RustyDagger:
            permissions:
            groups:
            - owner
        Ice_Dragon_God:
            groups:
            - owner
            permissions:
        Doomkid:
            permissions:
            groups:
            - owner
        Bazem:
            groups:
            - manager
            permissions:
        S_W:
            groups:
            - manager
            permissions:
        citizenkirk:
            groups:
            - admin
            permissions:
        1ronh1de:
            permissions:
            groups:
            - mod
        sofokal:
            groups:
            - mod
            permissions:
        Meikumori:
            groups:
            - admin
            permissions:
        zappie32:
            groups:
            - vip
            permissions:
        Adam123459:
            groups:
            - vip
            permissions:
        scootyrooty:
            groups:
            - vip
            permissions:
        char615:
            groups:
            - vip
            permissions:
        Ixil17:
            groups:
            - vip
            permissions:
        Skyscraper123:
            groups:
            - vip
            permissions:
        zachoooo:
            groups:
            - vip
            permissions:
        Maxwellsacc:
            permissions:
            groups:
            - vip
        Doomsdays:
            groups:
            - vip
            permissions:
    
    groups:
        default:
            permissions:
                minfo.group.noob: false
                minfo.group.player: true
                minfo.prefix.noob: false
                minfo.prefix.player: true
                minfo.suffix.noob: false
                minfo.suffix.player: true
                commandbook.who: true
                commandbook.motd: true
                commandbook.rules: true
                commandbook.spawn: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                commandbook.home.teleport: true
                commandbook.home.set: true
                commandbook.msg: true
                world.normal: true
                worldedit.extinguish: true
                mcmmo.perms.add: true
                commandbook.warp.teleport: true
                commandbook.say.me: true
                commandbook.whereami.compass: true
                commandbook.whereami: true
                backpack.size18: true
                backpack.clear: true
    
        cp:
            permissions:
                minfo.group.player: false
                minfo.prefix.player: false
                minfo.suffix.player: false
                minfo.group.cp: true
                minfo.prefix.cp: true
                minfo.suffix.cp: true
            worlds:
                Creative:
                    worldedit.superpickaxe: true
                    worldedit.tool.replacer: true
                    commandbook.more.infinite: true
                    commandbook.more: true
                    Commandbook.give.creative: true
            inheritance:
            - default
        vip:
            permissions:
                minfo.group.cp: false
                minfo.prefix.cp: false
                minfo.suffix.cp: false
                minfo.group.vip: true
                minfo.prefix.vip: true
                minfo.suffix.vip: true
                nocheat.speedhack: true
                nocheat.moving: true
                logblock.me: true
                commandbook.time: true
                commandbook.weather: true
                commandbook.clear: true
                worldguard.stack.illegitimate: true
                worldguard.stack: true
                worldguard.locate: true
                backpack.size36: true
                backpack.nodrop: true
            inheritance:
            - cp
        mod:
            permissions:
                minfo.group.vip: false
                minfo.prefix.vip: false
                minfo.suffix.vip: false
                minfo.group.mod: true
                minfo.prefix.mod: true
                minfo.suffix.mod: true
                lwc.mod: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                logblock.tool: true
                logblock.toolblock: true
                logblock.lookup: true
                logblock.rollback: true
                commandbook.teleport: true
                commandbook.return: true
                commandbook.broadcast: true
                commandbook.mute: true
                commandbook.slap: true
                commandbook.slap.other: true
                commandbook.rocket: true
                commandbook.rocket.other: true
                commandbook.kick: true
                worldguard.heal: true
                worldguard.slay.other: true
                worldguard.slay: true
            inheritance:
            - vip
        admin:
            permissions:
                minfo.group.mod: false
                minfo.prefix.mod: false
                minfo.suffix.mod: false
                minfo.group.admin: true
                minfo.prefix.admin: true
                minfo.suffix.admin: true
                lwc.admin: true
                permissions.player.setgroup: true
                permissions.player.groups: true
                commandbook.midi: true
                commandbook.spawnmob.all: true
                commandbook.teleport.other: true
                commandbook.locations.coords: true
                commandbook.warp.teleport.other: true
                commandbook.barrage: true
                commandbook.barrage.other: true
                commandbook.firebarrage: true
                commandbook.firebarrage.other: true
                commandbook.shock: true
                commandbook.shock.other: true
                commandbook.thor: true
                commandbook.whois.other: true
                commandbook.bans.ban: true
                commandbook.bans.unban: true
                commandbook.bans.isbanned: true
                commandbook.bans.save: true
                commandbook.home.teleport.other: true
                commandbook.home.other: true
                commandbook.home.set.other: true
                worldedit.*: true
                worldguard.god: true
                worldguard.god.other: true
                worldguard.ungod: true
                worldguard.ungod.other: true
                worldguard.heal.other: true
            inheritance:
            - mod
        manager:
            permissions:
                minfo.group.admin: false
                minfo.prefix.admin: false
                minfo.suffix.admin: false
                minfo.group.manager: true
                minfo.prefix.manager: true
                minfo.suffix.manager: true
                commandbook.give.*: true
                commandbook.more.infinite: true
                commandbook.more: true
                commandbook.spawnmob.many: true
                commandbook.warp.set: true
                commandbook.say: true
                commandbook.clear.other: true
                backpack.size45: true
                backpack.open.other: true
                backpack.clear.other: true
            inheritance:
            - admin
        owner:
            permissions:
                logblock.*: true
                minfo.group.superadmin: false
                minfo.prefix.superadmin: false
                minfo.suffix.superadmin: false
                minfo.group.owner: true
                minfo.prefix.owner: true
                minfo.suffix.owner: true
                permissions.*: true
                mcmmo.tools.mcrefresh: true
                commandbook.setspawn: true
                commandbook.reload: true
                backpack.size54: true
                backpack.reload: true
                backpack.upgrade54: true
                XcraftGate.*: true
                testnode: true
            inheritance:
            - manager
        event:
            permissions:
                world.event: true
            worlds:
                Event:
    
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    
    
    ontop of this the plugin is telling console it cant use perm reload LOL wtf fail.... i love it how the dev of this plugin calls it official then disapears and never supports it its clear it dont work with any thing over 1060 it needs fixing i know theres no RB out but srsly how many server owners do you think are still using 1.7.3 would not hurt to make some hot fixes to patch up the minor problems like not being able to build unless your an op and the console's permissions. permissions plugins are the core of any server they need to work.
     
  4. non-ops can not use /list, /tp x y, /time set x commands.... how can i add that? i can not find that anywhere.
     
  5. Offline

    Grifhell

  6. Offline

    RustyDagger

    This plugin 1.2 version works with cb1060 i don't see why you would want to upgrade to 1060 now when a newr build is prob under 2 days away may as well wait and jump to that.
     
  7. Offline

    bigggan

    Hey where do i put my groups? The Jar file didnt create a folder with those.
    nvm

    Another question can i make other group default other then the "default" group?
     
  8. Offline

    Disparate

    I know this is being posted near the date we will all be upgrading to 1.8, but still:

    I'm having issues with this permissions system and certain plugins, namely LogBlock and DeathControl. The problem is that PermissionsBukkit and SuperPermsBridge is cocking up and giving permissions to people that shoudl not have them.
    For example, I use DeathControl as a Donator perk on my server so only the Donator Rank can access its features. Problem is that since changing to PermissionsBukkit, EVERYONE can access the DeathControl features even though they do not have permission to do so. I have tried explicitly taking away the permissions for DeathControl from everyone (setting it to FALSE I mean) but it does not help.

    Now I know some may think this is an error with the plugins I listed not PermisisonsBukkit but I disagree. Even if the plugin does not use PermisionsBukkit natively, it should still function with the bridge - and it should certainly not hand out some of the permissions to a plugin for everyone.

    Any suggestions?
     
  9. Offline

    bigggan

    And another thing can you seperate the folder with Groups and Users? would make it more userfriendly and easier to manage
     
  10. Offline

    timetoslide

    does the inheritance carry the groups commands?
    for example, if default has essentials.home
    and I make user have an inheritance of default, will user have the command of /essentials home?
     
  11. Offline

    Grandof

    After swearing away and copying, pasting the example config.yml into mine, watch a video online on how to set up permissionsbukkit config.yml, and spend 12hrs trying to figure it all out. I actually got permissions for my plugins to work BUT
    I cant seem to get it so that I have the permission to build in my world with out being an op. I put permissions.* and have also tried putting permissions.build: true/false but still nothing it just dissipaters. I use Essentials since commandbook doesn't seem to work any more. What am I missing? I'm really frustrated and just want it to work already. PLEASE HELP!
     
  12. Offline

    jkmalan

    @Grandof
    Please post your permissions config so that maybe someone can help you
     
  13. Offline

    Jaker232

    I seem to be running into issues with my node system.

    Error in Console (open)

    >>>>>>>01:01:57 [SEVERE] Could not load 'plugins/PermissionsBukkit-1.2.jar' in folder 'plugins': while scanning a simple key in "<reader>", line 53, column 13: citizens.blacksmith.use.repair:true ^ could not found expected ':' in "<reader>", line 54, column 13: lwc.protect: true ^ at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400) at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.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: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:136) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Show Spoiler
    Show Spoiler
    Show Spoiler



    I have no idea why this isn't working. It worked fine on before severs.
    Show Spoiler
    Show Spoiler
    Show Spoiler
     
  14. Offline

    SpaceManiac

    You are missing a space between "citizens.blacksmith.use.repair:" and "true"

    @timetoslide Yes
    @Grandof Please post your config.
     
  15. Offline

    Grandof

    here is my whole config file. I still cant seem to understand why I can't build or destroy blocks in my world. Also having problems with some other things like not being able to sell items back to stores but I think that is probably my ChestShop plugin being the problem there. If you can help me out I will GREATLY appreciate it. :)

    users:
    Grandof:
    permissions:
    groups:
    - Mayor
    tony247:
    permissions:
    groups:
    - MasterChief
    theian01:
    permissions:
    groups:
    - MasterChief
    poptart_revolt:
    permissions:
    groups:
    - Chief
    dumaissoft:
    permissions:
    ChestShop.shop.create: true
    groups:
    - Cops
    watermelonninja:
    permissions:
    groups:
    - Townie
    duan:
    permissions:
    groups:
    - Townie
    cooltime17:
    permissions:
    groups:
    - Townie
    remzlol:
    permissions:
    groups:
    - Townie
    deezcraftz:
    permissions:
    groups:
    - Townie
    fatsanta714:
    permissions:
    groups:
    - Townie
    bozothehun:
    permissions:
    groups:
    - Townie
    bdp2013:
    permissions:
    groups:
    - Townie
    chrisschneider0:
    permissions:
    groups:
    - Townie
    Domo_4760:
    permissions:
    groups:
    - Townie
    allithegreat:
    permissions:
    groups:
    - Townie
    iprofchaosi:
    permissions:
    groups:
    - Townie
    phabio006:
    permissions:
    groups:
    - Townie

    groups:
    Mayor:
    permissions:
    essentials.*: true
    iConomy.*: true
    permissions.*: true
    inheritance:
    - MasterChief
    - Chief
    - Cops
    - Townie
    - Tourist
    MasterChief:
    permissions:
    permissions.group.*: true
    permissions.player.*: true
    essentials.god: true
    essentials.time: true
    essentials.time.set: true
    essentials.ptime: true
    essentials.ptime.others: true
    essentials.give: true
    essentials.item: true
    essentials.unlimited: true
    essentials.unlimited.others: true
    essentials.info: true
    essentials.realname: true
    essentials.nick.others: true
    essentials.ban: true
    essentials.ban.notify: true
    essentials.banip: true
    essentials.tempban.offline: true
    essentials.weather: true
    essentials.ext: true
    essentials.fireball: true
    essentials.kick: true
    essentials.kick.notify: true
    essentials.kill: true
    essentials.socialspy: true
    essentials.spawnmob: true
    essentials.jump: true
    essentials.ignore: true
    essentials.delhome.others: true
    essentials.delwarp: true
    essentials.warp.otherplayers: true
    essentials.tphere: true
    essentials.togglejail.offline: true
    spleefextreme.*: true
    mobarena.setup.editarena: true
    reporter.reuest: true
    reporter.complete: true
    reporter.delete: true
    reporter.respond: true
    regios.data.save-blueprint: false
    regios.override.all: true
    regios.bypass.all: true
    regios.modify.*: true
    regios.other.*: true
    regios.permissions.*: true
    worldedit.wand: true
    worldedit.wand.toggle: true
    worldedit.selection.size: true
    worldedit.count: true
    worldedit.drain: true
    worldedit.butcher: true
    worldedit.fixlava: true
    worldedit.fixwater: true
    worldedit.extinguish: true
    worldedit.clipboard.copy: true
    worldedit.clipboard.cut: true
    worldedit.clipboard.paste: true
    worldedit.clipboard.rotate: true
    worldedit.clipboard.flip: true
    worldedit.history.undo: true
    worldedit.history.redo: true
    worldedit.navigation.thru: true
    worldedit.navigation.jumpto: true
    worldedit.superpickaxe: true
    worldedit.superpickaxe.area: true
    worldedit.superpickaxe.recursive: true
    inheritance:
    - Chief
    - Cops
    - Townie
    - Tourist
    Chief:
    permissions:
    herochat.create: true
    herochat.color: true
    essentials.kit.chief: true
    essentials.mute: true
    essentials.tempban: true
    essentials.tptoggle: true
    essentials.jail.exempt: true
    elevators.operator: true
    inheritance:
    - Cops
    - Townie
    - Tourist
    Cops:
    permissions:
    essentials.kit.cops: true
    essentials.msg: true
    essentials.togglejail: true
    reporter.list: true
    reporter.view: true
    lwc.mod: true
    ChestShop.shop.create: true
    elevators.advancedbuilder: true
    inheritance:
    - Townie
    - Tourist
    Townie:
    permissions:
    essentials.kit.townie: true
    essentials.kit.home1: true
    essentials.kit.home2: true
    essentials.kit.fun: true
    essentials.unlimited.item-all: true
    essentials.unlimited-<itemname>: true
    essentials.unlimited.item-<itemid>: true
    essentials.mail: true
    essentials.mail.send: true
    essentials.me: true
    essentials.nick: true
    essentials.seen: true
    essentials.back: true
    essentials.back.ondeath: true
    essentials.delhome: true
    essentials.home: true
    essentials.home.others: true
    essentials.sethome: true
    essentials.sethome.multiple: true
    essentials.setwarp: true
    essentials.tp: true
    essentials.tpaccept: true
    essentials.tpdeny: true
    essentials.warp: true
    essentials.warp.list: true
    essentials.warp.<warpname>: true
    iConomy.accounts.create: true
    iConomy.accounts.remove: true
    iConomy.accounts.give: true
    regios.data.info: true
    regios.data.list: true
    regios.data.set-owner: true
    regios.data.inherit: true
    regios.messages.*: true
    regios.fun.warpto: true
    regios.protection.protection: true
    regios.protection.doors-locked: true
    regios.protection.chests-locked: true
    regios.protection.fire-protection: true
    regios.protection.player-cap: true
    regios.exceptions.players: true
    regios.other.*: true
    regios.fun.*: true
    regios.other.check: true
    regios.fun.sell: true
    lwc.protect: true
    reporter.report: true
    elevators.builder: true
    inheritance:
    - Tourist
    Tourist:
    permissions:
    permissions.build: true
    essentials.kit: true
    essentials.kit.tourist: true
    essentials.kit.fun: true
    essentials.list: true
    essentials.afk: true
    essentials.help: true
    essentials.helpop: true
    essentials.helpop.receive: true
    essentials.motd: true
    essentials.rules: true
    essentials.whois: true
    essentials.jails: true
    essentials.spawn: true
    essentials.tpa: true
    essentials.tpahere: true
    iConomy.plus: true
    ChestShop.shop.buy: true
    ChestShop.shop.sell: true
    regios.fun.buy: false
    worlds:
    Test:
    permissions.build: true
     
  16. Offline

    Andrew1431

    You did it all wrong.

    Hey! Can anyone tell me where i can find a list of the bukkit permission nodes? I know a few:
    bukkit.command.op
    bukkit.command.tell
    bukkit.command.teleport
    bukkit.command.gamemode
    where can i find a list of ALL the permissions?

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

    Vezorock

    Hey, I was just looking this up because permissions 3.0 is no longer compatible with minecraft (1.8 update :( ) so... I really need a way to switch all my permissions over without having to start again. I have a lot of plugins which require a lot of permissions and I never even finishde plugging them in. So can someone please help!
     
  18. Offline

    godsyn

    @SpaceManiac
    Is there any means of preventing or limiting add/setgroup?
    example:
    Code:
    default:
      permissions:
        bla
    members:
      permissions:
        bla
    mods:
      permissions:
        permissions.player.setgroup.members: true
        permissions.player.setgroup.default: true
        permissions.player.setgroup.admins: false
        permissions.player.setgroup.mods: false
    
    If not, above would be an effective manner in preventing a "mod" from making everyone a mod (or admin). It would also disallow the modification of members in the admin/mod group.
    It would require one more "check" for rem/add/setgroup.

    update:
     
  19. Offline

    Jaker232

    Thanks. I'll test it again. (I'm revamping my server. :/)
     
  20. Hi great plugin!

    Quick question (and i think its asked before but to read 50+ pages :)):
    Is there a way to setup world only permissions? (if you catch my drift)
    I have 3 build worlds and 2 survival worlds but to create a node for each world and maintain it is a bitch. Can this be done?

    Code:
        default:
            permissions:
                permissions.build: true
                bukkit.command.list: true
            worlds:
                world1, world2, world 4:(like this)
                    worldedit.navigation.jumpto: true
                    worldedit.superpickaxe: true
                world3
    
                    bukkit.permissions.*: true
    
    These are examples

    Thank you in advance
     
  21. Offline

    frelling

    There seems to be a permissions issue with MobBounty (see related post) and one of its sub-nodes having the name world. Whenever it calls PB to check mobbounty.multipliers.world, a null exception seems to get throw for users in the default group. This does not happen in any groups that inherit permissions from default. Is world a reserved node name for the default group?
     
  22. Offline

    Docj98

    The new bukkit permissions SUCKs. Its way more complicated than Group manager. And i cant even use group manager any more because of it.
     
    Jäsef likes this.
  23. Offline

    cadwal

    I spent my entire day trying to format addons for my 1.8.1 test server as an op and about 2 hours ago I switched to test my addons and make sure everything was functioning properly. I can't build as any rank. I created a new test server just to test permissions, and I switched between all the groups and it still will not work because I can't build. Is there some sort of an addon I am missing to all groups the ability to build?

    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        cadwal:
            groups:
            - admin
    debug: false
    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.'
    
     
  24. Offline

    Talkyn

    Someone out there must have figured out how to assign WorldGuard perms. I have everything else working, and have switched around a lot of different perms to make sure I was on the right track and everything is spot on and easy to figure out.....EXCEPT worldguard.region.node

    I have PermissionsBukkit1.2 and SuperPermsBridge1.2. All my permissions are working except for WorldGuard /region commands, I have tried every possible combination I can dream of but cannot get my admins group to have full region permissions. I know its not the most optimized atm but at this point I am just trying to get my admin group to have the region worldguard commands.

    Here is the code from my Permissions.yml

    Code:
    niftywarp.use.*:
        description: Basic niftywarp usage.
        default: op
        children:
            niftywarp.use.add: true
            niftywarp.use.delete: true
            niftywarp.use.home: true
            niftywarp.use.homeset: true
            niftywarp.use.list: true
            niftywarp.use.rename: true
            niftywarp.use.set: true
            niftywarp.use.warp: true
            niftywarp.use.warptocoord: true
    
    niftywarp.admin.*:
        description: Admin niftywarp usage.
        default: op
        children:
            niftywarp.admin.delete: true
            niftywarp.admin.rename: true
            niftywarp.admin.set: true

    And here is the code from my config.yml in the PermissionBukkit folder:

    Code:
    groups:
        admins:
            permissions:
                permissions.help: true
                permissions.reload: true
                permissions.group.help: true
                permissions.group.list: true
                permissions.group.players: true
                permissions.player.help: true
                permissions.player.groups: true
                permissions.player.setgroup: true
                permissions.player.addgroup: true
                permissions.player.removegroup: true
                stargate.create: true
                stargate.option.free: true
                niftywarp.use.*: true
                worldedit.selection.pos: true
                worldedit.selection.hpos: true
                worldedit.wand: 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.info: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                worldguard.locate: true
                worldguard.region.define: true
                worldguard.region.redefine.*: true
                worldguard.region.claim: true
                worldguard.region.select: true
                worldguard.region.info.*: true
                worldguard.region.addowner.*: true
                worldguard.region.removeowner.*: true
                worldguard.region.addmember.*: true
                worldguard.region.removemember.*: true
                worldguard.region.list: true
                worldguard.region.setpriority.*: true
                worldguard.region.setparent.*: true
                worldguard.region.remove.*: true
                worldguard.region.remove.jail: false
                commandbook.time: true
                commandbook.weather: true
                commandbook.weather.thunder: false
                commandbook.teleport: true
                commandbook.teleport.other: true
                commandbook.mute: true
                commandbook.slap.other: true
                commandbook.rocket.other: true
                commandbook.barrage.other: true
                commandbook.shock.other: true
                commandbook.kick: true
                commandbook.bans.ban: true
            inheritance:
            - homies
        homies:
            permissions:
                niftywarp.use.home: true
                niftywarp.use.homeset: true
                stargate.use: true
                commandbook.spawn: true
                commandbook.who: true
                commandbook.motd: true
                commandbook.time.check: true
                commadbook.return: true
                supplysign.acess: true
            inheritance:
            - default
        default:
            permissions:
                permission.build: true
    messages:
        build: ''
    debug: false
    
    users:
        hashiba:
            groups:
            - default
            - admins
    

    I would give you 1000 internets to the person that knows the way to do this.
     
  25. Offline

    NinjaZidane

    Don't see an issue here...maybe a plugin is conflicting? Can I get a plugin list please?


    IDK what is up with all these people having issues but still using PermBukkit without a hitch XD

    superpermbridge.worldguard.* (WorldGuard RB)
    worldguard.* (WorldGuard Dev)

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

    Matt Gill

    This works fine with 1185 right?
     
  27. Offline

    NinjaZidane

    Yep
     
  28. Offline

    Pixiio

    I still don't understand how to give somebody a colour. It was very simple in the old permissions, but its hard now ><

    Somebody help please :3
     
  29. @Pixiio Use iChat or mChat
     
  30. Offline

    Talkyn

    I used:
    Code:
    superpermbridge.worldguard.*
    and it gave full worldguard permissions as expected.
    First I tried using = false to limit specific commands. This was a no go. Nothing was limited.

    I just used the following:
    Code:
    superpermbridge.worldguard.region.*: true
    Worked like a boss. I don't fully understand this superperbridge.node.node thing, but

    THANK YOU!
    I hope my post clears something up for someone in the future.
     
  31. Offline

    Pixiio

    I know, but i want to give VIP user a colour, how? :eek:
     

Share This Page