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 30, 2012Hey,
I've got a strage bug. Everytime someone disconnects and then reconnects, he seems to not have the permission to chat (using AntiGuest since AntiGuest release, never had any problem since now). But the weird thing is that when someone joins for the first time after a server restart or reload, he has all the permissions I gave them.
I've been using GroupManager before but there was kind of the same problem, they couldn't write after they died.
Using google I found a error report to bPermissions with the same problem and you said something about the world.getWorld() is returning a wrong value. Is that still the case?
I'll post the groups.yml if needed, but it's formated corretly and I've checked it with a yaml parser aswell.
Any help is welcome =)
-
View User Profile
-
Send Message
Posted Jan 30, 2012Did you make a converter from the old bpermissions-syntax to the current bpermissions-syntax? If yes, where can I find it and if not can you make one?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@ Darq_Alder: The AntiGuest plugin works great, thank you so much! :D
@ joshft91: AntiGuest will solve your bPermissions.build problem, use it and thank Darq_Alder! ;-)
-
View User Profile
-
Send Message
Posted Jan 29, 2012@codename_B
Thank you very much! That solved my problem.. Is there by the way, a way of stopping the server from reordering the groups in the groups.yml file? It's a bit confusing..
Kind regards Jablo
-
View User Profile
-
Send Message
Posted Jan 29, 2012Successfully updated to bPermissions 2+. Like it - the inheritance is great. I have a couple questions though: 1) I remember reading that the bPermissions.build node is no longer in existence. How will this affect things and what are the best ways to 'fix' this? 2) what are tracks exactly? I've read through the FAQ and everything, and I know how to set them up, but I'm still not sure what they are.
Thanks.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@mima19
It's very simple, use prefix/suffix for cased things.
eg. prefix: Admin
the reason it lowercases is that case isn't preserved to allow for the fact that ADMin is not the same as adMIN but people want it to be, and lowercasing it all is the easiest way to store/check for this.
-
View User Profile
-
Send Message
Posted Jan 29, 2012I'm not sure if its a bug or not,but when ever I type in the group restart the server it go to lower case, as well as in groups where are permmissions. e.g. I put Admin restart It becomes admin
which is anoying for chat plugins
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Jablosdk
Stop your server, edit the files, start your server, fixed!
-
View User Profile
-
Send Message
Posted Jan 29, 2012@codename_B
Okay.. I have tried to delete all of my users.yml files, but it still keeps putting in the default group instead of the user group. But then i checked the new users file, where it put all of my users as the group "default", instead of as the "user" rank. Why does this happen?
Kind regards Jablo.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Jablosdk
Those files look identical to me in terms of data (with the addition of the default group) which tells me that a user in your users.yml has "default" as his group.
What's the issue?
-
View User Profile
-
Send Message
Posted Jan 29, 2012Hello.. bPermissions keeps changing my groups.yml file, everytime i reboot it. It changes from this: http://pastie.org/3275485 to this: http://pastie.org/3275492 Am i doing something wrong or is there a way to fix this?
Kind regards Jablodk.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@codename_B
and i BUYED minecraft,i have a premium account and also bPermission DOES NOT GIVE any errors in the console,only mChat does that cause bPermission isn't set up properly and i am not that kind of person you talked about i am running an offline mode server cause i have a very big community of cracked players that use a service called Mineshafter,and my server is on the most liked page and that's why i don't want to make it premium,cause with premium server i will not have this many players that enjoy my server so i read the server.log(i don't do that very often,i only read the console so thanks for telling me that,i was actually mad on you,but now i understand all...)and i checked the config.yml and changed the option,the only reason i didn't changed that before was cause i had the old config.yml but now i updated it thanks you so much and i don't think i will be bothering you again...hope your are not to angry with me...i feel bad...
-
View User Profile
-
Send Message
Posted Jan 29, 2012@decebaldecebal
It's very easy to use bPermissions with offline mode servers, you just need to be able to read.
Here's my main reason for not supporting offline mode servers:
So there's two ways to fix this:
Make your server online mode
Learn to read your server.log
-
View User Profile
-
Send Message
Posted Jan 29, 2012@codename_B
yes,i do that,so you tell me that i can't use this plugin if i am running an Offline mode server? if that's the case,why did you not supported Offline mode servers?i really like bPermission and i want to use it with my server,but if you don't support Offline mode,then i'll need to switch to other plugin,and i don't want that
-
View User Profile
-
Send Message
Posted Jan 29, 2012@decebaldecebal
If the name is in red - you're running an offline mode server!
-
View User Profile
-
Send Message
Posted Jan 29, 2012@codename_B
i don't have any copy of PEX installed i may have a YML error cause when i write /plugins the name of Permissions is in red and the YML error is because i have the old world.yml file like this(just a sample):
and i need the new updated bPermission to import that file,but it doesn't work,neither the command /p import yml or /p reload won't work anyways i am going to start updating all the flies manually...it will take some time
-
View User Profile
-
Send Message
Posted Jan 29, 2012@decebaldecebal
Likely you're running an offline mode server, have a copy of pex installed (or some other plugin using the /permissions command) or have a yaml error somewhere.
p import yml works perfectly, I know because I tested it over 100 times before releasing it.
-
View User Profile
-
Send Message
Posted Jan 29, 2012so how do i update the world.yml file without updating it manually?cause i saw that you changed the way groups work and other things,and it's hard to update the world.yml manually...and also the command "/p import yml" does nothing
also,no "/permissions" commands work for some reason...this is really annoying cause bPermissions changed so many things...not it doesn't work anymore :(
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Lyndon321
If you use 2.8.1 it won't ever wipe your files if you have a yaml error.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Hollowhead
That'd work fine with bChatManager