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
But, Is possible set prefix?
Hi, is prefixes a thing in this plugin?
Hi, does it work in 1.11? Thank you for your work on this great and very usefull plugin!
how i can crate a new group
@Mizar6
Looked at the code, "default" group is hard coded in three places in the main file, for my purposes I just changed it there and complied it with Eclipse following the directions for a blank Spigot plugin. Works fine in 1.10.2
@Adamon69
Players are in the group "default" when they join, I had a friend make a plugin to move them into the group I wanted them to start in. But it could be we're just missing the point. Need to look at the code a bit, perhaps the first group in the configure file is the default group regardless of what it is called. Might be easier to just test.
What would be the best way for players to have permissions when they first login, would i need to add everything from user to default, or do I need to get/make a plugin to add them to a group when they log on for the first time?
@Chevels
Yes, I have no issues with it working, so far on 1.10
Hello, Does it work for 1.10?
Finally updated everything to 1.9.4. So far everything is working as it should, but am receiving these errors. I've deleted the config.yml file and started from scratch, this still (and even though all permissions and groups work as they should) shows these errors. Please let me know if it matters and if it can be fixed another way. Thanks.
@zsuzsu
Use the permission nodes here: http://wiki.sk89q.com/wiki/WorldEdit/Permissions
To give permissions you can either use the ingame /perm command or you can edit your /plugins/PermissionsBukkit/config.yml file. See http://dev.bukkit.org/bukkit-plugins/permbukkit/pages/configuration/ for an example on how this can be done :)
@KamoMc15
See the info page here: http://dev.bukkit.org/bukkit-plugins/permbukkit/pages/configuration/ Copy that into your /plugins/PermissionsBukkit/config.yml and you can then change the groupname "admin" and "user" to whatever you want and you can add as many groups as you want as well - just use the example in the link above as a template :)
All players who join will by default be in the group called "default", you can check a player's group useing /perm player groups [playername or UUID]. To set a player to a specific group and only that group, use: /perm player setgroup [playername or UUID] [groupname]
To add a group to a player use: /perm player addgroup [playername or UUID] [groupname]
That's the basics of groups..
how do I use worldedit nodes
How can i add/create a new group
@ElectronicDragon115
Works great for 1.9.
Minecraft 1.9?
How do i set perms for commands?
How do I make prefixes?
@Kalle801
This is how I do it in my config, this works -
default:
permissions:
permission.node false\true
worlds:
worldname:
permission:node: false\true
I think the config is read from top to bottom- so I think it will work for you if you set someone to have that permission as true under "permissions:", then have it as false under "<worldname:>"
Seems to be having issues with 1.9 spigot/bukkit?