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
Please make it update people's name colors at least on reload.
How to addnodes to every world and every group?????????
@bartsajjad
Add the node to 1 group globally then edit the world config files and just copy and paste them EDIT: I think
which is the node that gives all permissions?
hi.
i need to block the command : /tp for everyone (admins too).
how can i do ? i want player 1 can just do a teleport to player 2, but player 1 cannot teleport player 2 to him.
@ascrounch
That is completely depending on the plugin you use for teleportation
i don't know... i just use /tp
i thik this is bukkit or essentials... how can i know ?
@ascrounch
Sounds like essentials to me. Just don't give them the permission node
so, how to block this command for admin ?
lets see my world.yml :
what's wrong ?
What Is the group creation comand
I see how to add/remove permissions.... but how can I list or view the existing permissions? is there a /user list ?
@cloud_strife_91spain
There is not one, Normaly OP'ing yourself works, then adding all the node you dont have
how do u remove groups and users? they keep popping back up in users.yml and groups.yml
@bearbear12345 If you edit the .yml files while the server's running, it will overwrite them after a few minutes I think. You either need to use the commands or edit them when the server isn't running.
What commands use when use-global-files is set to true ? cause bPermissions needs /world (worldname). Is there a special command for this case ?
How do you select the global group in-game?
@DrTrans4859560
You can't create a group like that, you need to write it in the .yaml document.
Whats the permissions nodes to be able to promote a player? /world world /user [name] /user setgroup [group]
I would like to know this too. I am using MagicSpells and MagicSpells Memory. I am trying to create a spell that the user can purchase that will give them permissions and increase their Memory. tracks.trackname worked for promote but i dont want the user to be able to buy 3 of these scrolls and keep promoting their self up the ranks rather than buying the scroll for each rank. I am now trying to allow them to setgroup[group] but it says that they dont have the permissions. Any Suggestions?