Luckperms教程重构
BIN
docs/插件/权限管理/_images/Luckperms-Download.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
docs/插件/权限管理/_images/bukkit-old.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
docs/插件/权限管理/_images/bukkit.png
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 683 B |
46
docs/插件/权限管理/概览.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# LuckPerms
|
||||
|
||||
:::info
|
||||
|
||||
`官网` :https://luckperms.net/
|
||||
|
||||
`SpigotMC` :https://www.spigotmc.org/resources/luckperms.28140/
|
||||
|
||||
`GitHub` :https://github.com/LuckPerms/LuckPerms
|
||||
|
||||
`插件中文教程(推荐)` :https://snowcutieowo.github.io/LuckPerms/
|
||||
|
||||
:::
|
||||
|
||||
**不建议使用**Luckperms以外的权限插件如:
|
||||
|
||||
- GroupManager
|
||||
- zPermissions
|
||||
- PermissionsEx
|
||||
- PowerfulPerms
|
||||
- BungeePerms
|
||||
- bPermissions
|
||||
|
||||
## 下载
|
||||
|
||||
首先找到这个
|
||||
|
||||
![](_images/Luckperms-Download.png)
|
||||
|
||||
点开`下载`
|
||||
|
||||
如果您使用的是`1.8-最新`的服务器版本,你应该选择这个
|
||||
|
||||
![](_images/bukkit.png)
|
||||
|
||||
如果您用的是`1.7`,你应该选择这个
|
||||
|
||||
![](_images/bukkit-old.png)
|
||||
|
||||
下载完后,去看`插件中文教程`吧
|
||||
|
||||
|
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 112 KiB |
@ -1,40 +0,0 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
# 命令篇
|
||||
|
||||
|
||||
## 权限组
|
||||
|
||||
### 创建
|
||||
```
|
||||
lp creategroup 权限组名
|
||||
```
|
||||
|
||||
### 删除
|
||||
```
|
||||
lp deletegroup 权限组名
|
||||
```
|
||||
|
||||
## 权限
|
||||
|
||||
### 设置某个玩家/权限组的某权限为 true/false
|
||||
```
|
||||
lp user/group 玩家/权限组名 permission set 权限节点 true/false
|
||||
```
|
||||
|
||||
### 移除某个玩家/权限组的某权限的设置
|
||||
```
|
||||
lp user/group 玩家/权限组名 permission unset 权限节点
|
||||
```
|
||||
|
||||
### 检查某个玩家/权限组的权限状态
|
||||
```
|
||||
lp user/group 玩家/权限组名 permission check 权限节点
|
||||
```
|
||||
|
||||
### 列出某个玩家/权限组的权限
|
||||
```
|
||||
lp user/group 玩家/权限组名 permission info
|
||||
```
|
@ -1,56 +0,0 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# 小妙招
|
||||
|
||||
## 网页版可视化编辑器
|
||||
```
|
||||
lp editor
|
||||
```
|
||||
|
||||
![](_images/editor.png)
|
||||
|
||||
## 日志
|
||||
|
||||
可以实时打印权限检查情况 方便排查问题
|
||||
|
||||
```
|
||||
lp verbose <on|record|off|upload> [filter]
|
||||
```
|
||||
|
||||
### 解释
|
||||
|
||||
- `on` - 开启权限检查
|
||||
- `off` - 关闭权限检查
|
||||
- `record` - 记录日志
|
||||
- `paste` - 停止记录,显示日志
|
||||
|
||||
#### on
|
||||
|
||||
![](_images/on.png)
|
||||
|
||||
#### 例子
|
||||
|
||||
```
|
||||
lp verbose on !Luck & !anticheat
|
||||
```
|
||||
|
||||
- `Luck & (essentials | worldedit)` - 匹配 'essentials'和'worldedit' 开头的权限检查
|
||||
- `!Luck & !anticheat` - 匹配除了 'Luck' 和 'anticheat' 开头以外的权限检查
|
||||
- `anticheat & !anticheat.check` - 匹配以'anticheat' 开头 但不匹配 'anticheat.check' 开头的权限检查
|
||||
|
||||
#### paste
|
||||
![](_images/paste-1.png)
|
||||
|
||||
![](_images/paste-2.png)
|
||||
|
||||
## 执行命令
|
||||
|
||||
让玩家执行命令,并打印此命令的权限检查
|
||||
|
||||
```
|
||||
/lp verbose command <me|player> <command>
|
||||
```
|
||||
|
||||
![](_images/command.png)
|
@ -1,26 +0,0 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# LuckPerms
|
||||
|
||||
:::info
|
||||
|
||||
`官网` :https://luckperms.net/
|
||||
|
||||
`SpigotMC` :https://www.spigotmc.org/resources/luckperms.28140/
|
||||
|
||||
`GitHub` :https://github.com/LuckPerms/LuckPerms
|
||||
|
||||
`插件百科` :https://mineplugin.org/LuckPerms
|
||||
|
||||
:::
|
||||
|
||||
**不建议使用**Luckperms以外的权限插件如:
|
||||
|
||||
- GroupManager
|
||||
- zPermissions
|
||||
- PermissionsEx
|
||||
- PowerfulPerms
|
||||
- BungeePerms
|
||||
- bPermissions
|
@ -1,7 +0,0 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# 权限组
|
||||
|
||||
请看:[Luckperms 中文教程](https://izzelaliz.gitbooks.io/luckperms-wiki/content/Usage.html)
|