1
mirror of https://github.com/CarmJos/MoeTeleport.git synced 2026-06-04 16:46:10 +08:00

项目初始化

This commit is contained in:
2021-12-16 01:27:06 +08:00
parent 5477e0ef92
commit 3cce949497
9 changed files with 63 additions and 72 deletions
+37 -10
View File
@@ -1,23 +1,50 @@
```text
___ _ _ ___ _
( _`\ ( )_ (_ ) ( _`\ ( )
| |_) ) _ _ __ | ,_) _ _ | | | ( (_) _ ___ ___ ___ ___ _ _ ___ _| | ___
| ,__/'/'_`\ ( '__)| | /'_` ) | | | | _ /'_`\ /' _ ` _ `\/' _ ` _ `\ /'_` )/' _ `\ /'_` |/',__)
| | ( (_) )| | | |_ ( (_| | | | | (_( )( (_) )| ( ) ( ) || ( ) ( ) |( (_| || ( ) |( (_| |\__, \
(_) `\___/'(_) `\__)`\__,_)(___) (____/'`\___/'(_) (_) (_)(_) (_) (_)`\__,_)(_) (_)`\__,_)(____/
__ __ _______ _ _
| \/ | |__ __| | | | |
| \ / | ___ ___| | ___| | ___ _ __ ___ _ __| |_
| |\/| |/ _ \ / _ \ |/ _ \ |/ _ \ '_ \ / _ \| '__| __|
| | | | (_) | __/ | __/ | __/ |_) | (_) | | | |_
|_| |_|\___/ \___|_|\___|_|\___| .__/ \___/|_| \__|
| |
|_|
```
# PortalCommands
当玩家进入传送门时执行对应指令。
# MoeTeleport 喵喵传送
简单的传送请求插件,支持设置家。
## 依赖
- **[必须]** 插件本体基于 [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/PortalCommands/network/dependencies) 。
详细依赖列表可见 [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个家
```
### 玩家数据配置文件 (data/<UUID>.yml)
```yaml
# 玩家的家位置记录
# 格式为 world;x;y;z;yaw;pitch
homes:
- "world;112.21;45;21.241245552;92.5512;-11"
```
## 支持与捐赠