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 May 14, 2012Hello !
It was an post here :D
blablabla....
-
View User Profile
-
Send Message
Posted May 14, 2012@codename_B
per world users.yml, if you'd like I'll open a ticket on it.
-
View User Profile
-
Send Message
Posted May 14, 2012<<reply 706325="">>
which users.yml?
-
View User Profile
-
Send Message
Posted May 14, 2012Is there a limit to the file size of the users.yml file?
Its happening again where people join the server, we manually promote them, /perm save and they never end up in the users.yml file.
We also utilize WordUp for auto promotion, people are having to do it every day now as its not saving to disk.
Plenty of free disk space, permissions on the file are fine.
-rwxr-xr-x 1 kelso kelso 218895 May 14 08:41 users.yml, as you can see, the file is quite large.
-
View User Profile
-
Send Message
Posted May 12, 2012Does bPermissions have an auto promote thing that's time based?
-
View User Profile
-
Send Message
Posted May 11, 2012<<reply 701370="">>
As far as we can tell its a superperms bug - we've no idea WHY it even happens :/
-
View User Profile
-
Send Message
Posted May 11, 2012Thanks alot for a reply codename b! I used bpermissions long ago and it worked well and that is why i returned. So is there a possible quick fix? Or something i can do to minimize this effect?
-
View User Profile
-
Send Message
Posted May 11, 2012When ever I reload my server or restart it the bPermissions folder doesn't create any world folders... do I have to make a folder with the name of my world or anything?
Any help would be greatly appreciated.
-
View User Profile
-
Send Message
Posted May 11, 2012<<reply 701220="">>
Hi, that's a common error for superperms and we're not 100% sure of the cause.
It's annoying because it seems like only one or two perms are lost (as we have a world related perm that we check for on a timer task to re-assign permissions if all permissions are lost).
The reason that no-one has responded is probably because the support team is busy and there have been tickets about it before.
-
View User Profile
-
Send Message
Posted May 11, 2012Hello i really hate to post this here, but i made a ticket a week ago and have received no response. I just started using bpermissions as groupmanager is not being supported anymore. There seems to be some glitch that i cant track down. People on my server are randomly losing permissions. Sometimes they come back on there own sometimes i have to restart the server as a reload does nothing. There are no errors to report in the console. The only way i know its happening is someone messages me that its happening again. It seems the most common permission being lost is the build permission which i use essentials.build for. Any help would be great thanks.
-
View User Profile
-
Send Message
Posted May 11, 2012Will there be database support in the future?
-
View User Profile
-
Send Message
Posted May 10, 2012@Enockser
The best you can do is get all the permission nodes for each plugin and add them to a group. Usually plugins have a pluginname.* that gives you all perms for that plugin.
-
View User Profile
-
Send Message
Posted May 10, 2012<<reply 697711="">>
I was thinking about adding ONE permission node and the group would have ALL the permissions. Like the '*' permission. (wich dont work with bPermissions :(), but not giving them acces to /stop or /reload or /op ...
-
View User Profile
-
Send Message
Posted May 9, 2012@Mirrorsounds
That uses the users.yml and groups.yml in the bPermissions folder. Which would work the same as the way I mentioned, but IDK I was used to my way before that was finished and made available. I also am not so sure if it works perfectly or not. So I would say go for it, turn that on and try it out. It should work fine for you. Just remember to remove the users and groups from the world folder (not the pworld ofc).
-
View User Profile
-
Send Message
Posted May 9, 2012@ASWeiler
what does the use-global-files thing do in the config do then?
-
View User Profile
-
Send Message
Posted May 9, 2012@SCanfield
http://wiki.bukkit.org/CraftBukkit_commands
Read that, you will see that bukkit.command.plugins is the permission node. So in this case you would add ^bukkit.command.plugins to the group you want to deny access to the command.
-
View User Profile
-
Send Message
Posted May 9, 2012Hey whats the permissions for disabling the /plugins command?
-
View User Profile
-
Send Message
Posted May 9, 2012@Mirrorsounds
You are welcome, I hope that does work out.
-
View User Profile
-
Send Message
Posted May 9, 2012@ASWeiler
yes, thanks. I will try that
-
View User Profile
-
Send Message
Posted May 9, 2012@Enockser
Well I don't know of any way to block ops from doing anything bPerms wise. Though to give a group full access you add bPermissions.admin and tracks.* to the group's permissions.
An idea is to get the list of ops you have and on each individual add ^bPermissions.admin and ^tracks.* unless they are also in the group you want to have the permissions to it. In that case, just remove everyone from ops and just give an group all permissions to each plugin you have. Most plugins support pluginname.* so it is your call.