1
mirror of https://github.com/CarmJos/MoeTeleport.git synced 2024-09-19 21:35:56 +00:00
MoeTeleport/README.md

80 lines
2.2 KiB
Markdown
Raw Normal View History

2021-12-15 17:11:56 +00:00
```text
2021-12-15 17:27:06 +00:00
__ __ _______ _ _
| \/ | |__ __| | | | |
| \ / | ___ ___| | ___| | ___ _ __ ___ _ __| |_
| |\/| |/ _ \ / _ \ |/ _ \ |/ _ \ '_ \ / _ \| '__| __|
| | | | (_) | __/ | __/ | __/ |_) | (_) | | | |_
|_| |_|\___/ \___|_|\___|_|\___| .__/ \___/|_| \__|
| |
|_|
2021-12-15 17:11:56 +00:00
```
2021-12-15 17:27:06 +00:00
# MoeTeleport 喵喵传送
2021-12-15 17:11:56 +00:00
2021-12-16 23:32:23 +00:00
简单的传送请求插件,支持设置家与返回上一个地点。
2021-12-15 17:11:56 +00:00
## 依赖
- **[必须]** 插件本体基于 [Spigot-API](https://hub.spigotmc.org/stash/projects/SPIGOT) 、[BukkitAPI](http://bukkit.org/) 实现。
- **[推荐]** 变量部分基于 [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) 实现。
2021-12-15 17:27:06 +00:00
详细依赖列表可见 [Dependencies](https://github.com/CarmJos/MoeTeleport/network/dependencies) 。
2021-12-16 23:32:23 +00:00
## [指令](src/main/resources/plugin.yml)
2021-12-15 17:57:14 +00:00
2021-12-15 18:23:13 +00:00
- 必须参数 `<参数>`
- 可选参数 `[参数]`
2021-12-15 17:57:14 +00:00
```text
# /back
- 返回上一个传送地点
# /tpa <玩家>
- 请求传送到一个玩家身边。
# /tpaHere <玩家>
2021-12-15 17:57:14 +00:00
- 请求一个玩家传送到自己身边。
# /tpAccept [玩家]
2021-12-15 17:57:14 +00:00
- 同意一个请求,可以限定某个玩家。
# /tpDeny [玩家]
2021-12-15 17:57:14 +00:00
- 拒绝一个请求,可以限定某个玩家。
# /home [name]
- 返回家 (不填name会返回第一个家,若存在home则优先返回home)
# /listHome
2021-12-15 17:57:42 +00:00
- 列出所有家的位置
# /setHome [name]
- 设置家 (不填name默认为home)
# /delHome <name>
2021-12-15 17:57:14 +00:00
- 删除家
```
2021-12-15 17:27:06 +00:00
## 配置
### 插件配置文件 ([config.yml](src/main/resources/config.yml))
2021-12-16 23:30:06 +00:00
详见源文件。
2021-12-15 17:27:06 +00:00
2021-12-15 18:21:47 +00:00
### 消息配置文件 ([messages.yml](src/main/resources/messages.yml))
详见源文件。
2021-12-15 17:29:02 +00:00
### 玩家数据配置文件 (data/\<UUID\>.yml)
2021-12-15 17:27:06 +00:00
2021-12-16 23:32:23 +00:00
本插件采用 `YAML格式` 存储玩家数据。
2021-12-15 17:27:06 +00:00
```yaml
# 玩家的家位置记录
# 格式为 world;x;y;z;yaw;pitch
homes:
2021-12-15 17:57:14 +00:00
"name": "world;112.21;45;21.241245552;92.5512;-11"
2021-12-15 17:27:06 +00:00
```
2021-12-15 17:11:56 +00:00
## 支持与捐赠
若您觉得本插件做的不错,您可以捐赠支持我!
感谢您成为开源项目的支持者!
<img height=25% width=25% src="https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg" alt=""/>