forked from codename-B/bPermissions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
54 lines (47 loc) · 1.74 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Version 1.2 of bPermissions brings a complete command restructuring with configurable commands!
************config.yml************
commands:
global-command: global
world-command: world
add-node: addnode
list-node: lsnode
add-group: addgroup
local-command: local
remove-node: rmnode
list-group: lsgroup
remove-group: rmgroup
**********************************
Explanation:
global-command: sets the designation for editing in all worlds
world-command: sets the designation for editing a specific worlds permissions
local-command: sets the designation for editing the permissions of the world you are in (player only)
add-node: sets the command for adding a node
remove-node: sets the command for removing a node
list-node: sets the command for listing nodes
add-group: sets the command for adding a group
remove-group: sets the command for removing a group
list-group: sets the command for listing a group
How to use:
/p|permissions designation(world|local|global) command target (?world)
Examples:
/p world addnode bPermissions.admin admin world
/p global addgroup builders
/permissions local rmgroup EvilSeph admin
*********worldname.yml************
default: group1
players:
playername:
- group1
codename_B:
- group1
groups:
group1:
- node.node
- ^node2.node
- bPermissions.build
**********************************
Negative permissions?
Just prefix the permission node with the "^" symbol for example "^node2.node" will mean that player.hasPermission("node2.node") will return false nomatter what.
Spacing?
Yes, unfortunately the expanding config file means spacing has had to be added to the config files.
Remember, if you can't format yaml correctly, you can always do everything by the commands!