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 Sep 10, 2012I downloaded Bpermissions and put this under the groups.ylm and nothing is happening.. Its in my plugins folder and I've got rid of spaces and messed with the indents and such. I'm really clueless so I need some help xD
default: player
groups:
player:
- bpermissions.build
- essentials.spawn
- essentials.home
- essentials.sethome
- essentials.motd
mod:
- essentials.kick
- essentials.ban
- essentials.fly
admin:
- bukkit.command.reload
- bukkit.command.stop
- bukkit.command.op
- bukkit.command.save
- bpermissions.admin
players:
applesmack:
-player
-
View User Profile
-
Send Message
Posted Sep 10, 2012@imaxorz
lump is probably the fastest, as it just lumps everything on there at once :P
my personal favourite is single.
and of course its so much faster, it's threaded ;)
-
View User Profile
-
Send Message
Posted Sep 10, 2012Promoting is so much faster now since 2.9.20, thank you so much!
Also, curious if there is any performance difference between different track-types (multi, signle and lump) when promoting, or is it all the same?
-
View User Profile
-
Send Message
Posted Sep 9, 2012@LordKainzo
I'm working on it.
@aehooo
Those are Alpha releases, they don't need to be documented.
-
View User Profile
-
Send Message
Posted Sep 9, 2012You really should make a warning on this page (and inside the plugin, as it still lists as helpme) about the change on the command "/p helpme" to "/p examplefiles".
-
View User Profile
-
Send Message
Posted Sep 9, 2012Permission-skilssssssss!
Codename :(
-
View User Profile
-
Send Message
Posted Sep 9, 2012@GladGulGubbe
paste your users.yml and groups.yml to pastie or pastebin so we can look
-
View User Profile
-
Send Message
Posted Sep 9, 2012@fffizzz
Nvm, that has now been fixed. But now it seems like the nodes wont work. for example, Im trying to get the "sg.arena.join" to work, from the survival games plugin, But no matter how many times I restart the server / reload the plugin it wont work. "No permission."
-
View User Profile
-
Send Message
Posted Sep 9, 2012@GladGulGubbe
Did you consult the server log as it told you to do? I'd start there, likely a YML error.
-
View User Profile
-
Send Message
Posted Sep 9, 2012Hi, When I do the /permissions reload, it says:
"Permissions for world:hgmaps did not load correctly! Please consult server.log"
What's wrong?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Forwarding this to spout: I dont think its bperms...
seeing this come up on latest: http://pastie.org/4691973 When server start up. This was when we had on Spoutplugin (latest dev) so may be something on there side too.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@fffizzzthat's the kind of thing i was looking for too, thanks!
-
View User Profile
-
Send Message
Posted Sep 9, 2012@codename_B I keep having problems with Herochat locking the server up essentially.. I posted this http://pastie.org/4691096 for him to look at and this was his response.
"looks like your permissions might be at fault there, or more likely.. Permissions backend isn't thread safe (ie Bukkt). and the Disconnect is causing a thread lock cause it's trying to remove the player object at the same time it's recalculating permissions."
Any ideas?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Hey! I have recently downloaded this plugin to use on my server, and as I was setting it all up (which is incredibly easy, so thanks!) I started thinking if I could set-up multiple default permission groups for each world, i.e. on "world", a new player "John" joins and is instantly added to the permissions group of "newbie" but also to "nonesupporter" and "nonebuilder". The reason I wondered this is so that I could set up my tracks so that they are independent of one another and so that the overall system is as automated as possible making it easier for my admins to promote players through the tracks. If it isn't possible, however, would it be possible for this to be implemented in a future update? If it would I would be truly grateful,
thanks again,
Cheezbuns :)
-
View User Profile
-
Send Message
Posted Sep 9, 2012@fffizzz
Thanks. The command worked in game worked but not in console.
Twice I tried /perm cleanup then /perm save from console, checked users.yml and it wasn't clean.
v2.9.20b and CB 1.3.1 Rb 2340. I didn't think my permission list would be relevant here so I didn't include it. If you need more info let me know.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@codename_B
Ok thanks :) I had default inheriting default, lol
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Iaintee
You've got a group inheriting itself.
-
View User Profile
-
Send Message
Posted Sep 9, 2012Getting this?
http://pastebin.com/GFv7cgrL
http://pastie.org/4691036
Bperms v2.9.20b
Bukkit 2352
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Nikecow
Post your files, and permission nodes that I can test that DON'T work so I can make em work!
-
View User Profile
-
Send Message
Posted Sep 9, 2012@DoctorBoyd
Just run /perm cleanup every now and then.