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 27, 2012I have a problem: I am pretty sure I have set up the permissions correctly, as I have used the "template" of permissions helpme. I have set myself as admin (all commands), but in the game, I cannot use any command (not even the ones automatically added in the template, which means the nodes aren't wrong). Furthermore, there is no prefix (though that is supposedly because I need a chat plugin, which I don't). In short, the group system isn't working as I cannot use permissions even though I have set myself to in the users.yml and groups.yml.
There was something that said: "[INFO] While loading bPermissions (plugins/bpermissions.jar) found old-data folder: plugins/bpermissions next to the new one: plugins/bPermissions" Though, I don't have a folder named "bpermissions". There is only "bPermissions". Which is very strange.
Any help?
-
View User Profile
-
Send Message
Posted Jan 27, 2012@xSureshotBx
@GangstaHotdog
http://dev.bukkit.org/server-mods/bpermissions/files/85-v2-8-1/
This version will fix your problem, instead of wiping badly formatted yaml files, it will never override them and instead broadcasts a message informing you that the world could not load correctly due to a yaml error.
-
View User Profile
-
Send Message
Posted Jan 27, 2012@GangstaHotdog
The old WebGUI was really insecure.
-
View User Profile
-
Send Message
Posted Jan 27, 2012@SatonElarsky
That's probably my fault.
@xSureshotBx
Can you paste me your WHOLE server.log?
@GangstaHotdog
I'm going to be coding in an option so that if there is an error loading the yaml files, it won't override them.
-
View User Profile
-
Send Message
Posted Jan 26, 2012I spent a really long time setting up all of the perms and users and things like that, I started my server, and then stopped it so that bChatManager would create its files and I went back to the permission files and guess what! They were wiped clean! I'm not impressed, and I know it was nothing that I did.
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
http://pastie.org/3259878
Alright code, I think I solved the problem, is there something wrong with prefixes? Or did I fail again? XD Because I go inside the server, and I dont have [Admin] in front of my name. Either prefixes don't work, or I still messed up, but it doesn't show any errors
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
So if I create a whole new folder, with bukkit and have only bpermissions itself in the plug-ins with the correct data. It should work fine, correct?
-
View User Profile
-
Send Message
Posted Jan 26, 2012Nevermind, I notice there is a new update now and it says it fixes a few things. Maybe it fixes the bugs I've noticed. I'll try it tomorrow.
-
View User Profile
-
Send Message
Posted Jan 26, 2012I am having the same kind of issues as SatonElarsky. Basically the first thing that happened, was my permissions file got completely wiped blank except for the default files. Fair enough, I found some backups and set it up again. Now it tells me I have an error, I assume it thinks there is a tab there. But there isn't, and it worked fine before. From what I can see, you've changed a ton of things in the new update and now it's really complicated. I much prefer the old WebGUI, but now you need a program for it. -_- I think some things are broken because I had this set up before the update and it was fine, but now I've updated everything it just disagrees with my configs even though I've checked and they're fine.
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
multiple copies of bPermissions installed on the same server
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
I understand what you're saying now. I did the corrections, after the line 44, came up line 3. But after it stopped showing the lines, I got this.
http://pastie.org/3259318 Any ideas? I know i'm grinding your gears, and I'm trying to learn. I'm not saying I'm successful, but I am asking sincerely for your help :/
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
That means the tab was still there, if you read server console as it enables you can see what goes wrong as it happens.
Here's what to look for:
If you think about that - it tells you tab on line 44. It took me literally 2 seconds to run my server with your pasted file to find that error.
Hint: use the commands to edit the files if you can't edit it yourself.
Another solution I'll tell to those who're too lazy to put in the effort to try and solve their own problems and expect other people to do it for them every time, DONT RUN A SERVER.
I'm happy to help with hints, and tips, and maybe even fix it for you (when it was you that did it wrong in the first place) once or twice but I can tell you'd be coming to me asking me to configure your chat plugin and install a mysql database for you. I just don't like that kind of thing, it's like why bother if you're not going to be able to manage it yourself?
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
I corrected it whilst the server was offline. Once I ran it again, the whole file information, all just gets removed and erased. It goes back to the default layout of when you first download it
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
Also what have you been told about putting tabs in yaml files?
HINT: you have a tab on line 44 of your groups.yml
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
Well I was hoping that you see these kind of issues a lot. So you could help me. I do not use the WEBGUI because I don't understand how to even log on it. I would start from scratch and I have tried, but when I set a user to an admin group. theres no Admin in the group files. the file information gets deleted everytime I run the server, after editing them.
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
Dewd. Google helps tons with this stuff...but since you haven't gotten that far, run your YAML through this parser and see if it comes up with errors. http://yaml-online-parser.appspot.com/
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
Well I can't just magically know how with no information can I? I don't know what you expected me to say.
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
http://pastie.org/3259036 for my groups.
http://pastie.org/3259033 for my users.
Do you see an issue? And I asked how to fix the errors :/
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
Well... what's a yaml file? Really?
It'd help if we knew what your files looked like, have you tried just using commands and starting from scratch? Or maybe using the gui?
-
View User Profile
-
Send Message
Posted Jan 26, 2012@fffizzz
Ok thanks, if you could open a ticket to remind me to fix it I'd appreciate it loads