diff --git a/README.md b/README.md index c479aaf..d2c2ad7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,17 @@ A Minecraft Datapack - 提供玩家挖掘、死亡、击杀、受伤、交易、钓鱼、滑翔、(破基岩)数据的榜单 - 无需配置即可支持该铁头功破基岩榜Mod:https://gitee.com/harvey-husky/FZ-BBL/releases - 破基岩榜的分数和订阅设置会在铁头功记分板的总分大于0时显示,以免未添加该mod的服务器显示破基岩榜 + - 记分板对照表: + - activation - 活跃时间(h) + - damageTaken - 受伤害榜 + - deathCounter - 死亡榜 + - digCounter - 挖掘榜 + - fishingCounter - 钓鱼榜 + - killCounter - 击杀榜 + - tradingCounter - 交易榜 + - totalList - 总 量 + - bedrockBreaked - 铁头功 + - fz.aviate1m - 滑翔距离 - 提供一些地毯脚本:*请在升级数据包的同时替换这些工具!!* - 安装方法: - 需要carpet mod 1.4.24+:https://github.com/gnembon/fabric-carpet/releases @@ -46,7 +57,7 @@ A Minecraft Datapack - 输入“/restore_scores by_whitelist”开始恢复 - 输入“/script unload restore_scores”卸载工具 - 记得用完就删掉它! -##### v2.1.2/2.0.9 +##### v2.1.2/2.0.10 - 添加鞘翅滑翔距离榜单 ##### v2.1.0 - 仅支持1.17+ diff --git a/data/fz/functions/load.mcfunction b/data/fz/functions/load.mcfunction index 8626df2..d4cb1e2 100644 --- a/data/fz/functions/load.mcfunction +++ b/data/fz/functions/load.mcfunction @@ -1,8 +1,8 @@ #如果未安装且未卸载则安装 execute unless data storage fz.installed {installed: 1b} unless data storage fz.installed {installed: 0b} run function fz:install #如果版本正确且已安装则开始运行 -execute if data storage fz {version: 2.1.1} if data storage fz.installed {installed: 1b} run function fz:start +execute if data storage fz {version: 2.1.2} if data storage fz.installed {installed: 1b} run function fz:start #如果版本不符则更新 -execute unless data storage fz {version: 2.1.1} run function fz:update +execute unless data storage fz {version: 2.1.2} run function fz:update #输出版本信息 tellraw @a [{"text": "[版本信息]FZ's Datapack-","color": "#ffd900"},{"nbt":"version","storage":"fz","color": "#ffd900"},{"nbt": "snapshot", "storage": "fz","color": "red"}] \ No newline at end of file