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 Nov 11, 2011@Deklipz
config.yml shouldn't be blank. Can you check that again and confirm your bukkit versions and any server error logs?
-
View User Profile
-
Send Message
Posted Nov 10, 2011@Darq_Alder
Where is the config.yml file that I need to set the override-player option to true? There is a config.yml file in the bpermissions folder but it is empty. Do I need to put it in there? Can I copy/paste the example config file and use that? What do I do with the other options in the example file?
What do I do with the command options? is this to set custom console commands for these things? Also, what are the other options for under the command group?
I don't mind just screwing with things to find out what they do but I don't want to screw everything up by changing things that I shouldn't.
commands:
global-command: global
local-command: local
world-command: world
promote-player: promote
demote-player: demote
set-group: setgroup
add-group: addgroup
remove-group: rmgroup
list-group: lsgroup
add-node: addnode
remove-node: rmnode
list-node: lsnode
unlock: unlock
lock: lock
in-group: ingroup
permission-type: yaml
enable-debug: true
cache-values: true
suggest-similar-commands: true
use-iplock: false
format-chat: false
override-player: false
-
View User Profile
-
Send Message
Posted Nov 10, 2011@Deklipz
Nope. That's used for defining custom permissions and can be ignored.
-
View User Profile
-
Send Message
Posted Nov 10, 2011Where is the config.yml file that I need to set the override-player option to true? There is a config.yml file in the bpermissions folder but it is empty. Do I need to put it in there?
-
View User Profile
-
Send Message
Posted Nov 10, 2011@Darq_Alder
Thank you very much! :D I was looking at all the permissions for the plugins that I'm putting in and was wondering how the heck to keep it all organized! Thank you very very much!
-
View User Profile
-
Send Message
Posted Nov 10, 2011@Deklipz
You only put your permissions into your worldname.yml file in plugins > bPermissions > worlds
-
View User Profile
-
Send Message
Posted Nov 10, 2011I am brand new to minecraft, minecraft servers, and any type of coding or scripting or whatever you want to call it (editing *.yml files and stuff.)
I have started a server on my home network for myself, my son, and some of his friends. I have been trying to figure the whole permissions thing out but I have a couple of things I'm really not sure about.
I found a good tutorial for bPermissions and I am beginning to get the whole groups thing figured out but I don't understand whether I am supposed to input the permissions only in the world.yml file? or am I supposed to put them into Bukkit also? There is a place to put them in the "advanced" tab. I'm not sure if they need to go there, in the .yml file, or both, or what?
I appreciate any help that you are able to offer and any advice that anyone might have.
-Kenn
-
View User Profile
-
Send Message
Posted Nov 10, 2011@smashbox26t
Under "Files" click on 1.8.2.b, it shows all changes up to that point.
-
View User Profile
-
Send Message
Posted Nov 9, 2011Where can I find a changelog?
-
View User Profile
-
Send Message
Posted Nov 9, 2011@Shock2oo3
There is no inheritance with bPermissions.
If you have group 1 and group 2, group 1 with permissions.a and group 2 with permissions.b, but you want someone in group to have group 1's permissions also, you just assign both groups to them
And to negate a node, in any case, just write it as "^node.node" instead of "node.node"
-
View User Profile
-
Send Message
Posted Nov 9, 2011I am trying to set up some classes in mcmmo with this and obv am doing something wrong. Do classes always inherit the permissions from the group above them in the world permission text files?
like say I have
groups:
default:
-bPermissions.build
goodguy:
-bPermissions.build
-mcmmo.
-mcmmo.defaults
-mcmmo.defaults op
-mcmmo.ability
-mcmmo.ability.herbalism
badguy:
-bPermissions.build
-mcmmo.
-mcmmo.defaults
-mcmmo.defaults op
-mcmmo.ability
-mcmmo.ability.mining
Is there a way to make it so the 'badguy' doesnt get the herbalism ability? Maybe a way to 'subtract abilitys from a certain class. I'm just not too clear on how this mod ranks who gets what. As in, if the good guy is first in the .txt will the badguy always get his traits? or can I set the groups up like
players:
shock2oo3:
- default
- badguy
HerpaDerpa:
- default
- goodguy
and then shock2oo3 wouldnt have all the good guy traits?
Thanks for all the help, there has been alot of support for this mod so far with getting questions answered wich is great. If I can ever figure how to use it the way I'd like to, then I would love to use this plugin. I really reccomend bPerm's to anyone just off all the help and support you guys have!
-
View User Profile
-
Send Message
Posted Nov 9, 2011@SLiPCoR
Only with override-player: true
You need to assign all the nodes individually otherwise
@RamTamSpecial
There is no "admin" function.
OP gives you access to all bPermissions commands
-
View User Profile
-
Send Message
Posted Nov 9, 2011there is no "admin function", you need to assign a node as follows:
Then the group admin will have all permissions
-
View User Profile
-
Send Message
Posted Nov 9, 2011@ codename_B well, I'm im trouble with the "admin" function in your plugin.. I'm listed Op. I'm listed as admin in your plugin the group admin got the permission node "bPermissions.admin" But I don't have all the permissions o_o what goes wrong?
-
View User Profile
-
Send Message
Posted Nov 9, 2011@davenger
Thanks, I'm currently investigating this.
If you have a github - could you comment support for this pull request?
https://github.com/Bukkit/CraftBukkit/pull/532
-
View User Profile
-
Send Message
Posted Nov 9, 2011@Codename_B
Sorry to report having the same issue with 1.8.2b. If this helps at all i'm using Herochat for the chat, Multiverse for world management, and WormholeXtreme for stargate's to travel between worlds. One other thing to keep in mind though is if I rank someone up via /perm global addgroup there old rank which has a lower prefix number will still show up as there prefix as I informed previously I have no suffix's set which you seemed to take note of as if you may realize why it is acting the way it is. Just ask if you want a copy of my world permission files, or if you would like you can come on my server and i'll give you whatever access you need.
-
View User Profile
-
Send Message
Posted Nov 9, 2011@RamTamSpecial
Wha?
@aehooo
Will investigate this, please open a ticket.
-
View User Profile
-
Send Message
Posted Nov 9, 2011@davenger
Can you try 1.8.2b - I added per-world prefix checking
-
View User Profile
-
Send Message
Posted Nov 8, 2011@ Codename_B I'm still having that issue that I described earlier with Prefix's not changing when ranked up, and when entering new worlds. Let me know what info you need from me to see if it's able to be fixed. I still have to use 1.7.6 for everything to work correctly.
-
View User Profile
-
Send Message
Posted Nov 8, 2011@ codename_B why should I? I've used the commands of your site http://dev.bukkit.org/server-mods/bpermissions/pages/bpermissions-command-list/ So what am I doing wrong? This plugin blows up my complete permission system ._.