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!
Jenkins
Development builds of this project can now be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff, and are possibly buggy. Use them at your own risk.
I still cant get tracks to work. Ive pretty much given up on it. I just made the addgroup and removegroup commands different, so its faster.
"/p g a Donor warhawker "/p g r Donor warhawker
I have only one question ,in this section Other options for Permissions (yaml, bml, sql, yaml_oldschool, json)
Is there any advantage to for changing this ?
Absolutely love the toon at the top!! LOL. Unfortunate that this may be wasted on so many. Good Job. Bpermissions was my first and only permissions you made my server life ten times easier.
but when a user not has the build permission he cant open doors or click on a sign!
I will only that the player cant set blocks.
@MichaelSe Issue with bukkit, update to latest version.
The two plugins I have are bPermissions and bChat, both up-to-date
I get errors when using both, but not when using just bPermissions:
This only happens at server shutdown, and started as I upgraded to RB1317
Help please D:
@DarkMinecrafter bPermissions.build is only supposed to be for basic anti-build. If you need more you can use a different antibuild plugin.
@landontc Or you could use the promotion tracks system built into bPermissions which is specifically designed for just that.
@StefanPelskamp
This would be ideal for me as well. I want moderators to be able to add users to certain groups, but not others.
For instance, I'd allow moderator a to promote someone to the Member group, but he would not be allowed to promote someone to the admin group.
Hey codename, the problems I talked about were our server! Thanks for the feedback though!
And I have a request. Could you add a permission node for being able to add certain groups. We have a few lower ranked players who need to be able to add a group to newcomers. So would we it be possible to have like:
bPermissions.addgroup.<groupname>.other
bPermissions.remgroup.<groupname>.other
So they can only add and remove that specific group?
Can you add a config for the bpermission.build
So that i can allow guest to open doors or click on signs
@ProjectInfinity Yeah, a "dump-to" feature will be pretty easy to do. I'll get that added in the next version whenever I have time to work on it.
@codename_B
I let it run for 30 minutes. I'll give YAML a go before I decide on JSON I guess. Could I request a Dump-To feature such as PEX have? You can dump sql directly to YAML (or the opposite). Dumping YAML to JSON would be phenomenal. :)
i have been using permissions 3.1.6 by rcjrrjcr, i dont know how to set up all the yml file to work for bpermissions, could i send you the text i have for the yml and you set it up for me? i had to talk to rcjrrjcr like 8 times to get the first one right hahaha
@ProjectInfinity Have you tried just letting it run its course? That's a big import.
Hey there when i use bpermission than i cant place tnt or lava because worldgaurd dont see that iam a admin , when i use a other permission plugin than works it.
any idea?
One final thing, could you make it compatible with Essentials nicknames? That would be nice.
So I wish to import my Permissions from PEX into bPermissions as json. However the server instantly stops responding once I do this. Importing to YAML works, but I wish to use json.
I believe I talked to you earlier about this, we have 9,663 player entries, 17 groups and 190 permission entries. Could it be that the import as json cannot handle this?
Codename, I believe I pinpointed the issue. If a user joins as an OP, or not as an OP, and that status is changed for them, the plugin does not recognize the change. Additionally, for some changes to occur it seems that the user must log out for the changes to take place. I've spent hours wildly testing the plugin and this is the conclusion I've come to. I'm not sure if this information is relevant to you, but I thought I should let you know.
@NEREVAR117 If I'm honest, me neither.