Skip to content

Commit e212672

Browse files
committed
Updated in-using.md.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 183f9e8 commit e212672

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

documentation/in-using.md

+19-9
Original file line numberDiff line numberDiff line change
@@ -33,50 +33,52 @@ Place your mods and Permissions API mods according to the structure above.
3333

3434
Run the game, check the number of mods, if the list of mods contains `Project Essentials Permissions` mod, then the mod has successfully passed the initialization of the modification.
3535

36-
After that, go into a single world, then try to write the `/essentials permissions` command, if you **get an error** that you do not have permissions, it means that the modification works as it should.
36+
After that, go into a single world, then try to write the `/permissions` command, if you **get an error** that you do not have permissions, it means that the modification works as it should.
3737

3838
#### 1.4 Control permissions via minecraft commands.
3939

4040
We understand that there are lazy people who do not like to dig into files (lol, although it’s easier through a file), therefore we made these commands for you:
4141

42+
`Note: /permissions command aliases: permission, perm.`
43+
4244
```
43-
/essentials permissions
45+
/permissions about
4446
45-
- description: base command of permissions API module; just send you about the message.
47+
- description: just send you about the message.
4648
47-
- permission: ess.perm
49+
- permission: ess.perm.about
4850
```
4951

5052
```
51-
/essentials permissions save
53+
/permissions save
5254
5355
- description: save permission configuration.
5456
5557
- permission: ess.perm.save
5658
```
5759

5860
```
59-
/essentials permissions reload
61+
/permissions reload
6062
6163
- description: reload permission configuration !!!without saving.
6264
6365
- permission: ess.perm.reload
6466
```
6567

6668
```
67-
/essentials permissions group <name> [set | remove] <node>
69+
/permissions group <name> [set | remove] <node>
6870
6971
- description: remove or set permission for the target group.
7072
7173
- permission: ess.perm.group
7274
```
7375

7476
```
75-
/essentials permissions user <name> [set | remove] <node>
77+
/permissions user <name> [set | remove] <node>
7678
7779
OR
7880
79-
/essentials permissions user <name> set <group name>
81+
/permissions user <name> set <group name>
8082
8183
- description: remove or set user permission node or only set group for the user.
8284
@@ -275,6 +277,14 @@ PermissionsAPI.setUserPermissionNode
275277
276278
- description: Install \ Add new permission for the user.
277279
280+
- type: MutableList<String>
281+
```
282+
283+
```
284+
PermissionsAPI.oppedPlayers
285+
286+
- description: Contain all opped players, for advanced permission checking.
287+
278288
- accepts:
279289
- playerNickName - nickname of target player. (string)
280290
- node - new user permission. setting up for "*" (any) player. (string)

0 commit comments

Comments
 (0)