[ADMN/DEV] PermissionsBukkit v2.0 - Official Default Groups Plugin [1.5.2-R1.0]

Discussion in 'Archived: Plugin Releases' started by SpaceManiac, Jul 17, 2011.

  1. Offline

    SpaceManiac

    PermissionsBukkit - the Official Default Groups Plugin
    Current Version: v2.0
    Find PermissionsBukkit on BukkitDev!

    If you are getting a specific error or cannot determine what is wrong with your permissions file, filing a ticket on BukkitDev will make me much more likely to respond to you; general questions are best to ask in this thread or on the forums on BukkitDev.

    It's been a long time coming, but with the accomplishment of build 1000 Bukkit has finally accomplished a built-in Permissions system (codenamed Superperms). For more info on how they work, and how to integrate them with your plugin, see the official Permissions FAQ. Keep in mind that you should rarely, if ever, have to hook this plugin directly; instead keep things in the realm of checking player.hasPermission("yourplugin.node"). The FAQ thread has more info on how to use Superperms with things like chat prefixes/suffixes.

    Features:
    • Storage of users and groups in plugins/PermissionsBukkit/config.yml.
    • Both users and groups can be assigned individual permissions and parent groups to inherit permissions from.
    • Support for global and per-world permissions.
    • Reload configuration from file with out reloading the plugin.
    • Ability to check if a player has a specific permission node.
    • Ability to dump all permissions a player has and the plugins that set them.
    • Ability to print plugin, description, and default for a given permission node.
    • Ability to modify the permissions of groups and users and the groups of a user in-game.
    • Built-in antibuild via the "permissions.build" node (defaults to allowing anyone to build).
    • A minimalistic bridge from Permissions 3.0 to Superperms is available as a separate plugin, which does not depend on PermissionsBukkit.
    Command Usage:

    Show Spoiler
    PermissionsBukkit uses the command /permissions, with aliases /perms and /perm.

    /permissions reload - reload the configuration from disk.
    /permissions check <node> [player] - check if a player or the sender has a permission (any plugin).
    /permissions info <node> - prints information on a specific permission.
    /permissions dump [player] [page] - prints info about a player's (or the sender's) permissions.
    /permissions setrank <player> <group> - set a player to be in a group with per-group permissions.
    /permissions group - list group-related commands.
    /permissions group list - list all groups.
    /permissions group players <group> - list players in a group.
    /permissions group setperm <group> <[world:]node> [true|false] - set a permission on a group.
    /permissions group unsetperm <group> <[world:]node> - unset a permission on a group.
    /permissions player - list player-related commands.
    /permissions player groups <player> - list groups a player is in.
    /permissions player setgroup <player> <group,...> - set a player to be in only the given groups.
    /permissions player addgroup <player> <group> - add a player to a group.
    /permissions player removegroup <player> <group> - remove a player from a group.
    /permissions player setperm <player> <[world:]node> [true|false] - set a permission on a player.
    /permissions player unsetperm <player> <[world:]node> - unset a permission on a player.

    All commands have in-game help and are usable from the server console.

    Configuration:
    Show Spoiler
    A permission node is a string like 'permissions.build', usually starting with the name of the plugin. Refer to a plugin's documentation for what permissions it cares about. Each node should be followed by true to grant that permission or false to revoke it, as in 'permissions.build: true'. Some plugins provide permission nodes that map to a group of permissions - for example, PermissionsBukkit has 'permissions.*', which automatically grants permissions for all PermissionsBukkit commands. You can also specify false for permissions of this type.

    Users inherit permissions from the groups they are a part of. If a user is not specified here, or does not have a 'groups' node, they will be in the group 'default'. Permissions for individual users may also be specified by using a 'permissions' node with a list of permission nodes, which will override their group permissions. World permissions may be assigned to users with a 'worlds:' entry.

    Groups can be assigned to players and all their permissions will also be assigned to those players. Groups can also inherit permissions from other groups. Like user permissions, groups may override the permissions of their parent group(s). Unlike users, groups do NOT automatically inherit from default. World permissions may be assigned to groups with a 'worlds:' entry.

    The cannot-build message is configurable. If it is left blank, no message will be displayed to the player if PermissionsBukkit prevents them from building, digging, or interacting with a block. Use '&' characters to signify color codes.

    An example configuration file might look like this:
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    

    Permissions:
    Show Spoiler
    PermissionsBukkit checks for the following permission nodes:
    • permissions.build - Allows a player to build. Defaults to true.
    • permissions.help - Allows viewing of usage for /permissions.
    • permissions.reload - Allows use of /permissions reload.
    • permissions.check - Allows use of /permissions reload.
    • permissions.info - Allows use of /permissions reload.
    • permissions.dump - Allows use of /permissions reload.
    • permissions.group.help - Allows viewing of usage for /permissions group.
    • permissions.group.list - Allows use of /permissions group list.
    • permissions.group.players - Allows use of /permissions group players.
    • permissions.group.setperm - Allows use of /permissions group setperm.
    • permissions.group.unsetperm - Allows use of /permissions group unsetperm.
    • permissions.player.help - Allows viewing of usage for /permissions player
    • permissions.player.groups - Allows use of /permissions player groups.
    • permissions.player.setgroup - Allows use of /permissions player setgroup.
    • permissions.player.addgroup - Allows use of /permissions player addgroup.
    • permissions.player.removegroup - Allows use of /permissions player removegroup.
    • permissions.player.setperm - Allows use of /permissions player addgroup.
    • permissions.player.unsetperm - Allows use of /permissions player removegroup.
    Also, the following parent nodes are provided for convenience:

    • permissions.* - Maps to permissions.help, .reload, .check, .info, .dump, and to permissions.group.* and permissions.player.*. Defaults to op.
    • permissions.group.* - Maps to permissions.group.help, .list, .players, .setperm, and .unsetperm.
    • permissions.player.* - Maps to permissions.player.help, .groups, .setgroup, .addgroup, .removegroup, .setperm, and .unsetperm.


    Frequently Asked Questions:
    1. Where are my * nodes? (open)
    Bukkit's Superperms has no built-in concept of a global '*' node that automatically gives all permissions, which is intentional - a player can instead be given all permissions by being given 'op' status (that is, listed in ops.txt). Additionally, individual plugins define a parent node (which could be 'pluginname.*' or 'pluginname.all' or anything else) which maps to whatever subpermissions in that plugin the author desires.

    An example is PermissionsBukkit, which provides three such permissions: 'permissions.group.*' for all /permissions group commands, 'permissions.player.*' for all /permissions player commands, and'permissions.*' for all /permissions commands (including permissions.group.* and permissions.player.*).

    If you are using SuperpermsBridge, you can do something similar to '*' nodes for plugins which use Permissions 2.7/3.1 - see the next FAQ for more information.
    2. How do I use SuperpermsBridge? (open)
    SuperpermsBridge is kind of like FakePermissions for GroupManager or PermissionsBridge for PermissionsEx. Once it's installed, it pretends to be the Permissions plugin and converts any plugins that use Permissions 2.7 or Permissions 3.1 to use Superperms instead.

    You can have PermissionsBukkit without SuperpermsBridge or SuperpermsBridge without PermissionsBukkit if you like, but both of these are limited in functionality. If you install SuperpermsBridge without PermissionsBukkit you will not be able to make use of PermissionsBukkit's groups feature or admin commands, and if you install PermissionsBukkit without SuperpermsBridge, plugins that have not updated to use Superperms directly will not function.

    For plugins that use Permissions 2.7/3.1, you can use the special node 'superpermbridge.*' to give the equivalent of what used to be the '*' node for plugins that do not use Superperms directly. If you don't want to give the * node, you can also use the node 'superpermbridge.pluginname' to do the equivalent of what used to be the 'pluginname.*' node. Once again, these only apply to plugins that SuperpermsBridge handles and not to plugins using Superperms directly.
    3. How do I use the root permissions.yml? (open)
    The file 'permissions.yml' in the root of your server can be used to set up custom parent permissions. Parent permissions are a single node that, when given to a player or group, automatically give all their children node. Here's a simple example:
    Code:
    server.basics:
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    
    Now, if you give a player the node 'server.basics', they automatically get all the nodes listed here. Children may also say 'false' instead of 'true', in which case giving the parent will remove the child instead of giving it.

    You can also specify a description if you like, which can be used by plugins to provide information on your node (such as PermissionsBukkit's /perm info command). If you want, you can also provide a default, which can be one of "true", "false", "op", or "notop". CraftBukkit will automatically assign everyone, no one (default), ops, or non-ops the children permissions based on the specified default. Without any plugin like PermissionsBukkit, you can use this defaults system as a limited way to assign people permissions. Here's a more complex example:
    Code:
    server.basics:
        description: Basic permissions for My Cool Server.
        default: true
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    server.admin:
        description: Admin permissions for My Cool Server.
        default: op
        children:
            commandbook.broadcast: true
            commandbook.teleport: true
            commandbook.kick: true
            commandbook.ban: true
    
    You can also define permissions without children, but this is of limited usefulness in permissions.yml (though is important in plugin.yml; see question #6)
    4. How do I switch from (other Permissions plugin)? (open)
    Depends on the Permissions plugin! If you were using PEX's YAML backend, I have a converter done and available on the PermissionsBukkit Tools page. Also available on the tools page is an automatic converter for Essentials GroupManager users.yml and groups.yml files. Automatic converters for Permissions 2.7 and 3.x are on their way, but in the meantime you can still convert your configurations manually.
    5. Where are prefixes and suffixes (or option nodes)? (open)
    Bukkit Superperms has no built-in prefix/suffix settings or non-boolean permission nodes, so individual chat plugins will have to start supporting Superperms in order to make use of non-Permissions-plugin based prefixes and suffixes. Herochat, iChat, and Simple Suffix are all aware of the Superperms update, but in the meantime you can use mChat, which already supports Superperms.

    Once you install mChat and configure the mchat.prefix, mchat.suffix, and mchat.group names in its configuration file (see the example), use PermissionsBukkit to give players or groups the permissions "mchat.prefix.admin", replacing "admin" with whatever node you configured. For example, with an mchat configuration that looks similar to this:
    Code:
    da-name-format: '+prefix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+name&f: +message'
    mchat:
        prefix:
            admin: '&4DtK [SO] &7 '
            sadmin: '&9DtK [SA] &7 '
            jadmin: '&aDtK [JA] &7  '
            member: '&cDtK [M] &7 '
    
    You can assign players or groups the mchat.prefix.admin node to get the "SO" prefix, mchat.prefix.sadmin to get the "SA" prefix, and so on.
    6. (Coders) How do I set up my plugin.yml? (open)
    Take a look at this post in Dinnerbone's FAQ for an example. This is a lot like the setup of permissions.yml (see above), but you can also define non-parent permissions (just include description and default and leave out children).
    7. Is PermissionsBukkit outdated? (open)
    No! PermissionsBukkit 2.0 was last updated for 1.3.1-R2.0, is verified to work on 1.4.7-R1.0, and is unlikely to break on future releases.

    Downloads:
    Current Version:

    PermissionsBukkit v2.0 (jar) (details)
    Old Versions:
    PermissionsBukkit v1.6 (jar) (details)

    [​IMG]

    Changelog:

    Friday 7 September 2012 (2.0)
    • Fixed a case-sensitivity issue with setting per-world permissions that could cause some permissions to fail to apply.
    • Added /perm setrank <player> <group> subcommand (alias rank) with per-group permissions (permissions.setrank and permissions.setrank.<group>)
    • Added plugin metrics via http://mcstats.org/plugin/PermissionsBukkitMCStats (disableable in plugins/PluginMetrics/config.yml)
    Wednesday 29 February 2012 (1.6)
    • Fixed some massive issues that were caused due to having uploaded a buggy, in-development version instead of 1.5.
    • Note: If your configuration was messed up as a result of this issue, the new build should gradually correct it as needed.
    Saturday 25 February 2012 (1.5b)
    • Revamped to be compatible with R5.
    • Fixed issues with permissions not carrying properly on world change.
    • Many internal improvements for performance and stability.
    • SuperpermsBridge: in honor of R5 removing deprecated code, SuperpermsBridge is officially gone!
    Monday 18 July 2011 (1.1/1.2)
    • Fix BukkitContrib incompatibility issues.
    • Improved the output of the /perm check command.
    • Fixed issues when 'users:' is not specified in the config file.
    • Fixed the /permissions reload command.
    • SuperpermsBridge: improve wildcard handling; in addition to 'superpermbridge.*' and 'superpermbridge.pluginname', now supported are 'superpermbridge.plugin.*', 'superpermbridge.plugin.subnode.*', and so on.
    Monday 18 July 2011 (1.0/1.1)
    • SuperpermsBridge: adding the special 'superpermbridge.*' and 'superpermbridge.pluginname' nodes (see #2 in the FAQ for details).
    Sunday 17 July 2011 (1.0/1.0)

    • Initial release of PermissionsBukkit v1.0 and SuperpermsBridge v1.0.
     
    madmac, Gesundheit, tripleX and 23 others like this.
  2. Offline

    Celtic Minstrel

    @DonutEcstasy – You have a tab in your config file on line 43. Go to that line and make sure all the indentation is spaces, not tabs.

    @Wannab – Unfortunately that is not possible at this time.
     
  3. Offline

    Wannab

    dang, that would be a nice feature, not being able to promote to specific groups

    also would it be possible to do with permbukkit?

    My thinking was to be able to set the groups priority within the permsbukkit config.yml, then when you run the command, it would check what priority the group you have been assigned has been given, and return true if your group is of higher priority than the group you are trying to modify, or false if lower than the group you trying to change to
     
  4. Offline

    Regulus123

    Code:
    users:
        Reguliusz:
            groups:
            - Admin
        kicked1990:
            groups:
            - VIP
        7urass:
            groups:
            - Admin
        mat:
            groups:
            - Mod
        stfoorca:
            groups:
            - Mod
        kheal:
            groups:
            - Mod
        trusq:
            groups:
            - Mod
        xgregory:
            groups:
            - Mod
        Gary:
            groups:
            - Admin
        ichi:
            groups:
            - Mod
    groups:
        Default:
            default: true
            permissions:
                essentials.spawn: true
                essentials.msg: true
                essentials.afk: true
                essentials.helpop: true
                essentials.back.ondeath: true
                essentials.list: true
                lwc.protect: true
                myhome.home.soc.*: true
                myhome.home.basic.*: true
                ChestShop.shop.create: true
                ChestShop.shop.buy: true
                ChestShop.shop.sell: true
                essentials.signs.buy.use: true
                essentials.help: true
                essentials.rules: true
                essentials.warp.list: true
                essentials.signs.disposal.use: true
                essentials.signs.disposal.create: true
                essentials.signs.heal.use: true
                essentials.signs.free.use: true
                essentials.mail: true
                essentials.mail.send: true
                essentials.back: true
                essentials.clearinventory: true
                craftbook.mech.bridge.use: true
                craftbook.mech.bridge: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.ammeter.use: true
                craftbook.mech.gate: true
                craftbook.mech.cauldron: true
                craftbook.mech.light-switch: true
                authdb.command.user.login: true
                authdb.command.user.logout: true
                authdb.command.user.link: true
                authdb.command.user.register: true
                iConomy.payment: true
                iConomy.rank: true
                iConomy.list: true
                iConomy.help: true
                iConomy.access: true
                iConomy.user: true
                permissions.build: true
                group.default: true
        VIP:
            permissions:
                magiccarpet.mc: true
                magiccarpet.ml: true
                inventorysave.use: true
                essentials.tp: true
                group.VIP: true
            inheritance:
            - Default
        Mod:
            permissions:
                worldguard.god: true
                iConomy.admin.grant: true
                worldguard.region.*: true
                worldguard.reload: true
                worldedit.history.undo: true
                worldedit.history.redo: true
                worldedit.clipboard.cut: true
                worldedit.navigation.*: true
                worldedit.region.replace: true
                worldedit.region.set: true
                worldedit.superpickaxe: true
                worldedit.superpickaxe.area: true
                worldedit.superpickaxe.recursive: true
                worldedit.drain: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                worldedit.thaw: true
                worldedit.snow: true
                worldedit.extinguish: true
                worldedit.reload: true
                worldedit.butcher: true
                worldedit.wand: true
                worldedit.selection.*: true
                essentials.setwarp: true
                essentials.tp: true
                essentials.tpohere: true
                essentials.tphere: true
                essentials.tpahere: true
                essentials.delwarp: true
                essentials.ban: true
                essentials.tempban: true
                essentials.banip: true
                essentials.mute: true
                essentials.kick: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.togglejail: true
                essentials.invsee: true
                essentials.time: true
                essentials.god: true
                worldedit.clipboard.*: true
                essentials.weather: true
                essentials.thunder: true
                essentials.lightning: true
                essentials.item: true
                lwc.mod: true
                lwc.admin: true
                simplereserve.enter.full: true
                worldedit.clipboard.copy: true
                worldedit.clipboard.paste: true
                worldedit.generation.*: true
                essentials.heal: true
                essentials.kit.*: true
                essentials.helpop.receive: true
                worldedit.regen: true
                worldedit.brush.smooth: true
                myhome.admin: true
                worldedit.region.faces: true
                ChestShop.admin: true
                worldedit.brush.sphere: true
                worldedit.analysis.count: true
                worldedit.analysis.distr: true
                worldedit.region.walls: true
                permissions.build: true
                group.Mod: true
            inheritance:
            - VIP
        Admin:
            permissions:
                permissions.*: true
                group.Admin: true
                server.admin: true
    messages:
        build: Nie mozesz tu budowac!
    debug: false
    
    This is my config. Users from Default group have access to VIP commands, why? Can somebody fix it or tell me what should I do?
    I can't upload it because it's from Linux and it's hard to view on Windows .txt file.
     
  5. Offline

    maxi1134

    Someone help me :O
    I use a converter to convert my permissions 2.7 to permission bukkit
    But i got the old permissionbukkit formating how i can convert it to the new ?

    Scuze my gramma im french

    Here is my config


    Code:
    users:
    
    maxi1134:
    
    group: Admin
    
    Havenest:
    
    group: Admin
    
    mika32:
    
    group: Joueur
    
    lud64:
    
    group: Joueur
    
    kryze57:
    
    group: Joueur
    
    tatahiohio:
    
    group: Joueur
    
    shreux:
    
    group: Donateur
    
    nicodudu18:
    
    group: Joueur
    
    Dovakhyn:
    
    group: Joueur
    
    emmoman:
    
    group: Joueur
    
    sorpia68:
    
    group: Joueur
    
    pingpong974:
    
    group: Donateur
    
    tytyconstruit:
    
    group: Joueur
    
    khuagan:
    
    group: Joueur
    
    desmond2012:
    
    group: Joueur
    
    xyalion:
    
    group: Donateur
    
    maxence797:
    
    group: Joueur
    
    enzo782:
    
    group: Joueur
    
    xXFinal:
    
    group: Joueur
    
    niicolas08cod:
    
    group: Joueur
    
    donno42320:
    
    group: Joueur
    
    thop333:
    
    group: Joueur
    
    lord_vretelus:
    
    group: Joueur
    
    taoval:
    
    group: Joueur
    
    axelfar:
    
    group: Donateur
    
    hmmx:
    
    group: Joueur
    
    playforwhat:
    
    group: Joueur
    
    daaxter:
    
    group: Joueur
    
    al_gouthie:
    
    group: Joueur
    
    roro390:
    
    group: Joueur
    
    timoteopavot:
    
    group: Joueur
    
    marth17000:
    
    group: Joueur
    
    ziba34:
    
    group: Donateur
    
    voorhees00:
    
    group: Joueur
    
    annhilator:
    
    group: Joueur
    
    alex69600:
    
    group: Joueur
    
    deritod:
    
    group: Joueur
    
    deritof:
    
    group: Donateur
    
    Elgoblin:
    
    group: Joueur
    
    cewein:
    
    group: Joueur
    
    raph44:
    
    group: Joueur
    
    kenta7777:
    
    group: Joueur
    
    wolffantom:
    
    group: Joueur
    
    kocal:
    
    group: Joueur
    
    artemisfr:
    
    group: Joueur
    
    derifot:
    
    group: Joueur
    
    darkshadowxtwo:
    
    group: Joueur
    
    niskow:
    
    group: Joueur
    
    sansnom:
    
    group: Joueur
    
    benja1312:
    
    group: Joueur
    
    alexman78:
    
    group: Joueur
    
    naokoumi:
    
    group: Joueur
    
    funshoot:
    
    group: Joueur
    
    tigie11:
    
    group: Joueur
    
    louisthekill58:
    
    group: Joueur
    
    Aiglefatalee:
    
    group: Joueur
    
    jeremar:
    
    group: Joueur
    
    tritriguillot:
    
    group: Joueur
    
    darksumak:
    
    group: Donateur
    
    tropic974:
    
    group: Joueur
    
    loichriste:
    
    group: Joueur
    
    chucknorrisFR:
    
    group: Joueur
    
    albamine:
    
    group: Joueur
    
    max845:
    
    group: Joueur
    
    vipyouki:
    
    group: Donateur
    
    chris237:
    
    group: Mage
    
    bigredone:
    
    group: Joueur
    
    nathidou:
    
    group: Joueur
    
    sknigfire0_0:
    
    group: Joueur
    
    jujudu69:
    
    group: Joueur
    
    lloyd29:
    
    group: Joueur
    
    vamataka:
    
    group: Joueur
    
    mpeter:
    
    group: Joueur
    
    skyforce77:
    
    group: Joueur
    
    surrealz:
    
    group: Moderateur
    
    Nabuli0:
    
    group: Joueur
    
    aleze941:
    
    group: Joueur
    
    stevoun55:
    
    group: Donateur
    
    arkan01:
    
    group: Donateur
    
    floowos:
    
    group: Joueur
    
    crazysemo:
    
    group: Joueur
    
    poogos:
    
    group: Joueur
    
    gohanf:
    
    group: Joueur
    
    benoit22:
    
    group: Joueur
    
    jenovas44:
    
    group: Joueur
    
    ZeBoss:
    
    group: Default
    
    axelodst:
    
    group: Joueur
    
    alexisdu44:
    
    group: Joueur
    
    speedfirefra:
    
    group: Joueur
    
    halo_prime:
    
    group: Donateur
    
    qwarez64:
    
    group: Joueur
    
    hob47:
    
    group: Joueur
    
    xcosaky:
    
    group: Donateur
    
    gotgot70pm:
    
    group: Joueur
    
    thuthur76:
    
    group: Joueur
    
    groups:
    
    - Donateur
    
    edouardduf:
    
    group: Joueur
    
    thebgk:
    
    group: Joueur
    
    luk93380:
    
    group: Joueur
    
    74minecraft:
    
    group: Joueur
    
    cooljulien:
    
    group: Joueur
    
    jejemana:
    
    group: Joueur
    
    dvalyk:
    
    group: Joueur
    
    ulysse69:
    
    group: Joueur
    
    baladeur:
    
    group: Joueur
    
    etiennibus:
    
    group: Joueur
    
    ggwood41:
    
    group: Joueur
    
    clemalex:
    
    group: Joueur
    
    severian988:
    
    group: Joueur
    
    dragonslayersful:
    
    group: Joueur
    
    maxenxe797:
    
    group: Joueur
    
    emilecity:
    
    group: Joueur
    
    gilbertopapami:
    
    group: Joueur
    
    daxoon:
    
    group: Joueur
    
    fredi123789:
    
    group: Donateur
    
    rotul:
    
    group: Joueur
    
    elm77:
    
    group: Joueur
    
    bichonche:
    
    group: Joueur
    
    methamorphe17:
    
    group: Joueur
    
    algareth:
    
    group: Joueur
    
    viiz:
    
    group: Joueur
    
    spaeks117:
    
    group: Joueur
    
    cencoeur:
    
    group: Joueur
    
    Eloctro:
    
    group: Joueur
    
    kinghanibal:
    
    group: Joueur
    
    cerize34320:
    
    group: Joueur
    
    mastor_cost:
    
    group: Joueur
    
    shika159:
    
    group: Joueur
    
    aniwen:
    
    group: Joueur
    
    oichriste:
    
    group: Joueur
    
    titusmonchat:
    
    group: Joueur
    
    isaac299:
    
    group: Joueur
    
    samdji57:
    
    group: Joueur
    
    akabas:
    
    group: Joueur
    
    bouffniouze:
    
    group: Joueur
    
    starkiller90:
    
    group: Donateur
    
    thoregan:
    
    group: Joueur
    
    DarkMoons:
    
    group: Joueur
    
    Rumanu:
    
    group: Joueur
    
    Scicarius:
    
    group: Joueur
    
    im@acp:
    
    group: Joueur
    
    cauet4491:
    
    group: Donateur
    
    armeliet:
    
    group: Joueur
    
    xtrem89:
    
    group: Joueur
    
    louis59560:
    
    group: Joueur
    
    pauly2000:
    
    group: Joueur
    
    alexodst:
    
    group: Default
    
    _spartiate_:
    
    group: Joueur
    
    lowie232:
    
    group: Donateur
    
    Petwag:
    
    group: Joueur
    
    masouva:
    
    group: Joueur
    
    rygarok:
    
    group: Joueur
    
    titihz:
    
    group: Joueur
    
    sandji57:
    
    group: Joueur
    
    warval66:
    
    group: Joueur
    
    pikareborn:
    
    group: Joueur
    
    nickname:
    
    group: Joueur
    
    moulz:
    
    group: Joueur
    
    Aynil44:
    
    group: Joueur
    
    jooelafriite:
    
    group: Joueur
    
    patricebouchard:
    
    group: Donateur
    
    greezoo:
    
    group: Joueur
    
    ordraacks:
    
    group: Joueur
    
    mitshu:
    
    group: Joueur
    
    yanodu38:
    
    group: Joueur
    
    darkvodor57:
    
    group: Joueur
    
    turn21:
    
    group: Joueur
    
    akala:
    
    group: Joueur
    
    pierre1942:
    
    group: Joueur
    
    theo_du_38:
    
    group: Joueur
    
    ozzie:
    
    group: Joueur
    
    jsabah:
    
    group: Joueur
    
    zorgiralliar:
    
    group: Joueur
    
    nakik3:
    
    group: Joueur
    
    ThermoStar:
    
    group: Joueur
    
    _divinnity_:
    
    group: Joueur
    
    zalessandroo:
    
    group: Joueur
    
    qwerre1:
    
    group: Joueur
    
    groultar:
    
    group: Joueur
    
    Sheirok:
    
    group: Joueur
    
    flodaf:
    
    group: Joueur
    
    vlower:
    
    group: Donateur
    
    eldertron:
    
    group: Joueur
    
    goldlargo:
    
    group: Donateur
    
    folkenarr:
    
    group: Joueur
    
    hubocbs65:
    
    group: Joueur
    
    dorian1654:
    
    group: Joueur
    
    Aeris_M:
    
    group: Moderateur
    
    deoliveiradawee:
    
    group: Joueur
    
    rastiben:
    
    group: Joueur
    
    le:
    
    group: Joueur
    
    nijacool:
    
    group: Donateur
    
    hichiro6:
    
    group: Joueur
    
    xxbacardixx:
    
    group: Joueur
    
    softline:
    
    group: Joueur
    
    schwider:
    
    group: Joueur
    
    jordan85000:
    
    group: Joueur
    
    dionysos98:
    
    group: Joueur
    
    kingkids7948:
    
    group: Joueur
    
    nijapowa:
    
    group: Joueur
    
    yanodu83:
    
    group: Joueur
    
    louisthekill:
    
    group: Joueur
    
    warks:
    
    group: Joueur
    
    flambius:
    
    group: Joueur
    
    gwatuh:
    
    group: Joueur
    
    noa:
    
    group: Joueur
    
    baladeu:
    
    group: Joueur
    
    hichiro:
    
    group: Joueur
    
    dede:
    
    group: Joueur
    
    dj_angus:
    
    group: Joueur
    
    libto:
    
    group: Joueur
    
    slam49:
    
    group: Joueur
    
    wilgore:
    
    group: Joueur
    
    aurelien991:
    
    group: Joueur
    
    polpopolitan:
    
    group: Joueur
    
    el_apple:
    
    group: Donateur
    
    groups:
    
    - donateur
    
    UselessII:
    
    group: Joueur
    
    huricanecarter:
    
    group: Joueur
    
    fantasion51:
    
    group: Joueur
    
    rasnak:
    
    group: Joueur
    
    sim_the_dark:
    
    group: Joueur
    
    plutoniumus:
    
    group: Joueur
    
    rixy67:
    
    group: Joueur
    
    paulolove:
    
    group: Joueur
    
    shnake:
    
    group: Joueur
    
    th3icecr3amman:
    
    group: Joueur
    
    saxoalto:
    
    group: Joueur
    
    coton_naturel:
    
    group: Joueur
    
    xXFinalc:
    
    group: Joueur
    
    zyko0:
    
    group: Joueur
    
    horken:
    
    group: Joueur
    
    gu1d0ud838:
    
    group: Joueur
    
    bibobabe:
    
    group: Joueur
    
    ZeBosss:
    
    group: Joueur
    
    joeloiseau:
    
    group: Donateur
    
    feisoun:
    
    group: Joueur
    
    rycvoland:
    
    group: Joueur
    
    nihilion:
    
    group: Joueur
    
    zomblackops:
    
    group: Joueur
    
    youba78:
    
    group: Joueur
    
    cousin06:
    
    group: Joueur
    
    serieys:
    
    group: Joueur
    
    severian:
    
    group: Joueur
    
    n0a:
    
    group: Joueur
    
    jojojojo109:
    
    group: Joueur
    
    tonny441_:
    
    group: Donateur
    
    foultazz:
    
    group: Donateur
    
    xipyouki:
    
    group: Joueur
    
    mypototo:
    
    group: Joueur
    
    Edorel:
    
    group: Moderateur
    
    hypnolos:
    
    group: Joueur
    
    ockerti:
    
    group: Joueur
    
    xmllama:
    
    group: Joueur
    
    watirusher:
    
    group: Joueur
    
    amidamaru89:
    
    group: Joueur
    
    nacs69:
    
    group: Joueur
    
    spidersolitair1:
    
    group: Joueur
    
    jnovas44:
    
    group: Joueur
    
    amidamaru83:
    
    group: Joueur
    
    ptitclemdu38:
    
    group: Joueur
    
    nethersoda:
    
    group: Joueur
    
    sgtsupersize:
    
    group: Joueur
    
    babajou:
    
    group: Joueur
    
    toady1201:
    
    group: Joueur
    
    cedric136:
    
    group: Donateur
    
    bgk:
    
    group: Joueur
    
    ork4135:
    
    group: Joueur
    
    erosykes:
    
    group: Joueur
    
    skyzoh:
    
    group: Joueur
    
    lejoker82:
    
    group: Joueur
    
    kazalar:
    
    group: Joueur
    
    wafflekiller117:
    
    group: Joueur
    
    tatan3:
    
    group: Joueur
    
    ld78:
    
    group: Joueur
    
    R4mMsT3iN:
    
    group: Default
    
    link91640:
    
    group: Joueur
    
    onery:
    
    group: Joueur
    
    lowie2323:
    
    group: Joueur
    
    voorhess00:
    
    group: Joueur
    
    yunitak:
    
    group: Joueur
    
    syndras:
    
    group: Joueur
    
    shakalis:
    
    group: Joueur
    
    kyokugensun:
    
    group: Joueur
    
    vichug:
    
    group: Joueur
    
    sergentgg:
    
    group: Joueur
    
    sefa45:
    
    group: Joueur
    
    felix8280:
    
    group: Donateur
    
    mr_creaper:
    
    group: Joueur
    
    acidlem0n:
    
    group: Joueur
    
    robin1300:
    
    group: Joueur
    
    LOUIS77120:
    
    group: Joueur
    
    maze49:
    
    group: Donateur
    
    rendor42:
    
    group: Joueur
    
    philrd:
    
    group: Joueur
    
    emiliolargo:
    
    group: Moderateur
    
    nodsuns:
    
    group: Joueur
    
    sae76:
    
    group: Joueur
    
    atos:
    
    group: Joueur
    
    captn62:
    
    group: Joueur
    
    stradivare:
    
    group: Joueur
    
    artko:
    
    group: Joueur
    
    gudulalex14:
    
    group: Joueur
    
    petergriffin56:
    
    group: Joueur
    
    Gillouu321:
    
    group: Joueur
    
    shadow380:
    
    group: Joueur
    
    un_cube:
    
    group: Donateur
    
    momo244:
    
    group: Joueur
    
    daxxter:
    
    group: Joueur
    
    nanex53:
    
    group: Joueur
    
    drip33:
    
    group: Joueur
    
    guigin123:
    
    group: Joueur
    
    mmystere:
    
    group: Joueur
    
    bluebiiboulga:
    
    group: Joueur
    
    yienyien:
    
    group: Joueur
    
    brumeire:
    
    group: Joueur
    
    durkei:
    
    group: Joueur
    
    wolf_frend:
    
    group: Joueur
    
    darkord:
    
    group: Joueur
    
    Heretikfist:
    
    group: Joueur
    
    kevdu34:
    
    group: Joueur
    
    costarica:
    
    group: Joueur
    
    federn:
    
    group: Joueur
    
    edern:
    
    group: Joueur
    
    pipiro2:
    
    group: Joueur
    
    leroux:
    
    group: Default
    
    dan21340:
    
    group: Joueur
    
    patfou:
    
    group: Joueur
    
    len_kagamine02:
    
    group: Joueur
    
    skrin_minecraft:
    
    group: Joueur
    
    rixy:
    
    group: Joueur
    
    infinal:
    
    group: Joueur
    
    alexsimard98:
    
    group: Joueur
    
    darkvodo57:
    
    group: Joueur
    
    kaetamend:
    
    group: Donateur
    
    warkorentin:
    
    group: Joueur
    
    stalkermaitre:
    
    group: Joueur
    
    maderic:
    
    group: Joueur
    
    biggiestar:
    
    group: Joueur
    
    surffeur:
    
    group: Joueur
    
    drakoste:
    
    group: Joueur
    
    quelqain:
    
    group: Joueur
    
    hugo087:
    
    group: Donateur
    
    dinamite57:
    
    group: Joueur
    
    arkan:
    
    group: Joueur
    
    m4x1m3:
    
    group: Joueur
    
    lfire33:
    
    group: Joueur
    
    hhppgam:
    
    group: Joueur
    
    gelinas466:
    
    group: Joueur
    
    farrael:
    
    group: Joueur
    
    slylow:
    
    group: Joueur
    
    todrac:
    
    group: Joueur
    
    lucskywalker15:
    
    group: Joueur
    
    goldenpenis:
    
    group: Joueur
    
    panzer08:
    
    group: Moderateur
    
    xxourakouxx:
    
    group: Joueur
    
    ishaella:
    
    group: Joueur
    
    th3icecr3eamman:
    
    group: Joueur
    
    sparks117:
    
    group: Donateur
    
    player:
    
    groups:
    
    - default
    
    - Donateur
    
    groups:
    
    Admin:
    
    inheritance:
    
    - Moderateur
    
    permissions:
    
    superpermbridge.*: true
    
    Joueur:
    
    inheritance:
    
    - Default
    
    permissions:
    
    empyrium.group.citizen: true
    
    bookworm.create: true
    
    bookworm.write.own: true
    
    bookworm.copy.own: true
    
    bookworm.copy.others: true
    
    bookworm.remove.own: true
    
    bookworm.destroy.own: true
    
    PvPable.enable: true
    
    Donateur:
    
    inheritance:
    
    - Joueur
    
    permissions:
    
    essentials.home: true
    
    essentials.sethome: true
    
    Moderateur:
    
    inheritance:
    
    - Donateur
    
    permissions:
    
    logblock.tool: true
    
    essentials.kick: true
    
    essentials.mute: true
    
    jail.command.jail: true
    
    essentials.tp: true
    
    Owner:
    
    inheritance:
    
    - Moderateur
    
    permissions:
    
    superpermbridge.*: true
    
    default:
    
    inheritance:
    
    permissions:
    
    empyrium.group.citizen: true
    
    essentials.spawn: true
    
    essentials.help: true
    
    essentials.depth: true
    
    essentials.compass: true
    
    choptree.chop: true
    
    chaircraft.sit: true
    
    iConomy.holdings: true
    
    messages:
    
    build: ''
    
    debug: false
     
  6. Offline

    j_selby

  7. Offline

    xenilis

    im having trouble adding groups to the permisions list its giving me this error:plugins':
    while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 138, column 1:
    mod:
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.pro
    duce(ParserImpl.java:536)
    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.composeSequenceNode(Composer.jav
    a:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    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:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.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)
     
  8. Offline

    srmorris2

    Two questions:
    1. How can I get default commands like /tell /ban etc to my users?
    2. Can I get PermissionsBukkit to automatically assign the default group and add them to the config file like perms 3.1.x did?

    You have a tab at line 138 in your file.

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

    Flipsen

    It is a permissions.build node, it gives you permission to build :)
     
  10. Offline

    Bekz

    May I ask what the current status of this is?
     
  11. Offline

    Keitho

    This has been bugging me for a week now ! I'm currently hosting my server on Redstonehost.com and I have a McMyAdmin Panel where I can set permisisons etc but I dont really understand how to use that so I configured my BukkitPermissions config.yml on my computer and uploaded it via FTP to my server. The problem is, all the permission nodes I set for each group on my server has NO EFFECT Whatsoever ! It's really annoying me.
    Here is my config.yml : http://pastebin.com/3vsuDsQ1 . I dont see any errors but there might be some or does this problem have anything to do with MCMyAdmin, I contacted via Support Ticket on Redstonehost and they told me to post my problem on the plugin's page so here I am.**
     
  12. Offline

    Expi1

    I have the exact same problem, I'm with Redstone Host.com and some of my permissions aren't taking effect. Its soo annoying, a fix would be good!
     
  13. Offline

    Galameth

    Fore the above, it depends, which .yml are you editing. The root folder's permissions.yml, or permissionsBukkit's config.yml. Second, you have ALL of your nodes set to true (do you want this?) meaning everyone can use all commands.

    What other plugins are you using:
    What does your startup look like:
    are you BOTH using the same configuration or do each of you have a different .yml:
    Have you tried setting some things to FALSE to see if it denies you:
    When you say no effect, do you mean you type a command and it does nothing?:

    yml's MUST use only spaces entered with a spacebar. It does not allow tabs or any other form of spacing.

    Also, all spacing is done it "4's" meaning farthest left has no spaces, the line under it has 4 spaces before, the line under that has 8 spaces before it, and the line beneath that has 12 spaces before it.

    For example:

    Code:
    username1:   #no spaces at all
        groups:    # ONLY 4 spaces
        - groupname    # ONLY 4 spaces
       
    Code:
    groups:                              # NO spaces
        default:                         # Must have 4 spaces
            permissions:                 # Must have 8 spaces
                permissions.build: false # Must have 12 spaces before these
                godPowers.godmode: false
                godPowers.godmodeOnLogin: false
                godPowers.die: false
                godPowers.slay: false
                godPowers.jesus: false
                godPowers.heal: false
                godPowers.maim: false
                godPowers.inferno: false
                godPowers.superjump: false
                godPowers.zeus: false
                godPowers.gaia: false
                godPowers.vulcan: false
                godPowers.demigod: false
                godPowers.commands: false
                godPowers.godtools: false
                godPowers.hades: false
                gianttrees.build: false
                gianttrees.undoall: false
                gianttrees.reload: false
                gianttrees.nolimit: false
                gianttrees.custom: false
                gianttrees.customdangerous: false
        admin:

    What it is REALLY saying in this format is:

    Code:
    username1: {
            { groups:
            - groupname }
    }
        
    The spaces tell it where to place the {'s and the }'s if they are done incorrectly it throws them wherever or nowhere at all and exits or enters code jarbled.

    As always, a correctly formatted and fully working config.yml is posted in my dropbox @ http://dl.dropbox.com/u/34880594/config.yml

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

    srmorris2

    Along with these two questions I also have another:
    3. I am having problems getting my users to have access to /tell /me etc. I used the perms bukkit.command.tell and such but they still cant use it. Suggestions?
     
  15. Offline

    Galameth

    is it:

    Code:
    users: (or the group THEY are in)
        bukkit.command.tell: true
        bukkit.command.me: true
    and are they in the proper groups, with proper spacing (no tabs)?
     
  16. Offline

    srmorris2

    @Galameth yea they are, I'm copy and pasting down and just changing them so I know there arn't tabs. I parsed the file. All the other commands work.

    Code:
    groups:
        Default:
            permissions:
                bukkit.command.tell: true
                bukkit.command.me: true
    No one but ops can access the command and everyone is set to default group.

    Also, any idea on how to have it automatically create the user in the config.yml file and give them group "default?" Perms 3.1.x did and it was nice because then iChat would format them. Now some users dont have a group assigned to but they get the default perms and iChat wont format them.

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

    Galameth

    By default all new users have default set as their group when they sign on for the first time after permissions is enabled. Hence why you never give default full permissions.

    Also, if you happen to upload or pastebin/dropbox your config file it would speed this along ;)
     
  18. Offline

    srmorris2

    @Galameth I sent you a pm with link to my file.
     
  19. Offline

    Keitho

    I set things to true for groups so members of those groups can use /spawn but when I ask them to try it , it says " access denied" .
    I'm using config.yml from the PermissionsBukkit Root Folder of course.
     
  20. Offline

    Galameth


    Received it, give me a bit to look it over.

    Give me a bit to look over srmorris's config and ill get with you and see whats what

    One thing I can give you srmorris, is that Essentials is setup so that, if you have another plugin that shares a command, for example:

    bukkit.command.me
    and
    essentials.me

    that do the same thing, Essentials takes precidence, meaning it forces any plugin commands but its own to be ignored unless you force it to use the others (not sure how but I believe its in the essentials config itself).

    This means that you have to enable BOTH as true (or false depending)

    There isn't an essentials.tell (it's essentials.msg) so the /tell part im working on still.
    See if setting the essentials.me as true helps at all and ill continue on the /tell part.

    I am willing to bet though, that essentials is detecting the bukkit.command.tell option and blocking it because you haven't specified anything for essentials.msg though i still need to confirm.


    Also, a lovely link http://ess.khhq.net/wiki/Command_Reference/Perm

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

    srmorris2

    Sweet, adding essentials now allows all of them to work! Thanks!!
     
  22. Offline

    Galameth

    :p No problem at all. And i'm off to the next persons config ^_^ If you do have further questions feel free to ask.

    Might I see a posting of your config.yml, or a pastebin/dropbox. If you do copy paste it here, be sure to use the
    Code:
     
    tags around it so I can see your exact formatting.

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

    xenilis

    im getting a new set of errors with the permisions thing after i got it all set upt and divided up the perms its saying certain nodes are "non-boolean" can any one help?
     
  24. Offline

    Wannab

    means you dont have true or false put in them, thats what a boolean is
    if you have groups set up and they have inheritance but no perms you get that sometimes, or maybe if your yml is not spaced correctly
     
  25. Offline

    1nd1g0

    is there a way to like blacklist only one command in a group? i want my admins do have everything except a few commands to delete things and stop the server.
     
  26. Offline

    Galameth

    Yes, under their names or under their group change a setting to :

    permission.node: false (permission being the plugin and node the command for that plugin)
     
  27. Offline

    1nd1g0

    I know but how would i make them have every other command? I dont want to put every permission node.
     
  28. Offline

    piousminion

  29. I dont know how to set this up.Please someone can give me an example on pastebin.com?
     
  30. Offline

    Galameth

    Well, for starters, how about the last 30 pages of examples? Or the minimum of 10 times I have given links to a configured and properly working config.

    I normally would say too bad, your going to have to.

    Others will tell you to use *'s, as in permission.*: true for the rest of them, though odds are you will break your config and tomorrow will be asking for help wondering what you did.

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

    1nd1g0

    i know about how the nodes work and all but there should be a way to set a blacklist
     

Share This Page