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.
Something is wrong when i set use-global-files to true. It just uses world group files
@JohnSanity
The folders for each world should generate on their own, you shouldn't have to create them yourself.
I'm not sure there is a way to specify a world with a space in the name, you could try an underscore in place of the space? IF that doesn't work, maybe it'd be best to replace your spaces in your world name(s) with underscores. :P
Hey! I need help. I just downloaded bPermissions and I had this very bad problem. Most of my worlds have spaces in them and bPermissions doesn't recognize it even if I put quotation marks and apostrophes. This problem has probably been already answered and if so, please tell me. which page it is on.
@puckman1971
Groups.ymls in each world is working as intended, as you may want to make per world changes to a group. I'm not entirely sure why permissions are being randomly added in the per world files, but it shouldn't override the global files.
User groups shouldn't be reset to the default group - do you have any idea how this occurs?
Small question. I have set my bpermissions to use the global files but noticed that it still makes group.yml files for each world and sometimes at random permissions end up in group files.
Is this a bug or am I doing something wrong? Also noticed that very sometimes people get assigned the "default" group, even if they were in a different group before.
@frizzbee30
Incorrect - in global files mode, the global files can be used alongside the standard per world files. If there are any per world permissions, these are added onto the global permissions a player might have. If the player has aper world prefix, this overrides any global prefix.
just a query, group manager has a globalgroups file, so you can add those groups common across a number of worlds, eg bukkit default, along with the perm nodes specific to that world. I'm presuming it;s not possible to do that here (as global seems to be an over-commanding set of groups all worlds must use?). Is it then necessary to add in the default bukkit nodes etc in every single world group? :)
@ConnieFan11
Assuming by bungeecord support you mean sharing permissions across multiple servers, this is currently not being worked on. If it is ever developed, it won't be via a bungeecord plugin, but via an external database or similar to the bPermissions Nano plugin http://dev.bukkit.org/bukkit-plugins/bpermissionsnano/
Note: don't actually use bPermissions nano - it hasn't been updated to use UUIDs
@rymate1234
Super cool! Congrats!!!!!!
naislie done :P
Please add bungeecorD??
News
I have finished college! \o/
This means I have a couple months spare to work on bPermissions before I go to university.
Today, I'm going to release a build that hopefully fixes many of the random demotes that people have experience, and also fixes the reload command.
Public plans for this two month period are:
- stable release of 2.12 for bukkit
- working alpha release of bPerms for sponge
Glad to see this remains active over the years - Got some young and new admins and wondering if anyone knows of a web based gui that will work with this? There used to be one but it has become abandonware and doesn't work with modern versions it seems. (can't even get it to pull anything up, not an issue for here I know). Just wondering if there's any web system anyone knows of that they'd be willing to pass along ;)
Hey, we use global perms on BP.
Randomly our donors get put back down to our default rank. this has happened a lot then it stopped happening and it recently just happened. i believe its because in the world perm they are set to default but we only want to have it check global perms. its all setup right in the config.
@dos_jeffes
You just put the colour codes within the prefix or suffix http://ess.khhq.net/mc/
You then configure the chat plugin to display your prefix and suffix how you want
Also bPermissions already has a /setgroup name rank - I thought I had this documented somewhere, I've added it to the commands page now.
what I meant was is it possible for a rank to have a set text color like
[Default] Test123: The Text they type would be in a specific set color. [Owner] Test456: and this would be a different color because its a different rank.
as well i don't mean to be a bother but would you be able to make a command like /setrank (username) (Rank) that would make this better by 100 folds thank you
@dos_jeffes
You'll need to set a prefix for a specific group, then configure a chat plugin to display the prefix
@tom3445
I've been busy with college, but I'll try and get a release out soon(tm) with a potential fix to your bug. In the meantime, try using the latest build on the jenkins server and see if that fixes it for you.
Can you please fix the bug where it randomly deletes a players permissions?
I was wondering if i could add a specific color chat to a rank?
@puckman1971
If you make any changes, at all. You need to run the /permissions save or /permissions reload command(s).
Say you use commands to edit a players group/permissions, you'll need to run the save command afterwards.
If you edit the group/permissions via file, you need to run the reload command and then the save command afterwards.
I love this plugin, its very simple but have a weird bug. Sometimes I need to run the /permission reload command before it sees understands what group a user belongs to and sometimes, randomly, it puts people back into the default group. Otherwise its all fine.
I'm running spigot 1.9.4 and beta 18 of the plugin
@rymate1234
Both.