[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

    Massimo1993

    uff i receive this error you don't have access to go here
     
  3. Offline

    brnr72

    If this is going to be the default plugin for permissions, there needs to be one heck of a push on PROPER DOCUMENTATION. I'm in no rush to unload my permissions 3 until I know this thing is ready for the show.
     
  4. Offline

    Massimo1993

    no sry the plugin work but i have this error: you don't have access to go here

    from another plugin but i don't now why(i've edited the post)
     
  5. Offline

    Jarwain

    Show Spoiler
    2011-08-30 09:31:33 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    Show Spoiler

    2011-08-30 09:31:33 [SEVERE] Could not load 'plugins\PermissionsBukkit-1.2.jar' in folder 'plugins':
    while scanning a simple key
    in "<reader>", line 36, column 5:
    Bigzom25
    ^
    could not found expected ':'
    in "<reader>", line 37, column 15:
    groups:
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:536)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:450)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Why is this error occuring? It disables permissions completely. :d

    nevermind. Turns out, I omitted a : in one of the admin names. Makes the whole plugin not work.
     
  6. Offline

    Cirmius

    I write cmd /permissions group setperm admin home true but error with permissions apperas again. What i did bad?
     
  7. Offline

    WarhawkXeroFire

    Done it before - that was just what the config was at that time. I quit trying and went back to Permissions 3 until this mess of a permissions system gets sorted. I may try it locally, but on our server with MCMA, it was not happy - not even giving me permission to run simple commands through MCMA or the console.
     
  8. Offline

    afmiller

    I just switched over from Permissions to PermBukkit. How do I go about editing my settings inside Permissions to use the old plug ins? I've tried putting the codeing in the new file, but I get errors. I have Superbridge on the server as well
     
  9. Offline

    Showhung

    Hello i dont have permission on my server, what are wrong in this config?
    Code:
    users:
        Showhung:
            info:
                prefix: '&4'
            groups:
            - Admins
            permissions:
            - -derp.derp{}
        Netsroht:
            info:
                prefix: '&4'
            groups:
            - Admins
            permissions:
            - -derp.derp{}
        Tabboss:
            info:
                prefix: '&4'
            groups:
            - Admins
            permissions:
            - -derp.derp{}
        SynthaxxLP:
            info:
                prefix: '&4'
            groups:
            - Admins
            permissions:
            - -derp.derp{}
    groups:
        Default:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: false
            permissions:
                - 'foo.bar'
                - 'buttonwarp.use'
                - 'buttonwarp.getreward'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'CommandIConomy.Free'
                - 'petition'
        stan:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'buttonwarp.use'
                - 'buttonwarp.getreward'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'CommandIConomy.Free'
                - 'iConomyBank.bank'
                - 'regionmarket.sell'
                - 'regionmarket.offer'
                - 'regionmarket.accept'
                - 'regionmarket.remove'
                - 'regionmarket.list'
                - 'ChestShop.shop.*'
                - 'petition'
                - 'mcmmo.regeneration'
                - 'mcmmo.item.chimaerawing'
                - 'hungry.player.*'
                - 'bandages.use'
                - 'herobounty.new'
                - 'herobounty.accept'
                - 'herobounty.locate'
                - 'herobounty.list'
        Const:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'falsebook.blocks.*'
                - 'falsebook.cart.*'
                - 'falsebook.ic.standard'
                - 'falsebook.ic.detection'
                - 'falsebook.ic.selftriggered'
        Wiz:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'runecraft.rune.*'
        Dri:
            default: false
            info:
                prefix: '&6'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'movecraft.*'
        Thi:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'mcmmo.skills.acrobatics'
                - 'mcmmo.skills.unarmed'
                - 'mcmmo.ability.unarmed'
                - 'PickPocket.use'
                - 'thief.dmg'
        Ber:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'mcmmo.ability.axes'
                - 'mcmmo.skills.axes'
                - 'mcmmo.skills.woodcutting'
                - 'mcmmo.skills.acrobatics'
                - 'mcmmo.ability.woodcutting'
                - 'ber.iron'
                - 'ber.dia'
        Hun:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'mcmmo.skills.acrobatics'
                - 'mcmmo.skills.herbalism'
                - 'mcmmo.ability.herbalism'
                - 'mcmmo.skills.archery'
                - 'mcmmo.skills.taming'
        Min:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'mcmmo.skills.mining'
                - 'mcmmo.skills.repair'
                - 'mcmmo.skills.excavation'
                - 'mcmmo.skills.acrobatics'
                - 'min.iron'
                - 'min.dia'
        Swo:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'mcmmo.ability.swords'
                - 'mcmmo.skills.swords'
                - 'door.shield'
                - 'swo.iron'
                - 'swo.dia'
        preMod:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - '-foo.test'
                - 'falsebook.blocks.*'
                - 'falsebook.cart.*'
                - 'falsebook.ic.standard'
                - 'falsebook.ic.detection'
                - 'falsebook.ic.selftriggered'
                - 'buttonwarp.use'
                - 'buttonwarp.getreward'
                - 'runecraft.teleport'
                - 'runecraft.rune.*'
                - 'movecraft.*'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'CommandIConomy.Free'
                - 'regionmarket.sell'
                - 'regionmarket.offer'
                - 'regionmarket.accept'
                - 'regionmarket.remove'
                - 'regionmarket.list'
                - 'ChestShop.shop.*'
                - 'petition.moderate'
                - 'petition.warp-to-own-if-assigned'
                - 'PickPocket.protected'
                - 'worldedit.generation.forest'
        Mod:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
        SuMod:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - '*'
     
  10. Offline

    Anthony45654

    I'm currently using Permissions 3.X so would it be easy to convert all the nodes and stuff from Permissions 3.X to PermissionsBukkit? Can someone tell me how I can do that?
     
  11. Offline

    astrong1984

    It looks like I am not the only one with this problem. I need to add world perms to my yml file. I would like world edit to be usable on one world, but not on the others. Maybe I am not using proper syntax. Has anyone successfully been able to accomplish this?And yea, my world is actually called 'Creative'. And in case I am unable to use the '*' node, InstaBreak doesn't work unless I am an OP.

    Also, is the '*' node still broken?

    Thanks... And here is my config file.

    Code:
    users:
        astrong1984:
            groups:
                Moderator
            permissions:
            instabreak.toggle: true
            essentials.time true
            simpletime.* true
        Sonofbeast:
            groups:
            - Moderator
            permissions:
            essentials.time: true
            simpletime.*: true
        Sammichhammer:
            groups:
            - Moderator
            permissions:
        Timmy8909:
            groups:
            - Moderator
        Melilt:
            groups:
            - Moderator
        c4sobe:
            groups:
            - Moderator
    groups:
        default:
            permissions:
                help.*: true
                cenotaph.use: true
                cenotaph.freechest: true
                cenotaph.lockette: true
                cenotaph.sign: true
                cenotaph.freesign: true
                cenotaph.quickloot: true
                lc.level.*: true
                lc.shout: true
                multiverse.access.*:true
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - Moderator
        Moderator:
            permissions:
                BetterShop.user.*: true
                essentials.weather: true
                essentials.spawn: true
                essentials.help: true
                essentials.motd: true
                essentials.sethome: true
                essentials.home: true
                essentials.tpaccept: true
                essentials.tpa: true
                essentials.tpahere: true
                essentials.tpadeny: true
                essentials.suicide: true
                essentials.rules: true
                essentials.balance: true
                permissions.build: true
            worlds:
                creative:
                    essentials.*: true
                    WorldEdit.*: true
                    instabreak.toggle: true
                    bettershop.*:false
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
     
  12. Offline

    Anthony45654

    I'm trying to use PermissionsBukkit right now and all I did was copy and paste all the permission node from Permissions 3.X but nothing is working. Can someone please help? Here is how I set it up in the config.yml file:
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
        BobDoe:
            permissions:
                permissions.build: true
            groups:
            - super moderator
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        super moderator:
            permissions:
                permissions.build: true
                modplugin.ban: true
                modplugin.kick: true
                modplugin.unban: true
                modplugin.mute: true
                lwc.mod: true
                worldguard.god: true
                worldguard.ungod: true
                bb.admin.info: true
                bb.admin.rollback: true
                falsebook.blocks.*: true
                mcmmo.skills.taming: true
                mcmmo.skills.mining: true
                mcmmo.skills.woodcutting: true
                mcmmo.skills.unarmed: true
                mcmmo.skills.archery: true
                mcmmo.skills.herbalism: true
                mcmmo.skills.excavation: true
                mcmmo.skills.swords: true
                mcmmo.skills.axes: true
                mcmmo.skills.acrobatics: true
                mcmmo.ability.herbalism: true
                mcmmo.ability.excavation: true
                mcmmo.ability.unarmed: true
                mcmmo.ability.mining: true
                mcmmo.ability.axes: true
                mcmmo.ability.swords: true
                mcmmo.ability.woodcutting: true
                modtrs.mod: true
                modtrs.command.check: true
                modtrs.command.complete: true
                modtrs.command.complete.override: true
                modtrs.command.teleport: true
                modtrs.command.modlist: true
                modtrs.command.modreq: true
                ChestShop.mod: true
                ChestShop.shop.*: true
                mh.home: true
                mh.sethome: true
                mh.deletehome: true
                lottery.buy: true
                jail.command.jail: true
                jail.command.unjail: true
                FullChest.SetupChest: true
                FullChest.SetupDispenser: true
                jh.whp.warpplayer: true
                jh.whp.warphere: true
                jh.whp.warpto: true
                simplemod.mute: true
                simplemod.mute.temp: true
                simplemod.unmute: true
                simplemod.ban: true
                simplemod.ban.temp: true
                simplemod.unban: true
                simplemod.kick: true
                simplemod.ipban: true
                jobs.join.*: true
                jobs.world.*: true
                jh.whp.events: true
                prekick.*: true
                essentials.itemspawn.item-all: true
                essentials.give.item-all: true
                essentials.afk: true
                essentials.list: true
                essentials.msg: true
                essentials.pay: true
                essentials.rules: true
                signs.create.protection: true
                signs.create.trade: true
                signs.break.protection: true
                essentials.signs.break.trade: true
                essentials.back: true
                essentials.signs.use.balance: true
                essentials.signs.use.buy: true
                essentials.signs.use.disposal: true
                essentials.signs.use.free: true
                essentials.signs.use.heal: true
                essentials.signs.use.mail: true
                essentials.signs.use.protection: true
                essentials.signs.use.sell: true
                essentials.signs.use.time: true
                essnetials.signs.use.trade: true
                essentials.signs.use.warp: true
                essentials.signs.use.weather: true
                essentials.spawn: true
                essentials.home: true
                essentials.compass: true
                essentials.itemspawn.item-all: true
                essentials.give.item-all: true
                essentials.*: true
                essentials.sethome: true
                worldedit.*: true
                towny.town.new: true
                towny.town.claim: true
                towny.town.resident: true
                towny.nation.new: true
                towny.town.plot: true
                towny.top: true
                towny.wild.build: true
                towny.wild.destroy: true
                towny.wild.switch: true
                towny.wild.item_use: true
                towny.wild.block.[block id]: true
                vanish.vanish: true
                vanish.list: true
                vanish.dont.hide: true
                vanish.nopickup: true
                vanish.nopickup.list: true
                vanish.noaggromobs: true
                administrate.allmessages: true
                administrate.stealth: true
                administrate.adminmode: true
                administrate.adminmode.heal: true
                administrate.adminmode.tp: true
                administrate.return: true
                administrate.status: true
                administrate.fakelog: true
                administrate.heal: true
                administrate.tp: true
                godPowers.die: true
                godPowers.slay: true
                godPowers.jesus: true
                godPowers.heal: true
                godPowers.maim: true
                godPowers.inferno: true
                godPowers.superjump: true
                godPowers.zeus: true
                godPowers.gaia: true
                godPowers.vulcan: true
                godPowers.demigod: true
                godPowers.commands: true
                godPowers.godtools: true
                godPowers.hades: true
                iConomy.access: true
                iConomy.bank.access: true
                iConomy.bank.deposit: true
                iConomy.bank.join: true
                iConomy.bank.join.multiple: true
                iConomy.bank.leave: true
                iConomy.bank.list: true
                iConomy.bank.main: true
                iConomy.bank.main.change: true
                iConomy.bank.main.set: true
                iConomy.bank.main.view: true
                iConomy.bank.transfer: true
                iConomy.bank.transfer.multiple: true
                iConomy.bank.withdraw: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
                towny.spawntp: true
                towny.publicspawntp: true
                nocheat.speedhack: true
                nocheat.moving: true
                nocheat.flying: true
                nocheat.fakesneak: true
                nocheat.fastswim: true
                nocheat.airbuild: true
                nocheat.bogusitems: true
                nocheat.nuke: true
                nocheat.infinitedurability: true
                nocheat.notify: true
                stargate.use: true
                dreamland.nowakeup: 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.'
    
     
  13. Offline

    Expatcat

    Well, I discovered you can do it all through mChat. Just a bit more complicated.
     
  14. Offline

    musicin3d

    Ummmm …… MultiWorld?
     
  15. Offline

    krinsdeath

    I give up.

    If any of you read the initial post (and, PERHAPS) expanded the "Configuration" spoiler, you'd see A WORKING EXAMPLE of multiworld permissions. Not only that, but the EXACT SAME FILE is propagated to your plugins directory when PermissionsBukkit is started for the first time.

    THIS IS NOT QUANTUM PHYSICS. I realize that a large number of users are not native English speakers. This is acceptable, and perhaps even forgivable, but the lack of effort to comprehend even the simplistic parts of this plugin is astounding.

    Post issues on the BukkitDev tracker. I will read, respond to, and perhaps solve them. I will no longer offer support in this thread.
     
    midget_3111 and Mathew Alden like this.
  16. Offline

    SpaceManiac

    Yeesh, alerts break down on me and there's 4 pages of replies... I'll read over them and see what needs my attention.
     
  17. Offline

    Cirmius

    Thanks for help, pffff >_>
     
  18. Offline

    astrong1984

    Lack of effort? Wow... I have about 30 tabs open in my browser. I have spent about 10 hours (literally) trying to figure out how to use this plugin. I never had ANY issues with Permissions 3.x (other than it no longer working). I am not a programmer. I am also not unwilling to learn to write permissions. But if I have to learn how to program the damn plugin, I might as well learn how to program and write my own.
     
  19. Offline

    SpaceManiac

    Regarding your problem, you have a few missing colons between node name and value, and a few missing spaces between the colon and the value; fix that and the individual user permissions not being indented properly and you may get things working.
     
  20. Offline

    astrong1984

    Or... I just downloaded bPermissions. WAY better. Super easy to use.
     
    Cirmius likes this.
  21. This mod just doesn't work... I've been dealing with all kinds of permissions mods for a long time now and they all worked until I got to this one, your in game interface even tells me that so and so has a specific permission and yet they can't use it. Your plugin gives all permissions to Admins and no permissions to anyone else even though it says in game they do have the permissions they are supposed.
     
  22. compatible with 1060?
     
  23. Offline

    Cirmius

    You're right bro
     
  24. Offline

    brnr72

    Nice. :mad:
     
  25. Offline

    Boltblaster

    I've also had issues. The most important one is some plugins default to OP and refuse to be superpermbridged, like worldguard and worldedit. I'm almost giving up on this. Fakeperms doesn't seem to work well, and some permissions refuse to work, even when I do supermermbridge.permission = true AND permission = true. Please make FakePerm support 3.1.x. Mods being the same as admins is ridiculous, and getting around * permissions on new plugins can be furstrating. I understand that what you try to do is hard, but I also realise it would be much easier if you officialised Permissions 3.1.x and went on from there... In short, what I meant to say is: Make Fakeperms work for Perm 3.1.x plugins and merge superpermbridge into the plugin so you can have * nodes. Thank you.
     
  26. Offline

    musicin3d

    So the general consensus is …. "not ready for release" ?
     
  27. Offline

    Drength

    If I understand it right, the default group must be called default. I think this would make a good FAQ item so idiots like me don't get so confused. :)
     
  28. Offline

    zenyl

    Per-world permissions doesn't seem to work as they should...
    Code:
        default:
            permissions:
                *permissions...*
                dc.give.self: true
            worlds:
                main:
                    dc.give.self: true
                flatlands:
                    dc.give.self: false
            inheritance:
    Allows "default"'s to give themselves items everywhere
    Code:
        default:
            permissions:
                *permissions...*
                dc.give.self: true
            worlds:
                main:
                    dc.give.self: false
                flatlands:
                    dc.give.self: true
            inheritance:
    Does NOT allow "default"'s to give themselves items ANYWHERE

    What i want them to be able to is, to give themselves items in flatlands (world)
     
  29. Offline

    Heliwr

    I'm seeing a lot of hate in here, so I thought it might be refreshing to hear from someone for whom the plugin is working as expected. I am using the 1.2 build provided by krinsdeath with a four world setup (permissions differing by world) and I think dev build #26 of superpermsbridge. My prefixes are working properly with the bInfo and bChat plugins, and all of my other plugins are working fine with either superperms or the superpermsbridge. Maintaining the configurations is also much easier now - one file versus the ten I had to touch under permissions3.x. Losing track of permissions during reloads is annoying, but that is a problem that can be somewhat mitigated by restricting testing plugin updates/changes on a test server.

    Thanks for making this very simple and effective plugin available.

    ps. for those having trouble getting this to work with recent dev builds of WE/WG, edit wepif.yml to set both ignore-nijiperms-bridges and dinnerperms to false, and use the superpermbridge nodes to assign permissions.
     
  30. Offline

    cr0sis

    +1 more who gave up on this after trying for several hours getting it to work (and I'm more than experience enough with yml etc).

    Moved over the bPermissions as someone already said to. Didn't have one single problem setting that up.
     
  31. Offline

    Massimo1993

    @SpaceManiac
    the version 1.2k don't work, i set all perm but in game say: you don't have acess
     

Share This Page