[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

    Pim1234

    any chance on multiworld support?

    one of the many things refraining me from using this plugin and stick to permissions 3.1.4 for as long as possible...
     
  3. Offline

    ZerothAngel

    Not talking about giving permissions to groups, that works fine and is handled by PermissionsBukkit.

    The Permissions 2/3 methods to determine what groups a player is in or whether or not they are in a group are just stubs in SuperpermsBridge. So any plugin using Permissions 2/3 (via SuperpermsBridge) can't really test group membership.
     
  4. Offline

    darkcloud784

    You should add a group changing API so OKB3 (Bulletin Board Bridge) will work with this.
     
  5. Offline

    8Keep

    Code:
    09.09 11:18:26 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09.09 11:18:26 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    09.09 11:18:26 [Server] INFO    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
    09.09 11:18:26 [Server] INFO    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
    09.09 11:18:26 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
    09.09 11:18:26 [Server] INFO    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    09.09 11:18:26 [Server] INFO    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    09.09 11:18:26 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:450)
    09.09 11:18:26 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    09.09 11:18:26 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    09.09 11:18:26 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    09.09 11:18:26 [Server] INFO    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
    09.09 11:18:26 [Server] INFO    at java.util.jar.JarFile.<init>(JarFile.java:116)
    09.09 11:18:26 [Server] INFO    at java.util.jar.JarFile.<init>(JarFile.java:152)
    09.09 11:18:26 [Server] INFO    at java.util.zip.ZipFile.<init>(ZipFile.java:141)
    09.09 11:18:26 [Server] INFO    at java.util.zip.ZipFile.<init>(ZipFile.java:211)
    09.09 11:18:26 [Server] INFO    at java.util.zip.ZipFile.open(Native Method)
    09.09 11:18:26 [Server] INFO java.io.FileNotFoundException: plugins/PermissionsBukkit-1.2.jar (Permission denied)
    09.09 11:18:26 [Server] SEVERE Could not load 'plugins/PermissionsBukkit-1.2.jar' in folder 'plugins':
    
    I am getting that error every time i start the server. I am using craftbukkit build 1060, do i have to downgrade to 1000 to get this to work?
     
  6. Offline

    Celtic Minstrel

    @Pim1234 – There's already multiworld support...
     
  7. Offline

    Nipper

    Yea the SLB is the group name I use. It stands for SkylandsBuilder.
     
  8. Offline

    Pim1234

    lol sorry, missed it i think :(
     
  9. Offline

    JoeRay

    Please add a group changing API if you can.
     
  10. Offline

    Robertof

    Just assign the right permissions to the PermissionsBukkit-1.2.jar.
    This could be done by running a chown -R bukkit_user_name plugins/ from your root user.
     
  11. how to create a group that can not build and destroy but can use plates, doors, etc.
     
  12. Offline

    8Keep

    What do you mean by that? sorry im not an advanced user.
     
  13. Offline

    TheNewDiRT

    [​IMG]

    So, that "||||||||" or anything, what is it??? Pls help!!
     
  14. Offline

    ACStache

    @TheNewDiRT it looks like a plugin that shows your health on the chat bar next to your name. Did you install any plugins like that recently?
     
  15. Offline

    TheNewDiRT

    Not really!

    Thanks its solvd, in mchat there is a healthbar, and now im turned it off :) Thanks for the helth idea :D!! Ur god!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  16. Offline

    FrAz

    Hey, Sorry if this has been asked already:
    I'm having trouble even placing blocks. No error comes up, no message, nothing.
    Coming from Permissions 3.x this is strange, and a lot more difficult then I would have wanted. Help would be appreciated, thanks.
    I'm running Windows 7 x64 with Bukkit RB 1060. I am full admin with permissions.build: true and OP.
    Plugins:
    Code:
    Citizens, Craftbook, Essentials, MagicCarpet, MCDocs, mChat,  MobDisguise, MultiInv, Multiverse, PermissionsBukkit, RankUp,  SimpleSave, World Edit, World Guard.
    All plugins are up to date as of when I'm posting this, and I tried putting a craftbook cauldron node as that has fixed block placing issues in the past, but it didn't work, I also tried removing craftbook temporarily and I still can't place, I think its something wrong in my config but can't figure it out.
    Here are my configs.
    (I use Notepad++, by the way, and have a lot of experience, and keep in mind these don't have a lot in them because I just started "fresh" with this plugin.)
    PermissionsBukkit Config:
    Show Spoiler

    Code:
    users:
        Frazimuth:
            permissions:
                permissions.*: true
            groups:
            - Admin
    groups:
        Admin:
            permissions:
                mchat.custVar.Admin: false
                mchat.prefix.Admin: true
                mchat.suffix.Admin: false
                permissions.build: true
                permissions.*: true
            inheritance:
            - user
        Mod:
            permissions:
                mchat.custVar.Mod: false
                mchat.prefix.Mod: true
                mchat.suffix.Mod: false
                permissions.build: true
            inheritance:
            - user
        VIP:
            permissions:
                mchat.custVar.VIP: false
                mchat.prefix.VIP: true
                mchat.suffix.VIP: false
                permissions.build: true
            inheritance:
            - user
        Builder:
            permissions:
                mchat.custVar.Builder: false
                mchat.prefix.Builder: true
                mchat.suffix.Builder: false
                permissions.build: true
            inheritance:
            - user
        Default:
            permissions:
                mchat.custVar.Default: false
                mchat.prefix.Default: true
                mchat.suffix.Default: false
                permissions.build: true
            inheritance:
            - user
        Newb:
            permissions:
                mchat.custVar.Newb: false
                mchat.prefix.Newb: true
                mchat.suffix.Newb: false
                permissions.build: false
            inheritance:
            - 
        default:
            permissions:
                permissions.build: false
    
    messages:
       build: '&cYou do not have permission to build here.'
    

    mChat Config:
    Show Spoiler

    Code:
    mchat-join-message: has joined the game.
    mchat-date-format: HH:mm:ss
    auto-Changed: 1
    mchat-API-only: false
    mchat-name-format: +p+dn+s&e
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from the game for +r.
    mchat-message-format: '+W+p+g +s+n&f: +message'
    mchat-leave-message: has left the game.
    

    mChat Info Config:
    Show Spoiler

    Code:
    groupnames:
        Admin: ''
        Mod: ''
        VIP: ''
        Builder: ''
        Default: ''
        Newb: ''
    mchat:
        custVar:
            Admin: ''
            Mod: ''
            VIP: ''
            Builder: ''
            Default: ''
            Newb: ''
        prefix:
            Admin: '&a<Admin>'
            Mod: '&b<Mod>'
            VIP: '&e<VIP>'
            Builder: '&3<Builder>'
            Default: '&f<Default>'
            Newb: '&7<Newb>'
            
        suffix:
            Admin: ''
            Mod: ''
            VIP: ''
            Builder: ''
            Default: ''
            Newb: ''
    worldnames:
    *prefer not to show* (normal config just added my own worlds and prefix's work fine)
    

    I hope this is enough information to resolve this, and it took awhile to type all of this up so would be appreciated if someone could help, please. Thanks again.
     
  17. Offline

    heeelp4

    Can someone make a video how to use the permissionsbukkit config.yml file. also i when i added me to build, i could destroy stuff but i can't build.
     
  18. Offline

    timetoslide

    HTML:
    users:
        timetoslide:
            permissions:
    
            groups:
            - default
        themone:
            permissions:
            permissions.build: true
            groups:
            - admin
        1337lucas:
            permissions:
            permissions.build: true
            groups:
            - admin
        ryanyeo2:
            groups:
            - user
    groups:
        default:
            permissions:
                admincmd.server.motd: true
                admincmd.server.help: true
                admincmd.server.news: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                cf.display: true
                worlds:
                    world:
                        permissions.build: true
                    survival:
                        permissions.build: false
        admin:
            permissions:
                permissions.build: true
                mchat.custVar.admin: true
                mchat.prefix.admin: true
                admincmd.*: true
                permissions.*: true
                nocheat.*: true
                classranks.admin.admin: true
                remexp.exp: true
                cf.allowfly: true
                cf.allowcheat: true
                multiverse.core.*: true
                superpermbridge.plugin.*: true
    
                worlds:
                    survival:
                        permissions.build: true
     
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                admincmd.server.motd: true
                admincmd.server.help: true
                admincmd.server.news: true
                mchat.prefix.user: true
                mchat.custVar.user: true
                mchat.prefix.default: false
                multiverse.core.tp.self: true
                multiverse.core.tp.other: true
                multiverse.core.list.worlds: true
                multiverse.access.*: true
                cf.display: true
                warp.list: true
            worlds:
                world:
    
                creative:
                    coolplugin.item: true
     
            inheritance:
            - default
    messages:
        build: ''
    debug: false
    hello, can someone please tell me why the "default group can still build in the skylands?"
     
  19. Offline

    ZerothAngel

    permissions.build defaults to true. You should move it out of the world-specific section and set it to false. Then set it true for worlds where you allow them to build:

    Code:
        default:
            permissions:
                permissions.build: false
                admincmd.server.motd: true
                admincmd.server.help: true
                admincmd.server.news: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                cf.display: true
                worlds:
                    world:
                        permissions.build: true
    
     
  20. Offline

    FrAz

    can anyone answer my question above?
     
  21. Offline

    darkcloud784

    I haven't seen the dev answer any questions for quite a while. People are still asking for a group changing API.
     
  22. Offline

    FrAz

    :(
    Best to wait until 1.8 bukkit rb then and start fresh... again...
     
  23. Offline

    darkcloud784

    Pretty much, of course a bukkit already has a 1.8 version in the works.
     
  24. Offline

    yamashi

    Nothing works with this plugin, all it did is mess up my server and my brain.
    Always getting that I don't have permissions to do anything even from the console !

    Thanks for wasting my time
     
  25. Offline

    darkcloud784


    Then your not using it right, this is just a permissions bridge. It uses the default bukkit permissions that were implemented into bukkit. The only quarel I have with this bridge is that it doesnt have a good API to access with anything. It's very basic and requires ALOT of work to hook into if your trying to do anything with groups due to it not having a group API.
     
  26. Offline

    krinsdeath

    Okay.

    @timetoslide - Your indentations are wrong. "worlds:" should be on the same indentation level as "permissions:" Change this, and it will be fixed.

    @darkcloud784 - This plugin is not intended to be hooked. Groups are just an arbitrary name for the collections of permissions nodes (or "groupings") that this plugin offers. A group API would complicate and defeat the purpose of Permissions API, but I believe SpaceManiac is working on a solution for this problem.

    @yamashi - That is a problem with Spout, and not this plugin. Spout (pre-262) wipes all permissions attachments and causes everything to explode, and as a result is completely unusable with this plugin.

    @FrAz - Your groups are all inheriting from a nonexistent group "user," and your "Newb" group is inheriting from an empty group. As for the mysterious "cannot build," I can only guess that you're attempting to build too close to your spawn point. Move a few blocks (20-50) from Spawn, and try to build there. If this works, and you want to build on spawn, open 'bukkit.yml' in your server root and change spawn-protection to 0, build your things, and then restart the server with spawn-protection back at 16.

    If, however, moving away from spawn DOES NOT work, please give me the exact version numbers of your plugins (especially Essentials, WorldGuard, CraftBook and PermissionsBukkit), which can be most easily obtained by sending me a copy of your server.log startup (from the recipe count all the way to the finish of the startup sequence).
     
    FrAz likes this.
  27. Offline

    FrAz

    @krinsdeath
    Thanks for the response. 2 things,
    1. What do I put in place of "user"? The config instructions confused me.
    2. Moving away from spawn didn't fix it, and I've never had issues building near spawn before as I'm OP and spawn-protection is 0 afaik. log here:
    Show Spoiler

    Code:
    156 recipes
    16 achievements
    2011-09-11 19:38:50 [INFO] Starting minecraft server version Beta 1.7.3
    2011-09-11 19:38:50 [INFO] Loading properties
    2011-09-11 19:38:50 [INFO] Starting Minecraft server on *:25565
    2011-09-11 19:38:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    2011-09-11 19:38:51 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    2011-09-11 19:38:51 [INFO] MLog clients using java 1.4+ standard logging.
    2011-09-11 19:38:51 [INFO] Preparing level "survival"
    2011-09-11 19:38:51 [INFO] Preparing start region for level 0 (Seed: -469371628199871443)
    2011-09-11 19:38:52 [INFO] Preparing start region for level 1 (Seed: 6028108192062003303)
    2011-09-11 19:38:52 [INFO] Preparing spawn area: 93%
    2011-09-11 19:38:52 [INFO] [ConsoleName] Plugin enabled.
    2011-09-11 19:38:52 [INFO] Loaded Essentials build 2.5.8 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    2011-09-11 19:38:52 [INFO] Essentials: Using config based permissions. Enable superperms in config.
    2011-09-11 19:38:52 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2011-09-11 19:38:53 [INFO] Loaded EssentialsProtect build 2.5.8 by: essentials team
    2011-09-11 19:38:53 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    2011-09-11 19:38:53 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    2011-09-11 19:38:53 [INFO] [MagicCarpet] Using Permissions.
    2011-09-11 19:38:53 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    2011-09-11 19:38:53 [INFO] Essentials: Using Permissions 2 based permissions.
    2011-09-11 19:38:53 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - Hooked into Permissions.
    2011-09-11 19:38:53 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - v10 loaded.
    2011-09-11 19:38:53 [INFO] [MobDisguise] by desmin88 version 1.6 enabled.
    2011-09-11 19:38:53 [INFO] [MultiInv] version 2.3.0 is enabled!
    2011-09-11 19:38:53 [INFO] [Multiverse-Core] - Version 2.0-b252 Enabled - By Rigby and fernferret
    2011-09-11 19:38:53 [INFO] [Multiverse-Core] - Attached to Permissions
    2011-09-11 19:38:53 [INFO] [AllPay] - Version 1.0.3 - hooked into Essentials Economy for Multiverse-Core v2.0-b252
    2011-09-11 19:38:53 [INFO] [Multiverse-Core] - Multiverse Config -- Loaded
    2011-09-11 19:38:53 [INFO] [Multiverse-Core] - World Config -- Loaded
    2011-09-11 19:38:53 [INFO] Preparing start region for level 2 (Seed: 6018673342459231050)
    2011-09-11 19:38:53 [INFO] [Multiverse-Core] Loading World & Settings - 'legit' - NORMAL
    2011-09-11 19:38:53 [INFO] Preparing start region for level 3 (Seed: -4776642559457223033)
    2011-09-11 19:38:54 [INFO] [Multiverse-Core] Loading World & Settings - 'creative' - NORMAL
    2011-09-11 19:38:54 [INFO] Preparing start region for level 4 (Seed: 840673643805316911)
    2011-09-11 19:38:54 [INFO] [Multiverse-Core] Loading World & Settings - 'skylands' - SKYLANDS
    2011-09-11 19:38:54 [INFO] [Multiverse-Core] Loading World & Settings - 'survival' - NORMAL
    2011-09-11 19:38:54 [INFO] [Multiverse-Core] Loading World & Settings - 'survival_nether' - NETHER
    2011-09-11 19:38:54 [INFO] [Multiverse-Core] 5 - World(s) loaded.
    2011-09-11 19:38:54 [INFO] [MultiVerse-NetherPortals] - Version 2.0-b208 Enabled - By Rigby and fernferret
    2011-09-11 19:38:54 [INFO] [MultiVerse-Portals] - Version 2.0-b210 Enabled - By Rigby and fernferret
    2011-09-11 19:38:55 [INFO] [MultiVerse-Portals]  10 - Portals(s) loaded
    2011-09-11 19:38:55 [WARNING] [Multiverse-Core] Portal spawn has an invalid DESTINATION!
    2011-09-11 19:38:55 [INFO] [RankUp] Loading...
    2011-09-11 19:38:55 [INFO] [RankUp] Permissions by Yeti initialized!
    2011-09-11 19:38:55 [INFO] [RankUp] Finished!
    2011-09-11 19:38:55 [INFO] SimpleSave: Parts of config file are blank, but not null. Possible errors might happen.
    2011-09-11 19:38:55 [INFO] SimpleSave: DON'T! Post this 'warning' on the thread.
    2011-09-11 19:38:55 [INFO] SimpleSave: 3.22 Initialized
    2011-09-11 19:38:55 [INFO] WorldEdit 4.6 enabled.
    2011-09-11 19:38:55 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-09-11 19:38:55 [INFO] [MultiVerse-Portals]  Found WorldEdit. Using it for selections.
    2011-09-11 19:38:55 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival) Single session is enforced.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival) TNT ignition is PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival) Lighters are PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival) Lava fire is blocked.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival) Fire spread is UNRESTRICTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: Loaded configuration for world 'survival"
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival_nether) Single session is enforced.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival_nether) TNT ignition is PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival_nether) Lighters are PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival_nether) Lava fire is blocked.
    2011-09-11 19:38:55 [INFO] WorldGuard: (survival_nether) Fire spread is UNRESTRICTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: Loaded configuration for world 'survival_nether"
    2011-09-11 19:38:55 [INFO] WorldGuard: (legit) Single session is enforced.
    2011-09-11 19:38:55 [INFO] WorldGuard: (legit) TNT ignition is PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (legit) Lighters are PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (legit) Lava fire is blocked.
    2011-09-11 19:38:55 [INFO] WorldGuard: (legit) Fire spread is UNRESTRICTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: Loaded configuration for world 'legit"
    2011-09-11 19:38:55 [INFO] WorldGuard: (creative) Single session is enforced.
    2011-09-11 19:38:55 [INFO] WorldGuard: (creative) TNT ignition is PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (creative) Lighters are PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (creative) Lava fire is blocked.
    2011-09-11 19:38:55 [INFO] WorldGuard: (creative) Fire spread is UNRESTRICTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: Loaded configuration for world 'creative"
    2011-09-11 19:38:55 [INFO] WorldGuard: (skylands) Single session is enforced.
    2011-09-11 19:38:55 [INFO] WorldGuard: (skylands) TNT ignition is PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (skylands) Lighters are PERMITTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: (skylands) Lava fire is blocked.
    2011-09-11 19:38:55 [INFO] WorldGuard: (skylands) Fire spread is UNRESTRICTED.
    2011-09-11 19:38:55 [INFO] WorldGuard: Loaded configuration for world 'skylands"
    2011-09-11 19:38:55 [INFO] WorldGuard: 3 regions loaded for 'survival'
    2011-09-11 19:38:55 [INFO] WorldGuard: 3 regions loaded for 'creative'
    2011-09-11 19:38:55 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    2011-09-11 19:38:55 [INFO] WorldGuard 5.2.2 enabled.
    2011-09-11 19:38:55 [INFO] [Citizens] Deleting outdated setting pirates.spawn.delay.
    2011-09-11 19:38:55 [INFO] [Citizens] Deleting outdated setting evil.spawn.delay.
    2011-09-11 19:38:55 [INFO] [Citizens] Loaded 0 quests.
    2011-09-11 19:38:55 [INFO] [Citizens] Permissions enabled.
    2011-09-11 19:38:55 [INFO] [Citizens] version [1.0.9c] (Odyssey) loaded
    2011-09-11 19:38:55 [INFO] [Citizens] Payment method found (EssentialsEco version: 2.2)
    2011-09-11 19:38:55 [INFO] [mChat] Permissions not found, Checking for GroupManager.
    2011-09-11 19:38:55 [INFO] [mChat] mChat version 1.7.11.1 is enabled!
    2011-09-11 19:38:55 [INFO] PermissionsBukkit v1.2 is now enabled
    2011-09-11 19:38:55 [INFO] Essentials: Using PermissionsBukkit based permissions.
    2011-09-11 19:38:55 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-11 19:38:55 [INFO] Done (0.402s)! For help, type "help" or "?"
    2011-09-11 19:38:55 [INFO] [Citizens] Loaded 3 NPCs.
    

    Thanks again, and I'll be redoing this most likely with 1.8 anyway, but its always good to solve things for future experience.
    And the warning for Multiverse-Core shouldn't have anything to do with it because it's always given it before because I just use it as a destination for other portals not an actual portal.

    Another note, in the log I have craft book taken out but the errors still persist, sorry for not noting that.
     
  28. Offline

    darkcloud784


    I completely disagree with it defeating the purpose of permissions API. Groups and Group API's are used for lots of things, they are one of the primary reasons permissions are used in the way they are. I don't know about you but I'd rather not input permission nodes on a per person basis, that would take forever!
    They may be arbitrary but having an API for them allows certain plugin developers to use permissions a lot more effectively. A lot of other permissions plugins out there have them for that very reason, as is certain plugins can not use the bukkit permissions.
    Examples are forum/registration bridges (which there are quite a few of these plugins), without the ability to change groups or define groups through permissionsbukkit they don't work at all without defining permission nodes individually which would defeat the purpose of a forum/registration bridge.
    Forgive me if I feel your wrong but thats just my input. I'm happy to hear that you are trying to develop a solution to the problem though.
     
  29. Offline

    igmikey

    any way to support prefix' and suffix to the server?
     
  30. Offline

    Darcion

    you have to use mChat and then it worked very well
     
  31. Offline

    Tigerius

    hey
    Been using this one for a month or so. But now suddenly no one have permission to build. What could this depend on? Because all the other permission is working, like tp, give. (BTW not my server, so i cant paste any console msg's). Happy for any hint
     

Share This Page