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 Feb 9, 2013@radarwolf
It's not just you, I'm a little confused as to why you can't even use /spawn though. Are you running an offline mode server?
-
View User Profile
-
Send Message
Posted Feb 9, 2013Is it just me or is this plugin just broken? I have a very long list with permissions and my users are still not able to chat in the hero chat channels. and not even able to use /spawn i tried it with version *.3 and *.4. I am almost done with the bukkit community, always broken plugins after these little damn updates... there is always something to break
-
View User Profile
-
Send Message
Posted Feb 8, 2013@LordKainzo
@Puremin0rez
Alright guys, thanks for your almost endless patience with this.
I'm recoding the entire permissions assigning system responsible for that with bPermissions in an attempt to fix this currently.
Will keep you tuned.
-
View User Profile
-
Send Message
Posted Feb 8, 2013@LordKainzo
Gaaah, that's what was happening last time for me too.
My entire file would reset randomly aswell (although I think that's fixed now)
I think I might switch over to Privileges (not trying to bash bperms, but it's kinda lame as of late)
-
View User Profile
-
Send Message
Posted Feb 8, 2013Tested latest - immediately saw issues with permissions (users not able to chat in channels, not joining right channels for HErochat)
I reverted to *.3 and it fixed it.
-
View User Profile
-
Send Message
Posted Feb 8, 2013Is the permission resetting problem fixed now so I can update away from this old build? Haven't been around for awhile so not sure.
-
View User Profile
-
Send Message
Posted Feb 7, 2013Ok so I always have problems with permissions. Whats wrong with this? I have put it into the world>groups folder.
-
View User Profile
-
Send Message
Posted Feb 7, 2013I have the bukkit.command.gamemode node setup in moderators group, but for some reason only those in the admin group can actually use the command. I'm not sure what I am missing here. Any idea?
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CybrgDragon
Set the priority of moderator, so the same priority as builder?
-
View User Profile
-
Send Message
Posted Feb 7, 2013@codename_B
Thanks for confirming. Also, when you do fix it, do you think you could make it so that you can't promote someone to your own group? This way, using my setup as an example, moderators could promote people to builders, but not to moderators.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CybrgDragon
Ok, that's not working as intended then. Moderators shouldn't be able to promote anyone past moderator rank.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@codename_B
default builder moderator admin, and I could promote/demote them fully both ways. I know it's there to prevent abuse, and that's why I wanted to utilize it, so that on my server, I could give moderators the ability to promote, and have groups all on one track.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CybrgDragon
Does the track go default moderator admin or just default admin? You CAN promote a default player up, you just can't demote him down.
Track limiting is mainly to prevent abuse.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@codename_B
I decided to start up a second server running only bPerms and test it out, and it seems the problem is that if track limit is on, if permissions are reloaded using the /permissions reload command, /promote and /demote break, and you cannot promote or demote anyone. That was my problem the entire time.
However, it seems in my testing, that I've found two other bugs.
The first bug is that despite the track limit being on, and group priorities being set, I could promote/demote offline players above my own group. My group on the test server was moderator, with a priority of 50, and I could promote an offline player to admin, which had a priority of 100. It functioned correctly in that I could not promote myself, an online player, above my own group.
The other bug is that when I switched the test server to offline mode, and with track limit on, I cannot promote or demote at all, and this was without a /permissions reload.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CybrgDragon
Right, but with track limit engaged, if you don't have a group in that track already, you can't be promoted in that track.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@codename_B
I have priorities on the groups, if that's what you mean. If you mean set a priority on the track itself, I wasn't aware that was possible, as I didn't see any documentation for it, and the example tracks.yml doesn't do it. What I wanted was every group on one track, and, for example, a moderator would be able to promote a guest (default) to a builder, but not up to a moderator.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@selfservice0
Sure, there is no sql yet. I can't be bothered coding it, as it's a major hassle and I haaaate writing SQL. I've always said, if you want it, pay me to write it, or write it yourself and I'll add it.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CybrgDragon
Track-limit means you can't promote anyone in a track with the same priority as your track! Do you even have priorities setup?
-
View User Profile
-
Send Message
Posted Feb 7, 2013Track-limit seems to be broken. When I turned it on, nobody could promote, it just spat out the error "Invalid Promotion!", but it works with track-limit off. I've had to resort to using multiple tracks and permission nodes for the time being, which I dislike doing, because I only need one track.
-
View User Profile
-
Send Message
Posted Feb 6, 2013Anyone able to help me out with setting bperms up with sql?