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 Apr 25, 2012@Blazex224
You mean other than setting the default rank to the one you want it to be? o.o
I don't understand what you're asking... the "default" rank is the "default" rank... The first rank a new player gets when they log in.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Hey, None of my players can build anywhere, and I can't seem to find a plugin that could auto-promote them to default rank. I have tried many plugins, like SignPromote, AutoPromote, etc. but none of them work. Anyways, If there is a way to let players be promoted to default right away, first when they log in, that would be great to know.
-
View User Profile
-
Send Message
Posted Apr 24, 2012What I do is go in to config.yml and turn on auto-save. The reason for that is so whenever I do a command in game (/world world /user username /user setgroup builder for example), it will save the final results. Much easier than doing /p save every time you are done tweaking things. Also you can find that most of the things you would do in file you can do in game with commands. I highly suggest to never edit file unless you feel the need to fix something you broke or if you need to multiple things at once. BUT if you do edit the file that is the only time you will need to use /p reload. It takes what you did from the file and load it in to the game memory. Otherwise if you don't do /p reload after changing the file, it will lose what you did the next time a /p save (or auto-save) is done or server is restarted/reloaded/etc.
In case anyone wants to know how I set mine up. Here it is:
auto-save: true track-type: single debug-mode: false allow-offline-mode: false use-global-files: false
track-type is for /promote and single means it just sets the group from whatever group the person is in, to the track the person is being promoted to (next one up if you just do /promote)
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Darq_Alder
ok thnkx! ;) and thnkx @SLIPCoR as well :D
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TheManiacPT
I told you to reload first. Saving saves all the nodes in memory to file, to get new nodes from file to memory, you must /p reload, first.
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TheManiacPT
/pa was a typo.... it is /p
-
View User Profile
-
Send Message
Posted Apr 24, 2012@SLiPCoR
what's the difference between /p save and /pa save ??
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TheManiacPT
yeah but still, /p save saves the memory to the disk, so if you changed the file in the meantime, it's clear to me that this gets reverted, by /p save ;)
-
View User Profile
-
Send Message
Posted Apr 24, 2012@SLiPCoR
ok this time I won't use the /p save cmd, and no, I didn't do them by cmd, file edit. and btw, I have auto-save: false
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TheManiacPT
did you remove the * by command?
If not, /pa save killed all your file edits ;) just edit the file and /p reload
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Darq_Alder
ok, I just tryed it, I removed all the '*' thing from all my perm nodes, I did the /p save and then /p reload...and when I checked the perms files again it was back to the state that it was before I removed the nodes. (every '*' is back and even a rank that I didn't create, but I wrote in-game when I was doing / world world; /user *; /user setgroup Adminhi. and now it doesn't disappear !!) Seriously someone help me out with this :(
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Darq_Alder
so, when I change anything /p save to save everything and then /p reload to reload my perms, right?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@SLiPCoR
that means that I need to remove all the '*' nodes from all the permnodes in every rank [e.g. - chestshop.shop.*].
I must remove it, or it won't let me do a thing?
-
View User Profile
-
Send Message
Posted Apr 23, 2012I love the people that come in here and rage because they're too stupid to read. They also blame everyone else for their own retardation. This is why most the plugin devs left bukkit unfortunately.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@TheManiacPT
I love how you censor yourself :)
instead of raging, read what the chat tells you. '*' is NOT 'node.*'
'*' is not a valid node. period. remove it from the perms file, every, every instance of that '*'
-
View User Profile
-
Send Message
Posted Apr 23, 2012@TheManiacPT
Brah. you're doing it wrong. Reloading your server after doing any file changes will just revert them, you must "/p reload", then "/p save", first.
-
View User Profile
-
Send Message
Posted Apr 23, 2012Post removed by mod
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Ciph911
It orders everything absolutely alphabetically, this is intended behaviour.
@ASWeiler
I've been swamped with uni work this past month, but the current release is very stable so all is well. A new release will be released when its ready!
-
View User Profile
-
Send Message
Posted Apr 23, 2012First of all thanks for your great work and support with this plugin. I am comming from PermissionsEx and I am very happy. I only have one concern and that is I use to structure up the permissions file in alphabetical order. But every time I start and then stop the server the permissions file gets really messed up and nodes get moved around.
I am just wondering if there is a possible way to prevent this from happening. Thank you.
-
View User Profile
-
Send Message
Posted Apr 23, 2012I am sure you have been working very hard on this as you get time. Though with such limited updates I wonder what goes on behind the scenes. You don't happen to have a jenkins running do you?