# TextDisplay
一个制作文本显示的插件,支持[PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI)!
## 用法
```
/textdisplay help - 显示帮助信息
/textdisplay create - 创建一个文本显示
/textdisplay info - 获取显示信息
/textdisplay set - 编辑文本显示(文本,缩放,阴影,背景,等等...)
/textdisplay delete - 删除文本显示
/textdisplay reload - 从配置文件中重新加载文本
```
### 关于 `/textdisplay set` 的详细信息
| 属性 | 描述 |
|-------------------|-------------------------------------------------------------------|
| text | 您可以在这里更改文本 |
| position | 文本的位置 |
| rotation | 文本的旋转 |
| updateInterval | 文本应更新的间隔(设置为 0 以禁用此功能) |
| scale | 缩放(参考Minecraft显示变换) |
| translation | 平移(参考Minecraft显示变换) |
| leftRotation | 左侧旋转(参考Minecraft显示变换) |
| rightRotation | 右侧旋转(参考Minecraft显示变换) |
| billboard | 文本显示中的`billboard`选项 |
| alignment | 文本的对齐方式 |
| defaultBackground | 是否显示文本背景 |
| seeThrough | 设置文本是否应该穿过一个方块 |
| shadow | 是否显示文本阴影 |
| lineWidth | 每行的宽度 |
### 高级编辑
您可以在plugins/TextDisplay/texts文件夹中看到所有文本。您可以更改文件并运行 `/textdisplay reload`
## 权限
所有命令都具有以 `textdisplay.command` 开头的权限
| 命令 | 权限 |
|---------------------|----------------------------|
| /textdisplay | `textdisplay.command` |
| /textdisplay help | `textdisplay.command.help` |
| /textdisplay create | `textdisplay.command.create` |
| /textdisplay set | `textdisplay.command.set` |
| /textdisplay delete | `textdisplay.command.delete` |
| /textdisplay reload | `textdisplay.command.reload` |
| /textdisplay info | `textdisplay.command.info` |