传送罗盘
添加一个特殊的罗盘,允许玩家保存**下界传送门坐标点(lodestone)**的位置,并通过简单的菜单传送到这些地点。
概述
传送罗盘允许玩家快速返回世界中的重要地点。
玩家可以:
- 左击下界传送门坐标点以将其保存为一个位置
- 右击罗盘以打开传送菜单
- 选择一个已保存的位置以瞬间传送至该处
每个罗盘都独立存储其位置信息,因此每位玩家都可以管理自己的路标集。
工作原理
保存位置
- 手持传送罗盘
- 左击下界传送门坐标点(Lodestone)
- 该位置将被保存到罗盘中
如果下界传送门坐标点拥有自定义名称(在铁砧中重命名),则该名称将显示在传送菜单中。
打开菜单
菜单会显示罗盘中存储的所有已保存的下界传送门坐标点位置。
点击某个位置即可传送至该处。
自定义菜单图标
你可以自定义路标在菜单中的显示方式。
如果在下界传送门坐标点上方放置了物品展示框,展示框内的物品将用作传送菜单中的图标。
示例:
- 在展示框中放入钻石 → 路标显示为钻石
- 在展示框中放入剑 → 路标显示为剑
如果没有放置物品展示框,则使用默认图标。
合成
传送罗盘通过以下配方合成:
A A A
A B A
A A A
其中:
此配方可在配置文件中完全更改。
配置
该插件使用MiniMessage,因此颜色、渐变和格式均可完全自定义。
item:
displayname: "<b><gradient:#FF0C0C:#9504FD:#00FF6E>Teleport Compass</gradient></b>"
lore:
- "<#0C26FF>Right click to open menu"
- "<#0C26FF>Left click on Lodestone to add location"
crafting:
shape:
- "AAA"
- "ABA"
- "AAA"
ingredients:
A: DIAMOND
B: COMPASS
menu:
rows: 3
item:
displayname: "<blue>Lodestone"
lore:
- "in {WORLD}"
- "X: {X}"
- "Y: {Y}"
- "Z: {Z}"
messages:
unsafe: "<red>This waypoint is unsafe to teleport to."
max: "<red>This teleport compass has reached the limit."
功能
- 保存多个下界传送门坐标点位置
- 简单的传送菜单
- 支持 MiniMessage
- 自定义合成配方
- 使用物品展示框自定义路标图标
- 自动显示下界传送门坐标点的名称
- 每个罗盘独立存储其位置
兼容性
- Minecraft 1.21+
- Paper
- 兼容 Folia
- 无需数据库
- 轻量级且易于使用
典型用例
- 标记玩家基地
- 保存重要的生存地点
- 创建简单的传送网络
- 提升生存模式的生活便利性
Teleport Compass
Adds a special compass that lets players save lodestone locations and teleport to them through a simple menu.
Overview
The Teleport Compass allows players to quickly return to important places in their world.
Players can:
- Left click a lodestone to save it as a location
- Right click the compass to open a teleport menu
- Select a saved location to teleport there instantly
Each compass stores its own locations, so every player can manage their own set of waypoints.
How It Works
Saving a Location
- Hold the Teleport Compass
- Left click a Lodestone
- The location is saved to the compass
If the lodestone has a custom name (renamed in an anvil), that name will appear in the teleport menu.
Opening the Menu
- Right click the compass to open the waypoint menu.
The menu shows every saved lodestone location stored inside the compass.
Click a location to teleport to it.
Custom Menu Icons
You can customize how a waypoint appears in the menu.
If an item frame is placed on top of the lodestone, the item inside the frame will be used as the icon in the teleport menu.
Example:
- Put a diamond in the frame → the waypoint shows a diamond
- Put a sword in the frame → the waypoint shows a sword
If no item frame is present, a default icon is used.
Crafting
The Teleport Compass is crafted with the following recipe:
A A A
A B A
A A A
Where:
This recipe can be fully changed in the configuration.
Configuration
The plugin uses MiniMessage, so colors, gradients, and formatting can be fully customized.
item:
displayname: "<b><gradient:#FF0C0C:#9504FD:#00FF6E>Teleport Compass</gradient></b>"
lore:
- "<#0C26FF>Right click to open menu"
- "<#0C26FF>Left click on Lodestone to add location"
crafting:
shape:
- "AAA"
- "ABA"
- "AAA"
ingredients:
A: DIAMOND
B: COMPASS
menu:
rows: 3
item:
displayname: "<blue>Lodestone"
lore:
- "in {WORLD}"
- "X: {X}"
- "Y: {Y}"
- "Z: {Z}"
messages:
unsafe: "<red>This waypoint is unsafe to teleport to."
max: "<red>This teleport compass has reached the limit."
Features
- Save multiple lodestone locations
- Simple teleport menu
- MiniMessage support
- Custom crafting recipe
- Custom waypoint icons using item frames
- Lodestone names automatically shown
- Each compass stores its own locations
Compatibility
- Minecraft 1.21+
- Paper
- Folia compatible
- No database required
- Lightweight and simple to use
Typical Use Cases
- Mark player bases
- Save important survival locations
- Create simple teleport networks
- Improve survival quality of life
评论 0
登录后参与评分
还没有评论,来抢沙发吧