TeleportSystem
TeleportSystem 是一款轻量级、可配置的传送插件,适用于 Paper 1.21+,将最常见的生存模式传送功能整合到一个简洁的包中:出生点(Spawn)、完整的 TPA 系统、家(Homes) 以及 随机传送(/rtp)。
它旨在让玩家易于使用,让管理员易于管理,并通过 config.yml 实现完全自定义(包括消息、延迟、冷却时间、音效等)。
包含一个仅限 OP 的命令 /teleportsystem reload,可在不重启服务器的情况下重新加载配置。
功能
出生点系统
/spawn 将玩家传送到服务器出生点(支持可配置的延迟)
- 管理员控制:
/spawn set (OP) — 将当前所在位置设为出生点
/spawn remove (OP) — 移除已存储的出生点
/spawn respawn true|false (OP) — 切换死亡后是否在出生点重生
- 可自定义消息和前缀
TPA 系统
/tpa request <player> — 发送传送请求
/tpa here <player> — 请求目标玩家传送到你身边
/tpa accept [player] — 接受请求
/tpa deny [player] — 拒绝请求
/tpa toggelrequest — 切换是否接收 TPA 请求
- 可配置项:
- 请求超时时间
- 请求冷却时间
- 允许跨世界传送
- 音效和消息
家系统
/home create <name> — 创建/设置家
/home tp <name> — 传送到某个家(支持可配置的延迟)
/home remove <name> — 删除一个家
/home list — 列出你所有的家
- 可配置项:
- 每个玩家的最大家数量(默认值)
- 传送延迟
- 音效和消息
随机传送 (RTP)
/rtp 在 5 秒(可配置)后将玩家传送到随机位置
- 可配置项:
- 延迟
- 范围(X/Z 轴)
- 寻找安全位置的尝试次数
- 消息
用户体验优化
- 所有命令均支持 Tab 补全
- 可配置为移动时取消传送
- 开箱即用的整洁、适合生存的默认设置
命令
Spawn
/spawn
/spawn set
/spawn remove
/spawn respawn <true|false>
TPA
/tpa request <player>
/tpa here <player>
/tpa accept [player]
/tpa deny [player]
/tpa toggelrequest
Homes
/home create <name>
/home tp <name>
/home remove <name>
/home list
管理员
/teleportsystem reload (仅限 OP)
权限
Spawn
teleportsystem.spawn.use (默认: true)
teleportsystem.spawn.set (默认: op)
teleportsystem.spawn.remove (默认: op)
teleportsystem.spawn.respawn (默认: op)
TPA
teleportsystem.tpa.use (默认: true)
Homes
teleportsystem.home.use (默认: true)
配置
所有功能均通过 plugins/TeleportSystem/config.yml 进行控制,包括:
- 前缀 + 消息
- 传送延迟
- 移动时取消传送
- TPA 冷却/超时 + 音效
- 最大家数量 + 家传送延迟
- RTP 延迟/范围/尝试次数
编辑配置后,请运行:
/teleportsystem reload (仅限 OP)
兼容性
- 服务端: Paper 1.21+
- Java: 推荐 Java 21
备注 / 路线图
- 配置文件中已预留 MySQL 格式。如果你需要完整的 MySQL 支持(以及从 YAML 迁移),请提交请求,我可以添加该功能。
TeleportSystem
TeleportSystem is a lightweight, configurable teleport plugin for Paper 1.21+ that bundles the most common survival teleport features into one clean package: Spawn, a full TPA system, Homes, and Random Teleport (/rtp).
It is designed to be simple to use for players, easy to manage for admins, and fully customizable through config.yml (messages, delays, cooldowns, sounds, and more).
An OP-only command /teleportsystem reload is included to reload the configuration without restarting the server.
Features
Spawn System
/spawn teleports a player to the server spawn (with configurable delay)
- Admin controls:
/spawn set (OP) — set the spawn to your current position
/spawn remove (OP) — remove the stored spawn
/spawn respawn true|false (OP) — toggle respawning at spawn after death
- Customizable messages and prefix
TPA System
/tpa request <player> — send a teleport request
/tpa here <player> — request the target to teleport to you
/tpa accept [player] — accept a request
/tpa deny [player] — deny a request
/tpa toggelrequest — toggle whether you can receive TPA requests
- Configurable:
- request timeout
- request cooldown
- cross-world teleport allowance
- sounds and messages
Homes System
/home create <name> — create/set a home
/home tp <name> — teleport to a home (with configurable delay)
/home remove <name> — delete a home
/home list — list all your homes
- Configurable:
- max homes per player (default value)
- teleport delay
- sounds and messages
Random Teleport (RTP)
/rtp teleports a player to a random location after 5 seconds (configurable)
- Configurable:
- delay
- range (X/Z)
- number of attempts to find a safe location
- messages
Quality of Life
- All commands include tab completion
- Teleports can be configured to cancel on move
- Clean, survival-friendly defaults out of the box
Commands
Spawn
/spawn
/spawn set
/spawn remove
/spawn respawn <true|false>
TPA
/tpa request <player>
/tpa here <player>
/tpa accept [player]
/tpa deny [player]
/tpa toggelrequest
Homes
/home create <name>
/home tp <name>
/home remove <name>
/home list
Admin
/teleportsystem reload (OP only)
Permissions
Spawn
teleportsystem.spawn.use (default: true)
teleportsystem.spawn.set (default: op)
teleportsystem.spawn.remove (default: op)
teleportsystem.spawn.respawn (default: op)
TPA
teleportsystem.tpa.use (default: true)
Homes
teleportsystem.home.use (default: true)
Configuration
All features are controlled via plugins/TeleportSystem/config.yml, including:
- prefix + messages
- teleport delays
- cancel-on-move
- TPA cooldown/timeout + sounds
- max homes + home teleport delay
- RTP delay/range/attempts
After editing the config, run:
/teleportsystem reload (OP only)
Compatibility
- Server: Paper 1.21+
- Java: 21 recommended
Notes / Roadmap
- MySQL is prepared in the config format. If you want full MySQL support (and migration from YAML), open a request and I can add it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧