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