EarthMC 地图扩展插件
一个面向 Xaero's World Map 和 Xaero's Minimap 的客户端端 EarthMC 地图扩展。它将 EarthMC Towny 数据直接叠加在游戏内的地图上,让你无需离开 Minecraft 即可读取城镇、国家、玩家、边界和领地信息。
世界 (Worlds)
- Terra Nostra 和月球(The Moon),各自拥有独立的领地、前哨站、地形和玩家。
- “世界”按钮默认跟随你所在的维度:在月球上时显示月球,在其他地方时显示 Terra Nostra。点击它可以锁定其中一个世界,再次点击可循环切换回自动模式。
- 浏览其中一个世界时,小地图会停留在另一个世界上,因此它始终显示你实际所在位置的领地、地形、玩家和区块选择。
- 世界地图会自动同步 Xaero 自身的维度设置,以便你看到已探索的月球地形,并在地图关闭时恢复原状。
- 前哨站的大小独立于其所属城镇进行统计,因此小型的月球前哨站不会被报告为其所属城镇的全部领地。弹窗、工具提示和搜索结果显示当前视野中的领地,下方附带该城镇的总领地数。
世界地图 (World Map)
- 城镇领地以真实的领地形状绘制,支持配置边框粗细、填充透明度和平滑轮廓。
- Squaremap 背景图层 — 渲染 real map.earthmc.net 瓦片作为底层,并可选应用变暗效果。
- 国家首都星标,可切换显示。
- 国家加入范围 — 显示城镇可以加入国家的区域(1,500 格城镇半径,5,000 格国家半径),当附近城镇延伸了国家影响力时,会显示联合轮廓。
- 世界地图概览 — 缩放超出 Xaero 的正常限制,以查看整个世界。
- 远距离缩小时的城镇圆点,确保在缩小视图时城镇依然可见。
- 实时世界国家和州边界作为叠加层。
- 自定义叠加层 — 将 GeoJSON FeatureCollections(LineString、MultiLineString、Point)放入模组为你创建并打开的文件夹中。
小地图 (Minimap)
- 小地图上显示城镇边界、城镇名称和玩家圆点。
- 小地图下方的信息面板:当前城镇和国家、附近的玩家及其实时距离(离开视野的玩家会以红色保留在其最后已知位置)、荒野中的最近城镇。每一行均可独立切换,并堆叠在 Xaero 自身的信息下方而不重叠。
- 荒野中的外来者接近警报。
- 可选的“隐藏在下界中”,或“下界中的 EarthMC 地图”模式,该模式下将主世界地图放大 ×8 覆盖在下界瓦片上。
地图模式 (Map modes)
- 七种地图模式:Public(公共)、Overclaim(重叠领地)、Open(开放)、Meganations(超级国家)、Alliances(联盟)、Planning(规划)和 Ice Highways(冰上高速公路)。前三种模式以你选择的颜色高亮匹配的城镇(固定颜色或 RGB 循环);Meganations 和 Alliances 按阵营重新着色城镇,并使用 BreakTheBot Alliance API。Ice Highways 在地图上绘制 EarthMC 的冰上高速公路网络,使用 XiLeF2211 社区维护的 Ice Highways Map 数据,仅在该模式选中时获取。
- 规划模式将搜索栏变为国家选择器,并允许你用编号地图标记放置潜在的城镇(T1、T2……)。超出国家范围的城镇在芯片和地图上均标记为红色。
搜索 (Search)
- 城镇、国家、玩家和联盟,带有详情面板 — 国家加成、国王/首都、违法者、敌人、居民列表、玩家在线状态/最后出现时间/所属城镇/国家/角色。
- 过滤器:
nationless(无国家)、n:germany,france(多值)、r>30,<60、chunks>500。支持简短前缀n:和r:。 - 档案查找 — 输入
dd/mm/yyyy日期以从 Wayback Machine 加载历史地图数据。- 最早日期为 2026年4月17日,因为那是 Nostra 开始的时间。
- 分隔符可以是
/、.、,、-或空格,前导零是可选的,年份可以是 2 位或 4 位数字(17 4 26有效)。
- 过滤条件在平移地图时保持有效;搜索框会自动变宽。
- 收藏夹功能适用于城镇、国家、玩家和联盟 — 可跳转至国家首都或在线玩家的位置。
玩家 (Players)
- 两个地图上均显示在线玩家圆点,根据关系着色(你的城镇 / 你的国家 / 其他人),使用真实玩家头像,支持配置头像/名称/标签的范围,以及最后出现位置。
信息面板 (Info Panel)
- 按 J 键,或点击世界地图搜索栏旁边的展开按钮。
- 仪表盘 (Dashboard) — 一目了然地查看你的城镇和国家:已占用区块与上限对比、余额、居民数量,以及服务器总数、你的收藏夹和领地数据的年龄。
- 统计 (Statistics) — 按居民数、区块数、金币、违法者和成立日期排名的城镇和国家列表。点击每个名称可打开其完整页面。
- 自带搜索栏,同时涵盖城镇、国家和玩家,按相关性排序,最匹配的结果排在前面。
信息面板 (Info panels)
- 右键点击城镇可查看市长、国家、居民、金币、区块数量、开放/公开状态及成立日期。
- 点击国家星标可查看首都、成立日期、国家区块、城镇等信息。
- 点击玩家头像或圆点可查看玩家信息。
- 上述三项均有扩展模式,提供更深入的信息。
工具 (Tools)
- 区块计数器,支持持久化的多组跟踪和 Shift+右键拖拽框选。
- Xaero 航路点到地图目标。
- 世界地图坐标下方有一条线显示领地数据的年龄,并带有一个刷新按钮。数据过期时显示琥珀色,刷新失败时显示红色。
- 按键绑定截图 — 捕获 Squaremap、城镇和玩家图层,隐藏模组和 Xaero UI,拥有独立的设置部分(默认隐藏玩家、开启国家星标、隐藏变暗的城镇),且不显示区块光标。
设置 (Setup)
- 通过 Mod Menu 提供可搜索的分节设置界面,每行都有重置按钮,右键可返回;UI 缩放;深色按钮;仅限 EarthMC 模式;信息面板 (J)、刷新领地 (R,地图打开时也可用) 和地图截图的按键绑定 — 所有绑定均可在设置中或选项 > 控制中重新绑定,且两者同步。
要求 (Requirements)
- Fabric Loader + Fabric API
- Xaero's Minimap 和/或 Xaero's World Map
- Mod Menu(可选,用于游戏内设置界面)
EarthMC Map Addon
A client-side EarthMC map extension for Xaero's World Map and Xaero's Minimap. It overlays EarthMC Towny data directly onto your in-game maps so you can read towns, nations, players, borders, and claims without leaving Minecraft.
Worlds
- Terra Nostra and the Moon, each with its own claims, outposts, terrain and players.
- The World button follows the dimension you are in by default: the Moon while you are up there, Terra Nostra everywhere else. Click it to pin one world instead, and cycle round to Auto to hand it back.
- Browsing one world leaves the minimap on the other, so it keeps showing the claims, terrain, players and chunk selection where you actually are.
- The world map switches Xaero's own dimension to match, so you see the lunar terrain you have explored, and hands it back when the map closes.
- Outpost sizes are counted separately from the parent town, so a small lunar outpost is not reported as its town's whole claim. Popups, tooltips and search show the claim in front of you with the town-wide total underneath.
World Map
- Town claims drawn as real claim shapes, with configurable border thickness, fill opacity, and smooth outlines.
- Squaremap background layer — the real map.earthmc.net tiles rendered under the overlay, with an optional darken pass.
- Nation capital stars, toggleable.
- Nation join range — circles showing where a town could join a nation (1,500 block town radius, 5,000 nation radius), with a union outline when nearby towns extend the nation's reach.
- World Map Overview — zooms out past Xaero's normal limit to see the whole world.
- Far-zoom town dots so towns stay visible when zoomed out.
- Real-world country and state borders as an overlay.
- Custom overlays — drop GeoJSON FeatureCollections (LineString, MultiLineString, Point) into a folder the mod creates and opens for you.
Minimap
- Town borders, town names, and player dots on the minimap.
- Info panel under the minimap: current town and nation, nearby players with live distance (players leaving view linger in red at their last-known spot), nearest town when in wilderness. Each line toggles independently and stacks below Xaero's own info without overlapping.
- Wilderness player alert for nearby outsiders.
- Optional hide-in-Nether, or an "EarthMC map in Nether" mode that scales the overworld map ×8 over Nether tiles.
Map modes
- Seven map modes: Public, Overclaim, Open, Meganations, Alliances, Planning, and Ice Highways. The first three highlight matching towns in a colour you pick (fixed or RGB cycling); Meganations and Alliances recolour towns by bloc instead, and use the BreakTheBot Alliance API. Ice Highways draws EarthMC's ice highway network over the map, using XiLeF2211's community-maintained Ice Highways Map data, fetched only while that mode is selected.
- Planning mode turns the search bar into a nation picker and lets you place prospective towns (T1, T2, …) with numbered map markers. Towns outside the nation's range are marked red on both the chip and the map.
Search
- Towns, nations, players, and alliances, with detail panels — nation bonus, king/capital, outlaws, enemies, resident lists, player online/last-seen/town/nation/role.
- Filters:
nationless,n:germany,france(multi-value),r>30,<60,chunks>500. Short prefixesn:andr:supported. - Archive lookup — type a
dd/mm/yyyydate to load historical map data from the Wayback Machine.- Earliest date is 17/4/2026, as that is when Nostra started.
- The separator can be
/,.,,,-or a space, leading zeroes are optional, and the year can be 2 or 4 digits (17 4 26works).
- Filters persist while panning; the box auto-widens.
- Favourites for towns, nations, players, and alliances — jump to a nation's capital or an online player's location.
Players
- Online player dots on both maps coloured by relation (your town / your nation / others), real player heads, configurable head/name/label ranges, and last-seen positions.
Info Panel
- Press J, or the expand button beside the world map search bar.
- Dashboard — your town and nation at a glance: claimed chunks against your limit, balance, residents, plus server totals, your favourites, and how old the claim data is.
- Statistics — ranked lists of towns and nations by residents, chunks, gold, outlaws and founding date. Every name opens its full page.
- Its own search bar covering towns, nations and players at once, ranked so the closest match comes first.
Info panels
- Right-click a town for mayor, nation, residents, gold, chunk count, open/public status, and founded date.
- Click on a nation star for information such as the capital, founded date, nation chunks, towns, etc.
- Click on a player head or dot to get information on a player.
- All three of the above have an extended mode with more in-depth information.
Tools
- Chunk counter with persistent multi-group tracking and Shift+right-drag box select.
- Xaero waypoint routes to map targets.
- A line under the world map coordinates showing how old the claim data is, with a button to reload it. Turns amber when overdue, red if a refresh failed.
- Map screenshots on a keybind — captures the squaremap, town, and player layers, hides mod and Xaero UI, with its own settings section (players off, nation stars on, dimmed towns hidden by default) and no chunk cursor.
Setup
- Searchable sectioned settings screen via Mod Menu with per-row Reset and right-click-to-go-back; UI scale; dark buttons; EarthMC-only mode; keybinds for the Info Panel (J), reloading claims (R, works with the map open) and map screenshots — all rebindable in the settings or in Options > Controls, and synced with both.
Requirements
- Fabric Loader + Fabric API
- Xaero's Minimap and/or Xaero's World Map
- Mod Menu (optional, for the in-game settings screen)
下载 EarthMC Map Addon
下载 EarthMC Map Addon
下载 EarthMC Map Addon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EarthMC Map Addon
下载 EarthMC Map Addon
下载 EarthMC Map Addon
下载 EarthMC Map Addon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EarthMC Map Addon
下载 EarthMC Map Addon
下载 EarthMC Map Addon
1.4.11
Waypoints(路标)
- Xaero's waypoints(Xaero 的路标)在世界地图上再次可见。启用 Squaremap 图层后,EarthMC 的影像会直接覆盖在地图上的每个标记之上,因此该插件现在会将它们重新绘制在最上层,保持 Xaero 原有的尺寸和颜色。悬停在一个路标上仍会显示 Xaero 的提示框,右键单击一个路标仍会打开 Xaero 的菜单,因为这些功能从未被遮挡过。
- 右键单击空白地图区域可再次打开 Xaero 自己的菜单,从而允许你在地图上添加路标、传送或分享位置。右键单击城镇仍会打开城镇面板;未被占领的土地属于 Xaero,光标下的任何路标或追踪玩家也属于 Xaero,因此位于城镇内部的路标现在可以再次编辑、移动或删除。如果你更喜欢旧版行为,可在“设置 -> 世界地图 -> 荒野城镇信息”中恢复。
- 路标不再从放大的小地图中消失,也不会出现在 EarthMC 图层未渲染任何内容的帧中。
- 仅在 1.21.11 版本:当你不在某个世界(通常是月球)内时,你的路标、玩家箭头以及路标组名称将不再在该世界的地图上显示。此前用于抑制这些显示的三个钩子(hooks)使用了较新 Minecraft 版本中的方法名进行命名,因此在该构建版本中它们从未执行过。
Nations(国家)
- 所有国家均报告“无首都”。在 1.4.10 版本中,程序停止请求首都和国王字段,这导致移除了首都星星、“xx之都”标签、加入范围显示的首都圆圈、“首都”与“国王”行以及与之关联的所有国家跳转功能。
- 搜索一个国家现在会跳转到其首都,并以与其他城镇相同的方式将其框选并闪烁高亮,而不是试图将整个国家缩放到屏幕内显示。
Ice highways(冰上高速公路)
- 冰上高速公路网络已内置,作为地图按钮的模式 7。它由 XiLeF2211 维护社区地图,实时获取以保持最新状态,且仅在你开启该图层时才下载一次。
Fixes(修复)
- 月球前哨站不再因地球领地刷新而被清除。每个月球城镇都有一个与地球城镇相同的名称,两者曾被混淆:月球领地消失,右键单击时显示为荒野。
- 在计划模式下退出地图会在重启后保留。此前每次都会静默重置为无模式。
- 区块计数器的重置按钮现在位于计数器旁边,而非在其上方一行。
Search flash(搜索闪烁)
- 搜索到的城镇现在会闪烁其自身的边框,而不是在旁边一两个像素处绘制第二层轮廓,且在地图模式开启时也能正常工作。此前闪烁停止时的冻结问题已解决。
Behind the scenes(幕后改进)
- 实时玩家数据流现在读取 EarthMC 的新端点,该端点取代了插件之前用于获取数据的文件。除正确重新验证外无明显差异:大多数轮询现在传输的数据量几乎为零,而非之前的几 KB。
适用于 Minecraft 1.21.11、26.1.x、26.2 和 26.3。
性能
- 周期性卡顿已消失。过去,确定每个可见区块归属哪个城镇的操作偶尔会占用一帧;现在该操作在后台线程运行,同时保持上一视图的绘制。
- 领地轮廓以合并后的图元批次绘制,而非每个区块面单独调用一次:在密集区域可减少三分之一的几何体渲染量。
减少数据使用
- EarthMC API 现在请求压缩响应,并且仅获取实际读取的字段。打开排行榜的数据量从 4.7 MB 降至 133 KB。
- 空闲客户端降低请求频率。静止不动且未打开地图时,每小时数据消耗从约 37 MB 降至约 6 MB;移动会立即重置此状态。荒野警报除外,因为闲置正是其存在的前提状态。
- 当仅显示小地图时,玩家动态轮询频率降低;当没有任何组件显示玩家动态时,则完全停止轮询。
- 领地查询现遵循地图服务器指定的轮询间隔,因此 EarthMC 可以减缓所有客户端的请求速度,而无需等待模组更新。请求现也包含版本标识。
搜索
- 选择搜索结果时会自动缩放至适配该结果,而非保持当前缩放级别,并高亮显示找到的领地,以便从相邻领地中区分出来。国家框选其所有成员领地。这两项功能均可在世界地图设置中关闭。
适用于 Minecraft 1.21.11、26.1.x、26.2 和 26.3。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧