bPermissions command list
These are the default commands in bPermissions
• "/permissions save" Use save after changing permissions with commands, otherwise they'll be overwritten when you reload permissions
• "/permissions reload" Do this for your permission edits to take effect
• "/permissions cleanup" This cleans out all empty users groups from your files. Any user with no permissions and simply in the default group
• "/permissions backup" This backs up all of your permission files!
To do any of these commands, you need the bPermissions.admin permission node.
You can shorten the "permissions" in these commands to "p", "bp", or "perm" .
There are two stages to the command structure for changing group/user meta data/permissions in bPermissions.
Stage 1: Select which object you would like to edit.
example: /world World_Awesome
example: /group Admin - this will create a group if it does not exist, or select an existing group with that name!
example: /user HerpDerp
You can also use /w, /g, /u as a replacement for /world, /group, /user
Stage 2: Change object as you wish, using this structure:
/OBJECT ACTION VALUE
User's available actions: addgroup, rmgroup, setgroup, addperm, rmperm, meta, cmeta
Group's available actions: addgroup, rmgroup, addperm, rmperm, meta, cmeta
World's available actions: mirror (mirrorto) (mirrorfrom)
*note: Meta data's VALUE has two arguements, KEY and VALUE. See examples below.
User examples:
example: /user rmgroup Admin This removes group "Admin" from the user selected previously.
example: /user setgroup Noob This sets the user selected to group "Noob"
example: /user rmperm some.node This removes node "some.node" from selected player
example: /user meta prefix Herp This sets meta data "prefix" to "Herp" on selected player
example: /user cmeta prefix This removes the selected player's prefix
Group examples:
example: /group addgroup Member This makes the selected group inherit group "Member"
example: /group addperm a.node This adds permission node "a.node" to the selected group.
example: /group meta suffix Derp This adds suffix "Derp" to selected group.
example: /group cmeta suffix This removes the selected group's prefix
If you use an object in a command, such as /world, /user, or /group, It will give you the currently selected object,
EX:
/world, would give the output of, "Currently selected world: yourworldnamehere"
Other commands
There are are also ways of checking the prefix / suffix of a user or a group.
example: /group meta prefix displays a groups prefix
example: /user has permissions.node checks whether a user has a specified permission
example: /user list groups will list all the groups a player is in
Shorthand commands! Great for scripts!
Ever wished you could set a group globally for a player in one line? Now you can! And you don't have to worry about the order of things either ;)
To set codename_B to admin in all worlds
/exec u:codename_B a:setgroup v:admin
To add the permission "bPermissions.admin" to the admin group in world "world"
/exec g:admin a:addperm v:bPermissions.admin w:world
- u/g: selects the user/group and provides the name
- a: provides the action (addgroup/rmgroup/setgroup/addperm/rmperm/setprefix/setsuffix/setpriority)
- v: provides the value (ie. WHAT you are adding/removing/setting)
- w: provides the world (optional, leave blank to apply to all worlds)
Quick Group Setting
To set codename_B to admin in all worlds
/setgroup codename_B admin
-
View User Profile
-
Send Message
Posted Aug 25, 2013how does rmgroup work for the /exec command? I've tried /exec g:<group I want to remove> a:rmgroup I also added v:<group I want to remove> and swapped it out for g: but none of that worked.
-
View User Profile
-
Send Message
Posted Aug 30, 2013what is the perm that allows a player to change their prefix color but not its name and not anyone else's?
-
View User Profile
-
Send Message
Posted Nov 23, 2013how can i set a neg node For example i want to stop people from placeing TNT essentials.build.place.<id>[:datavalue] Allows placing a block.
-
View User Profile
-
Send Message
Posted Dec 29, 2013You add a carrot sign before the permission node for example: ^essentials.spawn
-
View User Profile
-
Send Message
Posted Dec 29, 2013Also, is there a way to list the groups?
-
View User Profile
-
Send Message
Posted Jan 19, 2014Is there any way to change the backup file destination when you do /p backup?
-
View User Profile
-
Send Message
Posted Jan 29, 2014There is a bug with /bp cleanup ! You should document til it is fixed.
It will change all group files if you use /bp cleanup and your default group is not called default.
You will then need to re-add default: groupname into your gruop file.!
-
View User Profile
-
Send Message
Posted Feb 7, 2014I was wondering when you use the development build how come i can't use the /world,/user and /group command? when i do for example /u Mysticforce it says not enough arguments? could you fix that in the development build?
-
View User Profile
-
Send Message
Posted Mar 4, 2014exec u:@p a:setgroup v:Admins http://pastie.org/8862771
-
View User Profile
-
Send Message
Posted May 18, 2014Is there any way to list the groups in game?
-
View User Profile
-
Send Message
Posted Jun 28, 2014is there a way to keep groups different on worlds? like im using multivers portals and have 2 worlds 1 for Plots/creative and 1 4 survival And i wanna keep the groups 4 both seperate. Is there a way to do so?
-
View User Profile
-
Send Message
Posted Jun 29, 2014If there isnt whats the permissions for the basic minecraft stuff you can do when ur deoped?
-
View User Profile
-
Send Message
Posted Jul 5, 2014i have a question and a bug report, first /user cmeta suffix dosnt do anything..i set a users suffix with /user meta suffix &6[&cHero&6] and when i tried to remove it with /user cmeta suffix..it did nothing and i still have my suffix, am i doing this wrong or does it just not work atm? And also how do i add suffix's with one command (the /exec command) ? i tried /exec u:Veltzkree a:setsuffix v:&6[&cHero&6] w:Spawn but it dosnt seem to do anything? am i doing it wrong?
-
View User Profile
-
Send Message
Posted Jul 10, 2014How do you list the perms in a group or user
-
View User Profile
-
Send Message
Posted Jan 14, 2015I did notice I can add a ^ (negative) permission from "in game", but cannot remove it IE:
issuing the following commands WORKS: /world world /group default /group addperm ^plugin.command
however, the removal does NOT: /world world /group default /group rmperm ^plugin.command
that last one, does NOT remove the (negative) command node from the permissions file.
{This is all using CB 1.8 and bPermissions 2.10.8}
Add: I did try using the caret (^) and a dash/hyphen sign (-) Either will actually add the correct (negative) permission to the file, but neither will remove it... ... ...
-
View User Profile
-
Send Message
Posted Feb 19, 2015@Skywalker1202
you can look under the file plugins>bpermissions>world>groups this will show all permissions and you can edit them here (or as i usually do in game)
-
View User Profile
-
Send Message
Posted Mar 8, 2015or you can do
/group YOURGROUP /group list group /group list perms
or
/user SOMEUSER /user list group /user list perms
Undocumented, but google will find it. If only you could list meta and all the groups you have.
-
View User Profile
-
Send Message
Posted Apr 22, 2015@TheOriginalSparc
and its /group rmperm plugin.command to remove the negated permnode.
-
View User Profile
-
Send Message
Posted Jul 2, 2015@rymate1234 I added the node that allows me to promote players (permissions.user.promote.<ladder>) and then deopped myself. I then did /promote [my name] [world name] and then I got the message:[bPermissions] You don't have permission to use promotion tracks! I then tried the command (exec g:Owner a:addperm v:bPermissions.admin w:hub) and got the message: [bPermissions] You're not allowed to do that
-
View User Profile
-
Send Message
Posted Aug 13, 2015Im so confused with this plugin _-_