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

60 lines
1.8 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-15 17:27:06 +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) 。
## 配置
### 插件配置文件 ([config.yml](src/main/resources/config.yml))
```yaml
defaultHome: 1 # 默认所有玩家可以设置一个家
permissions:
# 以下命令全部为 MoeTeleport 的子节点
# 如 "home.1" 的权限全拼就是 "MoeTeleport.home.1"
"home.1": 1 # 有这个权限的玩家最多可以设置一个家
"home.vip": 10 # 有这个权限的玩家最多可以设置10个家
2021-12-15 17:49:49 +00:00
# 传送请求过期时间
expireTime: 30
~~~~
2021-12-15 17:44:48 +00:00
messages: ... # 见源文件
2021-12-15 17:27:06 +00:00
```
2021-12-15 17:29:02 +00:00
### 玩家数据配置文件 (data/\<UUID\>.yml)
2021-12-15 17:27:06 +00:00
```yaml
# 玩家的家位置记录
# 格式为 world;x;y;z;yaw;pitch
homes:
- "world;112.21;45;21.241245552;92.5512;-11"
```
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=""/>