[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

    sephiroth7240

    could someone link me there config file for permissionbukkit? i dont know if im doing it right
     
  3. Offline

    uzumi

  4. Offline

    gameswereus

    I can't get people to automatically join the default group when they join! How should I fix this?

    Code:
    users:
        Specops343:
            groups:
            - General
        caelrock:
            groups:
            - architect
        tenkensa:
            groups:
            - servant
        disturbedwarrior:
            groups:
            - servant
        elmodag:
            groups:
            - servant
        lord_epic:
            groups:
            - Citizen
        dylan_the_miner:
            groups:
            - Lieutenant
        mrboss32:
            groups:
            - servant
        kityman:
            groups:
            - citizen
        icewavezero:
            groups:
            - lieutenant
        loltroop:
            groups:
            - lieutenant
        thebest9001:
            groups:
            - citizen
        duncanw:
            groups:
            - citizen
        ashour:
            groups:
            - citizen
        minerderek:
            groups:
            - citizen
    groups:
        Citizen:
            permissions:
                essentials.mail.send: true
                essentials.mail: true
                essentials.msg: true
                essentials.spawn: true
                essentials.suicide: true
                factions.participate: true
                essentials.list: true
                essentials.motd: true
                essentials.home: true
                essentials.sethome: true
                mchat.prefix.Citizen: true
                mchat.suffix.Citizen: true
                permissions.build: true
                superpermbridge.falsebook.blocks.*: true
            inheritance:
            - default
        Lieutenant:
            permissions:
                mchat.prefix.Lieutenant: true
                mchat.suffix.Lieutenant: true
                mchat.prefix.SecondLieutenant: false
                mchat.suffix.SecondLieutenant: false
                superpermbridge.movecraft.*: true
            inheritance:
            - Citizen
        Captain:
            permissions:
                mchat.prefix.Captain: true
                mchat.suffix.Captain: true
                mchat.prefix.Lieutenant: false
                mchat.suffix.Lieutenant: false
            inheritance:
            - Lieutenant
        Major:
            permissions:
                mchat.prefix.Major: true
                mchat.suffix.Major: true
                mchat.prefix.Captain: false
                mchat.suffix.Captain: false
                superpermbridge.movecraft.boat.*: true
            inheritance:
            - Captain
        LieutenantColonel:
            permissions:
                movecraft.aircraft.*: true
                mchat.prefix.LieutenantColonel: true
                mchat.suffix.LieutenantColonel: true
                mchat.prefix.Major: false
                mchat.suffix.Major: false
            inheritance:
            - Major
        Architect:
            permissions:
                mchat.prefix.Architect: true
                mchat.suffix.Architect: true
                mchat.prefix.Citizen: false
                mchat.suffix.Citizen: false
                superpermbridge.worldedit.*: true
            inheritance:
            - Citizen
        Servant:
            permissions:
                essentials.kick: true
                essentials.tempban: true
                essentials.unban: true
                essentials.ban: true
                essentials.tp: true
                essentials.teleport.cooldown.bypass: true
                essentials.teleport.timer.bypass: true
                essentials.spawn: true
                mchat.prefix.Servant: true
                mchat.suffix.Servant: true
                nocheat.flying
            inheritance:
            - Citizen
        General:
            permissions:
                superpermbridge.*: true
                mchat.prefix.General: true
                mchat.suffix.General: true
                mchat.prefix.Citizen: false
                mchat.suffix.Citizen: false
            inheritance:
            - Citizen
    


    Also can I have multiple groups inherit from one group?
     
  5. Offline

    Celtic Minstrel

    Rename the default group to "default", and yes, multiple inheritance is possible.
     
  6. Offline

    MeoW

    I am still having a lot of issues with this. Some commends seem to work without superpermbridge, others don't work without it and some just dont seem to work all together.

    This is my config.yml file:
    Code:
    users:
        Rambomst:
            groups:
            - admin
        noxxy:
            groups:
            - admin
        mugan:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.build: false
                minfo.prefix.guest: true
        user:
            permissions:
                permissions.build: true
                general.spawn: true
                lwc.protect: true
                myhome.home.basic.home: true
                myhome.home.basic.set: true
                myhome.home.basic.delete: true
                craftbook.mech.ammeter.use: true
                craftbook.mech.bridge: true
                craftbook.mech.bookshelf.use: true
                craftbook.mech.cauldron: true
                craftbook.mech.elevator: true
                craftbook.mech.elevator.use: true
                craftbook.mech.gate: true
                craftbook.mech.light-switch: true
                superpermbridge.craftbook.ic.safe.*: true
                craftbook.ic.safe.*: true
                craftbook.ic.safe: true
                worldedit.selection.*: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldguard.region.claim: true
                permissions.worldguard.region.list.*: true
                worldguard.region.info.*: true
                worldguard.region.flag.flags.pvp.owner.*: true
                worldguard.region.flag.flags.lighter.owner.*: true
                worldguard.region.flag.flags.use.owner.*: true
                worldguard.region.flag.flags.chest-access.owner.*: true
                worldguard.region.flag.flags.greeting.owner.*: true
                worldguard.region.flag.flags.farewell.owner.*: true
                worldguard.region.flag.flags.tnt.owner.*: true
                worldguard.region.flag.flags.water-flow.owner.*: true
                worldguard.region.flag.flags.lavaflow.owner.*: true
                worldguard.region.flag.flags.fire-spread.owner.*: true
                worldguard.region.flag.flags.notify-greet.owner.*: true
                worldguard.region.flag.flags.notify-farewell.owner.*: true
                worldguard.region.flag.flags.deny-spawn.owner.*: true
                worldguard.region.flag.flags.creeper-explosion.owner.*: true
                worldguard.region.flag.flags.lava-fire.owner.*: true
                minfo.prefix.user: true
                essentials.afk: true
                essentials.help: true
                essentials.info: true
                superpermbridge.essentials.mail.*: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.rules: true
                essentials.seen: true
                essentials.suicide: true
                essentials.whois: true
                worldguard.stack: true
            inheritance:
        admin:
            permissions:
                permissions.*: true
                minfo.prefix.admin: true
                superpermbridge.bb.admin.*: true
                essentials.give.*: true
                essentials.god.*: true
                essentials.item.*: true
                essentials.time.*: true
                essentials.bigtree: true
                essentials.heal.*: true
                essentials.tree: true
                essentials.spawner: true
                essentials.backup: true
                essentials.ban.*: true
                essentials.banip: true
                essentials.burn: true
                essentials.deljail: true
                essentials.ext: true
                essentials.fireball: true
                essentials.jails: true
                essentials.kick.*: true
                essentials.kill: true
                essentials.lightning: true
                essentials.mute.*: true
                essentials.setjail: true
                essentials.spawnmob: true
                essentials.tempban: true
                essentials.thunder: true
                essentials.togglejail: true
                essentials.unban: true
                essentials.unbanip: true
                essentials.weather: true
                essentials.tp: true
                essentials.tphere: true
                worldedit.superpickaxe: true
                worldedit.tool.replacer: true
            inheritance:
            - user
    messages:
        build: '&cYou do not have permission to build here.'
    
    This is my plugin list:
    Code:
    BigBrother
    CraftBook
    Dynmap
    Essentials
    LWC
    mChat
    mInfo
    MyHome
    OnlineUsers
    PermissionsBukkit
    PlgSetspawn
    SuperpermsBridge
    WorldEdit
    WorldGuard
    
    Half the Essentials commands work, half of them dont. This also is the same for WorldEdit and WorldGuard.

    The Bukkit build I am using is 1000.

    So what is the problem exactly?
     
  7. Offline

    RustyDagger

    @SpaceManiac

    Any ideas on how to help world guard out with it not getting the groups info it needs. it seems as though some thing the bridge should be handling.
     
  8. Offline

    SpaceManiac

    For the adventurous:

    I've pushed my changes to multiworld handling but since I've been so busy with other things I don't recall if there were other bugs. I've added some more error-proofing regarding the PLAYER_QUIT issue as well, including a ton of debugging messages that will provide valuable information to me regarding the actual root cause of the issue. If you're willing, please add 'debug: true' in your configuration and throw me any suspicious-looking log messages starting with "[PermissionsBukkit] [Debug]".

    I've made a dev build available with these changes until I'm sure everything's clear for a proper release - grab it at:
    http://ci.onarandombox.com/job/Perm.../target/bukkit-permissions-0.1.0-SNAPSHOT.jar.

    EDIT: Fixed another small issue, please redownload if you've already grabbed it.
     
    Boon Pek likes this.
  9. Offline

    KarnEdge

    I have PermissionsBukkit 1.1 installed and all my mods that support it are still using SuperPermBridge. :(

    [INFO] PermissionsBukkit v1.1 is now enabled
    [INFO] [mInfo] Permissions not found, Chcking for GroupManager.
    [INFO] [mInfo] GroupManager not found, using superperms.
    [INFO] [mInfo] version 1.7.2_6 is enabled!
    [INFO] [mChat] Permissions 2.7.7 found hooking in.

    I'm a little confused.


    Also, everytime I try to use PermissionsBukkit, it goes nuts:
    Show Spoiler
    Code:
    2011-08-06 02:09:01 [INFO] [CONSOLE] User 'KarnEdge' is now in group 'default'
    2011-08-06 02:09:02 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.1
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
    	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.StackOverflowError
    	at java.util.ArrayList.<init>(ArrayList.java:131)
    	at org.bukkit.util.config.ConfigurationNode.getKeys(ConfigurationNode.java:270)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(PermissionsPlugin.java:178)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(PermissionsPlugin.java:163)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(PermissionsPlugin.java:163)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(PermissionsPlugin.java:154)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.calculateGroupPermissions(PermissionsPlugin.java:231)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.calculateGroupPermissions(PermissionsPlugin.java:241)
    	at com.platymuus.bukkit.permissions.PermissionsPlugin.calculateGroupPermissions(PermissionsPlugin.java:241)
    ..... THIS LINE REPEATS 2233 times.
    2011-08-06 02:09:02 [INFO] [mChat] config.yml has been updated.[0m
    2011-08-06 02:09:02 [INFO] [31m[mChat] Config Reloaded.[0m
    2011-08-06 02:09:10 [INFO] [PLAYER_COMMAND] KarnEdge: /afk
    2011-08-06 02:09:10 [WARNING] KarnEdge was denied access to command.


    at com.platymuus.bukkit.permissions.PermissionsPlugin.calculateGroupPermissions(PermissionsPlugin.java:241)
    ^ This line is repeated 2233 times, then it starts over again.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  10. Offline

    SpaceManiac

    Please ensure you do not have any inheritance loops in your groups - that is, groups inheriting from themselves or things like group A inheriting group B which inherits group A. I'll put in some safeguards against this when I get a chance.
     
  11. Offline

    KarnEdge

    Unfortunately, I don't have any loops... that I can see at least.
    Apparently default is inheriting default. I use McMyAdmin to add the nodes and setup permissions, and under inheritance for default, I have it set to none. It seems to set the config to inherit itself.
    Show Spoiler
    Code:
    users:
        KarnEdge:
            groups:
            - default
    groups:
        default:
            permissions:
                essentials.afk: true
                essentials.compass: true
                essentials.depth: true
                essentials.getpos: true
                essentials.help: true
                essentials.helpop: true
                essentials.ignore: true
                essentials.list: true
                essentials.mail: true
                essentials.mail.*: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.rules: true
                essentials.suicide: true
                essentials.spawn: true
                essentials.home: true
                essentials.seen: true
                essentials.sethome: true
                essentials.tpaccept: true
                essentials.tpdeny: true
                essentials.signs.balance.*: true
                essentials.signs.mail.*: true
                essentials.signs.disposal.*: true
                essentials.signs.color: true
                essentials.signs.trade.use: true
                essentials.signs.warp.use: true
                essentials.signs.buy.use: true
                essentials.signs.sell.use: true
                essentials.signs.free.use: true
                mcmmo.commands.ability: true
                mcmmo.commands.whois: true
                mcmmo.commands.party: true
                mcmmo.chat.partychat: true
                mcmmo.skills.*: true
                mcmmo.ability.*: true
                lottery.buy: true
                afkkick.getmessage: true
                herobounty.new: true
                herobounty.accept: true
                herobounty.locate: true
                herobounty.list: true
                iConomy.access: true
                iConomy.list: true
                iConomy.payment: true
                iConomy.rank: true
                localshops.user.*: true
                localshops.manager.*: true
                stats.log: true
                stats.view: true
                achievements.check: true
                achievements.view.own: true
                achievements.view.list: true
                uQuest.CanDropQuest: true
                uQuest.canQuest.*: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                permissions.build: true
            inheritance:
            - default
        Moderators:
            permissions:
                mchat.prefix.Moderators: true
                mchat.suffix.Moderators: true
                mchat.prefix.default: false
                mchat.suffix.default: false
            inheritance:
            - default
        Administrators:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Administrators: true
                mchat.suffix.Administrators: true
                mchat.prefix.Moderators: false
                mchat.suffix.Moderators: false
            inheritance:
            - Moderators
    


    At the same time, mods like mChat are saying they are using Permissions 2.7.7 (SuperpermsBridge) instead of PermissionsBukkit, and both are installed.[/quote]

    @SpaceManiac
    I am going nuts. Do you have any idea what's going on here? SuperpermBridge loads first, PermissionsBukkit loads half way through all the other plugins but NO plugins will hook into PermissionsBukkit only SuperpermBridge....

    Here's my startup server log:
    Show Spoiler
    2011-08-06 03:38:30 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-06 03:38:30 [INFO] Loading properties
    2011-08-06 03:38:30 [INFO] Starting Minecraft server on *:6143
    2011-08-06 03:38:30 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-08-06 03:38:30 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    2011-08-06 03:38:30 [INFO] [mInfo] Bukkit Services instantiated.
    2011-08-06 03:38:31 [INFO] Lottery version 0.5.5 is enabled
    2011-08-06 03:38:31 [INFO] Preparing level "world"
    2011-08-06 03:38:31 [INFO] Preparing start region for level 0 (Seed: 2891837306217450610)
    2011-08-06 03:38:31 [INFO] Preparing start region for level 1 (Seed: -3000176310326648866)
    2011-08-06 03:38:32 [INFO] Preparing spawn area: 44%
    2011-08-06 03:38:32 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    2011-08-06 03:38:32 [INFO] [AutoAnnouncer] Permissions support enabled!
    2011-08-06 03:38:32 [INFO] [AutoAnnouncer] Settings Loaded (11 announces).
    2011-08-06 03:38:32 [INFO] [AutoAnnouncer] Scheduled every 20 minutes!
    2011-08-06 03:38:32 [INFO] [AutoAnnouncer] v1.3-06.25 is enabled!
    2011-08-06 03:38:32 [INFO] [AutoAnnouncer] Developed by: [Sharkiller]
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] ===== ENABLE START
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] Loading conf.txt ...
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] Wand: Watch
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] Block: Diamond block
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] Found and will use plugin Permissions v2.7.7
    2011-08-06 03:38:32 [INFO] [CreativeGates v1.1.4] ===== ENABLE END
    2011-08-06 03:38:32 [INFO] IntelliDoors version 1.1.10 was initialized.
    2011-08-06 03:38:32 [INFO] [CombatTag] Operational.
    2011-08-06 03:38:32 [INFO] [CombatTag] 2.9 Detected existing config file and loading.
    2011-08-06 03:38:33 [INFO] [Stats-0.985] Using Nijis Permissions for permissions
    2011-08-06 03:38:33 [INFO] [Stats-0.985] Plugin Enabled
    2011-08-06 03:38:33 [INFO] PermissionsBukkit v1.1 is now enabled
    2011-08-06 03:38:33 [INFO] FenceStack version 1.13 loaded.
    2011-08-06 03:38:33 [INFO] [Residence] Found Permissions Plugin!
    2011-08-06 03:38:33 [INFO] [Residence] Successfully linked with iConomy!
    2011-08-06 03:38:34 [INFO] [Residence] Loaded Residences...
    2011-08-06 03:38:34 [INFO] [Residence] Enabled! Version 2.3.7 by bekvon
    2011-08-06 03:38:34 [INFO] ResidenceSigns v0.2 enabled.
    2011-08-06 03:38:34 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-08-06 03:38:34 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-08-06 03:38:34 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-08-06 03:38:34 [INFO] WorldGuard: 0 regions loaded for 'world'
    2011-08-06 03:38:34 [INFO] WorldGuard: 0 regions loaded for 'world_nether'
    2011-08-06 03:38:34 [INFO] WorldGuard 5.2.2 enabled.
    2011-08-06 03:38:34 [WARNING] [LogOres] WARNING: No loggers defined! Using default file logger.
    2011-08-06 03:38:34 [INFO] [LogOres] version [0.7] loaded
    2011-08-06 03:38:34 [INFO] [Lottery] Payment method found (iConomy version: 5)
    2011-08-06 03:38:34 [INFO] [LocalShops] Loaded with 0 shop(s)
    2011-08-06 03:38:34 [INFO] [LocalShops] Version 3.1.1 is enabled: e6ce0fd7-14e6-4f1a-8d64-5b8277f7f317
    2011-08-06 03:38:34 [INFO] [LocalShops] Starting NotificationThread with Timer of 300 seconds
    2011-08-06 03:38:34 [INFO] [LocalShops][Economy] BOSEconomy not found.
    2011-08-06 03:38:34 [INFO] [LocalShops][Economy] Essentials Economy found: Waiting
    2011-08-06 03:38:34 [INFO] [LocalShops][Economy] iConomy 4 not found.
    2011-08-06 03:38:34 [INFO] [LocalShops][Economy] iConomy 5 found: Waiting
    2011-08-06 03:38:34 [INFO] [LocalShops][Permission] Permissions (Phoenix) hooked.
    2011-08-06 03:38:34 [INFO] [LocalShops][Permission] Permissions (Phoenix) found: Loaded
    2011-08-06 03:38:34 [INFO] [LocalShops][Permission] Local Fallback Permissions found: Loaded
    2011-08-06 03:38:34 [INFO] [iConomy] Logging is currently disabled.
    2011-08-06 03:38:34 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-08-06 03:38:34 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-08-06 03:38:34 [INFO] [LocalShops][Economy] iConomy 5 hooked.
    2011-08-06 03:38:34 [INFO] [iConomy] hooked into Permissions.
    2011-08-06 03:38:34 [INFO] [BBROTHER] ------------------------------------
    2011-08-06 03:38:34 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-08-06 03:38:34 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-08-06 03:38:34 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-08-06 03:38:34 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-08-06 03:38:34 [INFO] [BBROTHER] ------------------------------------
    2011-08-06 03:38:34 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #1 - BrokenBlock
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #2 - PlacedBlock
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #3 - DestroySignText
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #4 - Teleport
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #5 - DeltaChest
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #6 - Command
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #7 - Chat
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #8 - Disconnect
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #9 - Login
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #10 - DoorOpen
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #11 - ButtonPress
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #12 - LeverSwitch
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #13 - CreateSignText
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #14 - LeafDecay
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #15 - FlintAndSteel
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #16 - TNTExplosion
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #17 - CreeperExplosion
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #18 - MiscExplosion
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #19 - ChestOpen
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #20 - BlockBurn
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #21 - Flow
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #22 - DropItem
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #23 - PickupItem
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #24 - SignDestroyed
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #25 - Heartbeat
    2011-08-06 03:38:34 [INFO] [BBROTHER] Action #26 - BlockPistoned
    2011-08-06 03:38:34 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.7
    2011-08-06 03:38:34 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-08-06 03:38:34 [INFO] [BBROTHER] BigBrother 1.10.1-SNAPSHOT (build #648) enabled!
    2011-08-06 03:38:34 [INFO] AfkKick version 1.4 is enabled with permissions!
    2011-08-06 03:38:34 [INFO] [LivingForest] Has Hooked into Permissions.
    2011-08-06 03:38:34 [INFO] [Moo] LivingForest 8 Enabled
    2011-08-06 03:38:34 [INFO] [mInfo] Permissions not found, Chcking for GroupManager.
    2011-08-06 03:38:34 [INFO] [mInfo] GroupManager not found, using superperms.
    2011-08-06 03:38:34 [INFO] [mInfo] version 1.7.2_6 is enabled![0m
    2011-08-06 03:38:35 [INFO] Loaded Essentials build 2.5.6 by [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
    2011-08-06 03:38:35 [INFO] [Essentials] Payment method found (iConomy version: 5)
    2011-08-06 03:38:35 [INFO] [LocalShops][Economy] Essentials Economy hooked.
    2011-08-06 03:38:35 [INFO] [Blacksmith] has found iConomy.
    2011-08-06 03:38:35 [INFO] [Blacksmith] enabled.
    2011-08-06 03:38:35 [INFO] [HeroBounty] HeroBounty version 1.8.0 enabled.
    2011-08-06 03:38:35 [INFO] [HeroBounty] Permissions 2.7.2 found.
    2011-08-06 03:38:35 [INFO] [HeroBounty] Payment method found (iConomy version: 5)
    2011-08-06 03:38:35 [INFO] [InstaBreak] Starting! (version 2.0 by R3ality)
    2011-08-06 03:38:35 [INFO] [InstaBreak] Found a permission system, using it!
    2011-08-06 03:38:35 [INFO] [HeroicDeath] 1.8.2.157 enabled.
    2011-08-06 03:38:35 [INFO] [GravelClay] version 1.3.2 by [Darklust] is enabled.
    2011-08-06 03:38:35 [INFO] Loaded EssentialsSpawn build 2.5.6 by essentials team
    2011-08-06 03:38:35 [INFO] [VanishNoPickup] Essentials detected and hooked.
    2011-08-06 03:38:35 [INFO] [VanishNoPickup] 1.9.12+essentials2 enabled.
    2011-08-06 03:38:35 [INFO] [Achievements-0.982] Found required plugin: Stats
    2011-08-06 03:38:35 [INFO] [Achievements-0.982] loaded 95 achievements definitions
    2011-08-06 03:38:35 [INFO] [Achievements-0.982] Achievements 0.982 Plugin Enabled
    2011-08-06 03:38:35 [INFO] Loaded EssentialsGeoIP build 2.5.6 by essentials team
    2011-08-06 03:38:35 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-08-06 03:38:35 [INFO] [mChat] mInfo 1.7.2_6 found now using.[0m
    2011-08-06 03:38:35 [INFO] [mChat] Permissions 2.7.7 found hooking in.
    2011-08-06 03:38:35 [INFO] [mChat] version 1.7.9_5 is enabled![0m
    2011-08-06 03:38:35 [INFO] [NoCheat] version [1.11] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    2011-08-06 03:38:35 [INFO] [NoCheat] version [1.11] is enabled with the following checks: moving speedhack airbuild bogusitems flying fastswim
    2011-08-06 03:38:35 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-08-06 03:38:35 [INFO] Done (0.422s)! For help, type "help" or "?"
    2011-08-06 03:38:37 [INFO] [BBROTHER] Removed 0 records older than 72h00m00s in 0h00m00s.


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  12. Offline

    SpaceManiac

    Oh whoops, the forums lost my reply somehow. In all likelihood, those plugins hooking the bridge are doing so without any problems, and those plugins that aren't are using PermissionsBukkit silently without saying anything, as they should be. Talk to MiracleM4n about mChat specifically.
     
  13. Offline

    KarnEdge

    Will do, thanks.
     
  14. Offline

    an0x

    every time someone leaves the server this error in the concole comes up :/

    Code:
    2011-08-05 23:20:14 [SEVERE] Could not pass event PLAYER_QUIT to PermissionsBukkit
    java.lang.IllegalArgumentException: Given attachment is not part of Permissible object org.bukkit.permissions.PermissibleBase@19bdb1e6
        at org.bukkit.permissions.PermissibleBase.removeAttachment(PermissibleBase.java:147)
        at org.getspout.spout.player.SpoutCraftPlayer.removeAttachment(SpoutCraftPlayer.java:142)
        at com.platymuus.bukkit.permissions.PermissionsPlugin.unregisterPlayer(PermissionsPlugin.java:137)
        at com.platymuus.bukkit.permissions.PlayerListener.onPlayerQuit(PlayerListener.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:608)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Some ones know why this error comes up?

    Bukkit: 1000
    PB:1.1
     
  15. Offline

    Trumple

    How can I restrict permissions by area? So, I have a city in which I want people to be able to lock chests and such but I don't want them to be able to lock them outside the city (just deny access to the LWC chest protection plugin while they are outside the city)
    Are there any plugins to do this?
    Thanks!
     
  16. Offline

    Kill3rMcTavish

  17. Offline

    KrimsonEagl

    I've spent all night trying to understand Permissions and PermissionsBukkit but alas I have failed. Could anyone clarify a few things for me?
    1. Does PermissionsBukkit load the users in admins.txt and ops.txt into the groups admins and ops?
    2. Does having a permission set to false automatically prevent the command from being executed, or does the permission also have to be checked by the plugin in the onCommand method?
    Thanks
     
  18. Offline

    midget_3111

    It's working Brilliantly for me, haven't encountered anything suspicious in the debug messages either, Thanks a tonne!
     
  19. Offline

    dunst0

    CB:
    git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)​

    Plugins:
    WorldWarp, AutoKick, mInfo, Spout, SimpleGodMode, AdminsCanFly, WorldEdit, PermissionsBukkit, CommandBook, mChat, Stargate, BananaChunk, SuperpermsBridge​

    Exception:
    Code:
    14:30:47 [SEVERE] Could not pass event PLAYER_QUIT to PermissionsBukkit
    java.lang.IllegalArgumentException: Attachment cannot be null
            at org.bukkit.permissions.PermissibleBase.removeAttachment(PermissibleBase.java:134)
            at org.getspout.spout.player.SpoutCraftPlayer.removeAttachment(SpoutCraftPlayer.java:142)
            at com.platymuus.bukkit.permissions.PermissionsPlugin.unregisterPlayer(PermissionsPlugin.java:137)
            at com.platymuus.bukkit.permissions.PlayerListener.onPlayerQuit(PlayerListener.java:24)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
            at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:117)
            at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:135)
            at com.sk89q.commandbook.commands.ModerationCommands.kick(ModerationCommands.java:140)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
            at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
            at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:245)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            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:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:30:47 [INFO] KICKED: ***** (**.**.**.**) kicked player '*****': test
    

    When does it happend:
    Everytime when ever someone gets kicked​
     
  20. 1) The plugin itself does not, but bukkit still does. Anyone in ops.txt will be an OP and have access to the build in op commands (/tp /kick /ban, etc) Beyond that some plugins give op's all permissions by default or have an option to.

    2) The permission node has to be checked by the plugin with player.hasPermission("node")

    For any plugins that do not yet support the built in bukkit permissions the only way to use a .* node is by prefacing the whole line with 'superpermsbridge.' In other words change lines like like:

    Code:
    worldguard.region.info.*: true
    
    to
    superpermsbridge.worldguard.region.info.*: true
    That should fix it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  21. Offline

    4am

    I've updated to a SuperpermsBridge that has 3.x support, and I notice that anytime a plugin attempts to access a prefix or suffix, my console is spammed with "[INFO] Unsupported operation". I'm assuming that this comes form SuperpermsBridge? If so, could you please change that log message so is states that [SuperpermsBridge] is responsible for it? Or better yet, make a way to disable those messages so my chat plugin doesn't spam my log everytime someone talks ;)
     
  22. Offline

    RustyDagger

    Ok i am confused as hell by this command.

    /permissions player setperm <player> <[world:]node> [true|false]

    i wanted to add the permission node dc.do.PlayerLand to my self from ingame so i used.

    /perm player setperm RustyDagger dc.do.PlayerLand true

    here is what it did to my file :(

    Code:
    users:
        RustyDagger:
            groups:
            - owner
        dc:
            do:
                playerland:
                    permissions:
                        'true': true
                    groups:
                    - default
    
    hmm yes indeed very strange not what i expected to happen at all :( fyi really liking the plugin just need the world guard working now :/ oh how i miss it :(

    EDIT Found my error i had no permissions section under my name just group (permissions 3 habit) any way i added that and reused the command and it added the node right how ever it still aslo made the dc: player name entry like above.

    im using the dev build you posted btw
     
  23. Offline

    schemen

    I've got your dev build, and maybe found some bugs.

    The problem is, if someone logs into the server, it doesen't change to it's rank.
    So player who should be guests, aren't guests.

    It looks like somehow its registring and unregistring as soon as a player logs out.

    Code:
    20:12:13 [INFO] Nightmarepunk: du muesch es paar jump n runs mache :D
    20:12:42 [INFO] [PLAYER_COMMAND] schemen: /time day
    20:12:46 [INFO] Nightmarepunk: Oo
    20:12:56 [INFO] [PermissionsBukkit] [Debug] Player Nightmarepunk moved to world world_nether, recalculating...
    20:13:26 [INFO] /127.0.0.1:54298 lost connection
    20:14:00 [INFO] [Gast]Nightmarepunk: miau
    20:14:05 [INFO] [Admin]schemen: lol
    20:14:05 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    20:14:12 [INFO] [Admin]schemen: jetzt bsh plötzlich gast ?!
    20:14:23 [INFO] [Gast]Nightmarepunk: warschinli wil i net baue deff
    20:14:28 [INFO] [Admin]schemen: jah nei
    20:14:33 [INFO] [Admin]schemen: vorher hesh chöne baue
    20:14:49 [INFO] [Admin]schemen: eigentlich stöish dud as aber ned chöne
    20:14:51 [INFO] [Admin]schemen: will du gast bish
    20:15:00 [INFO] [Admin]schemen: de het jetzt aber huere lang bruucht zum merke das du gast bish
    20:15:05 [INFO] [PermissionsBukkit] [Debug] Player Nightmarepunk moved to world world, recalculating...
    20:15:09 [INFO] Connection reset
    20:15:09 [INFO] Nightmarepunk lost connection: disconnect.endOfStream
    20:15:09 [INFO] [PermissionsBukkit] [Debug] Player Nightmarepunk quit, unregistering...
    20:15:26 [INFO] Nightmarepunk [/84.75.150.173:65467] logged in with entity id 8469 at ([world] -27.45851616913712, 70.0, -132.4227875561678)
    20:15:26 [INFO] [PermissionsBukkit] [Debug] Player Nightmarepunk moved to world world, recalculating...
    20:15:26 [INFO] [PermissionsBukkit] [Debug] Calculating permissions on Nightmarepunk: attachment was null
    20:15:26 [INFO] [PermissionsBukkit] [Debug] Player Nightmarepunk joined, registering...
    20:15:32 [INFO] [Admin]schemen: hesh gesh
    20:15:32 [INFO] Nightmarepunk: hihi
    20:15:38 [INFO] Nightmarepunk: ja funny
    20:15:39 [INFO] [Admin]schemen: jetzt bish wieder kein gast und chash baue
    20:15:47 [INFO] Nightmarepunk: lol random
    
    As you can see, at the beginning, Nightmarepunk ist nothing and after some while he's a guest (gast).
    he changed to a guest after moving into another world.

    After he logged out and relogged he wasn't a guest anymore.
    It's like the plugin can't save or read the files.

    EDIT:

    Yeah, If i change the world (for example walking through a nethergate) it works. But if i log in it doesn't

    Code:
    20:43:23 [INFO] schemen: a
    20:43:26 [INFO] [MineBackup] Starting backup...
    20:43:26 [INFO] [MineBackup]  * world
    20:43:26 [INFO] [MineBackup]  * world_nether
    20:43:26 [INFO] [MineBackup]  * space
    20:43:26 [INFO] [MineBackup] Compressing...
    20:43:31 [INFO] [MineBackup] Done !
    20:45:12 [INFO] schemen: a
    20:45:24 [INFO] [PermissionsBukkit] [Debug] Player schemen moved to world world_nether, recalculating...
    20:45:35 [INFO] [Admin]schemen: a
    
     
  24. Offline

    SpaceManiac

    Please try the dev build with debugging enabled and let me know what shows in the log when someone quits/is kicked.

    Will look into this.
     
  25. Offline

    skyranger

    Hi, i have the Problem, since the new Plugins, and it seems, this permissions addon is not the same, as the last one i used (wit Minecraft 1.4 i played it last time).

    Well, here is my Config file, and as a Guest much commands wont work.
    the Compass of Worldedit wont work, the /list from the command-Plugin and the server command /help wont work, too.

    the Worldeditor wont work.

    the only thing which works fpr admin-group is to make the Zones.
    and Waypoints.
    but with the waypoints, i have the same commands in "Gast"-Group, but there it wont work.

    i am not in OP.txt, because the permissions has to work.
    the /perm works fine.


    any suggestions ?



    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Gast:
            default: true
            info:
                prefix: ''
                suffix: ''
            inheritance:
            permissions:
                general.help: true
                permissions.build: true
                permissions.help: true
                lwc.protect: true
                izone.flags.restriction: true
                worldedit.navigation.up: true
                worldedit.navigation.ceiling: true
                worldedit.navigation.jumpto: true
                izone.zones.define: true
                izone.zones.create: true
                izone.zones.allow: true
                izone.zones.disallow: true
                izone.zones.expand: true
                izone.zones.delete: true
                waypoint.basic.add: true
                waypoint.basic.delete: true
                waypoint.basic.teleport: true
                waypoint.basic.invite: true
                waypoint.basic.invite.accept: true
                waypoint.basic.invite.decline: true
                waypoint.basic.list: true
                waypoint.home: true
                waypoint.home.set: true
                waypoint.home.set_on_bed_leave: true
                commandbook.who: true
                commandbook.teleport: true
                commandbook.return: true
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
            permissions:
                permissions.build: true
                permissions.help: true
                lwc.protect: true
                general.teleport: true
                general.spawn: true
                general.spawn.set: true
                worldedit.navigation.up: true
                worldedit.navigation.ceiling: true
                worldedit.navigation.jumpto: true
                izone.zones.create: true
                izone.zones.highprotect: true
                izone.zones.list: true
                izone.zones.delete: true
                izone.zones.info: true
                izone.zones.allow: true
                izone.zones.disallow: true
                izone.zones.flag: true
                izone.zones.expand: true
                izone.flags.protection: true
                izone.flags.welcome: true
                izone.flags.farewell: true
                izone.flags.heal: true
                izone.flags.fire: true
                izone.zones.define: true
                waypoint.basic.add: true
                waypoint.basic.delete: true
                waypoint.basic.teleport: true
                waypoint.basic.invite: true
                waypoint.basic.invite.accept: true
                waypoint.basic.invite.decline: true
                waypoint.basic.list: true
                waypoint.home: true
                waypoint.home.set: true
                waypoint.home.set_on_bed_leave: true
                commandbook.who: true
                commandbook.teleport: true
                commandbook.return: true
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
            lwc.admin: false
        Memberedit:
            default: false
            info:
                prefix: ''
                suffix: ''
            inheritance:
            - Member
            - Editor
            permissions:
        Editor:
            default: false
            info:
                prefix: ''
                suffix: ''
            permissions:
                permissions.build: true
                worldedit.clipboard.*: true
                worldedit.generation.cylinder: true
                worldedit.generation.sphere: true
                worldedit.history.redo: true
                worldedit.history.undo: true
                worldedit.navigation.*: true
                worldedit.region.*: true
                worldedit.wand: true
                worldedit.wand.*: true
                worldedit.selection.*: true
                worldedit.brush.*: true
                worldedit.superpickaxe: true
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
            permissions:
                permissions.build: true
                izone.flags.*: true
                izone.zones.highprotect: true
                izone.zones.list: true
                izone.zones.define: true
                izone.zones.create: true
                izone.zones.delete: true
                izone.zones.info: true
                izone.zones.allow: true
                izone.zones.disallow: true
                izone.zones.flag: true
                izone.zones.expand: true
                izone.edit.undo: true
                izone.edit.fill: true
                izone.edit.count: true
                izone.edit.replace: true
                izone.edit.delete: true
                waypoint.basic.add: true
                waypoint.basic.delete: true
                waypoint.basic.teleport: true
                waypoint.basic.invite: true
                waypoint.basic.invite.accept: true
                waypoint.basic.invite.decline: true
                waypoint.basic.list: true
                waypoint.home: true
                waypoint.home.set: true
                waypoint.home.set_on_bed_leave: true
                waypoint.admin.spawn: true
                waypoint.admin.spawn.set: true
                waypoint.admin.spawn.save: true
                waypoint.admin.spawn.load: true
                waypoint.admin.warp: true
                waypoint.spawn: true
                waypoint.warp: true
                waypoint.warp.access.Admins: true
                waypoint.warp.create: true
                waypoint.warp.delete: true
                waypoint.warp.list: true
                permissions.*: true
                worldedit.*: true
                worldedit.brush: true
                worldedit.clipboard.*: true
                worldedit.generation.*: true
                worldedit.history.*: true
                worldedit.navigation.*: true
                worldedit.region.*: true
                worldedit.regen: true
                worldedit.scripting.*: true
                worldedit.selection.*: true
                worldedit.wand: true
                worldedit.wand.toggle: true
                worldedit.analysis.*: true
                worldedit.snapshots.*: true
                worldedit.superpickaxe: true
                worldedit.superpickaxe.*: true
                worldedit.tool.*: true
                worldedit.override.bedrock: true
                lwc.admin: true
                lwc.protect: true
                general.*: true
                '*': true
                commandbook.*: true
                commandbook.return: true
    users:
        GFA_SkyRanger:
            groups:
            - Admins
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  26. Offline

    dunst0

    with the dev build kicking player works without errors,
    but with dev build no permission are applied to any user when they login

    after reassign them to their group it worked until they disconnect and connect again

    could it cause problems that my config.yml in the PermssionBukkit folder is just a symlink?
    With the normal build symlink have worked fine for me.
     
  27. Offline

    KrimsonEagl

    Ok thanks. So ops.txt and admin.txt are only read by Bukkit, not PermissionsBukkit? And anyone I want to be in PermissionsBukkit's admin or op group I have to explicitly define myself in the config.yml?
    Also, can I put the permissions for the build in op commands in PermissionsBukkit or not?
     
  28. Offline

    Grayfox9430

    Sorry for bothering you guys with this but I've been trying to get this to work for a while now and it's driving me crazy lol. I've put the PermissionsBukkit-1.1.jar in my plugins folder but when I run the server it is unable to load the plugin. Any feedback would be greatly appreciated.

    [​IMG]
     
  29. It looks like you're using an old bukkit version, from mc 1.7.2. Upgrade to bukkit #1000
     
  30. Offline

    SpaceManiac

    No, I think I've broken the login process somehow - it's on my list of stuff to look into.

    The built-in op commands are not directly settable by PermissionsBukkit, but you will probably be able to find a plugin which overrides them and is. The ops.txt file is only read by CraftBukkit and admin.txt is probably read by some other plugin (or not read at all, I've never heard of it before).

    Please update to CraftBukkit 1000 or newer.
     

Share This Page