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!
Development builds of this project can also be downloaded from GitHub now. These builds have not been approved by the BukkitDev staff, and are possibly buggy. Use them at your own risk.
-
View User Profile
-
Send Message
Posted Jan 10, 2012is there any way to import permissions yml from bpermissions 2.1 without having to add in all the new lines and separate users out? I have various worlds and many groups, making this to be a hassle to do by hand.
-
View User Profile
-
Send Message
Posted Jan 10, 2012Hey I'm having trouble getting the prefix to work...I set it for my admin group and I'm using iChat (literally tried every single chat plugin) and It refuses to show up.
-
View User Profile
-
Send Message
Posted Jan 10, 2012Ahh, sorry about that. I had the same problem with bPerms before conflicting with E.Protect. As it so happens, I unknowingly updated Essentials and it put Protect back in, and it was still conflicting. Thanks for reminding me what the problem was, codename_B! XD
-
View User Profile
-
Send Message
Posted Jan 10, 2012@codename_B
Thank you so much you are so great! Have a great day!
-
View User Profile
-
Send Message
Posted Jan 10, 2012@dilbukon
http://dev.bukkit.org/server-mods/antiguest/
Gives you a lot more flexibility in what you limit!
-
View User Profile
-
Send Message
Posted Jan 10, 2012Hello, I know you disabled bPermissions.build, but it worked perfectly as I wanted it to. Now I'm having a trouble finding a replacement. It's been over 3 hours and I have yet to find one. I do not use essentials nor I plan to use it. It has so many unnecessary features.
Could you at least create a separate build or an additional .jar to enable this permission node again? I really need that permission node. Thanks!
-
View User Profile
-
Send Message
Posted Jan 10, 2012@adrianthewriter
I've uploaded v2.6.2 with lots of NPE fixing + debugging in that section.
Hopefully that should print a message that lets you know what went wrong in future!
Upgrade to this version asap - no other changes made to the code apart from NPE checking
-
View User Profile
-
Send Message
Posted Jan 10, 2012it looks like v2.6.1 introduced a new NPE...
-
View User Profile
-
Send Message
Posted Jan 10, 2012@TechCraft
Whoops, I forgot about those when re-writing all the documentation. I'll add the commands for importing to the FAQ page.
-
View User Profile
-
Send Message
Posted Jan 10, 2012Ok i've read it all over now, I know how to make prefix colours now, stupid me. Does it still have permissions 3x import, as you have changed the thread. You also stated before it has the same API, so any plugin that worked with Permissions 3.x will work with perms, If thats so i'm ready.
-
View User Profile
-
Send Message
Posted Jan 10, 2012@Jarhielt /facepalm
-
View User Profile
-
Send Message
Posted Jan 10, 2012@mrgreaper You realise I added the old commands back?
-
View User Profile
-
Send Message
Posted Jan 10, 2012@codename_B
lol i see this after 4 hours of rewriting the permissions file into a format permissionsbukkit understands lol oh well live an learn, plus well i very much hate the new commands ( as mentioned before they would make my life hell, the old 1 command instead of 4 much much better, maybe implement both commands? so admins can have it dumbed down to simple commands or proper long commands as they wish?)
i do however indeed think that was my issue, we were not too far behind the recent versions and if it was posted on bukkit as a proper release and not as a dev version then we would of been on it.
-
View User Profile
-
Send Message
Posted Jan 10, 2012meta: prefix: '[prefix] 'within the group: but it doesn't seem to be displaying any prefixes. i even tried it on just the user and still havn't managed to get it working. any clues ?Edit- nevermind seems i forgot to get a chat mod to go with it. Installed bchatmanager and works straight away.
-
View User Profile
-
Send Message
Posted Jan 10, 2012codename_b: I updated to towny dev, and also installed SuperPermsBridge, this resolved all but the Herochat error.
http://dev.bukkit.org/paste/4539/
I posted a ticket to herochat as well.
-
View User Profile
-
Send Message
Posted Jan 10, 2012@deathnote1029
if you edit the file manually, /permissions save will rewrite it with what permissions are saved to memory. Do /permissions reload I'd you've edited the file.
-
View User Profile
-
Send Message
Posted Jan 10, 2012but do i have to add every permission in-game? or can i do it through the users.yml and groups.yml, how do i make sure they save onto the server, i just tried adding a group manually into the groups.yml and then did /permissions save but it still didnt work
-
View User Profile
-
Send Message
Posted Jan 10, 2012ah i see, i will try now :)
-
View User Profile
-
Send Message
Posted Jan 10, 2012@deathnote1029
If you're working on something, don't forget to use /permissions save when you're done.
-
View User Profile
-
Send Message
Posted Jan 10, 2012@deathnote1029
NEVER use /reload. It has problems and causes memory leaks. Just restart the whole server process itself.