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 prefixes n: and r: supported.
- Archive lookup — type a
dd/mm/yyyy date 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 26 works).
- 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)
评论 0
登录后参与评分
还没有评论,来抢沙发吧