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.
@selfservice0
Yes.
Negative nodes are acheived through prefixing them with the ^character.
Such as
Also - the p command has aliases of perms and permissions
Are both /permissions and /perms disabled?
Does this support negative node?
Also conflicts with mcmmo's "/p" command evne when mcmmo "/p" command is changed and disabled.
thejoe4949 mChat uses its own config and stuff to do prefix/suffix
I'd use herochat, iChat for P2 or bChat to do what you want to do (ie use bPermissions for prefix/suffix natively)
I'm working on getting bPermissions support natively added to mChat.
@codename_B
I do. I have mChat and I think it's compatible with bPermissions last I checked, unless I checked wrong. There's nothing wrong with my configs and I don't think there's anything wrong with my world.yml file.
Use a chat plugin
@codename_B
Yes, I remembered to set override-player to true in the config, but it still does not work. On the other hand, do you know how to fix my prefix problem?
@jfpion it's all case sensitive - will add that in though if you think it's really necessary :S
So it work correctly know, the pb was mine, I forgot a ":" after a player name and it broke all the permission setup
god powers works well with bpermissions
may be it could be useful to add in the doc that the players name is case sensitive (and may be other things too, I haven't tried
and with the bpermission correct setup the world yml files update themselves correctly
thank you
@thejoe4949 the '*' node only works if override-player: true is set in config.yml
This is because I override the default Bukkit way of checking for permission and replace it with my own.
@LordValgor how does adding the ability for per-player permissions make things anything other than more complicated?
As it stands, a group is nothing more than a set of permissions - and the whole point of multigroup is that you can assign people a unique set of permissions by assigning them a unique set of groups.
Please rethink how you'd like the commands to work - /p agroup group soandso wouldn't work because people wouldn't be happy with the defaults.
Also the commands are 100% usable through the console, same as in-game, only thing that doesn't work (obviously) are local commands.
The command set as it stands allows you to edit every aspect of things - what's missing in your opinion?
Suggested Features: Simplify the commands. ie make it so that you can type "/p agroup <group> <soandso>" which will add a group to a player. (default global default the world you are in etc etc) Also try and make the commands usable from the console, makes it easier to demote the peons :D
Add the ability to place permission nodes under player names if possible. (Much easier to add permission to certain people that way rather than creating specific groups per person).
Add ability to minimize group permission sections. notepad"" allows fully left justified items to be minimized, so its a yml format thing, not sure if its possible but it would be nice.
Thanks.
Hey I got a problem with the prefix and suffixes. I have already downloaded mChat and then put the prefix and suffix permission nodes in the world and there is something wrong. I want it so that when I talk it says [Owner] oreomarshi, but when I talk it says ||||||||||oreomarshi and the llllllllll is in green. I will post a picture of this.
Also, how do I change the prefix and suffix colours? Lastly, being OP gives you the * node, but now you said that the * node works with bPermissions. Anyway, when I was OP, there were some commands I wasn't able to use, like /godmode which defaults to OPs. Also, rocketboots plugin didn't work even though there were no errors, it just didn't work (meaning I couldn't fly but I could do /rb on which turns them on.) Then, I added the * node because I thought I had to add that but it still doesn't work so I really don't know what's up.
If anyone can help, please do!
Sayshal - I'll think about it - MySQL support is still highly experimental and in need of testing - so if you test it more - I'll add more features to it.
@codename_B
The only thing I can say about it is simply, what if another plugins use it? I think it just helps some users seperate the tables they're using. Seems to make it easier for me that LogBlock has lb_* instead of just *
@Sayshal
You need permission nodes or to be opped to do it.
/p import yml works - I just tested it.
On a side note: give me a reason for table prefixes and I will think about it - otherwise I don't see the need.
@codename_B
Sorry, I asked before I tried because I didnt want anything to overwrite some other database.
is it possible to set a prefix like perms_worldname_users & perms_worldname_groups Just incase.. I dunno :P
EDIT: /p import yaml /p import yml Neither work, getting 'Are you doing that right?'
table prefixes? what?
It's worldname_users worldname_groups
Also its /p import yaml (or it might be /p import yml)
Hey, for MySQL please add support for table prefixes (just incase).
Not too hard if I recall, please and thanks. Also, if i set my use to sql how do I convert my YAML to SQL format?
@jfpion the files will not be created until someone visits that world or you use a global command. Try /p global addnode bPermissions.admin admin - should create all those files for you.
Also the folder structure is plugins/bPermissions/worlds/worldname.yml
i've seen but I have only :
bienvenue.yml bienvenue_nether.yml jef1-old.yml
which where the worlds already installed when I installed bpermissions.
the wordl I've installed since are not here (I've installed 3 new world with the import command of multiverse2
have I to erase the bpremissions folder to get it correctly done or is ther a command to force the update ?
thank you
do you know if there is an understandable (for a basic human who believed not so far ago than java was music !) manual to deal with the installation of a bukkit server on his PC with multiverse 5-6 worlds (private world, exploration world, fighting world ) for his child and his friends ?
i've got the server installed (win7 with comodo FW and avast AV, not a piece of cake) i've got the private world installed from minecraft single player with multiverse i've got the portals from one world to an another with mvp portals
now I want to settles the permission so the young monsters can visit the private worlds (without greifing them, explore the worlds full of monster with a limited amount of power (no fun to fight the creeper in god mode !) and fight in the circus world
not a lot of complication but ....... the permissions are tricky