Coord Manager
用于管理位置(客户端/服务器)的 Minecraft Fabric 模组。
单人游戏:将模组 jar 文件放入 /mods 文件夹
服务器使用:将模组 jar 文件放入服务器的 /mods 文件夹,无需客户端模组
命令
/loc save <name>保存你当前站立的位置。如果使用已存在的名称,之前的位置将被覆盖。/loc list [page]列出所有已保存的位置,包含可点击的名称、坐标和传送按钮。/loc find <name>显示一个位置的详细信息、它与你之间的距离以及保存者。/loc tp <name>将你传送至某个位置,包括跨维度传送。仅限服务器管理员使用(可配置)。/loc delete <name>删除一个位置。只有保存该位置的人或管理员才能删除它。/loc waypoints on|off在定位栏上显示或隐藏已保存的位置。默认情况下,位置使用“领结”样式的路点图标(可配置)。
名称可以包含空格且不区分大小写(Home 和 home 是同一个位置)。
你不必输入完整名称:Tab 补全以及 /loc find 和 /loc tp 会匹配名称的任何部分,因此 /loc find th 可以找到 over there。如果有多个位置匹配,你会得到一个可点击列表以供选择。/loc delete 始终需要完整名称。
1.x 版本的命令(如 /locationsave 等)已被 /loc 取代。
在列表和查找输出中,你可以点击:
- 名称以查看其详细信息
- 坐标以复制为
x y z格式 - [TP] 进行传送(仅在允许时显示)
- [Delete] 在聊天栏中生成删除命令以便你确认
位置共享
服务器上的所有人看到相同的列表。每个位置都会记录保存者。当
protectOthersLocations 开启(默认值)时,玩家只能更新或删除自己的
位置,而管理员可以更改任何位置。
配置
首次启动时会创建 config/coordmanager.json:
{
"teleportRequiresOp": true,
"protectOthersLocations": true,
"waypoints": true,
"waypointStyle": "minecraft:bowtie",
"waypointColor": "EFBF04",
"listPageSize": 10
}
teleportRequiresOp: 仅管理员(权限等级 2,与原版/tp相同)可以使用/loc tp。在单人游戏中,这意味着必须开启命令功能。protectOthersLocations: 玩家只能更改自己保存的位置。waypoints: 在定位栏上显示已保存的位置。waypointStyle: 位置在定位栏上的图标。默认值minecraft:bowtie内置于原版中,因此所有玩家都能看到它,并且它与用于表示玩家的圆点不同。服务器资源包可以添加其他样式。waypointColor: 每个位置图标的十六进制颜色(EFBF04或#EFBF04),或者留空以便每个位置获得其随机颜色。listPageSize:/loc list每页显示的位置数量。
数据存储位置
每个世界都在 <world>/coordmanager/locations.json 中保存自己的列表,无论是专用服务器还是单人游戏。
从 1.x 升级
首次启动时,2.0 会从世界文件夹(单人游戏)或
config/coordmanager/(专用服务器)导入旧的 locations.txt,然后将其重命名为 locations.txt.migrated。
它还会逐个区块地移除 1.2 版本用作路点标记的隐形盔甲架,随着区块加载进行处理。
Coord Manager
Minecraft fabric mod to manage locations (client/server)
for singleplayer use: put the mod jar in the /mods folder for server use: put the mod jar in the server /mods folder, no client mod needed
Commands
/loc save <name>Saves where you're standing. If using a name that already exists, the previous location will be overwritten./loc list [page]Lists every saved location, with clickable names, coordinates and teleport buttons./loc find <name>Shows one location's details, its distance from you and who saved it./loc tp <name>Teleports you to a location, including in another dimension. Available only to server operators (configurable)./loc delete <name>Deletes a location. Only whoever saved it, or an operator, can delete it./loc waypoints on|offShows or hides saved locations on your own locator bar. Locations use the "bowtie" waypoint style by default (configurable).
Names can contain spaces and are case-insensitive (Home and home are the same location).
You don't have to type the whole name: tab completion and /loc find and /loc tp match any part of it, so /loc find th finds over there. If several locations match, you get a clickable list to pick from. /loc delete always needs the full name.
The 1.x commands (/locationsave and so on) have been replaced by /loc.
In the list and find outputs you can click:
- a name to show its details
- coordinates to copy them as
x y z - [TP] to teleport (only shown if you're allowed to)
- [Delete] to put the delete command in chat for you to confirm
Locations are shared
Everyone on a server sees the same list. Each location records who saved it. With
protectOthersLocations on (the default), players can only update or delete their own
locations, and operators can change any of them.
Config
config/coordmanager.json is created on first start:
{
"teleportRequiresOp": true,
"protectOthersLocations": true,
"waypoints": true,
"waypointStyle": "minecraft:bowtie",
"waypointColor": "EFBF04",
"listPageSize": 10
}
teleportRequiresOp: only operators (permission level 2, the same level as vanilla/tp) can use/loc tp. In singleplayer, that means commands must be on.protectOthersLocations: players can only change locations they saved.waypoints: show saved locations on the locator bar.waypointStyle: the locator-bar icon for locations. The default,minecraft:bowtie, is built into vanilla, so every player sees it, and it looks different from the dots used for players. A server resource pack can add other styles.waypointColor: a hex colour (EFBF04or#EFBF04) for every location's icon, or leave it empty so each location gets its own random colour.listPageSize: how many locations/loc listshows per page.
Where data is stored
Each world keeps its own list in <world>/coordmanager/locations.json, on dedicated servers as well as in singleplayer.
Upgrading from 1.x
On first start, 2.0 imports the old locations.txt from the world folder (singleplayer) or
from config/coordmanager/ (dedicated server), then renames it to locations.txt.migrated.
It also removes the invisible armor stands that 1.2 used as waypoint markers, one chunk at a
time as chunks are loaded.
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
下载 Coord Manager
说明
更新
- 为 Minecraft 26.3 版本进行了完整的 2.0.0 重写。
- 所有功能已整合至单一命令
/loc,详细说明请参阅 README 文档。
迁移
- 要从任何 1.x 版本迁移,只需将 2.x 重写版放入你的
mods文件夹中并替换旧版即可,系统会自动处理其余事项。
功能
/loc find <name>命令支持模糊搜索- 支持跨维度传送
- 配置文件包含多种选项(位置保护、传送权限等级、路标样式等)!
修复
- 在 1.2.0 版本中,路标的实现方式欠佳,通过生成隐形盔甲架来完成。在某些情况下,每个地点会生成多个盔甲架,导致同时出现多个地点显示。现已修复此问题:路标不再生成盔甲架,且当区块加载时,旧的盔甲架将被删除。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧