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 Aug 8, 2012@codename_B
For me this happens under v2.9.12d, when i revert to 2.9.12c it seems to work (just) fine.. :o
TLDR
I really don't know why this is happening but when ranking/promoting someone, their group's permissions only become active after they relog (tested with 2.9.12d @ both 1.0-RB as 1.1-dev)
And there's even more awkwardness:
When promoting a Guest to a higher rank (Survivalist), they aren't allowed to do /spawn (while survivalists may use that command).
But when demoting them back to Guest they can suddenly use /spawn, something that Guests normally can't do because a spawn permission node doesn't even exist for their group, in the first place! o_O
(it is as if they get the permissions of the rank they previously had, but without having to relog)
In case it's config-related, here's the world.yml i use: http://dev.bukkit.org/paste/5937/
My config.yml settings:
auto-save: true
track-type: single
debug-mode: true
allow-offline-mode: true (no piracy here, i have a premium account, but i use this for for local testing under multiple names with different ranks)
use-global-files: false
Debug tells me this: http://dev.bukkit.org/paste/5938/
-
View User Profile
-
Send Message
Posted Aug 8, 2012@RustyDagger
That's very simple, bPermissions isn't designed to be hand edited and the alphabetising makes the files easier for me to read in the event you ever have any issues.
@dylpickles1997
Don't list the group as inherited by any other groups - that's a fairly basic concept, right?
@ihasamoose
Sounds like you need to update to 2.9.12d
-
View User Profile
-
Send Message
Posted Aug 7, 2012Why must this plugin Sort my groups alphabetically it really is annoying I have them laid out in order of inheritance for easy adding of nodes when editing the file by hand every time I use the cleanup command or reboot the server my admin rank is at the top and my vip at the bottom and every thing else scrambled SOOOO ANNOYING. :(
-
View User Profile
-
Send Message
Posted Aug 7, 2012Please respond! Is there a way I can edit the permissions files to add a section in groups so that other don't inherit it?
-
View User Profile
-
Send Message
Posted Aug 7, 2012/permission reload = crashes permissions
/user groupset = not live time?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@ThaH3lper
http://dev.bukkit.org/server-mods/bpermissions/files/111-v2-9-12d/
-
View User Profile
-
Send Message
Posted Aug 7, 2012after i use the "To set codename_B to admin in all worlds
/exec u:codename_B a:setgroup v:admin" command i got this error
http://dev.bukkit.org/paste/5934/
-
View User Profile
-
Send Message
Posted Aug 7, 20122.9.12d waiting for approve? or have you uploaded it?
-
View User Profile
-
Send Message
Posted Aug 7, 2012Thank you :)
-
View User Profile
-
Send Message
Posted Aug 7, 2012@hpone91
2.9.12d fixes this
-
View User Profile
-
Send Message
Posted Aug 7, 2012@hpone91
https://github.com/codename-B/bPermissions/blob/master/src/de/bananaco/bpermissions/api/World.java#L87
Already strips out the ChatColor
-
View User Profile
-
Send Message
Posted Aug 7, 2012Also getting this crash. Ends up bringing down the whole server. https://gist.github.com/4127e97991f4be176118
-
View User Profile
-
Send Message
Posted Aug 7, 2012Mind pulling https://github.com/codename-B/bPermissions/pull/32 It is very major for our server
-
View User Profile
-
Send Message
Posted Aug 7, 2012@rustyshakelford2
Working on it.
@LordKainzo
@IRC I'm trying to replicate - is this on 2.9.12c?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@LordKainzo
I'm having the same issue. Sometimes permissions work, sometimes they don't.
-
View User Profile
-
Send Message
Posted Aug 7, 2012@codename_B It seems that players must relog for them to be placed in the proper group when using latest bPerms.
So when they get on - they have no permissions to do anything.
-
View User Profile
-
Send Message
Posted Aug 7, 2012@fugue2005
Yes it should work with empty configs... I'm loading the most recent bperms with the 1.3.1R1.0 and i get spammed as well It just needs to be updated =)
-
View User Profile
-
Send Message
Posted Aug 7, 2012@Schlumpfpirat
Getting similar issues, when a player changes to a different world
-
View User Profile
-
Send Message
Posted Aug 6, 2012Latest bPermissions version causes: http://pastebin.com/BHRPjr0C with #2311
-
View User Profile
-
Send Message
Posted Aug 6, 2012should bperms work with empty default files?
i'm trying to move from pex to bperms but when i try to log in with default generated files my server just spams playermove and playerjoin errors.