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 Dec 21, 2012@rustyshakelford2
check for a user or group named "null" if there is one, remove it.
-
View User Profile
-
Send Message
Posted Dec 21, 2012I get this error with bukkit #2555 and bPermissions v2.9.24c. The older bPermissions 2.9.23 works fine, but floods the console with errors and lags the server.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Twan2797
have you got the correct permission node? e.g. essentials.spawn not spawn or /spawn also are the users really promoted to the groups, or have they been reset (invalid config!)?
-
View User Profile
-
Send Message
Posted Dec 21, 2012I've got a problem...
I did exactly the same as in the videos, but the Groups wont get the commands i give them plz help?
-
View User Profile
-
Send Message
Posted Dec 21, 2012that would be helpful codename_B, Thank you It took me about 2 hours to download the server.log and user configs and re-uploading them to my server , because of the strange %player% and : [] each start up it would find new lines that were wrong hehe
-
View User Profile
-
Send Message
Posted Dec 21, 2012@fffizzz
It does mean if anyone with the name "null" logs into your servers, they will break your files. I'll put in a workaround in the next version that denies access to the server to anyone with the name "null".
-
View User Profile
-
Send Message
Posted Dec 21, 2012@codename_B
I had the same problem, null: users. removed and it was fine.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Lorenzorota
Now that's feckin wierd. I'll have to have a look into it.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@codename_B
It said that there were no errors but luckily i found out what the problem was:
For some reason this was the cause that stopped bPermissions from working.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Lorenzorota
Yaml error, I posted a link to a yaml parser that will show you where the error is.
-
View User Profile
-
Send Message
Posted Dec 21, 2012Now i only have a NullPointerException:
And I assume it's a bug in the plugin
-
View User Profile
-
Send Message
Posted Dec 21, 2012@codename_B
Could you please tell me what this means:
-
View User Profile
-
Send Message
Posted Dec 21, 2012http://yaml-online-parser.appspot.com/
I'll add in something to auto remove lines with these things next version
-
View User Profile
-
Send Message
Posted Dec 21, 2012What does this mean:
-
View User Profile
-
Send Message
Posted Dec 20, 2012@skookiesprite:
well the errors told me what lines were incorrect upon startup. So i opened up the user data files with notepad + + and found the line and sure enough it was something like
-
View User Profile
-
Send Message
Posted Dec 20, 2012First tests seems to be fine Thank you for the fast work CodenameB You Da man !
-
View User Profile
-
Send Message
Posted Dec 20, 2012@frozenscream
Hey; i'm having the same problem that you had; are you saying that the new version scrambles the usernames in the users.yml for each world? Oh please ell me I don't have to write a parser to reassign all those groups... in any case, tanks so much for the hint; i hope it can help, because my users are... disalluisioned. LOL!
-
View User Profile
-
Send Message
Posted Dec 20, 2012update: somehow i fixed it.
in the config user file it had blank names or %player%: very strange so i removed them
-
View User Profile
-
Send Message
Posted Dec 20, 2012not sure whats going on :/ http://pastebin.com/AWgYb73Y
-
View User Profile
-
Send Message
Posted Dec 20, 2012I keep getting this random error. I posted it in the ticket section