[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

    Tytonidae

    Thank you, that fixed it. One problem though. Even though I specified odd.give.i: false in the legit world, players are still able to use /i there. Do you perchance see the problem?
     
  3. Offline

    ACStache

    no, sorry :oops:
     
  4. Offline

    CrispyDiamonds

    see the problem is i did that and it gives me an error saying my yaml format is incorrect so i put it in an online yaml parser and it will only work with the spaces like that
    EDIT: i fixed the non-Boolean problem after trying the spacing thing u suggested. the only last problem i have is this. everytime i say something it puts like 10 colons then my name and what i say:
    Code:
    16:23:23 [INFO] ||||||||||[Admin]CrispyDiamonds: testing
    
     
  5. Offline

    morizuki

    I'm using mInfo.. and also tried the bInfo

    but if i travel to another world, using MultiVerse,

    my suffix isn't updating.. If i tried /perm reload.. the suffix will update and i can see the changes in my chat.. but i return to the main world, my suffix from another world will be also the suffix in the main, so i have to /perm reload again..
     
  6. Offline

    Celtic Minstrel

    There may be a bug about permissions not properly refreshing when you go to another world.
     
  7. Offline

    ACStache

    that sounds like a chat plugin messing up somewhere. I'd check in their thread if you can figure out the problem
     
  8. Offline

    Celtic Minstrel

    Um, what does offline mode have to do with anything?
     
  9. Yeah there definitely is on my server.
     
  10. Offline

    palz2015

    I'm sorry, but I truly hate this system. I much prefer TheYeti's Permissions 3.x.. no offence to the developers. It had much more features and was more user friendly. I hope this gets better in its later days. </rant>
     
  11. Offline

    midget_3111

    Yup, same here!
    Someone suggested compiling it from source myself as it has been fixed, but I don't see that as a viable option as the dev may be half way through fixing something else which could have knock on effects
     
  12. Offline

    Thought Ninja

    I'm having a problem where when i join the game it puts me in the default group and gives me no permissions. Any reason for this? it would be nice to be able to update to bukkit 1000. Thanks in advance.
    [Edit] Tell me if you need the config
    --Thought_Ninja
     
  13. Offline

    11RJB

    Same here. Default group doesn't assign any permissions. My config:

    Show Spoiler
    Code:
    users:
        yorkchr879:
            groups:
            - default
        urbanlol:
            groups:
            - default
        pancake1020238:
            groups:
            - default
        mlego425:
            groups:
            - Watcher
        thatbloodydog:
            groups:
            - default
        levu:
            groups:
            - default
        KefkaticFanatic:
            groups:
            - default
        Ransure:
            groups:
            - default
        spacefrank:
            groups:
            - default
        ahairybeast:
            groups:
            - default
        zeegermann:
            groups:
            - default
        GentlemanBlu3:
            groups:
            - default
        dialga22:
            groups:
            - The_Night_Watch
        hopeless22:
            groups:
            - The_Night_Watch
        Jared94:
            groups:
            - The_Night_Watch
        BradlibUnlimited:
            groups:
            - The_Night_Watch
        fma5880:
            groups:
            - The_Overwatch
        Scorance08:
            groups:
            - The_Overwatch
        Gilas84:
            groups:
            - The_Overwatch
        L1th:
            groups:
            - The_Overlord
        Chuckdrp:
            groups:
            - The_Overlord
        bearcub:
            groups:
            - Watcher
        bigbwood:
            groups:
            - Watcher
        BleakOne:
            groups:
            - default
        kendalldudeman:
            groups:
            - Watcher
        Corathan:
            groups:
            - Watcher
        wolfzion108:
            groups:
            - Watcher
    groups:
        default:
            permissions:
                essentials.tpa: true
                essentials.tpaaccept: true
                essentials.tpahere: true
                essentials.spawn: true
                essentials.afk: true
                essentials.motd: true
                essentials.me: true
                essentials.mail.send: true
                essentials.mail.: true
                essentials.list: true
                essentials.msg: true
                essentials.rules: true
                essentials.suicide: true
                essentials.home: true
                essentials.sethome: true
                falsebook.anyic: true
                falsebook.ic.detection: true
                falsebook.ic.selftriggered: true
                falsebook.ic.standard: true
                falsebook.ic.worldedit: true
                ICmds.create: true
                ICmds.use: true
                lwc.protect: true
                tombstone.cmd.tombfind: true
                tombstone.cmd.tomblist: true
                tombstone.freechest: true
                tombstone.large: true
                tombstone.lwc: true
                tombstone.use: true
                tombstone.quickloot: true
                worldedit.navigation.unstuck: true
                essentials.god: true
                essentials.warp: true
                essentials.setwarp: true
                superpermsbridge.falsebook.blocks.*: true
                mchat.prefix.Everyone: true
                mchat.suffix.Everyone: true
                permissions.build: true
        The_Night_Watch:
            permissions:
                essentials.item: true
                essentials.god: true
                essentials.itemspawn.item-all: true
                worldedit.superpickaxe: true
                essentials.compass: true
                essentials.info: true
                essentials.nick: true
                essentials.realname: true
                essentials.burn: true
                essentials.clearinventory: true
                essentials.ext: true
                essentials.fireball: true
                essentials.jails: true
                essentials.kick: true
                essentials.kill: true
                essentials.mute: true
                essentials.tempban: true
                essentials.tp: true
                essentials.tphere: true
                landmarks.add: true
                landmarks.modify.all: true
                landmarks.modify.own: true
                landmarks.remove.own: true
                worldedit.butcher: true
                worldedit.extinguish: true
                worldedit.selection.hpos: true
                worldedit.selection.pos: true
                worldedit.wand: true
                worldguard.fire-toggle.stop: true
                worldguard.locate: true
                worldguard.region.addmember: true
                worldguard.region.define: true
                worldguard.region.flag.*: true
                worldguard.region.list.*: true
                worldguard.region.redefine.*: true
                worldguard.region.removemember.*: true
                worldguard.region.setparent.*: true
                essentials.time: true
                essentials.time.world: true
                essentials.time.player: true
                essentials.heal: true
                essentials.weather: true
                mchat.prefix.The_Night_Watch: true
                mchat.suffix.The_Night_Watch: true
                mchat.prefix.Watcher: false
                mchat.suffix.Watcher: false
            inheritance:
            - Watcher
        The_Overwatch:
            permissions:
                essentials.clearinventory.others: true
                essentials.give: true
                essentials.give.item-all: true
                essentials.god.others: true
                essentials.nick.others: true
                essentials.broadcast: true
                essentials.deljail: true
                essentials.essentials: true
                essentials.gc: true
                essentials.invsee: true
                essentials.kickall: true
                essentials.nuke: true
                essentials.antioch: true
                essentials.reloadall: true
                essentials.setjail: true
                essentials.socialspy: true
                essentials.spanmob: true
                essentials.thunder: true
                essentials.ban: true
                essentials.banip: true
                essentials.jail.exempt: true
                essentials.togglejail: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.home.others: true
                essentials.sethome.others: true
                essentials.jump: true
                essentials.top: true
                essentials.tpall: true
                citizens.admin: true
                lwc.mod: true
                tombstone.admin: true
                worldedit.drain: true
                worldedit.fill: true
                worldedit.fill.recursive: true
                worldedit.fixlava: true
                worldedit.fixwater: true
                worldedit.region.replace: true
                worldedit.region.set: true
                worldedit.removenear: true
                worldedit.replacenear: true
                worldedit.snow: true
                worldedit.superpickaxe.area: true
                worldedit.thaw: true
                worldedit.tool.replacer: true
                worldguard.region.claim: true
                worldguard.region.addowner: true
                worldguard.region.remove: true
                worldguard.region.removeowner: true
                worldguard.region.select: true
                worldedit.clipboard.cut: true
                worldedit.clipboard.paste: true
                worldedit.clipboard.copy: true
                worldedit.history.undo: true
                worldedit.history.redo: true
                nocheat.flying: true
                nocheat.speedhack: true
                nocheat.moving: true
                mchat.prefix.The_Overwatch: true
                mchat.suffix.The_Overwatch: true
                mchat.prefix.The_Night_Watch: false
                mchat.suffix.The_Night_Watch: false
            inheritance:
            - The_Night_Watch
        The_Overlord:
            permissions:
                superpermbridge.*: true
                mchat.prefix.The_Overlord: true
                mchat.suffix.The_Overlord: true
                mchat.prefix.The_Overwatch: false
                mchat.suffix.The_Overwatch: false
            inheritance:
            - The_Overwatch
        Watcher:
            permissions:
                rocketboots.boots: true
                essentials.back.ondeath: true
                essentials.back: true
                rocketboots.boots.diamond: true
                rocketboots.boots.gold: true
                rocketboots.boots.leather: true
                rocketboots.boots.chainmail: true
                rocketboots,boots.iron: true
                rocketboots.boots.iron: true
                rocketboots.launchPlayers: true
                rocketboots.feather: true
                mchat.prefix.Watcher: true
                mchat.suffix.Watcher: true
                mchat.prefix.Everyone: false
                mchat.suffix.Everyone: false
            inheritance:
            - default
    
     
  14. Offline

    Thought Ninja

    @11RJB But does assign permissions to other groups? When i join it says that [Operator] Thought_Ninja has joined the game but when i list the players in the console it shows me as a default and I have no permissions that should be assigned to the default Config:
    Code:
    groups:
        default:
            permissions:
                craftbook.*: true
                essentials.compass: true
                essentials.getpos: true
                essentials.help: true
                essentials.list: true
                essentials.motd: true
                essentials.kit.tools: true
                essentials.kit: true
                essentials.rules: true
                essentials.spawn: true
                essentials.tp: true
                warp.command.list: true
                xwarp.sign.to.*: true
                xwarp.to.*: true
                xwarp.world.to.*: true
                xwarp.world.within.*: true
                mchat.prefix.c7Guest: true
                permissions.build: true
            worlds:
                world:
                    permissions.build: false
                world_guest:
                    permissions.build: true
                world_nether:
                    permissions.build: false
                world_cities:
                    permissions.build: false
        Mod:
            permissions:
                essentials.ban: true
                essentials.god: true
                essentials.heal: true
                essentials.jump: true
                essentials.tppos: true
                essentials.kick: true
                essentials.tp: true
                essentials.whois: true
                essentials.kit.tools: true
                essentials.kit: true
                movecraft.*: true
                preciousstones.bypass.*: true
                xwarp.to.*: true
                xwarp.sign.to*: true
                worldedit.navigation.*: true
                essentials.back: true
                essentials.spawn: true
                essentials.weather: true
                essentials.time: true
                essentials.time.*: true
                essentials.getpose: true
                essentials.compass: true
                essentials.help: true
                essentials.home: true
                essentials.list: true
                essentials.motd: true
                essentials.msg: true
                essentials.ping: true
                essentials.suicide: true
                essentials.rules: true
                essentials.sethome: true
                preciousstones.benefit.*: true
                preciousstones.whitelist: true
                essential.signs.trade.create: true
                essential.signs.trade.use: true
                essentials.signs.disposal.use: true
                essentials.signs.disposal.create: true
                mobrider.*: true
                herochat.color: true
                nocheat.moving: true
                xwarp.world.within.*: true
                xwarp.world.to.*: true
                xwarp.create.private: true
                xwarp.edit.invite.*: true
                craftbook.*: true
                mchat.prefix.cfcbModcfcb: true
                permissions.build: true
        Operator:
            permissions:
                craftbook.*: true
                craftbookcommon.*: true
                craftbookcircuits.*: true
                craftbookmechanisms.*: true
                craftbookvehicles.*: true
                essentials.*: true
                herochat.*: true
                heroicdeath.*: true
                mobrider.*: true
                movecraft.*: true
                multiverse.*: true
                worldedit.*: true
                worldguard.*: true
                xwarp.*: true
                nocheat.*: true
                permissionsbukkit.*: true
                mchat.prefix.cfc9Operatorcfc9: true
                permissions.build: true
        Artist:
            permissions:
                worldedit.navigation.*: true
                essentials.back: true
                essentials.spawn: true
                essentials.getpose: true
                essentials.compass: true
                essentials.help: true
                essentials.home: true
                essentials.list: true
                essentials.motd: true
                essentials.msg: true
                essentials.ping: true
                essentials.kit.tools: true
                essentials.kit: true
                essentials.god: true
                essentials.heal: true
                essentials.suicide: true
                essentials.rules: true
                essentials.weather: true
                essentials.time: true
                essentials.time.*: true
                essentials.sethome: true
                preciousstones.benefit.*: true
                preciousstones.whitelist: true
                essential.signs.trade.use: true
                essentials.signs.disposal.use: true
                essentials.signs.disposal.create: true
                mobrider.*: true
                herochat.color: true
                xwarp.sign.to.*: true
                xwarp.to.*: true
                nocheat.moving: true
                xwarp.world.within.*: true
                xwarp.world.to.*: true
                craftbook.*: true
                essentials.tp: true
                warp.command.list: true
                mchat.prefix.cfc5Artistcfc5: true
                permissions.build: true
                xwarp.create.private: true
                xwarp.edit.invite.*: true
        Architect:
            permissions:
                craftbook.*: true
                essentials.afk: true
                essentials.back: true
                essentials.clearinventory: true
                essentials.compass: true
                essentials.getpose: true
                essentials.god: true
                essentials.help: true
                essentials.home: true
                essentials.heal: true
                essentials.item: true
                essentials.jump: true
                essentials.kit: true
                essentials.kit.tools: true
                essentials.list: true
                essentials.motd: true
                essentials.msg: true
                essentials.ping: true
                essentials.rules: true
                essentials.sethome: true
                essentials.signs.disposal.create: true
                essentials.signs.disposal.use: true
                essentials.spawn: true
                essentials.spawnmob: true
                essentials.suicide: true
                essentials.time: true
                essentials.time.*: true
                essentials.tp: true
                essentials.tphere: true
                essentials.tppos: true
                essentials.tree: true
                essentials.weather: true
                herochat.color: true
                mobrider.*: true
                movecraft.*: true
                preciousstones.whitelist: true
                xwarp.to.*: true
                xwarp.sign.to*: true
                xwarp.create.private: true
                xwarp.edit.invite.*: true
                xwarp.world.to.*: true
                xwarp.world.within.*: true
                xwarp.command.list: true
                worldedit.*: true
                mchat.prefix.cfc4Architectcfc4: true
                permissions.build: true
        Admin:
            permissions:
                craftbook.*: true
                essential.signs.buy.use: true
                essential.signs.protection.create: true
                essential.signs.protection.use: true
                essential.signs.trade.create: true
                essential.signs.trade.use: true
                essentials.back: true
                essentials.ban: true
                essentials.clearinventory: true
                essentials.compass: true
                essentials.getpose: true
                essentials.give: true
                essentials.god: true
                essentials.heal: true
                essentials.help: true
                essentials.home: true
                essentials.invsee: true
                essentials.item: true
                essentials.jump: true
                essentials.kick: true
                essentials.kill: true
                essentials.kit: true
                essentials.kit.tools: true
                essentials.list: true
                essentials.motd: true
                essentials.msg: true
                essentials.ping: true
                essentials.rules: true
                essentials.sethome: true
                essentials.signs.disposal.create: true
                essentials.signs.disposal.use: true
                essentials.spawn: true
                essentials.spawnmob: true
                essentials.suicide: true
                essentials.time: true
                essentials.time.*: true
                essentials.tp: true
                essentials.tpahere: true
                essentials.tppos: true
                essentials.tree: true
                essentials.weather: true
                essentials.whois: true
                herochat.color: true
                mobrider.*: true
                movecraft.*: true
                nocheat.moving: true
                preciousstones.admin.*: true
                preciousstones.alert.*: true
                preciousstones.benefit.*: true
                preciousstones.bypass.*: true
                preciousstones.whitelist: true
                xwarp.*: true
                xwarp.world.to.*: true
                xwarp.world.within.*: true
                xworldedit.*: true
                mchat.prefix.cfc3Admincfc3: true
                permissions.build: true
    users:
        Sum1beatu:
            permissions:
            groups:
            - Admin
        Surferdude488:
            permissions:
            groups:
            - Admin
        thought_ninja:
            permissions:
            groups:
            - Operator
        BUGZE_30:
            permissions:
            groups:
            - Admin
        Friendlyfrenzy:
            permissions:
            groups:
            - Artist
        Jack_x_:
            permissions:
            groups:
            - Mod
        OGthirteen:
            permissions:
            groups:
            - Citizen
        MrFruitTree:
            permissions:
            groups:
            - Operator
        Max_Ashworth:
            permissions:
            groups:
            - Artist
        ixi_your_face:
            permissions:
            groups:
            - Artist
        n00bz_f1rst_t1m3:
            permissions:
            groups:
            - Artist
        Alec250f:
            permissions:
            groups:
            - Artist
        yellowjacket18:
            permissions:
            groups:
            - Artist
        Flagadabob:
            permissions:
            groups:
            - Artist
    messages:
        build: '&cYou do not have permission to build here.'
    It displays the prefix the way that it should but it does not display you in your proper group or give you any permissions.
     
  15. Offline

    musky

    Hmm can i get some help please?

    I've just downloaded this I'm playing with it before i use it with the server. When a player joins the server, they are put into the default group. When i use /perm player addgroup cobr Citizen it works fine, when the player speaks they are Citizen. When i want to promote them again to Mod with /perm player addgroup cobr Mod, it tells me they have been added to Mod, but when they talk the are still Citizen.

    Here's my config...

    Code:
    users:
        cobr:
            groups:
            - default
            - Citizen
            - Mod
    groups:
        SysOp:
            permissions:
                permissions.*: true
                permissions.player.*: true
                permissions.group.*: true
                minfo.prefix.sysop: true
                minfo.prefix.admin: false
            inheritance:
        Admin:
            permissions:
                permissions.*: true
                minfo.prefix.admin: true
            inheritance:
        Mod:
            permissions:
                permissions.build: true
                minfo.prefix.mod: true
            inheritance:
        Citizen:
            permissions:
                permissions.build: true
                minfo.prefix.citizen: true
            inheritance:
        default:
            permissions:
                permissions.build: false
                minfo.prefix.guest: true
    messages:
        build: '&cMake an app on the forums to be able to build.'
    
    Our server get quite a lot of traffic, and having to /perm player removegroup cobr grouphere everytime i need a Mod is not ideal. What am i missing here?

    Also, if i give a Mod the /perm player addgroup command, how do i stop them from promoting themselves to Admin? Do this support tracks like Permissions 3.x?
     
  16. Offline

    MeoW

    So I recently changed from Permissions to PermissionsBukkit and I just have one issue. While setting this up I have been having an issue with the * wildcard. From my understanding you are able to use this but I have been unable to get it to work.

    Code:
    users:
        Rambomst:
            groups:
            - admin
        noxxy:
            groups:
            - admin
        mugan:
            groups:
            - user
        heretic1:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.build: false
                minfo.prefix.guest: true
        admin:
            permissions:
                permissions.*: true
                minfo.prefix.admin: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                general.spawn: true
                lwc.protect: true
                myhome.home.basic.home: true
                myhome.home.basic.set: true
                myhome.home.basic.delete: true
                craftbook.mech.ammeter.use: true
                craftbook.mech.bridge: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.cauldron: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.gate: true
                craftbook.mech.light-switch: true
                superpermbridge.craftbook.ic.safe.*: true
                craftbook.ic.safe.*: true
                craftbook.ic.safe: true
                worldedit.selection.*: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldguard.region.claim: true
                worldguard.region.list.*: true
                worldguard.region.info.*: true
                worldguard.region.flag.flags.pvp.owner.*: true
                worldguard.region.flag.flags.lighter.owner.*: true
                worldguard.region.flag.flags.use.owner.*: true
                worldguard.region.flag.flags.chest-access.owner.*: true
                worldguard.region.flag.flags.greeting.owner.*: true
                worldguard.region.flag.flags.farewell.owner.*: true
                worldguard.region.flag.flags.tnt.owner.*: true
                worldguard.region.flag.flags.water-flow.owner.*: true
                worldguard.region.flag.flags.lavaflow.owner.*: true
                worldguard.region.flag.flags.fire-spread.owner.*: true
                worldguard.region.flag.flags.notify-greet.owner.*: true
                worldguard.region.flag.flags.notify-farewell.owner.*: true
                worldguard.region.flag.flags.deny-spawn.owner.*: true
                worldguard.region.flag.flags.creeper-explosion.owner.*: true
                worldguard.region.flag.flags.lava-fire.owner.*: true
                minfo.prefix.user: true
            inheritance:
    messages:
        build: '&cYou do not have permission to build here.'
    As you can see with craftbook I have tried using the 3 following perms:
    Code:
    superpermbridge.craftbook.ic.safe.*: true
    craftbook.ic.safe.*: true
    craftbook.ic.safe: true
    
    It isn't working tho... So what exactly am I doing wrong?

    Yeah I have tried it without all 3 in there at once lol. I have noticed that some commands work but others don't... it is odd.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  17. Offline

    ACStache

    @MeoW if I'm not mistaken you need 'superpermbridge.' in front of all permissions that use '.*' at the end that aren't using built in Permissions yet. give that a try and see what happens
     
  18. Offline

    MeoW

    Thats what I thought but as you can see in my post at the bottom I said I have tried that :p Thanks tho lol.
     
  19. Offline

    dunst0


    thats not permission related, thats because of minfo
    the default group gets the node minfo.perfix.guest
    the Citizen group gets the node minfo.prefix.citizen

    so if you are in both groups you would have both
    so in group citizen you must set the node minfo.perfix.guest to false

    an this you have to do up to the highest rank for all prefix you use

    this should work:

    Code:
    users:
        cobr:
            groups:
            - default
            - Citizen
            - Mod
    groups:
        SysOp:
            permissions:
                permissions.*: true
                permissions.player.*: true
                permissions.group.*: true
                minfo.prefix.sysop: true
                minfo.prefix.admin: false
                minfo.prefix.mod: fale
                minfo.prefix.citizen: false
                minfo.prefix.guest: false
            inheritance:
        Admin:
            permissions:
                permissions.*: true
                minfo.prefix.admin: true
                minfo.prefix.mod: fale
                minfo.prefix.citizen: false
                minfo.prefix.guest: false
            inheritance:
        Mod:
            permissions:
                permissions.build: true
                minfo.prefix.mod: true
                minfo.prefix.citizen: false
                minfo.prefix.guest: false
            inheritance:
        Citizen:
            permissions:
                permissions.build: true
                minfo.prefix.citizen: true
                minfo.prefix.guest: false
            inheritance:
        default:
            permissions:
                permissions.build: false
                minfo.prefix.guest: true
    messages:
        build: '&cMake an app on the forums to be able to build.'
    
     
  20. Offline

    ACStache

    did you try not having all 3 variations in at once? I'm guessing you did >.> but it doesn't hurt to ask. Also, I don't think WorldGuard has updated, have you tried it in front of all of those too?

    TBH I don't actually use this, I just follow it to see how to make the config if/when I make the jump from P3.1.x
     
  21. Offline

    Celtic Minstrel

    @musky – Use setgroup instead of addgroup.

    I also notice that none of your groups are inheriting from other groups. Is that intentional?
     
  22. Offline

    musky

    Thank you, that's sorted. I have one more question. When i was using Permissions 3.x everyone in my OP.txt had access to every plugin command. However with this only some plugins give full access. For e.g Essentials gives me access to every command, even though i don't have the nodes in the config. But other plugins like MobArena and /lwc only work when i have the nodes. It's not a big issue, i can just add the nodes, but i was curious?

    Thanks for your help.
     
  23. Offline

    schemen

    Is it only me, oder does permissions.* not work ?

    idk, single permissions work, but if I write permissions.*, it doesent work
     
  24. Offline

    Fly007

    Ok. I've been running a server for a while now, but never had the need for permissions. Now that I'm trying to set it up, I have no idea what I'm really doing here.. Ive gone through and set up the permissions to the groups, then added each individual player on my server to a group, BUT, only the admins can use any commands! I've run it through a yaml parser to make sure theres no errors and it comes up fine. It loads fine in the server (no errors). But it doesnt work at all for any one not an admin.. Actually, the only thing that doesnt work for admins is /help.. I get "error: null" anyone have any ideas what im doing wrong here?

    Code:
    users:
        Fly007:
            permissions:
                permissions.*: true
            groups:
            - admin
        zxvaporxz:
            groups:
            - user
        adamgontier:
            groups:
            - user
        andyfma:
            groups:
            - user
        assistantz:
            groups:
            - user
        bga51200:
            groups:
            - user
        bow_tie:
            groups:
            - user
        cuttlefish28:
            groups:
            - user
        ench:
            groups:
            - user
        epiclolz53704:
            groups:
            - user
        explosive_ammo:
            groups:
            - user
        gamekid:
            groups:
            - user
        harrythulin6:
            groups:
            - user
        ioz:
            groups:
            - user
        jetfreak:
            groups:
            - user
        kooldawg:
            groups:
            - user
        mechatrickster:
            groups:
            - user
        mikej643:
            groups:
            - user
        mikej1209:
            groups:
            - user
        mythmonster4:
            groups:
            - user
        nekurex:
            groups:
            - user
        nakurex:
            groups:
            - user
        nmagaming:
            groups:
            - user
        thesword2:
            groups:
            - user
        turkeykittin:
            groups:
            - admin
        vame:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.build: true
        admin:
            permissions:
                permissions.*: true
                superpermbridge.*: true
                cenotaph.*: true
                essentials.*: true
                essentials.help: true
                lwc.*: true
                cenotaph.*: true
                commandbook.*: true
                worldedit.*: true
                worldguard.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
        lwc.protect: true
        cenotaph.use: true
        cenotaph.freechest: true
        cenotaph.large: true
        cenotaph.lwc: true
        cenotaph.sign: true
        cenotaph.freesign: true
        cenotaph.quickloot: true
        cenotaph.cmd.cenotaphlist: true
        cenotaph.cmd.cenotaphfind: true
        cenotaph.cmd.cenotaphtime: true
        cenotaph.cmd.cenotaphreset: true
        essentials.afk: true
        essentials.compass: true
        essentials.depth: true
        essentials.getpos: true
        essentials.help: true
        essentials.helpop: true
        essentials.helpop.receive: true
        essentials.ignore: true
        essentials.info: true
        essentials.list: true
        essentials.mail: true
        essentials.mail.send: true
        essentials.me: true
        essentials.motd: true
        essentials.msg: true
        essentials.nick: true
        essentials.msg: true
        essentials.realname: true
        essentials.rules: true
        essentials.seen: true
        essentials.suicide: true
        essentials.whois: true
        essentials.clearinventory: true
        essentials.setspawn: true
        essentials.spawn: true
        essentials.back: true
        essentials.back.ondeath: true
        essentials.home: true
        essentials.sethome: true
        essentials.top: true
        essentials.tp: true
        essentials.tpa: true
        essentials.tpaccept: true
        essentials.tpahere: true
        essentials.tpdeny: true
        essentials.tphere: true
        essentials.tpo: true
        essentials.tpohere: true
        essentials.tppos: true
        essentials.teleport.cooldown.bypass: true
        essentials.teleport.timer.bypass: true
        essentials.warp: true
        essentials.warp.list: true
        essentials.portal: true
        essentials.world: true
        essentials.signs.break.heal: true
        essentials.signs.break.warp: true
        essentials.signs.break.weather: true
        essentials.signs.create.heal: true
        essentials.signs.create.warp: true
        essentials.signs.create.weather: true
        essentials.signs.use.heal: true
        essentials.signs.use.time: true
        essentials.signs.use.warp: true
        essentials.signs.use.weather: true
        essentials.sleepingignored: true
        commandbook.who: true
        commandbook.weather: true
        commandbook.warp.teleport: true
        commandbook.warp.set: true
        commandbook.msg: true
        commandbook.whereami: true
        commandbook.whereami.compass: true
        commandbook.clear: true
        sethome: true
        inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
     
  25. Offline

    ACStache

    all the stuff in the user group after "permission.build: true" should be lined up with that.
    so:
    Code:
        user:
            permissions:
                permissions.build: true
                lwc.protect: true
                cenotaph.use: true
                cenotaph.freechest: true
                cenotaph.large: true
                cenotaph.lwc: true
                cenotaph.sign: true
                cenotaph.freesign: true
                cenotaph.quickloot: true
                cenotaph.cmd.cenotaphlist: true
                cenotaph.cmd.cenotaphfind: true
                cenotaph.cmd.cenotaphtime: true
                cenotaph.cmd.cenotaphreset: true
                essentials.afk: true
                essentials.compass: true
                essentials.depth: true
                essentials.getpos: true
                essentials.help: true
                essentials.helpop: true
                essentials.helpop.receive: true
                essentials.ignore: true
                essentials.info: true
                essentials.list: true
                essentials.mail: true
                essentials.mail.send: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.nick: true
                essentials.msg: true
                essentials.realname: true
                essentials.rules: true
                essentials.seen: true
                essentials.suicide: true
                essentials.whois: true
                essentials.clearinventory: true
                essentials.setspawn: true
                essentials.spawn: true
                essentials.back: true
                essentials.back.ondeath: true
                essentials.home: true
                essentials.sethome: true
                essentials.top: true
                essentials.tp: true
                essentials.tpa: true
                essentials.tpaccept: true
                essentials.tpahere: true
                essentials.tpdeny: true
                essentials.tphere: true
                essentials.tpo: true
                essentials.tpohere: true
                essentials.tppos: true
                essentials.teleport.cooldown.bypass: true
                essentials.teleport.timer.bypass: true
                essentials.warp: true
                essentials.warp.list: true
                essentials.portal: true
                essentials.world: true
                essentials.signs.break.heal: true
                essentials.signs.break.warp: true
                essentials.signs.break.weather: true
                essentials.signs.create.heal: true
                essentials.signs.create.warp: true
                essentials.signs.create.weather: true
                essentials.signs.use.heal: true
                essentials.signs.use.time: true
                essentials.signs.use.warp: true
                essentials.signs.use.weather: true
                essentials.sleepingignored: true
                commandbook.who: true
                commandbook.weather: true
                commandbook.warp.teleport: true
                commandbook.warp.set: true
                commandbook.msg: true
                commandbook.whereami: true
                commandbook.whereami.compass: true
                commandbook.clear: true
                sethome: true
            inheritance:
                - default
    
     
  26. it still doesn't seem to have been updated. I even tried compiling the source at https://github.com/SpaceManiac/PermissionsBukkit/ like you suggested and it still doesn't update permissions when you switch worlds. :(
     
  27. Offline

    HunterAP

    The version I have works. @SpaceManiac didn't you fix this?
     
  28. any chance you could upload it somewhere for me? I would appreciate it.
     
  29. Offline

    Grrrr159

    When someone logs out on my server, I get this error:
    Code:
    2011-08-04 14:53:26 [SEVERE] Could not pass event PLAYER_QUIT to PermissionsBukkit
    java.lang.IllegalArgumentException: Attachment cannot be null
        at org.bukkit.permissions.PermissibleBase.removeAttachment(PermissibleBase.java:134)
        at org.bukkit.craftbukkit.entity.CraftHumanEntity.removeAttachment(CraftHumanEntity.java:104)
        at com.platymuus.bukkit.permissions.PermissionsPlugin.unregisterPlayer(PermissionsPlugin.java:137)
        at com.platymuus.bukkit.permissions.PlayerListener.onPlayerQuit(PlayerListener.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
        at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:117)
        at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:135)
        at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerLogin(WorldGuardPlayerListener.java:124)
        at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:452)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:362)
     
  30. Offline

    Marco van Dijk

    I don't seem to get the permissions for plugins that use the permissionsplugin when i use either the superpermbridge.*: true or the superpermsbridge.*: true nodes. I have both permissionsbukkit and the superpermbridge plugins installed!
     
  31. Offline

    midget_3111

    Yup, I tried compiling the source today to with no luck, have spoken to SpaceManiac on IRC, and he says it'll be added to Github soon :)
     

Share This Page