TpSetWarp
一个简洁、快速且轻量的 Minecraft Forge 服务器传送点系统。无臃肿代码,无需多余依赖——仅在命名地点之间提供干净可靠的传送功能。
功能特性
- /warplang <lang> - 切换语言为法语(FR)或英语(EN)。
- /setwarp <name> - 在当前位置创建传送点,保存坐标、维度及视角角度。
- /warp <name> - 瞬间传送到任意传送点,包括跨维度传送(主世界、下界、末地以及模组添加的维度)。
- /delwarp <name> - 删除一个传送点。
- /warps - 列出所有可用的传送点。
- /renamewarp <old> <new> - 重命名现有传送点。
- /warpinfo <name> - 查看传送点的维度、坐标、创建者及创建日期。
权限设置
使用 Minecraft 原生的权限等级系统——无需外部权限插件。
所有玩家均可使用 /warp 和 /warps 命令。
管理员(Operators)可以创建、删除、重命名及修改传送点。
数据与可靠性
传送点数据以清晰易读的 JSON 文件格式存储于世界存档文件夹内,并在每次更改后自动保存,因此服务器重启时不会丢失任何数据。
性能表现
专为性能优化设计:在内存中进行查找,执行 /warp 时无需读取磁盘,无轮询机制,也无不必要的后台任务。即使拥有数百个传送点,也能确保对 TPS 无任何可测量的影响。
开发者支持
TpSetWarp 遵循简洁的模块化架构,将命令、传送点管理、存储和传送功能分离至独立的类中,便于阅读、扩展或二次开发。
TpSetWarp
A simple, fast, and lightweight warp system for Minecraft Forge servers. No bloat, no unnecessary dependencies - just clean, reliable teleportation between named locations.
Features
- /warplang <lang> - Change language to FR or EN (French or English).
- /setwarp <name> - Create a warp at your current position, saving coordinates, dimension, and view angle.
- /warp <name> - Teleport instantly to any warp, including across dimensions (Overworld, Nether, End, and modded dimensions).
- /delwarp <name> - Remove a warp.
- /warps - List all available warps.
- /renamewarp <old> <new> - Rename an existing warp.
- /warpinfo <name> - View a warp's dimension, coordinates, creator, and creation date.
Permissions
Uses Minecraft's native vanilla permission levels - no external permission plugin required.
All players can use /warp and /warps.
Operators can create, delete, rename, and modify warps.
Data and Reliability
Warps are stored in a clean, human-readable JSON file inside your world save folder, and are saved automatically after every change, so there is no data loss on server restart.
Performance
Built with performance in mind: in-memory lookups with no disk reads on /warp, no polling, and no unnecessary background tasks. Designed to have no measurable impact on TPS even with hundreds of warps.
For Developers
TpSetWarp follows a clean, modular architecture, with separate classes for commands, warp management, storage, and teleportation, making it easy to read, extend, or fork.
评论 0
登录后参与评分
还没有评论,来抢沙发吧