bPermissions
bPermissions
Welcome to bPermissions, a Superperms Manager for Bukkit! bPermissions focuses on being unique from the rest of the Permission managers. It's very simple to set up and use, it's lightning fast, fully featured, and has a great support team!
Some features:
- bPermissions has a gui client specifically designed to make running a server so easy that you'll forget that you ever used any other permissions plugin. Get it here!
- bPermissions has a unique command structure, never before seen in a permission manager. It's best used for adding lots of nodes to a user or group from the console or in-game, less typing!
- bPermissions has everything you would expect from a Permissions manager. Prefix and suffix support, inheritance, per-player permissions, multiworld support, promotion/demotion tracks, and even group priorities for multi-group setups.
- Note - bPermissions only defines prefixes and suffixes. You need a chat plugin such as bChatManager for them to show up in chat.
Commands
Say you have a user called 'Bob' and you want to put him in the group 'admin' and give him the prefix 'awesome'.
- /world yourmainworld - selects the world "yourmainworld"
- /user bob - selects the user "bob"
- /user setgroup admin - set bob's group as "admin"
- /user meta prefix awesome - set bob's prefix to "awesome"
You can do the same with groups!
- /world yourmainworld - again, selects the world
- /group admin - selects the group "admin"
- /group addgroup moderator - makes the admin group inherit from the moderator group
- /group meta prefix &c[Admin] - sets the admin prefix to "&c[Admin]"
Some other commands are as follows
- /permissions (or /bperms,/bp,/p) - general commands for bPermissions are prefixed by this
- /permissions import pex - import a pex permissions.yml in the pex folder
- /permissions reload - reloads your bPermissions files
- /permissions save - if auto-save is false, this saves your perms
- /permissions backup - backup your permissions
- /permissions helpme - for the lazy among you, this spews out some basic permissions files into your folder.
In order to use these commands, you'll need the permissions node bPermissions.admin
For configurable /promote and /demote tracks, you'll want to use permissions tracks. To read about those, visit this page
Want more commands? We have some others over on the commands page. Check 'em out!
Editing Files
bPermissions creates per world groups.yml and users.yml files in the bPermissions folder, which allow you to configure permissions on a per world basis.
Because bPermissions was designed to be configured largely via commands, bPermissions will often overwrite changes to these files especially if you /reload or restart the server.
If you've edited the files, you MUST use /permissions reload to load the modified files into the server, otherwise the permissions changes won't apply. Because a standard /reload unloads all plugins like a server stop, we cannot tell the difference between them and this will overwrite changes to your files with whatever the server last stored.
World mirroring
Worlds are mirrored like so:
world_mirroring_to: world_mirroring_from world_nether: world world_the_end: world
This duplicates the whole config for that world. Currently there's no way to have just the users or the groups mirrored, stay tuned for an update that adds this!
bPermissions and EssentialsChat
Allow me to put this issue to bed. Essentials Chat + bPermissions works for prefix and color.
This guide is for current users of EssentialsChat and want to use bPermissions along with it.
Players have colored rank prefixes and faction chat modes are also colored. All text can be colored by the players too using color codes such as &c.
bPermissions\world\groups.yml ( code snippet )
default: default groups: ## Peasant ## default: permissions: - group.default - group.userannouncer - group.userauction groups: - userannouncer - userauction meta: priority: '100' ## Citizen ## rank1: permissions: - group.default - group.rank1 groups: - default meta: priority: '200'
It has nothing configured for prefix but the group names are important (default, rank1)
Essentials\config.yml ( Code Snippet )
change-displayname: true #add-prefix-suffix: false player-commands: - chat.color - chat.format - chat.shout - chat.question chat: radius: 0 group-formats: default: '&8&lPeasant &r&8{DISPLAYNAME}&7:&r {MESSAGE}' rank1: '&8&lCitizen &r&7{DISPLAYNAME}&7:&r {MESSAGE}' moderator: '&e&l[Mod] &r&3{DISPLAYNAME}&7:&r {MESSAGE}' admin: '&c&l[Admin] &r&e{DISPLAYNAME}&7:&r {MESSAGE}'
Please direct all other Essentials support to their official support networks.
How do I get support?
First, we highly recommend you go read the FAQ page. If the answer isn't there, there's a few options of support.
- Visit the #bananacode irc channel on irc.esper.net. Just head there, as your question, and wait for someone to help you. It might be a while before you get an answer, so be patient!
- You can file a ticket. This is recommended if you don't have the time to hang around in the IRC or you have a bug report. Be prepared to check back to the ticket though, and make sure you attach your bPermissions groups and users yml files to the ticket.
- Comment on the bPermissions main page.
Note that as there's only one (slightly inactive) maintainer at the moment, any support queries may take some time.
However you choose to get support, "pls dont use txt spk," and make sure you use actual grammar.
I'm a developer!
If you wish to hook your plugin into bPermissions, please see the Developer Page for more information! If you wish to contribute code to bPermissions, fork us on GitHub!
Development builds of this project can also be downloaded from GitHub now. These builds have not been approved by the BukkitDev staff, and are possibly buggy. Use them at your own risk.
-
View User Profile
-
Send Message
Posted Nov 17, 2011So I recently switched over to bPerms, but bukkit doesn't seem to recognize them. I get:
08:47:30 [INFO] [bPermissions] Stats are being kept for this plugin. To opt-out for any reason, check plugins/stats.
08:47:30 [INFO] [bPermissions 1.8.2b] Using yaml for Permissions
08:47:30 [INFO] [bPermissions 1.8.2b] Created PermissionSet for world:world
08:47:31 [INFO] [bPermissions - debug] Setting up config for world:world
08:47:31 [INFO] [bPermissions - debug] Setup players for world:world took 0ms.
08:47:31 [INFO] [bPermissions 1.8.2b] Created PermissionSet for world:world_nether
08:47:31 [INFO] [bPermissions - debug] Setting up config for world:world_nether
08:47:31 [INFO] [bPermissions - debug] Setup players for world:world_nether took 0ms.
08:47:31 [INFO] [bPermissions 1.8.2b] WorldPermissionsManager engaged
08:47:31 [INFO] [bPermissions 1.8.2b] Enabled
08:47:31 [INFO] [bPermissions 1.8.2b] SizeOf.jar not in startup path, skipping!
08:47:31 [INFO] [bPermissions 1.8.2b] To enable bPermissions to track its memory usage, add SizeOf.jar to the startup script
08:47:31 [INFO] [bPermissions 1.8.2b] See http://sizeof.sourceforge.net/ for details
Also:
08:47:24 [INFO] While loading bPermissions (plugins/bpermissions.jar found old-data folder: plugins/bpermissions next to the new one: plugins/bPermissions
I get no errors in the console, but no one gets any permissions/prefixes. (1337)
craftbukkit/plugins/bpermissions/worlds/world.yml http://pastebin.com/q9q0RBjQ
-
View User Profile
-
Send Message
Posted Nov 16, 2011Was actually wondering if it was a Towny Conflict or just bPermissions?
http://pastebin.com/4CcxYXf4
-
View User Profile
-
Send Message
Posted Nov 16, 2011@Darq_Alder
Thank you
-
View User Profile
-
Send Message
Posted Nov 16, 2011@codename_B
I did that 3 hours ago :).
edit: http://dev.bukkit.org/server-mods/bpermissions/tickets/72-no-permissions-granted-on-player-join/
-
View User Profile
-
Send Message
Posted Nov 16, 2011@nedercraft
It should assign them onPlayerJoin - please open a ticket
@Flenix1
Don't use a version of Bukkit that this isn't written for. You're using 1037 - bPermissions 1.8.2b is written for 1337 and above.
-
View User Profile
-
Send Message
Posted Nov 16, 20112011-11-16 18:09:23 [SEVERE] Error occurred while enabling bPermissions v1.8.2b (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration at com.arandomappdev.bukkitstats.CallHome.<clinit>(CallHome.java:41) at de.bananaco.permissions.Permissions.onEnable(Permissions.java:421) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:416) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) 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:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 23 more
Any suggestions? It didn't genereate a config so I manually made one with defaults, same error.
-
View User Profile
-
Send Message
Posted Nov 16, 2011@sole10 If memory serves, open config.yml set override-player: true
The End.
-
View User Profile
-
Send Message
Posted Nov 16, 2011Can i use node * to the admin so admin could have ALL available commands ?
If no please make it :)
-
View User Profile
-
Send Message
Posted Nov 16, 2011having a stupid problem,
bpermissions doesnt asign permissions on server join, even if somebody is inside the world.yml as donator I have to use /p reload every time somebody connects to give them their rank
with 40-80 players on at the same time this is getting a little out of hand.
got a solution?
-
View User Profile
-
Send Message
Posted Nov 16, 2011@Tauryuu
It's likely showing you as the default GROUP.
What chat plugin?
-
View User Profile
-
Send Message
Posted Nov 15, 2011I couldn't get the prefixes to show up correctly. I have a prefix.0.default node for default and prefix.100.admin node for admin, but it still shows the default prefix.
-
View User Profile
-
Send Message
Posted Nov 15, 2011@NinjaZidane
Er, no.
It works when you have "override-player" -> true, which is not recommended, it can hurt performance, and is not in SuperPerms by default, it is suggest that you use the SuperPerms system the way it was intended. :)
The '*' node will only work for plugins that still using P2.
-
View User Profile
-
Send Message
Posted Nov 15, 2011@karlkorv
Yep, as well as negating ALL permissions.
ex. '*' for all permissions, ^* to negate all permissions.
-
View User Profile
-
Send Message
Posted Nov 15, 2011@Ghaz_ranka
Thats...a strange setup you have there. Do you want your admin to have all permissions or not?
If so, simply give the 'ADMIN' group '*'
-
View User Profile
-
Send Message
Posted Nov 15, 2011@th3controller
1. This dev doesn't but heads with bukkit and normally break inbetween RBs (as typically seen in pex).
2. PEX is bloated...when switching worlds on my server (when I had pex), it would take up to a MINUTE to switch (happened with both sql and flatfile). bPerms is fast as can be.
3. Most important...bPerms just makes sense lol. - example.perm for perm, - ^example.perm for negative node. bPerms has no inheritance and I am not a fan of tracks...so to solve this I literally do a - ^* for each of my groups then manually give them the nodes I want them to have. This makes my permission setup VERY controlled...I do not have to worry about a particular permission I might have missed.
-
View User Profile
-
Send Message
Posted Nov 15, 2011I'm so tempted to switch from PermissionsEx! I need a reason why I should switch to this and a reasonable one.
-
View User Profile
-
Send Message
Posted Nov 15, 2011@PhiberOptikx
We'll need your permissions file.
-
View User Profile
-
Send Message
Posted Nov 15, 2011When UserXYZ joins our server he's set in the default group which is [Guest]. Said user can type: /help and receives a list of commands. Upon /promote UserXYZ member which is a single rank above Default group, the user then changes to [M] with all appropriate chat colors and tags. Yet when he types: /help he receives an error "Denied access to that command."
I'm struggling to figure this out. Here's a bit of my log file. http://pastebin.com/TKDugvmG
-
View User Profile
-
Send Message
Posted Nov 14, 2011Does it work with the * node?
-
View User Profile
-
Send Message
Posted Nov 14, 2011@Ghaz_ranka
Run that through: http://yaml-online-parser.appspot.com/
It'll tell you exactly why.