mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-23 12:31:26 +02:00
Updated Command Usage (markdown)
@@ -31,6 +31,7 @@ The alias used below (/lp) can be exchanged for any of the ones listed in the al
|
|||||||
* [/lp `sync`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-sync)
|
* [/lp `sync`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-sync)
|
||||||
* [/lp `info`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-info)
|
* [/lp `info`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-info)
|
||||||
* [/lp `verbose` \<on | record | off | paste\> [filter]](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-verbose)
|
* [/lp `verbose` \<on | record | off | paste\> [filter]](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-verbose)
|
||||||
|
* [/lp `tree` [selection] [max level] [player]](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-tree)
|
||||||
* [/lp `search` \<permission\>](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-search)
|
* [/lp `search` \<permission\>](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-search)
|
||||||
* [/lp `check` \<user\> \<permission\>](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-check)
|
* [/lp `check` \<user\> \<permission\>](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-check)
|
||||||
* [/lp `networksync`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-networksync)
|
* [/lp `networksync`](https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-networksync)
|
||||||
@@ -164,6 +165,22 @@ Filters match the start of permissions or the user being checked. You can use `&
|
|||||||
|
|
||||||
You get the idea. ;)
|
You get the idea. ;)
|
||||||
|
|
||||||
|
___
|
||||||
|
#### `/lp tree`
|
||||||
|
**Permission**: luckperms.tree
|
||||||
|
**Arguments**:
|
||||||
|
* `[selection]` - the root of the tree (specify `.` to include all permissions)
|
||||||
|
* `[max level]` - how many sub branches should be returned (in other words, the width of the tree)
|
||||||
|
* `[player]` - the name of an online player to check against
|
||||||
|
|
||||||
|
Generates a tree view of permissions registered to the server. The tree is built using data exposed to the server by plugins, and expanded over time as plugins check for permissions.
|
||||||
|
|
||||||
|
All arguments are optional. The default selection is `.` (just a dot, which means all), and the default max level is `5`.
|
||||||
|
|
||||||
|
Selection allows you to only generate a part of the tree. For example, a selection of `luckperms.user` will only return the branch of the tree starting with "luckperms.user".
|
||||||
|
|
||||||
|
Max level allows you to define how many sub branches will be included. For example, if you set a max level of `2`, "luckperms.user" will be returned, but "luckperms.user.info" will not be shown.
|
||||||
|
|
||||||
___
|
___
|
||||||
#### `/lp search`
|
#### `/lp search`
|
||||||
**Permission**: luckperms.search
|
**Permission**: luckperms.search
|
||||||
|
Reference in New Issue
Block a user