SquareTowny(Squaremap城镇显示插件)

二次开发 开源 世界管理 其他 SquareTowny(Squaremap城镇显示插件) 1.1

请登录后获取
[MD] ## SquareTowny 1.1 **Download / 下载**: `SquareTowny-1.1.jar` · **SHA-256**: `e534bfb8503da0281ea087376c2583a65f8e0ebf4e21a78e2693fbda00403909` ## 简体中文 ### 修复内容 - **加入/创建国家后不再退回默认颜色。** 自动配色现在优先于 Towny 自动写入的城镇/国家地图颜色。Towny 0.97.1+ 会在创建城镇/国家时随机分配地图颜色,旧逻辑把它当成“手动颜色”,导致城镇加入或创建国家后丢失自动配色。 - **国家颜色改为继承首都城镇。** 城镇建国后保持原有颜色,之后加入该国家的城镇会同步为首都的颜色。 ### 配置说明 - `fill-style.use-auto-colors`(默认 `true`):开启时自动配色优先,忽略 Towny 中保存的地图颜色。 - 如需使用 `/town set mapcolor`、`/nation set mapcolor` 设置的颜色,请设置 `fill-style.use-auto-colors: false`。 ### 安装 1. 删除服务器 `plugins` 目录中的旧版 `SquareTowny-1.0.jar`。 2. 放入 `SquareTowny-1.1.jar` 并重启服务器。 3. 已有国家会自动按首都颜色重新着色,也可执行 `/maptowny reload` 立即刷新。 ### 依赖 Towny 0.97.1+,以及 squaremap。 ## English ### Fixes - **Towns no longer fall back to the default color after joining or creating a nation.** Auto colors now take priority over the town/nation map colors stored by Towny. Towny 0.97.1+ assigns a random map color to every town and nation when it is created; the previous logic treated that value as a manually configured color, so a town lost its auto color as soon as it joined or created a nation. - **A nation now inherits the color of its capital town.** The founding town keeps its color when it creates a nation, and towns that join later adopt the capital's color. ### Configuration - `fill-style.use-auto-colors` (default: `true`): when enabled, auto colors take priority and Towny's stored map colors are ignored. - To use the colors set with `/town set mapcolor` / `/nation set mapcolor` instead, set `fill-style.use-auto-colors: false`. ### Installation 1. Delete the old `SquareTowny-1.0.jar` from your server's `plugins` folder. 2. Add `SquareTowny-1.1.jar` and restart the server. 3. Existing nations are re-colored from their capital automatically; run `/maptowny reload` to refresh immediately. ### Requirements Towny 0.97.1+ and squaremap. --- **Full changelog / 完整更新日志**: https://github.com/Creat319/SquareTowny/compare/60b9626...e7dc9b3 [/MD]
后退
顶部 底部