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.
@Pocketkid2
bPermissions has been fully compatible with the bukkit permissions api for ages now. However, if you want to access prefixes I'm pretty sure you'll need bPermissions as a library
@MrPufnstuff
Reloading bPermissions with /bp reload should sort it
How do i let people use swords, bows, fishing rods, and food.
Reason why i want that, is because im working on a KitPvP server, and i really need that people are able to pvp...
Thanks! :D
Does a plugin that uses permissions still need to add bPermissions as a dependency? Or are we fully transitioned into using the Bukkit API?
I recently created to server and while using permissions I started making the permissions through in game command but then went to config files because I realized that was much easier. I finished the configuration files but the server is still using the in game commands.
- How do I change it so that it uses the configuration files instead of in the game commands?
@RustyDagger
the * world refers to the the groups and users files that aren't in a specific world folder
also the plugin is referred to in a plugin.yml as bPermissions
I accidentally typed /world * And Bpermissions now thinks i have a world called * And tries to load them at server start etc i dont have a folder called * made inside bpermissions and Im unsure how to stop Bpermissions thinking i have a world called * that it needs to manage permissions for.
Also If i was to need my own plugin to softdepend on Bpermissions What is its name I need to put in the plugin.yml?
@DOKDOR
it looks like a plugin is running a bPermissions command when you enter the nether or the end. this could be one of 3 commands:
Hey rymate,
My players are getting a message that i pinned down to bperms. It happens when they go through either the nether or end portals. For the default user group, its "you do now have permission to do that here"x2
for me it says "[bPermissions] Too many arguments." x2
I've been through the server logs and i see nothing relating to it, but it annoying most of my players and would like to get it fixed. any help would be awesome :)
Keep fighting the good fight!
EDIT: after turning on debug, i get this
New feature coming for 2.12 which will help immensly with manually editing users.ym - the username is now a parameter in the users.yml!
I also fixed jenkins builds, so you can go grab dev builds of 2.12 now :DDD
I am quite the bPermissions newbie, and I want to know: how do I create a new group? I'm trying to make a betatester group, but I don't know how! Please help!
@Hebbie2
there should be an error in the server log when you run the command - can you give us the error?
@itsGalaxyHero
no
In the video tutorial, it shows use of bChatManager. Do I still need it if I'm using EssentialsChat?
Everytime I try to select a world it says: An internal error occurred while attempting to perform this command. How do I fix this?
@BADDAD411
Find a rankup plugin
@videodrone81
Just find a rankup plugin.... ezranks, autorank, ect....
@MrPufnstuff
Assuming that you reloaded bpermissions (/permissions reload) or restarted your server to initiate changes, this sounds like a problem. If you didn't do one of these two things after saving your files, then that's probably your problem. It doesn't "automatigically" update when you hit save m8. You also didn't really provide enough information about your problem for it to be solved. Details are always good, because they make whoever is trying to help you have a lot less questions that may become irritating.
@zizitt
I dunno the answer to this cuz "/user cmeta" never worked for me.
Say that I wanted to add then after a day remove a suffix from a player via console.
What way is the easiest to do this, and how? How should the two commands be formatted?
So, I was making permissions for my server, when I noticed I was finding it particulary hard to set them up right, I realized I made the accident of trying to set the permissions through commands, then went into the config and made it there instead. I realized (after 10 hours give or take), that the world was only using the beginning of what I had tried to do in-game. Is there any way I can delete/clear the commands set in-game and use the permissions set up in the config?
@rymate1234:
Will this affect my separate permissions per world for ranks ?
What if I have different ranks in different worlds?
@sakura_blades :
You can already run 1 command to perform 1 changes. It's at the bottom of the commands page.
/exec u:tara81 a:setgroup v:owner w:world
@BADDAD411
bpermissions and essentials cannot work on their own to charge players to rankup. You need another plugin that handles that somehow.
how would i convert groupmanager to bpermissions and if possible how would i do it