[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

    Richard Scheide

    Can anyone tell me what I'm doing wrong. I tried setting this up with people testing with me and then made a test server but I can not even allow myself to do one thing.

    You can see in the permissions which mods I am using and they are all 1000 build, including Craftbukkit.
    Permissions 1.2 build
    Edited with Note++

    Code:
    users:
        kull_theconq:
            permissions:
                permissions.example: true
            groups:
            - admin
            - member
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
                BOSEconomy.common.bracket.rename: true
                BOSEconomy.common.bracket.info: true
                BOSEconomy.common.bracket.listmembers: true
                BOSEconomy.common.bracket.addmember: true
                BOSEconomy.common.bracket.removemember: true
                BOSEconomy.common.bracket.setmultiplier: true
                BOSEconomy.admin.money.info: true
                BOSEconomy.admin.viewmastry: true
                BOSEconomy.admin.money.set: true
                BOSEconomy.admin.money.add: true
                BOSEconomy.admin.money.sub: true
                BOSEconomy.admin.money.clear: true
                BOSEconomy.admin.money.scale: true
                BOSEconomy.admin.reload: true
                BOSEconomy.admin.save: true
                BOSEconomy.admin.bracket.create: true
                BOSEconomy.admin.bracket.remove: true
                BOSEconomy.admin.bracket.rename: true
                BOSEconomy.admin.bracket.list: true
                BOSEconomy.admin.bracket.info: true
                BOSEconomy.admin.bracket.set: true
                BOSEconomy.admin.bracket.setmaster: true
                BOSEconomy.admin.bracket.removemaster: true
                BOSEconomy.admin.bracket.listmembers: true
                BOSEconomy.admin.bracket.addmember: true
                BOSEconomy.admin.bracket.removemember: true
                BOSEconomy.admin.bracket.setmultiplier: true
                BOSEconomy.admin.bank.create: true
                BOSEconomy.admin.bank.remove: true
                BOSEconomy.admin.bank.rename: true
                BOSEconomy.admin.bank.list: true
                BOSEconomy.admin.bank.info: true
                BOSEconomy.admin.bank.mastry: true
                BOSEconomy.admin.bank.listmembers: true
                BOSEconomy.admin.bank.income: true
                BOSEconomy.admin.bank.withdraw: true
                BOSEconomy.admin.bank.deposit: true
                BOSEconomy.admin.bank.addowner: true
                BOSEconomy.admin.bank.addmember: true
                BOSEconomy.admin.bank.removemember: true
                BOSEconomy.admin.payday.reset: true
                citizens.admin: true
                citizens.admin.info: true
                citizens.admin.reload: true
                citizens.admin.save: true
                citizens.admin.debug: true
                citizens.admin.removeall: true
                citizens.admin.toggleall: true
                residence.admin: true
                waypoint.admin.spawn: true
                waypoint.admin.spawn.set: true
                waypoint.admin.spawn.save: true
                waypoint.admin.spawn.load: true
                waypoint.admin.warp: true
                mantraweather.weather: true
            inheritance:
            - member
        member:
            permissions:
                permissions.build: true
            worlds:
                world:
                    BOSEconomy.common.wallet: true
                    BOSEconomy.common.income: true
                    BOSEconomy.common.mastry: true
                    BOSEconomy.common.pay: true
                    BOSEconomy.common.stats: true
                    BOSEconomy.common.top5: true
                    BOSEconomy.common.bank.rename: true
                    BOSEconomy.common.bank.list: true
                    BOSEconomy.common.bank.info: true
                    BOSEconomy.common.bank.mastry: true
                    BOSEconomy.common.bank.withdraw: true
                    BOSEconomy.common.bank.deposit: true
                    BOSEconomy.common.bank.addowner: true
                    BOSEconomy.common.bank.addmember: true
                    BOSEconomy.common.bank.removemember: true
                    BOSEconomy.common.bank.income: true
                    BOSEconomy.common.bank.listmembers: true
                    BOSEconomy.common.help: true
                    citizens.toggle.help: true
                    citizens.toggle.blacksmith: true
                    citizens.toggle.healer: true
                    citizens.toggle.trader: true
                    citizens.toggle.wizard: true
                    citizens.basic.create: true
                    citizens.basic.use.help: true
                    citizens.basic.use.info: true
                    citizens.basic.use.select: true
                    citizens.basic.use.list: true
                    citizens.basic.use.teleport: true
                    citizens.basic.modify.move: true
                    citizens.basic.modify.moveto: true
                    citizens.basic.modify.copy: true
                    citizens.basic.modify.remove: true
                    citizens.basic.modify.rename: true
                    citizens.basic.modify.color: true
                    citizens.basic.modify.settext: true
                    citizens.basic.modify.addtext: true
                    citizens.basic.modify.resettext: true
                    citizens.basic.modify.item: true
                    citizens.basic.modify.armor: true
                    citizens.basic.modify.lookat: true
                    citizens.basic.modify.talkclose: true
                    citizens.basic.modify.setowner: true
                    citizens.blacksmith.use.help: true
                    citizens.blacksmith.use.status: true
                    citizens.blacksmith.use.repair: true
                    citizens.trader.use.help: true
                    citizens.trader.use.showmoney: true
                    citizens.trader.use.list: true
                    citizens.trader.use.trade: true
                    citizens.trader.modify.money: true
                    citizens.trader.modify.unlimited: true
                    citizens.trader.modify.stock: true
                    citizens.trader.modify.clearstock: true
                    simplechestlock.command.reload: true
                    simplechestlock.command.save: true
                    simplechestlock.command.status: true
                    simplechestlock.ignoreowner: false
                    simplechestlock.lock: true
                    simplechestlock.usecombo: true
                    simplechestlock.lock.Lockable_Name_Here: true
                    waypoint.basic.add: true
                    waypoint.basic.delete: true
                    waypoint.basic.teleport: true
                    waypoint.basic.invite: true
                    waypoint.basic.invite.accept: true
                    waypoint.basic.invite.decline: true
                    waypoint.basic.list: true
                    waypoint.home: true
                    waypoint.home.set: true
                    waypoint.home.set_on_bed_leave: true
                    waypoint.teleport.teleport: true
                    waypoint.teleport.location: true
                    waypoint.teleport.here: true
                    waypoint.spawn: true
                    waypoint.warp: true
                    waypoint.world: true
                    waypoint.warp.access.: true
                    waypoint.warp.create: true
                    waypoint.warp.delete: true
                    waypoint.warp.list: true
                    mantraweather.weather: false
                    residence.create: true
                city:
                freeworld:
                oldworld:
                world_nether:
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
     
  3. Offline

    joselitoeu

    Can someone give me a sample of how to configure 3 groups? Or this is correct:

    Code:
    users:
               Me:
                   permissions:
                   groups:
                   - admin
             My friend:
                 permissions:
                 groups:
                 - mod
    
     groups:
                  default:
                       permissions:
                                permissions.build: false
                                permissions.myplugin.sample:false (Block the access to the function "sample" of myplugin right?)
    
                   admin:
                          permissions:
                               permissions.myplugin.*: true(Will this give to the user "Me" permission to all the commands of "myplugin"?)
    
                  mod:
                        permissions:
                                   permissions.build: true
                                   permissions.myplugin:true
    
    messages:     build: '&cYou do not have permission to build here.'
     
  4. Offline

    VanillaSnack

    I dunno... I got bpermissions but somehow /spawn etc. wont work for OP ... is this one better ?
     
  5. Offline

    Skettalee

    Please can someone help me? I had to switch to this permissionsbukkit to get multi world permissions to work for multiverse and nothing is working out right.

    I cant get my members to change colors based on the group and I have aleready added mchat and set that up with the same names as the group names i did with permissions file.

    Can someone look at my file and tell me why no members can barely get access to anything, though i set access up. I know some groups can actually build but no other commands, and ALSO , everyone on the server has the GOD command now. HELP!!

    My permissions file: http://pastebin.com/ujMfyj1B
     
  6. Which version of PermissionsBukkit are you using? (IIRC only the latest dev build supports MultiWorld correctly, but i will be corrected if im false ;)

    One other thing i noticed: You need to falsify inherited nodes from mchat. E.g.:
    Code:
        player:
            permissions:
                permissions.build: true
                mchat.prefix.default: false
                mchat.prefix.player: true
            worlds:
                <snip>
            inheritance:
            - default
        vip:
            permissions:
                permissions.build: true
                mchat.prefix.player: false
                mchat.prefix.vip: true
            worlds:
            <snip>
            inheritance:
            - player
    
     
  7. Offline

    Skettalee

    Using PermissionsBukkit 1.1 and your saying to get the color coding correct I need to say false to all the other prefix's in each group?

    Also what about the issues of its just not working correctly. members cant change night to day, and ones in the correct groups... And EVERYONE has god. Any more help? Thanks for what you said so far!
     
  8. Offline

    kopcap23

    I can't upgrade from Permissions 3 to PermissionsBukkit, because of WorldGuard... Why does permissions with .* doesn't work? WorldGuard have many permissions with ending *... Any ideas?
     
  9. Offline

    Skettalee

    Ok tried for 8 hours last night and another 4 hours so far today to get this stuff working. Is there anyone I can pay some money to sit with me and get this working right. I dont get it. mChat is saying everyone is a guest, but people can build, and noones getting the permission.nodes im giving them. Everyone has access to god. Please help!

    Here is my revised file: http://pastebin.com/wJWxkG2f
     
  10. Offline

    SpaceManiac

    You can either prefix nodes containing '*' with 'superpermbridge.', or get a development version of WorldEdit (which WorldGuard uses for permissions).
     
  11. Offline

    Sekky

    I believe that BukkitPermissions is not honoring PLAYER_KICK events. I am having this issue with AdminsCanFly.

    Thanks
     
  12. Offline

    tony687

    can someone plz convert these files from 3.1.6?
     

    Attached Files:

  13. Offline

    SpaceManiac

    It honors player kicks; what it does not honor are cancelled player kicks. Try the Krinsdeath Fix Build in the first post.
     
  14. Offline

    stkeroro

    this plugin sounds nice, but it needs more permissions 3.x conversion parameters and a compatibility for old permissions plugins to be the one. When all the plugins got permissionsbukkit, remove permissions 3.x compatibility.
     
  15. Offline

    SpaceManiac

  16. Offline

    Skettalee

    Done & Done, how about close this thread and delete my message?
     
  17. Offline

    SpaceManiac

    I'll only request locking of the thread if things get out of hand, which I highly doubt will be an issue.
     
  18. Is the new superperms support in the dev builds of WorldEdit actually working? I experimented with them and found that whether or not a * worked as expected was more or less random. Specifically, with just CraftBukkit build 1063, PermissionsBukkit 1.2, WorldEdit build 197, and this PermissionsBukkit config.yml:
    Code:
    groups:
        default:
            permissions:
                permissions.build: true
                worldedit.wand: true
                worldedit.wand.*: true
                worldedit.selection.*: true
                worldedit.brush.*: true
                worldedit.generation.*: true
                worldedit.history.*: true
                worldedit.region.*: true
    
    "//wand", "//chunk", and "//sphere dirt 1" all worked as expected, but "/toggleeditwand", "//brush smooth", "//undo", and "//replace dirt stone" all gave "You don't have permission to do this."

    (I posted this in the WorldEdit thread 2 days ago but didn't get a response.)
     
  19. Offline

    slipcor

    Could you please add an way of adding users to groups (and removing them) by hooking your plugin?

    You said one would never almost never need to hook it. But my plugin needs ability to add people to groups and remove them. That is almost not possible ;) (thanks to Sleaker I managed to hack that in)
     
  20. im getting failed to initiate

    invocation.target.exception?
     
  21. Offline

    Guenael

    Hello, i am lost
    Somes questions :

    i have chestshop plugin and mcmmo , i have many groups but i write nowhere about chestshop & mcmmo in my configuration files, so why people have that : "mcmmo.skills.setmyspawn : true (default)" , i write nowhere in my config.yml theses nodes.

    Why no "*" node ? If i have 150 plugins, i must check earch plugins (and web page) if it use permissions and add plugin.* node ?

    I have make a group for people like grieffer or ban people (so people with very few power), why they inherit about default group ?
    Should i add all FALSE node for grieffer ? I hope no because that will be so complicated when i add new plugin with all of that...

    Thank
     
  22. Offline

    Spl1tz

    Do we have to add all the plugin permission nodes for Admins also?
    Cuz my admins can't use some plugins like LWC (/cprivate) says access denied...
    Not even /home from WarpZ0r.
    I'm experiencing the same as admin.

    My config:
    Show Spoiler

    Code:
    groups:
        VAP:
            permissions:
                spouttrade.trade: true
                mchat.group.VAP: true
                mchat.suffix.VAP: true
                mchat.prefix.VAP: true
                modifyworld.*: true
                mailbox.sendtoself: true
                mailbox.nocooldown: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
                deathcontrol.use: true
                deathcontrol.free: true
                fridges.fridge.use: true
                warpz0r.home: true
                warpz0r.sethome: true
                commandbook.who: true
                commandbook.spawn: true
                lwc.protect: true
                nSpleef.member.creategame: true
                nSpleef.member.deletegame: true
                nSpleef.member.join: true
                nSpleef.member.leave: true
                nSpleef.member.list: true
                nSpleef.member.wager: true
                reporter.mod: true
                stargate.option.free: true
                stargate.use: true
                herochat.color: true
                commandbook.call: true
                uQuest.CanDropQuest: true
                uQuest.CanQuest: true
                uQuest.CanQuest.amount: true
                uQuest.CanQuest.done: true
                uQuest.CanQuest.give: true
                uQuest.CanQuest.info: true
                uQuest.CanQuest.stats: true
                uQuest.CanReloadQuests: true
                permissions.build: true
        VIP:
            permissions:
                spouttrade.trade: true
                mchat.group.VIP: true
                mchat.suffix.VIP: true
                mchat.prefix.VIP: true
                craftbook.mech.elevator.use: true
                craftbook.mech.elevator: true
                craftbook.mech.gate: true
                supplysign.access: true
                modifyworld.*: true
                mailbox.sendtoself: true
                mailbox.nocooldown: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
                deathcontrol.use: true
                deathcontrol.free: true
                fridges.anvil.repair: true
                fridges.anvil.info: true
                fridges.fridge.use: true
                stargate.option.free: true
                stargate.use: true
                stargate.create.personal: true
                scavenger.*: true
                warpz0r.warp: true
                warpz0r.list: true
                warpz0r.home: true
                warpz0r.sethome: true
                warpz0r.worldwarp: true
                warpz0r.worldhome: true
                warpz0r.compasshome: true
                warpz0r.compasswarp: true
                warpz0r.compassreset: true
                warpz0r.free.warp: true
                warpz0r.free.home: true
                warpz0r.free.sethome: true
                showcase.buy.finite: true
                showcase.buy.infinite: true
                turnstile.open: true
                turnstile.make: true
                turnstile.set.free: true
                turnstile.set.locked: true
                turnstile.set.price: true
                turnstile.set.owner: true
                turnstile.set.access: true
                turnstile.set.bank: true
                turnstile.earned: true
                emptyinventory.use: true
                showcase.basic: true
                showcase.finite: true
                showcase.exchange: true
                foo.bar: true
                citizens.help: true
                citizens.trader.stock: true
                commandbook.clear: true
                commandbook.motd: true
                commandbook.msg: true
                commandbook.mute: true
                commandbook.rules: true
                commandbook.say.me: true
                commandbook.spawn: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                commandbook.who: true
                commandbook.whois: true
                commandSigns.use: true
                lwc.protect: true
                mcdocs./news: true
                mcdocs./rules: true
                monstertamer.player.befriend: true
                monstertamer.player.catch: true
                monstertamer.player.check: true
                monstertamer.player.follow: true
                monstertamer.player.release: true
                monstertamer.player.target: true
                monstertamer.player.wait: true
                monstertamer.player.whistle: true
                nSpleef.member.creategame: true
                nSpleef.member.deletegame: true
                nSpleef.member.join: true
                nSpleef.member.leave: true
                nSpleef.member.list: true
                nSpleef.member.wager: true
                reporter.mod: true
                uQuest.CanDropQuest: true
                uQuest.CanQuest: true
                uQuest.CanQuest.amount: true
                uQuest.CanQuest.done: true
                uQuest.CanQuest.give: true
                uQuest.CanQuest.info: true
                uQuest.CanQuest.stats: true
                uQuest.CanReloadQuests: true
                wolfpound.use: true
                herochat.color: true
                commandbook.call: true
                permissions.build: true
        Moderator:
            permissions:
                spouttrade.trade: true
                deathcontrol.use: true
                deathcontrol.free: true
                mchat.group.Moderator: true
                mchat.suffix.Moderator: true
                mchat.prefix.Moderator: true
                multiverse.core.spawn.other: true
                multiverse.core.spawn.self: true
                multiverse.core.tp.other: true
                multiverse.core.tp.self: true
                worldguard.ungod: true
                worldguard.god: true
                oceanworld.leave: true
                oceanworld.enter: true
                styxspace.*: true
                worldguard.*: true
                worldguard.region.remove.*: true
                worldguard.region.setparent.*: true
                worldguard.region.setpriority.*: true
                worldguard.region.flag.flags.*: true
                worldguard.region.flag.regions.*: true
                worldguard.region.list: true
                worldguard.region.removemember.*: true
                worldguard.region.addmember.*: true
                worldguard.region.removeowner.*: true
                worldguard.region.addowner.*: true
                worldguard.region.info.*: true
                worldguard.region.select.*: true
                worldguard.region.claim.*: true
                worldguard.region.redefine.*: true
                worldguard.region.define.*: true
                worldedit.*: true
                logblock.*: true
                administrate.allmessages: true
                administrate.stealth: true
                administrate.adminmode: true
                administrate.adminmode.heal: true
                administrate.adminmode.tp: true
                administrate.invisible: true
                administrate.status: true
                administrate.fakelog: true
                administrate.heal: true
                administrate.tp: true
                administrate.noaggro: true
                administrate.god: true
                commandbook.bans.unban: true
                commandbook.bans.ban: true
                commandbook.kick: true
                commandbook.mute: true
                commandbook.warp.teleport: true
                commandbook.warp.teleport.other (teleport others): true
                commandbook.broadcast: true
                commandbook.call: true
                commandbook.return: true
                commandbook.teleport.other: true
                commandbook.teleport: true
                commandbook.teleport.other (teleport others): true
                commandbook.locations.coords (teleport to coordinates): true
                commandbook.weather: true
                commandbook.time: true
                commandbook.time.lock: true
                commandbook.give: true
                commandbook.give.other: true
                commandbook.give.infinite: true
                commandbook.give.stacks: true
                commandbook.give.stacks.unlimited: true
                craftbook.mech.elevator.use: true
                craftbook.mech.elevator: true
                craftbook.mech.gate: true
                supplysign.access: true
                modifyworld.*: true
                mailbox.sendtoself: true
                mailbox.nocooldown: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
                fridges.anvil.repair: true
                fridges.anvil.info: true
                fridges.fridge.use: true
                stargate.option.free: true
                stargate.use: true
                stargate.create.personal: true
                scavenger.*: true
                warpz0r.warp: true
                warpz0r.list: true
                warpz0r.home: true
                warpz0r.sethome: true
                warpz0r.worldwarp: true
                warpz0r.worldhome: true
                warpz0r.compasshome: true
                warpz0r.compasswarp: true
                warpz0r.compassreset: true
                warpz0r.free.warp: true
                warpz0r.free.home: true
                warpz0r.free.sethome: true
                showcase.buy.finite: true
                showcase.buy.infinite: true
                turnstile.open: true
                turnstile.make: true
                turnstile.set.free: true
                turnstile.set.locked: true
                turnstile.set.price: true
                turnstile.set.owner: true
                turnstile.set.access: true
                turnstile.set.bank: true
                turnstile.earned: true
                emptyinventory.use: true
                showcase.basic: true
                showcase.finite: true
                showcase.exchange: true
                foo.bar: true
                citizens.help: true
                citizens.trader.stock: true
                commandbook.clear: true
                commandbook.motd: true
                commandbook.msg: true
                commandbook.rules: true
                commandbook.say.me: true
                commandbook.spawn: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                commandbook.who: true
                commandbook.whois: true
                commandSigns.use: true
                lwc.protect: true
                lwc.mod: true
                mcdocs./news: true
                mcdocs./rules: true
                monstertamer.player.befriend: true
                monstertamer.player.catch: true
                monstertamer.player.check: true
                monstertamer.player.follow: true
                monstertamer.player.release: true
                monstertamer.player.target: true
                monstertamer.player.wait: true
                monstertamer.player.whistle: true
                nSpleef.member.creategame: true
                nSpleef.member.deletegame: true
                nSpleef.member.join: true
                nSpleef.member.leave: true
                nSpleef.member.list: true
                nSpleef.member.wager: true
                reporter.mod: true
                uQuest.CanDropQuest: true
                uQuest.CanQuest: true
                uQuest.CanQuest.amount: true
                uQuest.CanQuest.done: true
                uQuest.CanQuest.give: true
                uQuest.CanQuest.info: true
                uQuest.CanQuest.stats: true
                uQuest.CanReloadQuests: true
                wolfpound.use: true
                herochat.color: true
                permissions.build: true
        Admin:
            permissions:
                nocheat.*: true
                mchat.group.admin: true
                mchat.suffix.admin: true
                permissions.*: true
                permissions.build: true
                mchat.prefix.admin: true
        default:
            permissions:
                spouttrade.trade: true
                mchat.group.default: true
                mchat.suffix.default: true
                mchat.prefix.default: true
                pchest.open: true
                craftbook.mech.gate: true
                supplysign.access: true
                modifyworld.*: true
                mailbox.sendtoself: true
                mailbox.nocooldown: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
                commandbook.msg: true
                scavenger.*: true
                deathcontrol.use: true
                deathcontrol.free: true
                warpz0r.home: true
                warpz0r.sethome: true
                commandbook.who: true
                commandbook.spawn: true
                lwc.protect: true
                nSpleef.member.creategame: true
                nSpleef.member.deletegame: true
                nSpleef.member.join: true
                nSpleef.member.leave: true
                nSpleef.member.list: true
                nSpleef.member.wager: true
                reporter.mod: true
                permissions.build: true
    users:
        Liquidos:
            groups:
            - Moderator
        n0tiz:
            groups:
            - Admin
        Wick141:
            groups:
            - VIP
        LoneWolf2142:
            groups:
            - VIP
        Spl1tz:
            groups:
            - Admin
        BlankStudios:
            groups:
            - VIP
        traveler59:
            permissions:
                WorldEdit.*: true
            groups:
            - VIP
        brutalwayz:
            groups:
            - VIP
        stormeaglezx:
            groups:
            - VIP
        darkmanforever:
            groups:
            - VIP
        qtinifier:
            groups:
            - Admins
        thomas_11:
            groups:
            - VIP
        okanerorumes:
            groups:
            - VIP
        just_playing:
            groups:
            - VIP
        gantorian:
            groups:
            - VIP
        bwjclego:
            groups:
            - VIP
        kezumi:
            groups:
            - VIP
        inevitabledeath:
            groups:
            - VIP
        lanarea:
            groups:
            - VIP
        00blankstudios00:
            groups:
            - VIP
        DBsarazen:
            groups:
            - VIP
        chronometric:
            groups:
            - VIP
        Alexanderdegrote:
            groups:
            - VIP
        00blank00studios:
            groups:
            - VIP
        stepho117:
            groups:
            - VIP
        Madmushroom1:
            groups:
            - VIP
        kwarkmuts:
            groups:
            - VIP
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    
     
  23. Offline

    Skettalee

    Please someone help me i WILL PAY YOU MONEY! Im sick of wasting my days trying to get permissionsbukkit to work right.

    Here is the code now: http://pastebin.com/Ti4XRi3e

    I got most tools to work for people, but noone can do PrivateWarp, Time and also im sick of having to type every worldedit. NODE.... how do I do PLUGIN.* to give them all access to it? Some of them work, logblock.* works perfect but worldedit.* does not!

    SOMEONE OUT THERE reading this? Money can be involved if we fix it!
     
  24. Offline

    SpaceManiac

    Re worldedit: try either 'superpermbridge.worldedit.*' or updating to a dev build of WorldEdit.
     
  25. Offline

    Skettalee

    But why cant i get private warp to work, or time to work?
    And i checked the worldedit forum page and dont see anything where i can get a dev build.

    A main thing, i did the superbrdige thing and worldedit tools work now... except the fact that the wand only lets you set position 2 and not position 1 as well.
     
  26. Offline

    Spl1tz

  27. Offline

    SpaceManiac

    Naming a group 'admin' does not automatically give it all permissions, you will need to assign permissions specifically. Also, you almost definitely want Admin to inherit Mod, Mod to inherit VIP, and so on.
     
  28. Offline

    Spl1tz

    Ok, that explains it. Thx for the reply.
     
  29. Offline

    Sekky

    Hey SpaceManiac, I tried the KrinsDeath temporary fix, but I'm still getting kicked. It no longer throws an error, though, so it may be a plugin problem.
     
  30. Offline

    olimoli123

    working on sql storage by any chance?
     
  31. Offline

    chelben9

    is there multi world support
     

Share This Page