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.
@codename_B
Thanks a lot. :)
@codename_B
thanks for updating It! :)
@SS94_
@SS94_
@ElementalBliss
Fixed version is available here: http://star.aquitros.info:8080/job/bPermissions/48/
Will also be available in the downloads section as 1.3.2b when the download is accepted by the BukkitDev mods in 24-48 hours.
Does a plugin have to specifically support bPermissions, or will it work in place of other permission programs?
Edit: As far as I've tested, it works. :D
For some reason, it does spam 'test' into my Command Prompt. But I'm okay with that. Edit 2: I've opened a ticket about the issue.
@codename_B
actually I found the problem.
After trial and error, It was "override-player: true"
when set to true It constantly spammed [Server] INFO Test in the console.
but as of now I suppose I could live without the '*'
@codename_B
nevermind I discovered your other awesome plugins (bInfo + bChat) :)
and by the way ever since I put bPermissions into my server, when people are in the server the server console constantly gets spammed with the word *test*
It looks like this,
[Server] [INFO] Test
It clogs the console with that, kind of irritating as I can't see what's going on in my server.
i cant /give myself anything, it brings the permissions thing up
@SS94_
No
@quickclay
I used to have inheritance but people complained that people could only have one group. Also this plugin does not do prefix/suffix (yet)
But there will be no restructuring of the groups, things will stay as is. I will add an option to have each person just have one group if you prefer?
I guess I could add inheritance but things will get messy, what's wrong with multigroup? I went to all that effort to add it and make it great, because having one group with different inheritance wasn't working for people.
Any chance you'll be including inheritance in the future? It's much easier for me to have each user belong to just one group, especially for chat clarity, but also for simplicity of group management. Another option that would work well would be to have a flag for a user's primary group, as well as for secondary groups. The primary would be the one displayed in chat, etc. Also, when I import my p3 permissions, are there any incompatiblities I should keep an eye out for between the old and new permission files? Thanks!
@codename_B
Hey, this plugin is great and I'm starting to like It as much as the yeti's permissions!
Just one thing... is there a way to add prefix's and suffix's to each group so I can have admins red, Users grey etc etc?
Also is their a way to add colour to names prefix and suffix?
On notepad(plusplus) ** default: User groups: User: - ** under user, the dash is red. why?
Can someone please help me with this aggravating error I'm having? I've followed the tutorial and read the devpost, but I keep getting an error when I try to enter a command like /help or /spawn. I get the Error:null command. I'm new to this type of permissions and really could use some help. I've added some of my permissions that I wrote with bpermissions below, if anyone sees anything wrong with them please help/tell me. Thanks. If you need anything else just ask :D
default: Guest
groups:
Guest:
- essentials.spawn
- essentials.help
players:
Schoolant:
- Guest
So... the all too controversial * node....
It's now been added! :O
@xyvaz
Nothing horrible will happen if you don't, but it would be a good idea.
I've been going through a few permissions plugins and this one looks promising.
It says that you should delete the .jar file of the permission plugin you importing from (for example PermissionsBukkit) but it is not listed in the "Plugins NOT to use with this" the permmissionsBukkit plugin.
Should I remove permissionsBukkit?
@chris1056
I like. Only thing is there is no * node.
@ricande
Inheritance? I removed it in favour of multigroup. You don't need inheritance when you have multigroup. Just give people multiple groups.
How do i add inheritance?