PermissionsBukkit
PermissionsBukkit - the Official Default Groups Plugin
Current Version: v2.3 (beta v2.4)
Find PermissionsBukkit on the forums!
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 without 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).
Downloads:
Current Beta Version:
PermissionsBukkit v2.4 beta (details)
Current Version:
PermissionsBukkit v2.3 (jar) (details)
Previous Beta Version (for older than 1.7.6):
PermissionsBukkit v2.2 beta (details)
Other Important Information:
Commands
Configuration
FAQ
Changelog:
For changelog information, known caveats, and other release notes, see the entries on the files page.
Plugin Metrics
PermissionsBukkit gathers some information about your usage via PluginMetrics. The information is available here, and you can disable metrics on your server by changing 'opt-out' to true in plugins/PluginMetrics/config.yml. You can view your own stats with the /perm about command.
PermissionsBukkit collects this information about your specific usage:
- The number of groups, users, worlds, permissions, and permission roots (first parts) in your configuration.
- Whether you use per-user permissions, per-world permissions, group inheritance, and API features.
- Whether anti-build is enabled, assigned to the default group, and has a message.
- Whether debug mode or custom permissions (permissions.yml file) are in use.
- Whether the example user "ConspiracyWizard" is in your configuration (this is not a real person).
Additionally, some information is collected by PluginMetrics by default:
- Java version
- Operating system
- Authentication mode (online/offline)
- System architecture (32/64-bit) and core count
- Game version
- Server location
I am having the exact same error as a lot of people, /permissions player addgroup freezes and crashes my server, same with remove group.
For me the issue is simple: Permissionsbukkit will not load its config file if the file contains anything. I am using the config file I had previously (with my 1.1 server) and at start up, permissionsbukkit simply says it cannot load it. If I delete it file, it is recreated with the default setup but then I cannot add to it.
I am assuming that the format has not change at all? The default, generated file look identical in format to my permissions file. What has gone wrong?
@cnaude
@goofybud16
@koopatroopa544
Can you send me a pm with your configs? Preferably the ones that gets deleted when you reload.
@AdventureT1
It's the "default" group. So no capitol D. (Don't know if that's relevant.)
But everyone get's the default group as far as I know.
To everyone screaming "it doesn't work" - What doesn't work! If you have an error, post the error. If it screws up your config, post your config!
How can the developer fix these issues if he doesn't has the data?!
As far as I know the only thing not working is /perms player addgroup On our server it will time out the server.
There are no other problems with the latest build! (For me at least!)
Permissions 1.6 has an error when setting a group. Please fix, also on dev 1.2.3 bukkit permsbukkit does not work :(
I've been having the same problem too. Except if I use my PermissionsBukkit (complete with my config set up) on my server for the new 1.2.3 Bukkit, it doesn't seem to let anyone in and all and the server crashes. It works perfectly fine with it's not configured though, but no one can't build anything bleh. Going to wait for now.
when the plugins will be compatible whit the 1.2.3 im french
How do you make it so when a person joins your server they are automatically set to the "Default" group thanks!
@goofybud16
I've been running into this as well. It's super annoying. I would rather the plugin spit errors instead of just deleting things. :/
@goofybud16
actually, that happened to me twice as well... at least i wasnt completely happy with my first attempt at 'config'ing' my permissions. although... without the stuff all there and being able to just edit it, it made me slack and did not do permissions for quite some time :/ (not saying that its your fault spacemaniac by making me slack :P your not, just saying that the issue can become a big problem.)
Ok I think I found a MAJOR issue that would cause someone to RAGE!!!!
IF you reload the config, and it fails, it will DELETE all the permissions stuff. Just leaves comments... It deletes ALL the groups & their permissions!
EDIT: It just did it AGAIN! I added a permissions to a group, rebuilding my old config from before this plugin erased it. Then I reloaded. It said it failed o reload, then reloaded, and the config was COMPLETELY GONE! EMPTY! Arrggg. If this keeps up, I may have to go use some other plugin...
Hi! i was just wondering, I have a big problem (not with your plugin) that i have discussed with baummann1703, creator of SetrankPB. it involves ranks changing automatically when a player changes worlds.
So say there is a world called "world", and a world called "legitville", and in world i have many ranks, but the rank i will use for this example is "member".
So, i am a member, and i want to instantly become a rank called survivor (a rank in legitville) when i teleport to legitville. without anyone doing anything to rank me. (by the way i am using setrankPB for the ranking system not something thats built in to this plugin, if there is anything :P).
is this possible? or is it something that you could add as a feature? because this worked perfectly fine when i had permissions 3x, except there may be very different coding between the two plugins.
Thanks for reading this,
- Koopa
@webname
in the mean time i solved the error by dropping the config into my 1.1r4 server and presto missed a space between ":" and "true"
Been upgrading like everyone :). And i notice the error dump in this has dissapeared it used to spew into the console/log the offending section of the config file where it encountered the error. Now all it does is throw a sever error stating could not load config.unless its because im running 1.2.3-R0.2-SNAPSHOT ?
Please bring back the old error dump, it really helped find the typo's
thanks for the plugin as well
@dallenforth
Yes it's your config. Almost none of your permissions has ": true" behind them.
For anyone who has problems check your config for strange pieces of code.
For example I've found this inside my config and when I've removed it the permissions worked again!
I'm having the same problem with permissions on the latest dev build and latest permissions
Is it my config?
I have the latest Dev Build for 1.2.3 and the latest PermissionsBukkit, but right now, permissions just won't work at all. It just doesn't...
I really don't know why --
Why when I use e,g. "/permissions player groups" in game my server freezes and crashes? It never used to do this in 1.1. I have the latest version of permissionsbukkit.