[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

    Butkicker12

    @SpaceManiac I know I aked this before but since permissions 3x is dead can someone put together a converter?
     
    iCheckPlugins likes this.
  3. Offline

    19jojo93

    Can anyone tell me please why this setup doesn't work?

    Everyone is just in group Default, and nobody has permissions to use anything at all. PLEASE help :( Cause I'm not sure if switching to PermissionsBukkit was really worth it..

    Code:
    groups:
        Admin:
            default: false
            permissions: permissions.*
            inheritance:
        Builder:
            default: false
            permissions: permissions.*
            inheritance:
        Default:
            default: true
            permissions:
                permissions.build: true
                SpawnControl.groupspawn.use: true
                jobs.join.*: true
                jobs.world.*: true
                warpy.warp: true
                warpy.list: true
                playtime.*: true
                playtime.total.*: true
                mobarena.use.join: true
                mobarena.use.leave: true
                mobarena.use.spectate: true
                mobarena.classes.*: true
                mobarena.arenas.*: true
                showcase.buy.finite: true
                showcase.buy.infinite: true
                lastlogin.self: true
                lastlogin.others: true
                iConomy.access: true
                iConomy.rank: true
                iConomy.list: true
                iConomy.payment: true
                commandbook.clear: true
                commandbook.whois.other: true
                commandbook.whois: true
                worldguard.stack: true
                commandbook.whereami.compass: true
                commandbook.kit.kits.basic: true
                commandbook.kit.list: true
                commandbook.who: true
                commandbook.say.me: true
                commandbook.motd: true
                commandbook.msg: true
                commandbook.rules: true
                commandbook.warp.teleport: true
                lwc.protect: true
                falsebook.blocks.cauldron.use: true
                falsebook.blocks.lightswitch.use: true
                falsebook.blocks.readbooks: true
                falsebook.blocks.area: true
                falsebook.blocks.hiddenswitch: true
            inheritance:
        GM:
            default: false
            permissions:
                kiwiadmin.kick: true
                commandbook.mute: true
                warnfreeze.warn: true
            inheritance:
            - VIP
        Mod:
            default: false
            permissions:
                lwc.mod: true
                commandbook.weather: true
                logblock.toolblock: true
                logblock.rollback: true
                warnfreeze.freeze: true
                worldedit.superpickaxe.area: true
                worldedit.superpickaxe: true
                worldedit.history.undo: true
                worldedit.override.bedrock: true
                worldedit.tool.replacer: true
                kiwiadmin.ban: true
                spawnmob.mspawn.allmobs: true
                commandbook.give: true
                commandbook.give.other: true
                commandbook.more: true
                commandbook.more.infinite: true
                worldguard.god: true
                worldguard.heal: true
                worldguard.heal.other: true
                commandbook.time: true
                kiwiadmin.tempban: true
                commandbook.teleport: true
                commandbook.teleport.other: true
                kiwiadmin.unban: true
                worldedit.navigation.ascend: true
                worldedit.navigation.descend: true
                worldedit.navigation.jumpto: true
                worldedit.navigation.thru: true
                cleaner.scan.items: true
                cleaner.scan.player: true
                cleaner.scan: true
                cleaner.clean: true
                cleaner.clean.force: true
                cleaner.clean.player: true
                cleaner.clean.player.force: true
                falsebook.destroy.blocks: true
                vanish.vanish: true
                vanish.dont.hide: true
                vanish.nopickup: true
                vanish.noaggromobs: true
            inheritance:
            - GM
        VIP:
            default: false
            permissions:
                showcase.finite: true
                showcase.basic: true
                falsebook.ic.standard: true
                falsebook.blocks.bridge: true
                falsebook.blocks.lift: true
                falsebook.blocks.gate: true
                falsebook.blocks.lightswitch.create: true
                falsebook.blocks.door: true
                falsebook.blocks.hiddenswitch.create: true
                commandbook.return: true
                commandbook.call: true
                TradeCraft.canMakePlayerShops: true
                ichat.color: true
                worldedit.navigation.unstuck: true
            inheritance:
            - Default
    users:
        Ahmed766:
            permissions:
                commandbook.kit.kits.donator: true
                ClothCommand.cloth: true
            groups:
            - VIP
        AlyssiaXX:
            groups:
            - Mod
            permissions:
        AnorexicFat:
            permissions:
            groups:
            - VIP
        Arcanedawn:
            permissions:
            groups:
            - VIP
        Armagedragon:
            permissions:
            groups:
            - VIP
        ChocolateGal:
            groups:
            - GM
            permissions:
        ClipTy:
            groups:
            - VIP
            permissions:
        Fabianzzz:
            groups:
            - GM
            permissions:
        GeorgeCusack3:
            groups:
            - VIP
            permissions:
        Iswantingcake:
            groups:
            - VIP
            permissions:
        Jojo261:
            groups:
            - Admin
            permissions:
        Herogx:
            groups:
            - VIP
            permissions:
        NotAFrog:
            groups:
            - GM
            permissions:
        Nuef:
            groups:
            - GM
            permissions:
        ObsidianFox:
            groups:
            - VIP
            permissions:
                commandbook.kit.kits.donator: true
                ClothCommand.cloth: true
        Okeezy:
            groups:
            - VIP
            permissions:
        Pancake_Mixx:
            groups:
            - Default
            permissions:
        RyanRawr:
            groups:
            - VIP
            permissions:
        TILlegion777:
            groups:
            - GM
            permissions:
                commandbook.kit.kits.donator: true
                ClothCommand.cloth: true
        agent00394:
            groups:
            - VIP
            permissions:
        angrypenguins:
            groups:
            - VIP
            permissions:
        attacker74:
            groups:
            - VIP
            permissions:
        bojack1225:
            groups:
            - VIP
            permissions:
        chevcx:
            groups:
            - VIP
            permissions:
        ctdmodding:
            groups:
            - Admin
            permissions:
        hiimatom:
            groups:
            - VIP
            permissions:
        isaprettycoolguy:
            groups:
            - VIP
            permissions:
        jepper87:
            groups:
            - VIP
            permissions:
            subgroups:
        jimjam2111:
            groups:
            - VIP
            permissions:
        killerred9:
            groups:
            - VIP
            permissions:
        paintedmonkeys:
            groups:
            - VIP
            permissions:
        rypa:
            groups:
            - Mod
            permissions:
        MCrypa:
            groups:
            - Mod
            permissions:
        surferdaps:
            groups:
            - VIP
            permissions:
        vinceho188:
            groups:
            - VIP
            permissions:
        zxzxzx537:
            groups:
            - GM
            permissions:
        jonnydennis10:
            groups:
            - VIP
            permissions:
        twittgoo:
            groups:
            - Mod
            permissions:
        jackrc11:
            groups:
            - VIP
            permissions:
        Griffon489:
            groups:
            - VIP
            permissions:
        Bigassmoose:
            groups:
            - VIP
            permissions:
        radioactivepb:
            groups:
            - VIP
            permissions:
        DoubleJukeFTW:
            groups:
            - VIP
            permissions:
        Ndembkoski:
            groups:
            - Default
            permissions:
        kippen12:
            groups:
            - VIP
            permissions:
        wicked9000:
            groups:
            - VIP
            permissions:
        mwchris:
            groups:
            - VIP
            permissions:
        SuperKarG:
            groups:
            - VIP
            permissions:
        dankw2:
            groups:
            - VIP
            permissions:
        Valgarous:
            groups:
            - VIP
            permissions:
        wolfpwned:
            groups:
            - VIP
            permissions:
        Wonderman290:
            groups:
            - VIP
            permissions:
                commandbook.kit.kits.donator: true
                ClothCommand.cloth: true
        acolombie:
            groups:
            - VIP
            permissions:
        Gamatosu:
            groups:
            - VIP
            permissions:
        marko556:
            groups:
            - VIP
            permissions:
        drewboi127:
            groups:
            - VIP
            permissions:
        iPunchWood:
            groups:
            - VIP
            permissions:
        ivsmallsievi:
            groups:
            - VIP
            permissions:
        IvHuddyvI:
            groups:
            - VIP
            permissions:
        UngSudd:
            groups:
            - VIP
            permissions:
        XHayaX:
            groups:
            - VIP
            permissions:
        PR3DaAt0r:
            groups:
            - VIP
            permissions:
        NomNomNinja:
            groups:
            - VIP
            permissions:
        sammy_jello:
            groups:
            - VIP
            permissions:
        Jackpot_AGE:
            groups:
            - VIP
            permissions:
        THE_BOM:
            groups:
            - VIP
            permissions:
                ClothCommand.cloth: true
                commandbook.kit.kits.donator: true
        Optic636:
            groups:
            - VIP
            permissions:
        zeroxbladex:
            groups:
            - VIP
            permissions:
        Len42:
            groups:
            - VIP
            permissions:
        sheehan102:
            groups:
            - VIP
            permissions:
        mackie1234:
            groups:
            - VIP
            permissions:
        fluffydragon559:
            groups:
            - VIP
            permissions:
        scotland02:
            groups:
            - VIP
            permissions:
        masterwashere:
            groups:
            - VIP
            permissions:
        grogster:
            groups:
            - VIP
            permissions:
        AndrewIcerelder3:
            groups:
            - VIP
            permissions:
        TheNakidNinja:
            groups:
            - VIP
            permissions:
        Grunt290:
            groups:
            - VIP
            permissions:
        Trees769:
            groups:
            - VIP
            permissions:
        Cpl_Taterz:
            groups:
            - VIP
            permissions:
        XAcexEpicX:
            groups:
            - VIP
            permissions:
        xdannnnyy:
            groups:
            - VIP
            permissions:
        Smash_Cuber:
            groups:
            - VIP
            permissions:
        stuntdog88:
            groups:
            - VIP
            permissions:
        redik12:
            groups:
            - VIP
            permissions:
        marsman12:
            groups:
            - VIP
            permissions:
        jippiedoe:
            groups:
            - VIP
            permissions:
        AndreiShade:
            groups:
            - VIP
            permissions:
        wood337:
            groups:
            - VIP
            permissions:
        Ferret5:
            groups:
            - VIP
            permissions:
        Button4:
            groups:
            - VIP
            permissions:
        JeEmGu:
            groups:
            - VIP
            permissions:
        midnightleon:
            groups:
            - VIP
            permissions:
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  4. Offline

    Nipper

    What I ment to ask was does superperms also support multi worlds?
     
  5. Offline

    Cedar

    I SERIOUSLY think there needs to be a Video tutorial on this in ENGLISH because i've tried to convert from 2.7 to this but im so used to 2.7 and cant get the gist unless i see someone else do it. Aside from that i hope people stop making other permissions plugins and ALL plugins use THIS because theres too many Permissions plugins and this is the future!
     
    19jojo93 likes this.
  6. Offline

    subarct1c

    It seems '/permissions player setgroup <name> <group>' doesn't check the persons group before letting them change a group on another player, or even themselves. An example would be to promote yourself from Moderator to Admin without any kind of check made before to see if they can promote that high. Is there some way to fix this or some way you can add the checks into the plugin? Thanks in advance!
     
  7. Offline

    Richard Scheide

    @ Celtic Minstrel

    I hope I can get this working because what I read, you have done a very nice Mod here. Also like the fact that a developer replies to questions very timely.
     
  8. Offline

    Celtic Minstrel

    @Richard Scheide – I hope you're not under the impression that I'm the developer of PermissionsBukkit. I'm just a user of it.
     
  9. Offline

    Boltblaster

    ATTENTION: This is for everyone who did the same mistake as me. If you use Superpermbridge to use plugins, for ones that are incompatible with Bukkitperms (The ones who depend on permissions 2.7,3.1 etc), you should type the permissions like so. INSTEAD of etc

    iConomy.payment:true

    you SHOULD type:

    superpermbridge.iConomy.payment: true

    There.
    Now, go read the section on the first post named 'How do I use Superpermsbrigde?'. ALL of it. Thanks :)
     
    erickingsr likes this.
  10. Offline

    Patrick94

    When i'am kicking someone

    Code:
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
    20.08 10:48:45 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
    20.08 10:48:45 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    20.08 10:48:45 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    20.08 10:48:45 [Server] INFO     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
    20.08 10:48:45 [Server] INFO     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    20.08 10:48:45 [Server] INFO     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    20.08 10:48:45 [Server] INFO     at java.lang.reflect.Method.invoke(Method.java:597)
    20.08 10:48:45 [Server] INFO     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    20.08 10:48:45 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    20.08 10:48:45 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    20.08 10:48:45 [Server] INFO     at com.sk89q.commandbook.commands.ModerationCommands.kick(ModerationCommands.java:140)
    20.08 10:48:45 [Server] INFO     at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:139)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:121)
    20.08 10:48:45 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
    20.08 10:48:45 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    20.08 10:48:45 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    20.08 10:48:45 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
    20.08 10:48:45 [Server] INFO     at com.platymuus.bukkit.permissions.PlayerListener.onPlayerQuit(PlayerListener.java:24)
    20.08 10:48:45 [Server] INFO     at com.platymuus.bukkit.permissions.PermissionsPlugin.unregisterPlayer(PermissionsPlugin.java:137)
    20.08 10:48:45 [Server] INFO     at org.bukkit.craftbukkit.entity.CraftHumanEntity.removeAttachment(CraftHumanEntity.java:104)
    20.08 10:48:45 [Server] INFO     at org.bukkit.permissions.PermissibleBase.removeAttachment(PermissibleBase.java:134)
    20.08 10:48:45 [Server] INFO java.lang.IllegalArgumentException: Attachment cannot be null
    20.08 10:48:45 [Server] SEVERE Could not pass event PLAYER_QUIT to PermissionsBukkit
     
  11. Offline

    NeatMonster

    @SpaceManiac

    Hello,

    I'm using this code to add a permission with SuperpermsBridge but it's not doing anything:
    Code:
    permissionHandler.addUserPermission(...)
    Any idea?

    Amicably, NeatMonster.
     
  12. Offline

    Richard Scheide

    No, but I appreciate your detailed response. After a lot of typing. I got my config file working. The only question I have now is.

    Can I assign a give command to an admin on a specic map. Is there a code like admin.give: true?
     
  13. Offline

    SpaceManiac

    Thanks for the report, I'll look into it.

    I'll look into it, I wrote up those methods as a "just in case" scenario and never did any testing on them at all.


    No idea why that would be happening. Could you pastebin your permissions.yml and your PB config?

    SuperpermsBridge is very minimal and is only intended to support the hasPermission and related operations. I suggest you update your plugin to use the new Permissions API directly.

    I've been very busy the past week or so, so I haven't been able to reply much, but I do read every post in the thread. A Permissions 2.7/3.x converter is coming very soon hopefully, and I plan to properly promote the dev build as soon as I get the chance.
     
  14. Offline

    NeatMonster

    I would like to use it, but does your API have addUserPermission and removeUserPermission methods?
     
  15. Offline

    mrgreaper

    permissions.yml is empty

    permissionsbukkit config http://pastebin.com/JzQQ9xNB

    help would be majorly appreciated, its rather frustrating when the console cant even add permissions lol
     
  16. Offline

    OZ4RK

    I was told and saw that there are * in permissionsbukkit.
     
  17. Offline

    efstajas

    Not really, only through the Permissions Bridge. They said via Twitter that "* is basically OP". Nodes like derp.derp.* aren't supported by this plugin, too; they only work, when the dev defines them in his plugin.yml.
     
  18. Offline

    Celtic Minstrel

    It's nothing to do with this plugin. See here for more info, as well as the Bukkit javadocs.
     
  19. Offline

    rezznov

    how would i convert this in permissons.yml
     
  20. Offline

    XZeenon

    Is there any way to change the default group people are placed when they first join the server?
     
  21. Offline

    NeatMonster

    Hum... interesting. Sorry if I was in the wrong thread.
     
  22. Offline

    grifOndOr

    Is there a tool to convert Permissions 3;16 files ? (with multiworld)

    It seems that a lot of people really need it...


    I dont want to spend 10hours to understand how this new permissions works
     
  23. Offline

    XZeenon

    I personally prefer this Permissions system over any other permission system.
     
  24. Offline

    gameswereus

    I can't get setting individual permissions to work

    Here is the player who I didn't want to have permissions (more like I was testing on.)

    Code:
        caelrock:
            groups:
            - Moderator
            worlds:
                lastlegion:
                    superpermbridge.commandbook.bans.ban: false
                LastLegion:
                    superpermbridge.commandbook.bans.ban: false
                    superpermbridge.commandbook.kick: false
    I used this in-game command /permissions player setperm caelrock LastLegion:superpermbridge.commandbook.kick false

    Now here is the rest of my permissions, that is correct and I put through http://yaml-online-parser.appspot.com/ He was able to do /ban and /kick after reloading permissions /permissions reload

    Code:
    users:
        gameswereus:
            groups:
            - Default
        xSteveHD:
            groups:
            - Moderator
        lord_epic:
            groups:
            - Moderator
        caelrock:
            groups:
            - Moderator
            worlds:
                lastlegion:
                    superpermbridge.commandbook.bans.ban: false
                LastLegion:
                    superpermbridge.commandbook.bans.ban: false
                    superpermbridge.commandbook.kick: false
        dylan_the_miner:
            groups:
            - Helper
        ipkforthelol:
            groups:
            - helper
        loltroop:
            groups:
            - helper
        ixliamhd:
            groups:
            - Lieutenant
    groups:
        Default:
            permissions:
                factions.participate: true
                factions.create: true
                factions.viewAnyPower: true
                mchat.prefix.Default: true
                mchat.suffix.Default: true
                permissions.build: true
                superpermbridge.commandbook.who: true
                superpermbridge.commandbook.msg: true
                superpermbridge.falsebook.blocks.*: true
                superpermbridge.mywarp.warp.basic.warp: true
                superpermbridge.modtrs.command.modreq: true
        Helper:
            permissions:
                superpermbridge.commandbook.mute: true
            inheritance:
            - Default
        Moderator:
            permissions:
                mchat.prefix.Moderator: true
                mchat.suffix.Moderator: true
                mchat.prefix.default: false
                mchat.suffix.default: false
                superpermbridge.commandbook.broadcast: true
                superpermbridge.commandbook.kick: true
                superpermbridge.commandbook.bans.ban: true
                superpermbridge.commandbook.bans.unban: true
                superpermbridge.logblock.rollback: true
                superpermbridge.logblock.tool: true
                superpermbridge.nocheat.*: true
                superpermbridge.commandbook.teleport: true
                superpermbridge.modtrs.mod: true
                superpermbridge.modtrs.command.ban: true
                superpermbridge.modtrs.command.unban: true
                superpermbridge.modtrs.command.check: true
                superpermbridge.modtrs.command.complete: true
                superpermbridge.modtrs.command.broadcast: true
                superpermbridge.modtrs.command.teleport: true
                superpermbridge.modtrs.command.reload: true
                superpermbridge.vanish.vanish: true
                superpermbridge.vanish.see: true
                superpermbridge.vanish.nopickup: true
                superpermbridge.vanish.nofollow: true
                superpermbridge.vanish.preventincomingdamage: true
                superpermbridge.vanish.preventoutgoingdamage: true
            inheritance:
            - Helper
        HeadMod:
            permissions:
                superpermbridge.worldedit.*: true
            inheritance:
            - Moderator
        Builder:
            permissions:
                superpermbridge.worldedit.*: true
            inheritance:
            - Default
        Lieutenant:
            permissions:
                superpermbridge.movecraft.airship: true
            inheritance:
            - Default
    debug: false
    
    @SpaceManiac :p
     
  25. Offline

    midget_3111

    To be honest, it really doesn't take long to convert from Permissions 3.16, a couple of hours of brain time, and that's it.
    It's really worth learning how the new permissions system works otherwise if you ever need to manually edit your permissions file later on, you'll be stuck and have to learn it then.
     
  26. Offline

    heeelp4

    So is this supposedto be better than permissions 3.1.5?
     
  27. Offline

    erickingsr

    Hi Folks,

    I've been working on my test server to fully transition from Permissions 2.7.4 to the new Bukkit Permissions (SuperPerms). Almost all of my plugins seem to be working great with the new permissions using the bridge. However, there is one plugin that is kicking my arse and I really can't live w/o it because it drives my server's economy: iConomy5. I know the plugin developer has abandoned iConomy5 since 953 build.

    Question: Basically, what are my options? Are there any alternatives that would allow me to transfer my database and is compatible with SuperPerms? (database is currently h2sql)... I know the plugin developer is working on iConomy6 but apparently it is bugged.... is it worth taking the risk? If so, how do I transition?

    I'm really open to any suggestions/comments! If you have iConomy5 working with the new Bukkit Permissions, please tell me how! [​IMG]

    Thanks in advance!

    Best regards,
    Eric
     
  28. Offline

    mrgreaper

    @SpaceManiac BUMP! (sorry but i really need to get this fixed)
     
  29. Offline

    olloth

    Not sure if this is a problem with PermissionsBukkit or Spout so I posted the stack trace for both of you: http://pastebin.com/0XLi3d2k

    Doesn't hurt anything as far as I can see, just throws an error.
     
  30. Offline

    Jinux

    I'm also having this issue =\
     
  31. Offline

    ADAMTT98

    How do i fix this? Bukkit 1060.

    2011-08-21 12:02:46 [Severe] Could not load 'plugins\PermissionsBukkit-1.1.jar' in folder 'plugins': java.util.zip.ZipException: error in opening Zip file
     

Share This Page