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 Jul 2, 2012I'm having some serious problems getting this up and running, and I'm not sure exactly what's up. When I first run the server with the plugin, everything works fine- but the moment I do ANYTHING to the config, everything goes to hell.
At first I was trying to add a new group (moderators) to the list with some ban and kick permissions from CommandBook. Whenever I did this and then tried to set a players group (to any, not just moderator) in-game I got an internal error message.
I also tried NOT adding any new groups, and just adding a new permission to an already existing one (admin), but the result was the same. Even more oddly even after I REMOVED the new permission from the group I STILL got internal errors, even though the config was back to its default settings.
I'm not sure what's going on, so can I get some help please :S?
-
View User Profile
-
Send Message
Posted Jun 30, 2012@Squiller
I took your configuration and put it on my server to test and ran into no issues. I'd suggest to take your current version of the plugin, back it up, delete it, download the newest version and launch your server. If you're getting the same error at this point, then copy the entire minecraft folder to another directory. Delete EVERY plugin from the temporary directory EXCEPT permissions, and the folder. Then launch MC again, and if it's STILL having a problem, then update your CB version. If it's not having a problem then you're probably having a plugin comparability issue. Test this out by enabling one plugin at a time until it has a problem. Then once you find it you can decide to keep it, remove it, or whatever you want.
If this doesn't help then it could be a bug, however it's been working just fine for me on the newest release of CB and permissions.
Hope that helps!
-
View User Profile
-
Send Message
Posted Jun 30, 2012@predawnia
Yes, a user can be a part of multiple groups
-
View User Profile
-
Send Message
Posted Jun 29, 2012Is this project still active?
-
View User Profile
-
Send Message
Posted Jun 27, 2012Can a user has multiple groups?
Example:
player1:
permissions:
node.example.*: true
groups:
- group1
- group2
groups:
group1:
permissions:
permissions.build : true
group2:
permissions:
something.else : true
group2:
permissions:
another.thing.* : true
-
View User Profile
-
Send Message
Posted Jun 26, 2012I also get this error :
-
View User Profile
-
Send Message
Posted Jun 26, 2012Hey all, I don't understand why none of my nodes works.
http://pastebin.com/u89i5rQS
Default group can build, but has no prefix ! Also, player 'Squiller' is listed in the default group instead of the admin one ! WTF ?
Help me please !
-
View User Profile
-
Send Message
Posted Jun 25, 2012its not loadin the configuation. plz fix
-
View User Profile
-
Send Message
Posted Jun 23, 2012obicrafting Jun 15, 2012 at 04:45 - 0 likes Like
Is it possible to add support for autorank?
I would also Like to see the rank changing issue resolved. The maker of autorank, who uses vault to interface with permissionsbukkit, claims its an issue with permissionsbukkit.
This was supposed to be the end all be all permissions plugin, so if tthe issue is with permissionsbukkit, can it be fixed?
-
View User Profile
-
Send Message
Posted Jun 20, 2012None of my plugins are hooking onto permissions!!!! I have groupmanager, but i forgot what plugin it used so i could delete it! Nothing is hooking on!!
-
View User Profile
-
Send Message
Posted Jun 15, 2012Is it possible to add support for autorank?
-
View User Profile
-
Send Message
Posted Jun 12, 2012Well, i need help.
I installed it, and i'm OP but i can't build. I mean, i didn't change anything in the config.yml and i can't build even with op.
I didn't change anything, so default users can't build, but I AM OP, so how can i change it? that being op you could be able to build, and if you aren't, you couldn't.
I have no error, and it is not necessary to post my config.yml 'cause i didn't edit it.
-
View User Profile
-
Send Message
Posted Jun 11, 2012@koopatroopa544
No, permbukkit can't automatically move a player to another group.
Due to Spacemaniac's absent I'm now using PermissionsEx instead.
-
View User Profile
-
Send Message
Posted Jun 11, 2012@fjutte i hear you know ALOT about this plugin, and i was wondering if you knew the answer to this: I have a big problem 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
-
View User Profile
-
Send Message
Posted Jun 10, 2012Hi, im trying to get permissionsbukkit setup and im trying to give default users the 'permissions.build: true' node and it won't work. Here is the error in the console.
[Server] SEVERE [PermissionsBukkit] Unable to load configuration! [Server] INFO [PermissionsBukkit] Enabling PermissionsBukkit v1.6
-
View User Profile
-
Send Message
Posted Jun 10, 2012@bizzig
@liboan1997
http://dev.bukkit.org/server-mods/permbukkit/pages/faq/
-
View User Profile
-
Send Message
Posted Jun 10, 2012Ive heard that you are unable to use something like this :
permission.*
As the "*" is not recognized by this plugin. Ive tried it, and it seems that this is the case. Is there a way around this? I want to take certain perms away and give perms to people without having to type in EVERY single one....
-
View User Profile
-
Send Message
Posted Jun 10, 2012Question from a Bukkit noob:
On my server I'm the admin, and I want my friends to have access to some but not all commands. However, by taking them off the ops.txt operator list then they can't use any commands. Even when I give them bukkit.*: true, they still can't use any commands because they're not on the ops.txt.
When I do put them on ops.txt they can use all commands, even if I disable several nodes. WorldEdit and WorldGuard each have a "give ops all permissions" section of config which I set to false, but that doesn't seem to work. How do I prevent this from happening?
-
View User Profile
-
Send Message
Posted Jun 10, 2012@Asipdk
This plugin has lots of bugs, but it's working 100% as long as you don't write anything wrong in the config.yml. When using the ingame command /perm(ission|s) the plugin breaks the config.yml if there is somewring wrong. I know that when you first install the plugin, the config.yml looks one way, and when it's rewritten it looks different, but in both cases it's the "default" config.
I've walked around this problem by not using the /perm(ission|s) command ingame or in the console.
Send me your conifg.yml in a private message and I'll look for your problem.
-
View User Profile
-
Send Message
Posted Jun 9, 2012Hey, Listen i need help. I chose this plugin cause my stupid PEX is like always broken but this is what happens when I try to put myself in the group Admin, my console reads this: at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source) at java.io.OutputStreamWriter.flushBuffer(Unknown Source) at java.io.PrintStream.write(Unknown Source) at java.io.PrintStream.print(Unknown Source) at java.io.PrintStream.println(Unknown Source) at net.minecraft.server.Packet.a(Packet.java:96) at net.minecraft.server.NetworkManager.h(NetworkManager.java:149) at net.minecraft.server.NetworkManager.c(NetworkManager.java:268) at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
08:30:16 [SEVERE] null
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:479) 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:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) 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:286) at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:152) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
08:30:17 [INFO] <KINGZ _OWNER_Asip> Fuck 08:30:19 [INFO] <KINGZ _OWNER_Asip> Shush 08:30:21 [INFO] <SubZero Admin_jeffshaniu> ?? 08:30:25 [INFO] coledog22 [/70.119.98.63:63084] logged in with entity id 17323 at ([world] 5238.151465615227, 70.0, 49.4509774461358) 08:30:26 [INFO] <SubZero Admin_jeffshaniu> i cant join? 08:30:26 [INFO] Connection reset permissions setgroup Asipdkroks admin 08:30:34 [INFO] [31;1m[==== [32;1m /permissons [31;1m====] [m 08:30:34 [INFO] [32;1m/permissions reload - [37;1mreload the configuration from disk. [m 08:30:34 [INFO] [32;1m/permissions check [35;1m [32;1m [36;1m[player] [32;1m - [37;1mcheck if a player or the sender has a permission (any plugin). [m 08:30:34 [INFO] [32;1m/permissions info [35;1m [32;1m - [37;1mprints information on a specific permission. [m 08:30:34 [INFO] [32;1m/permissions dump [36;1m[player] [32;1m [36;1m[page] [32;1m - [37;1mprints info about a player's (or the sender's) permissions. [m 08:30:34 [INFO] [32;1m/permissions group - [37;1mlist group-related commands. [m 08:30:34 [INFO] [32;1m/permissions player - [37;1mlist player-related commands. [m 08:30:43 [INFO] Connection reset
[WARN] Failed to query stty columnsjava.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(Unknown Source) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170) at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165) at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69) at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89) at jline.UnixTerminal.getWidth(UnixTerminal.java:75) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629) at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357) at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26) at java.util.logging.ConsoleHandler.publish(Unknown Source) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.doLog(Unknown Source) at java.util.logging.Logger.logp(Unknown Source) at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27) at java.io.PrintStream.write(Unknown Source) at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source) at java.io.OutputStreamWriter.flushBuffer(Unknown Source) at java.io.PrintStream.write(Unknown Source) at java.io.PrintStream.print(Unknown Source) at java.io.PrintStream.println(Unknown Source) at net.minecraft.server.Packet.a(Packet.java:96) at net.minecraft.server.NetworkManager.h(NetworkManager.java:149) at net.minecraft.server.NetworkManager.c(NetworkManager.java:268) at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
08:30:45 [INFO] [PLAYER_COMMAND] jeffshaniu: /tp Asipdkroks 08:30:48 [INFO] Connection reset
[WARN] Failed to query stty columnsjava.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(Unknown Source) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170) at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165) at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69) at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89) at jline.UnixTerminal.getWidth(UnixTerminal.java:75) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629) at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357) at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26) at java.util.logging.ConsoleHandler.publish(Unknown Source) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.doLog(Unknown Source) at java.util.logging.Logger.logp(Unknown Source) at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27) at java.io.PrintStream.write(Unknown Source) at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source) at java.io.OutputStreamWriter.flushBuffer(Unknown Source) at java.io.PrintStream.write(Unknown Source) at java.io.PrintStream.print(Unknown Source) at java.io.PrintStream.println(Unknown Source) at net.minecraft.server.Packet.a(Packet.java:96) at net.minecraft.server.NetworkManager.h(NetworkManager.java:149) at net.minecraft.server.NetworkManager.c(NetworkManager.java:268) at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
08:30:49 [INFO] [PLAYER_COMMAND] jeffshaniu: /tp coledog22 08:30:57 [INFO] [PLAYER_COMMAND] jeffshaniu: /back 08:31:01 [INFO] Connection reset
[WARN] Failed to query stty columnsjava.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(Unknown Source) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170) at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165) at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69) at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89) at jline.UnixTerminal.getWidth(UnixTerminal.java:75) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629) at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357) at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26) at java.util.logging.ConsoleHandler.publish(Unknown Source) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.doLog(Unknown Source) at java.util.logging.Logger.logp(Unknown Source) at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27) at java.io.PrintStream.write(Unknown Source) at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source) at java.io.OutputStreamWriter.flushBuffer(Unknown Source) at java.io.PrintStream.write(Unknown Source) at java.io.PrintStream.print(Unknown Source) at java.io.PrintStream.println(Unknown Source) at net.minecraft.server.Packet.a(Packet.java:96) at net.minecraft.server.NetworkManager.h(NetworkManager.java:149) at net.minecraft.server.NetworkManager.c(NetworkManager.java:268) at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
08:31:04 [INFO] <SubZero Admin_jeffshaniu> \
Gotta read up, but thats what my console says, If I try to use a command to put myself in a group, it says in red: An Internal error occured while trying to perform this command. So what should I do, also when I check my group it still says default. So tell me what I should do? groupmanager, PEX and maybe even this seem all broken for me.... .So please someone help.