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


-
View User Profile
-
Send Message
Posted Apr 22, 2012groups: user: permissions: commandbook: who: true motd: true rules: true time.check: true spawn: false bukkit.command: tell: true kill: true me: true save.perform: true list: true version: true plugins: true worlds: CreaSky: worldedit: wand: true history.undo: true region: set: true replace: true selection: outset: true inset: true expand: true contract: true pos: true hpos: true navigation: unstuck: true ascend: true descend: true thru: truestay that way after permissions reload. It currently does know how to handle it if I enter it like so, but it displays an error and edits everything back to normal nodes. I find this way would increase readability of the permissions file-
View User Profile
-
Send Message
Posted Apr 21, 2012http://ft.trillian.im/vasvadum/676xBvcdT-TI9vfKhRit.jpg
I finally found out why my permissions are so screwed up, permissionsbukkit doesn't work right. :/
-
View User Profile
-
Send Message
Posted Apr 21, 2012@SpaceManiac
Good day,
I am writing in reference to MCMA and Perms Bukkit.
I'd like to use world specific permissions.
Is there something in the works so I can do something like:
World1.node.* World1.node2.* World2.node1.*
-
View User Profile
-
Send Message
Posted Apr 19, 2012@woodendinosaur
I changed the nested parent/children and that remedied the error.
-
View User Profile
-
Send Message
Posted Apr 19, 2012does anyone else here have issues using permissions.yml in the root folder using bukkit 1.2.5-r-1? If someone does use this file successfully, could you post a link to a pastebin of yours as a reference? I have had it working in the past, but I don't know if it is not working due to plugin not updated or user error. The error in question i am receiving is... permission node 'blah.blah' in server config is invalid java.lang.stackoverflow .... then the spam relative to PermissibleBase. Thanks in advance.
Edit: I may have found the problem if anyone can confirm or deny. Is it legal to have parents listed as children in other parent nodes? Because I do. I am thinking that is the error.
-
View User Profile
-
Send Message
Posted Apr 19, 2012We are suppose to post our problems here for support right?
-
View User Profile
-
Send Message
Posted Apr 18, 2012Sorry that post didn't work as planned, lol.
-
View User Profile
-
Send Message
Posted Apr 18, 2012Hello,
I installed Permissionsbukkit and set up my config.yml file and every time I use this command
/permissions player addgroup <playername> <group>
to set a player into a group and I get this error
org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.platymuus.bukkit.permissions.PermissionsCommand.createPlayerNode(PermissionsCommand.java:400) at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:301) at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:152) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
This is how I have my config set.
[code]groups:</p> <p> default:</p> <p> permissions:</p> <p> permissions.build: true</p> <p> ultimatearena.player: true</p> <p> towny.claimed.build: true</p> <p> towny.claimed.alltown.block.*: true</p> <p> iConomy.list: true</p> <p> iConomy.payment: true</p> <p> iConomy.rank: true</p> <p> ChestShop.shop.buy: true</p> <p> ChestShop.shop.sell: true</p> <p> admin:</p> <p> permissions:</p> <p> worldedit.*: true</p> <p> iConomy.access: true</p> <p> ChestShop.admin : true</p> <p> inheritance:</p> <p> - mod</p> <p> mod:</p> <p> permissions:</p> <p> spectate.use: true</p> <p> towny.admin: true</p> <p> ultimatearena.admin: true</p> <p> Punishment.*: true</p> <p> worldguard.*: true</p> <p> iConomy.admin.*: true</p> <p> iConomy.bank.*: true</p> <p> inheritance:</p> <p> - member</p> <p> member:</p> <p> permissions:</p> <p> permissions.build: true</p> <p> essentials.setspawn: true</p> <p> essentials.spawn: true</p> <p> essentials.tempban.exempt: true</p> <p> essentials.kick.exempt: true</p> <p> essentials.ban.exempt: true</p> <p> essentials.mute.exempt: true</p> <p> essentials.ban: true</p> <p> essentials.ban.notify: true</p> <p> essentials.ban.offline: true</p> <p> essentials.banip: true</p> <p> essentials.kick: true</p> <p> essentials.kick.notify: true</p> <p> essentials.kill: true</p> <p> essentials.mute: true</p> <p> essentials.tempban: true</p> <p> essentials.tempban.offline: true</p> <p> essentials.unban: true</p> <p> essentials.unbanip: true</p> <p> inheritance:</p> <p> - helper </p> <p> helper:</p> <p> permissions:</p> <p> permissions.build: true</p> <p> essentials.mail: true</p> <p> essentials.mail.send: true</p> <p> essentials.me: true</p> <p> essentials.msg: true</p> <p> essentials.tp: true</p> <p> essentials.essentials: true</p> <p> ChestShop.shop.create: true</p> <p> inheritance:</p> <p> - default</p> <p>messages:</p> <p> build: '&cYou do not have permission to build here.'</p> <p>debug: false[/code]
If someone can help me, that would be great!
-
View User Profile
-
Send Message
Posted Apr 17, 2012anychance of a update so I dont get errors spamming my log
2012-04-17 16:39:55 [SEVERE] java.lang.NullPointerException
2012-04-17 16:39:55 [SEVERE] at net.milkbowl.vault.permission.plugins.Permission_PermissionsBukkit.playerInGroup(Permission_PermissionsBukkit.java:160)
2012-04-17 16:39:55 [SEVERE] at net.milkbowl.vault.permission.Permission.playerInGroup(Permission.java:426)
2012-04-17 16:39:55 [SEVERE] at com.sectorgamer.sharkiller.AutoAnnouncer.AnnouncerPerm.group(AnnouncerPerm.java:37)
2012-04-17 16:39:55 [SEVERE] at com.sectorgamer.sharkiller.AutoAnnouncer.Announcer$printAnnounce.run(Announcer.java:260)
2012-04-17 16:39:55 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
2012-04-17 16:39:55 [SEVERE] at java.lang.Thread.run(Thread.java:722)
-
View User Profile
-
Send Message
Posted Apr 16, 2012Hello!! I have a world that I want players to be able to interact in (as in, use switches and pressure plates) but not be able to edit the blocks (break, place). I saw a pull request for permissions.interact and permissions.entity but those don't seem to work. Is there a dev build I can use until that is approved? Or is there another node with this function I don't know about?
-
View User Profile
-
Send Message
Posted Apr 15, 2012Hi, is there a possibility to transfer the files from a permissionsplugin like PEX to PermissionsBukkit?
-
View User Profile
-
Send Message
Posted Apr 14, 2012yello! I still cant get permissions to work for my mac! It dosent give me the file so i tried it with essentials but it still dosent work! Ive tried to decode it with notepad but i cant get the right code!(does anybody know the code?) Sorry, im stil a noob! Thx
-
View User Profile
-
Send Message
Posted Apr 12, 2012wow, that code inserted well and i love the edit facilities sorry about the mess below
-
View User Profile
-
Send Message
Posted Apr 12, 2012I would really like to see an addition made to permissionbukkit, to assist with setting up multiworld permissions I would like to see inheritance added to the world nodes, to assist in keeping groups of worlds having the same permissions without having to duplicate all the indervidual permissions
example NOTE, this Does not work , so dont try using it
groups: default: permissions: permissions.build: false fuzcoms.map: true
timekeeper: permissions: fuzcoms.day: true fuzcoms.fine: true fuzcoms.night: true fuzcoms.storm: true worlds: Conquest: worldedit.navigation.jumpto: true Private: inheritance: - timekeeper inheritance: - default
as you can see I have the timekeepers listed as being inherited to the private world I would do it myself, but im not quite up to doing it (only been programing java for about 4 months)
-
View User Profile
-
Send Message
Posted Apr 11, 2012-
View User Profile
-
Send Message
Posted Apr 11, 2012lol its compatible with all versions been using it since cb 1060 u never have to up date it unless u want a minor fix
-
View User Profile
-
Send Message
Posted Apr 11, 2012Is this compatible with 1.2.5?
-
View User Profile
-
Send Message
Posted Apr 11, 2012Hello, I am having an error changing my players' groups. Am I doing it wrong or is it the plugin's fault? I do /permissions setgroup Bob Builder, and it returns this error: 09:23:20 [WARNING] Unexpected exception while parsing console command org.bukkit.command.CommandException: Unhandled exception executing command 'perm issions' in plugin PermissionsBukkit v1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 6) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 73) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer. java:469) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.platymuus.bukkit.permissions.PermissionsCommand.createPlayerNode( PermissionsCommand.java:400) at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(Per missionsCommand.java:286) at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(Permiss ionsCommand.java:152) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 7 more Thanks for your help. If it means anything, I ran this command from the console. Edit: Nevermind, I fixed the problem. I was missing the users: section in the config.yml
-
View User Profile
-
Send Message
Posted Apr 11, 20122012-04-09 21:56:43 [WARNING] [PermissionsBukkit] In group admin: bukkit.command.unban.ip is non-boolean (+3 more). How do I use this kind of Permissions. If it is non-Boolean. Any ideas?
-
View User Profile
-
Send Message
Posted Apr 10, 2012@snowy007
that's the problem. I actually have to ADD them to default before they can use the commands and i have no clue why :/