Lands

🧩插件 Lands 8.6.5

  • 新增:/lands 菜单和 /nations 菜单命令经过重做,现已组织成完整的页面结构:
    • /lands 菜单 land ... — 列表、等级、关系、区域、领地、收件箱、选项、请求
    • /lands 菜单个人......——偏好,邀请
    • /国家菜单 国家......——等级、关系、税收、土地、效果、选项,
- 新增:'/lands menu' 和 '/nations menu' 重新组织为正式的页面树 - '/lands 菜单 land...'(列表、等级、关系、区域、宣称、收件箱、选项、请求)和 '/lands 菜单 personal...'(偏好、邀请)、'/nations 菜单 nation ...'(等级、关系、税收、土地、效果、选项、收件箱)。
- 新增:在“你的土地”菜单中用shift+左键点击土地,选择它作为你的编辑土地,以及一个“/lands edit here”快捷方式,选择你当前站立的土地。
- 修正:'general.edit-by-loc' 配置选项(将土地管理命令解析为你所在的土地,而不是选择“/lands edit”)
- 更改:增加了数据库架构的一些索引
- 修复:在Folia,矿区内的船只/矿车在附近爆炸后可能永久免疫火灾、熔岩和仙人掌伤害(无错误记录)
- 修正:网页地图(Dynmap/BlueMap/Squaremap/Pl3xMap)的土地弹窗显示的是玩家人数,而不是<v:members>的成员名单,<v:land_color>从未被替换,甚至直接泄露到弹窗HTML中。
- 修正:/lands admin land<land>addrole <role>总是抛出NullPointerException,而不是显示确认提示。
- 修正:/lands 区域<area>租赁移除租户/报价,租赁信息在由实际授权人员(例如土地所有者)运营时无声地无动于衷,且完全没有显示聊天消息,原因是CommandRental.getOffer的权限检查反转。
- 已修复:SQL 迁移 2-4 会抛出“无此表:lands_nations”/“lands_wars”,且在禁用国家或战争功能后安装时从未完成,因为这些迁移会触及国家/战争/wars_declarations表,尽管这些表只在启用相应功能时才创建。国家、战争、wars_declarations、koth和关系表现在无论切换什么功能,都会被创建。
- 固定:当收件箱包含某些颜色格式并减缓启动时“执行初始数据加载”步骤时,一个土地或国家的收件箱消息(以及更罕见的名称、区域名称或角色名称)可能在数据库中不断增加。受影响的数据会在下次启动时自动清理。这次更新运行一次后,加载时间会更快。
- 新增:/lands 菜单 [menu] 和 /nations menu [menu] 快捷键回归(my-lands、all-lands、lands、areas、claims、levels、inbox、relations、options、my-nations、all-nations、nations、lands、effects、taxes),以及仅管理员的 [player] [message] 参数,用于代表其他玩家打开菜单。
- 改进:占位API占位符现在支持一般的%lands_<占位符>_args{key=value,...}% 参数语法(例如 allowempty=true 以返回空字符串,而非“None”返回缺失值);旧的_here/_any后缀仍然有效,但已被弃用,改为_args{这里=...}/_args{any=...}。
请注意,更新时这些选项会针对现有服务器配置,类似于8.0.0版本之前/lands edit命令的行为。

- 新增:新增选项,可移除命令中的<land>和<nation>参数。
YAML:
# If true, /land and /nation require an explicit <land>/<nation> argument,
  # and /lands edit is not registered, since there's nothing to select.
  # If false, the argument is removed: the target is resolved from the player's edit land, falling
  # back to their only land if they're only a member of one. /lands edit is registered so players
  # with multiple lands can pick which one commands without an argument should apply to.
  # RECOMMENDATION: Enable it, if "one-land-membership" is disabled
  cmd-land-argument: false
- 新增:限制土地成员最多一块的快捷选项,方便简化服务器设置(基础模式)代码
YAML:
# Enable this, if you want your players to be part of only one land in total (owned and trusted combined).
  # If enabled, this automatically disables land.invite.invite-owner and caps the
  # player_lands_owned / player_lands_trusted limits in player-limits.yml at 1 for every limit pack.
  # This does NOT remove a players membership in existing lands. They can still execute commands for their
  # existing other lands by using the /land <land> command (if cmd-land-argument enabled)
  # or the /lands edit command (if cmd-land-argument disabled).
  # RECOMMENDATION: Keep this option enabled. It requires players to play together.
  one-land-membership: true
- 修正:土地标签颜色被剥离,基于土地名称颜色选项,而非土地标签颜色选项(color_6)-
修复:恶魔破坏旗帜未能阻止村民和非怪物怪物践踏农田
- 修复:乘坐船只或矿车的怪物/动物在车辆被击时
未受到攻击旗保护 - 修复: 风之充能和末影珍珠仍然被消耗,尽管他们的角色标记正确阻止了行动
——修正:/lands merge 将合并土地的银行余额支付给玩家,而不是将其加入幸存土地的银行
- 修正:如果夺旗被禁用,夺旗的奖励积分自动显示为0
作者
Monody
下载
106
查看
414
首次发布
2025/09/15
最后更新
2026/10/04

来自Monody的更多资源

后退