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

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

  1. Offline

    SpaceManiac

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

    Downloads:
    Current Version:

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

    [​IMG]

    Changelog:

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

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

    Jobi

    I tried it, but i can't use any command! i tested /list and /afk
     
  3. Offline

    noggythenog

    can u possibly add multiverse support?
     
  4. Offline

    kyle5507

    Any idea when the Permissions 3x converter will be up?
     
  5. Offline

    Torados

    Just use all the normal permissions from 3x, remove the "- " sign and put a ": true" after them.
    That`s all you have to do if you have the bridge installed.

    Permissions 3x:
    - pluginblabla.blabla.*

    bpermissions
    pluginblabla.blabla.*: true


    This works fine.
    REMEMBER THE YAML-FORMAT
     
  6. Offline

    The_Basilisk

    For my server, it simply doesn't work. My plugins tell me that permissions are not detected. I have made sure that I have typed in everything correctly, and permissions itself doesn't come up with any errors. Can you suggest anything I can do?
     
  7. Offline

    Torados

    Did you have the Bridge installed ?
     
  8. Offline

    Jobi

    Has anyone an idea what is wrong?
     
  9. Offline

    nioltes

    Hi,

    I've Updated my server to 1.8.1 and PermissionsBukkit to latest build.
    My player (in to the default group) can't build anything, despite the permissions.build set to true.
    The yaml file is valid, and i haven't any error in the log.

    Unlike other people in this thread, i'm not using Essentials.

    Any clue ?

    Thanks.
     
  10. Offline

    RustyDagger

    i had the same issue i rolled back from the 1.2 build to the 1.1 build and it all works fine. (apart from some commandbook nodes being weird) but im sure that's because of how bukkit changed the permissions registration and not permissionsbukkit.
     
  11. Offline

    GabeDaBabe3

    i just updated my server to 1.8 and tried to update to these permissions just to keep updated to the best of the best and everything's screwed up now on my server - no one's assigned to groups, there's just brackets ( ex: [] GabeDaBabe3) when I type, i don't know how to promote - st anyone to a higher or lower group, i'm tired and just want to have different named groups with colors (and want to name the first class something other than stupid "default" lol) I have spend days trying to figure this out and am at my wit's end. please help! thanks.

    Code:
    users:
        pandex292:
            groups:
            - Commissioner
        ENTARO_TASSADAR:
            groups:
            - Commissioner
        GabeDaBabe3:
            groups:
            - Commissioner
        LeadMeToHeaveN:
            groups:
            - Commissioner
        hobojoe7:
            groups:
            - Chairmen
        noOLT:
            groups:
            - Chairmen
        Lylas:
            groups:
            - Chairmen
        amptwig91:
            groups:
            - Chairmen
        kallemander:
            groups:
            - Commoner
        Cheetoes:
            groups:
            - Commoner
        petur170:
            groups:
            - Resident
        FerretFerret:
            groups:
            - Commoner
        uperson10:
            groups:
            - Commoner
        kmg777:
            groups:
            - Commoner
        goblinmathias:
            groups:
            - Commoner
        PULP_Dunsparce:
            groups:
            - Commoner
        scout24:
            groups:
            - Commoner
        supakewlaid:
            groups:
            - Resident
        Pukeattak:
            groups:
            - Commoner
        ShadowDjinni:
            groups:
            - Commoner
        lvl3anbu:
            groups:
            - Commoner
        fallenawake:
            groups:
            - Commoner
        edqmaster:
            groups:
            - Commoner
        Elomari:
            groups:
            - Commoner
        Zoxide:
            groups:
            - Resident
        Golumpa:
            groups:
            - Commoner
        brand2202:
            groups:
            - Commoner
        orantula:
            groups:
            - Commoner
        lavaleprechaun:
            groups:
            - Commoner
        Roadworks:
            groups:
            - Commoner
        bboyrazz:
            groups:
            - Commoner
        sqeekses:
            groups:
            - Chairmen
        Bluerein:
            groups:
            - Commoner
        Genis200:
            groups:
            - Commoner
        kamrokid:
            groups:
            - Commoner
        Torch105:
            groups:
            - Commoner
        Klack555:
            groups:
            - Commoner
        SeikiMatt:
            groups:
            - Commoner
        RTF_01:
            groups:
            - Commoner
        miltyism:
            groups:
            - Commoner
        duster1999:
            groups:
            - Commoner
        TooSkilled:
            groups:
            - Commoner
        MeCarana:
            groups:
            - Commoner
        ZangetsuMC:
            groups:
            - Commoner
        psyoxyde:
            groups:
            - Commoner
        andrewearls:
            groups:
            - Commoner
        Lsrpm:
            groups:
            - Commoner
        fredbobjus1:
            groups:
            - Commoner
        fat21:
            groups:
            - Commoner
        MichaelGilchrist:
            groups:
            - Commoner
        HappyTreeSunday:
            groups:
            - Commoner
        joevader:
            groups:
            - Commoner
        TheGanjToker:
            groups:
            - Commoner
        Roflblast:
            groups:
            - Commoner
        MicoPed:
            groups:
            - Commoner
        simsboy812:
            groups:
            - Commoner
        bonsly24:
            groups:
            - Commoner
        darthboobear:
            groups:
            - Commoner
        NazJ:
            groups:
            - Commoner
        Parker_Ohme:
            groups:
            - Commoner
        ahlatki:
            groups:
            - Commoner
        State307:
            groups:
            - Commoner
        SirMagus:
            permissions:
                minecraft.whitelist: true
            groups:
            - Chairmen
        akaxmemphis:
            groups:
            - Commoner
        Schneids47:
            groups:
            - Commoner
        Angry_Nomad:
            groups:
            - Commoner
        SugaryBliss:
            groups:
            - Commoner
        longshot136:
            groups:
            - Commoner
        Mott4:
            groups:
            - Commoner
        aurag2:
            groups:
            - Patron
        NavalTech86:
            groups:
            - Commoner
        linkrocker1:
            groups:
            - Commoner
        hmungalpara:
            groups:
            - Commoner
        gerilla_93:
            groups:
            - Commoner
        Fweedman:
            groups:
            - Commoner
        Protas210:
            groups:
            - Commoner
        PeaceLuver:
            groups:
            - Resident
        PowerJew:
            groups:
            - Commoner
        unkoun:
            groups:
            - Commoner
        tayhaksorz:
            groups:
            - Commoner
        TheBigMonkeyMan:
            groups:
            - Commoner
        Marzmad:
            groups:
            - Commoner
        Zenar154:
            groups:
            - Commoner
        Ephyks:
            groups:
            - Commoner
        Flippedsided:
            groups:
            - Commoner
        Coventina:
            groups:
            - Commoner
        Rowenia:
            groups:
            - Commoner
        AdelaisAer:
            groups:
            - Commoner
        ForgetMe99:
            groups:
            - Commoner
        suwak:
            groups:
            - Commoner
        baconator55:
            groups:
            - Commoner
        isudanakabeb:
            groups:
            - Commoner
    
    groups:
        default:
            permissions:
                permissions.build: true
                essentials.afk: true
                essentials.rules: true
                essentials.spawn: true
                essentials.me: true
                essentials.help: true
                essentials.home: true
                essentials.sethome: true
                essentials.tpaccept: true
                essentials.tpdeny: true
                essentials.tpa: true
                essentials.Trustp: true
                essentials.list: true
                essentials.msg: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.tpahere: true
                essentials.kit: true
                essentials.kit.commoner: true
                essentials.mail: true
                essentials.mail.send: true
                iConomyChestShop.shop.create.*: true
                iConomyChestShop.shop.buy: true
                iConomyChestShop.shop.sell: true
                iConomyChestShop.command.iteminfo: true
                lockette.user.create.*: true
                iConomy.access: true
                iConomy.bank.*: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
                towny.town.claim: true
                towny.wild.build: true
                towny.wild.destroy: true
                towny.wild.switch: true
                towny.wild.item_use: true
                towny.wild.*: true
                mcmmo.motd: true
                mcmmo.commands.ability: true
                mcmmo.commands.ptp: true
                mcmmo.commands.party: true
                mcmmo.ability.*: true
                mcmmo.skills.*: true
                nSpleef.member.join: true
                nSpleef.member.leave: true
                nSpleef.member.list: true
                nSpleef.member.wager: true
                nocheat.fakesneak: true
                nocheat.airbuild: true
                nocheat.bedteleport: true
                nocheat.itemdupe: true
                nocheat.bogusitems: true
                towny.top: true
                zc.chickenswarm: true
        Resident:
            permissions:
                towny.spawntp: true
                mcmmo.commands.whois: true
                mcmmo.item.chimaerawing: true
            inheritance:
            - default
        Patron:
            permissions:
                towny.town.new: true
                towny.spawntp: true
                towny.publicspawntp: true
                nSpleef.admin.forcejoin: true
                nSpleef.admin.forceleave: true
            inheritance:
            - Resident
        Chairmen:
            permissions:
                 inheritance:
            - Patron
            permissions:
                iConomyChestShop.admin: true
                lockette.admin.*: true
                worldedit.superpickaxe: true
                towny.admin: true
                nSpleef.*: true
                nocheat.speedhack: true
                nocheat.flying: true
                nocheat.moving: true
                nocheat.fastswim: true
                nocheat.notify: true
                essentials.*: true
                iConomyChestShop.shop.*: true
                iConomyChestShop.admin: true
                lockette.admin.snoop: true
                lockette.admin.break: true
                lockette.admin.bypass: true
                lockette.admin.create: true
                localshops.admin: true
                localshops.free.create: true
                localshops.free.move: true
                modtrs: true
                minecraft.whitelist: true
            inheritance:
            - Patron
        Commissioner:
            permissions:
                permissions.*: true
           inheritance:
            - Chairmen
    messages:
        build: '&cYou do not have permission to build here.'
     
  12. Offline

    Celtic Minstrel

    I'm fairly sure that those people are assigned to their respective groups. This plugin doesn't put the group in front of your name in chat; you'll need an additional plugin (such as Simple Prefix) to do that.

    For in-game help with the commands, type /perms. They're not the greatest commands, but they work. Promotion would be setting the group to a higher one.
     
  13. Offline

    Spartan196

    Thanks for the suggestion of WorldGuard. I've managed to get everything working though their site nor read me mentioned that world edited was a requirement even if it wasnt used still had to be in the root of the Minecraft Server folder at minimum
     
  14. Offline

    Rustyhoff

    How do i set up permissions per world? like specify which command I can use in which world?
     
  15. Offline

    Celtic Minstrel

    Your question can be answered by reading carefully through the entire Configuration section in the opening post.
     
  16. Offline

    nioltes

    Thanks, it works just fine .
     
  17. Offline

    sparroha

    I'm using dev build 1221 and have set up perms bukkit for the first time but even as admin (set as op in op.txt) I can not build and niether can Jobo7779, a VIP. Also ichat is not displaying my groups. these are my configs:
    Code:
    users:
        sparroha:
            permissions:
            groups:
            - Admin
        jobo7779:
            groups:
            - VIP
    groups:
        New:
            inheritance:
            - default
            permissions:
                permissions.build: true
                essentials.spawn: true
                essentials.rules: true
                essentials.msg: true
                essentials.list: true
                essentials.afk: true
                essentials.motd: true
                essentials.nick: true
                iConomy.access: true
                lockette.user.*: true
                essentials.home: true
                essentials.sethome: true
                essentials.delhome: true
                essentials.balance: true
                essentials.help: true
                joerep.user.*: true
                jobs.join.*: true
                jobs.world.*: true
                lc.level.*: true
                multiverse.access.MineScape_desert: true
                multiverse.access.MineScape_platinum: true
                simpleclans.anyone.*: true
        Member:
            inheritance:
            - New
            permissions:
                permissions.build: true
                essentials.sethome.multiple: true
                essentials.pay: true
                essentials.helpop: true
                essentials.mail: true
                sentials.mail.send: true
                essentials.seen: true
                essentials.suicide: true
                essentials.tpa: true
                essentials.tpahere: true
                essentials.tpaccept: true
                essentials.tpdeny: true
                essentials.signs.color: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.ignore: true
                ChestShop.shop.*: true
                DisposalChest.*: true
                preciousstones.benefit.*: true
                preciousstones.whitelist.*: true
                preciousstones.whitelist.allow: true
                preciousstones.whitelist.remove: true
                preciousstones.whitelist.allowall: true
                preciousstones.whitelist.removeall: true
                ichat.*: true
                multiverse.portal.access.platinum: true
                multiverse.portal.access.preplatinum: true
                multiverse.portal.access.desert: true
                multiverse.portal.access.desertworld: true
                simpleclans.member.*: true
        VIP:
            inheritance:
            - Member
            permissions:
                permissions.build: true
                essentials.sethome.multiple.unlimited: true
                essentials.joinfullserver: true
                AdminChat.use: true
                multiverse.portal.access.*: true
                multiverse.access.*: true
                simpleclans.leader.*: true
        Op:
            inheritance:
            - VIP
            permissions:
                permissions.build: true
                essentials.time: true
                essentials.time.set: true
                essentials.time.world: true
                essentials.balance.others: true
                essentials.balancetop: true
                essentials.ban: true
                essentials.banip: true
                essentials.broadcast: true
                essentials.invsee: true
                essentials.mute: true
                essentials.reloadall: true
                essentials.socialspy: true
                essentials.unban: true
                essentials.protect.admin: true
                essentials.protect.ownerinfo: true
                essentials.jump: true
                essentials.top: true
                essentials.tp: true
                essentials.tpo: true
                essentials.tpohere: true
                essentials.weather: true
                bb.admin.*: true
                preciousstones.admin.clean: true
                p2.promote: true
                p2.demote: true
                worldedit.*: true
                worldedit.limit.unrestricted: false
                worldedit.anyblock: false
                worldedit.override.bedrock: false
            worlds:
                Tera_Forge:
                    essentials.time.set: false
                    essentials.time.world: false
                    worldedit.*: false
                    bb.admin.*: false
                Tera_Forge_nether:
                    essentials.time.set: false
                    essentials.time.world: false
                    worldedit.*: false
                    bb.admin.*: false
        Admin:
            inheritance:
            - Op
            permissions:
            - '*'
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    
     
  18. Offline

    piousminion

    Feature Request: command to remove a user entirely

    I have a script that runs once a day and removes users who haven't logged in for over 45 days.
    Without a command to remove a user, I risk reading or writing to the config.yml directly while the server may also be reading or writing to it..... which could potentially be very very bad.

    If the feature is not to be added I would gladly accept any suggestions you may have.
    thank you.
     
  19. Offline

    Celtic Minstrel

    @sparroha – This may not be the issue, but try giving the permissions.build node to Admin. Also note that '*' does nothing, so your Admin actually has no permissions at all.
     
  20. Offline

    Pointy130

    Quick question - do I need to contain every permission node for every plugin I have as true or false, or will a command default to "False" if its node is not found as enabled?

    For example, do I need to include essentials.god: false in my default group, or will it be implied?

    Edit: found the answer to my own question.
     
  21. Offline

    GoreRanger

    I would like to know if my permissions.yml (root) and config.yml (permissionsbukkit) files are correct. I attached my permissions.yml file but I'm not sure how to package the config.yml without messing up the syntax. How should I do that?

    Additionally, I cannot get the gamemode command to work unless I assign the player to the ops file. Any feedback would be very welcome.

    Thanks
     

    Attached Files:

  22. Offline

    Slayergold3

    does this plugin have a node so that they can do everything instead of me having to type in every single node?
     
  23. Offline

    Gongorrian

    i have a problem with this permission plugin... i cant get the permissions to work :( look at the user igotyou, he cant use any on the written commands but he can still build and destroy blocks, i cant find any faults in my code,

    i installed that Permbridge plugin still didnt help :(

    Code:
    users:
        Gongorrian:
            permissions:
            groups:
            - admin
        igotyou:
            permissions:
            groups:
            - Builder
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        Builder:
            permissions:
                permissions.build: true
                iConomy.holdings: true
                iConomy.payment: true
                tombstone.use: true
                tombstone.large: true
                tombstone.sign: true
                tombstone.quickloot: true
                tombstone.lwc: true
                tobmstone.freechest: true
                tombstone.freesign: true
                ChestShop.shop.create.(itemID): true
                ChestShop.shop.buy.(itemID): true
                ChestShop.shop.sell.(itemID): true
                ChestShop.shop.create: true
                ChestShop.shop.buy: true
                ChestShop.shop.sell: true
                towny.wild.*: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    ohh and btw i as the admin cant use any of the "/permissions" commands it just say "unknown command etc."



    hoping for some help
    Gongorrian :)
     
  24. Offline

    Celtic Minstrel

    That's not a permissions issue. Maybe there was an error on startup? I'd say most likely your config has an error in it, probably in the form of a tab character. (Also, your ChestShop permissions are wrong; the ones with itemID in them don't exist, so adding them won't do anything.)
     
  25. Offline

    Gongorrian

    infact there is an error with permissions, it says "could not load "plugins\permissionsBukkit-1.2.jar" in folder plugins" what ever that means :) hope you telling me ofc :D

    and seems like i did a tab faliure with my permissions config... uhm i use notepad++ and its marked with red but is there a little nice feture that fixes the red stuff ? :)
     
  26. Offline

    Celtic Minstrel

    It doesn't really mean anything beyond what it says. I could tell you the issue if you posted the entire stack trace, but from just that line I can't infer anything. However, tabs in the config file are the most likely cause.

    No clue. I don't use Notepad++.
     
  27. Offline

    Gongorrian

    ill link this picture of my server cmd with the permissions plugins... and ive seen those newuser and enherence thing but it seems like i cant fix it no matter what i do :S anyways here it goes....

    [​IMG]
     
  28. Offline

    Celtic Minstrel

    If you haven't changed your config since you posted it, it's in the wrong place. Make sure it's in the PermissionsBukkit folder and is named config.yml.
     
  29. Offline

    Gongorrian

    wow got i fixed now... thanks for the help mate... btw i just delited my config file and made the plugin create a new one for me :)
     
  30. Offline

    Galameth

    Decided to finally instill a set of permissions on the server and came across permissions bukkit, but, I haven't found a complete list of permissions. listing >_>

    I see by default there is a "permissions.build" token but, are there any others?
    i.e permissions.destroy?
    or permissions.timeset? (or any op command variant)


    Is there a full set of "vanilla" (no other plugins whatsoever) starting permissions for permission bukkit itself?

    Another questions. Can permissions bukkit limit certain server commands to players/groups? For instance, instead of their being normal player or "op" can you give some players full op, others only some of the op abilities etc? or will I need to find a plugin that does it and then use permissions bukkit to limit that plugin?

    I would much rather setup permission bukkit fully with all of its options BEFORE looking for how to apply plugin rules to it.

    Thank you kindly,
    Galameth
     
  31. Offline

    Earlstreim

    It seems that this plugin is not working for me at all. Without OPing myself via console I literally can't do anything. I have no power over my plugins, I can't build nor remove blocks.

    My config.yml looks like this:
    Code:
    users:
        earlstreim:
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
                getid.add: true
                getid.rem: true
                giveto.others: true
                giveto.item.PERMISSION: true
                giveto.exempt.delay: true
                giveto.exempt.cost: true
                godPowers.godmode: true
                godPowers.godmodeOnLogin: true
                godPowers.die: true
                godPowers.slay: true
                godPowers.maim: true
                godPowers.inferno: true
                godPowers.vulcan: true
                godPowers.demigod: true
                godPowers.commands: true
                godPowers.godtools: true
                godPowers.hades: true
                mothernature.command.version: true
                mothernature.command.reload: true
                mothernature.wand: true
                mothernature.lwand: true
                niftywarp.use.rename: true
                niftywarp.admin.delete: true
                niftywarp.admin.rename: true
                niftywarp.admin.set: true
                SimpleJail.*: true
                wrath.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                getid.id: true
                getid.name: true
                givemewool.givewool: true
                giveto.self: true
                giveto.reload: true
                godPowers.jesus: true
                godPowers.heal: true
                godPowers.superjump: true
                godPowers.zeus: true
                godPowers.gaia: true
                mothernature.command.help: true
                mothernature.command.rain: true
                mothernature.command.thunder: true
                mothernature.command.lightning: true
                mothernature.command.sun: true
                mothernature.command.umbrella: true
                mothernature.day: true
                mothernature.night: true
                niftywarp.use.add: true
                niftywarp.use.delete: true
                niftywarp.use.home: true
                niftywarp.use.homeset: true
                niftywarp.use.list: true
                niftywarp.use.set: true
                niftywarp.use.warp: true
                niftywarp.use.warptocoord: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    As far as I can see this config looks fine. However, no permissions are loaded on server startup.

    Code:
    06:25 AM [INFO] CButD: Permission system not detected, defaulting to OP
    06:25 AM [INFO] [getID] Permissions System not detected defaulting to OP
    06:25 AM [WARNING] [GiveMeWool] Permissions system not detected! Defaulting to OP!
    06:25 AM [INFO] [GodPowers] Permissions NOT detected. Giving permission to ops.
    06:25 AM [INFO] [MotherNature] Neither Permissions or GroupManager found. Using ops.txt for permission handling
    06:25 AM [WARNING] Unable to integrate with the Permissions plugin.  Defaulting to free for all permission set
    Permissions. Giving command permission to OP.
    06:25 AM [INFO] PermissionsBukkit v1.2 is now enabled
    06:25 AM [INFO] Server permissions file permissions.yml is empty, ignoring it
    06:25 AM [INFO] Done (0,374s)! For help, type "help" or "?"
    when I try to place/break a block or use any of my commands I get message that I have no permissions to do that. However I can print my permissions from the file in my console.

    Code:
    06:49 AM [INFO] Groups: default, admin, user
    06:50 AM [INFO] Users in admin (1): earlstreim
    I have no idea what's going one. The plugin must be active and working if I can access it from the console... But why other plugins and the game itself can't see my permissions?
     

Share This Page