# LPPronouns
一个简单、跨API的插件,允许玩家设置他们的代词。
适用服务器:Spigot, BungeeCord, Fabric, Forge, 和 Velocity
链接到我们的支持:[Discord](https://discord.gg/NffvJd95tk)
## 下载
- [GitHub](https://github.com/p0t4t0sandwich/LPPronouns/releases)
- [Spigot](https://www.spigotmc.org/resources/lppronouns.110206/)
- [Hangar](https://hangar.papermc.io/p0t4t0sandwich/LPPronouns)
- [Modrinth](https://modrinth.com/plugin/lppronouns)
- [CurseForge](https://www.curseforge.com/minecraft/mc-mods/lppronouns)
### 兼容性速查表
| 服务器类型 | 版本 | Jar 文件名 |
|-------------|-------------|----------------------------------------|
| 所有 1.19 | 1.19-1.19.4 | `LPPronouns--1.19.jar` |
| 所有 1.20 | 1.20-1.20.1 | `LPPronouns--1.20.jar` |
| Bukkit | 1.8-1.20.1 | `LPPronouns--bukkit.jar` |
| BungeeCord | 1.20-1.20.1 | `LPPronouns--bungee.jar` |
| Velocity | API v3 | `LPPronouns--velocity.jar` |
| Fabric 1.17 | 1.17-1.19.4 | `LPPronouns--fabric-1.17.jar` |
| Fabric 1.20 | 1.20-1.20.1 | `LPPronouns--fabric-1.20.jar` |
| Forge 1.19 | 1.19-1.19.4 | `LPPronouns--forge-1.19.jar` |
| Forge 1.20 | 1.20-1.20.1 | `LPPronouns--forge-1.20.jar` |
## 依赖
此插件需要 [LuckPerms](https://luckperms.net/) 才能正常运行。
## 命令和权限
| 命令 | 权限 | 描述 |
|--------------------------------------------|-----------------------|-------------------------------------|
| `/pronouns` | `lppronouns.pronouns` | 允许您管理您的代词。 |
| `/pronouns list` | `N/A` | 列出所有可用的代词。 |
| `/pronouns clear/delete/none/remove/reset` | `N/A` | 清除您的代词。 |
| `/pronouns <代词>` | `N/A` | 设置您的代词。 |
## 配置文件
```yaml
# 数据库配置
# 支持的存储类型:mongodb, mysql
storage:
type: mongodb
config:
host: localhost
port: 27017
database: playerdata
username: root
password: password
# 消息格式配置
formatting:
# 这将 LPPronouns 设置为服务器的聊天格式器
enabled: true
# %player% - 玩家名称
# %message% - 消息
# %server% - 服务器名称
# %prefix% - 玩家前缀
# %suffix% - 玩家后缀
# %displayname% - 玩家显示名称
format: "<%displayname% (%suffix%)> %message%"
# 代词配置
pronouns:
none: ""
any: any
other: other
ask: ask
avoid: avoid
# ...
```
## [TODO](https://github.com/p0t4t0sandwich/LPPronouns#todo)