2020-12-07 04:25:40 +08:00
|
|
|
|
2020-11-27 00:27:49 +08:00
|
|
|
#用于储存参数的记分板
|
|
|
|
scoreboard objectives add parameter dummy
|
|
|
|
#用于数学计算的记分板
|
|
|
|
scoreboard objectives add calculator dummy
|
2021-07-20 01:52:26 +08:00
|
|
|
scoreboard players set 200 calculator 200
|
|
|
|
scoreboard players set 100 calculator 100
|
2020-11-27 00:27:49 +08:00
|
|
|
scoreboard players set 10 calculator 10
|
|
|
|
scoreboard players set 1 calculator 1
|
|
|
|
#检测玩家退出游戏的记分板
|
|
|
|
scoreboard objectives add leaveGame minecraft.custom:minecraft.leave_game
|
|
|
|
#安装各功能
|
|
|
|
function fz:config/install
|
|
|
|
function fz:sweeper/install
|
|
|
|
function fz:scoreboards/install
|
|
|
|
function fz:health/install
|
|
|
|
function fz:login/logintips/install
|
|
|
|
function fz:carpet/carpet
|
|
|
|
#版本信息
|
2021-08-03 06:30:28 +08:00
|
|
|
data modify storage fz:survival version set from storage fz:survival newVersion
|
|
|
|
data modify storage fz:survival date set value "2020-7.21"
|
|
|
|
data modify storage fz:survival time set value "1:14"
|
2020-12-05 07:27:57 +08:00
|
|
|
#提示已安装
|
2021-08-03 06:30:28 +08:00
|
|
|
data modify storage fz:survival installed.datapack set value 1b
|
2020-12-05 07:27:57 +08:00
|
|
|
tellraw @a {"text": "[信息]安装完成!","color": "#5fff00"}
|
2021-08-03 06:30:28 +08:00
|
|
|
tellraw @a {"text": "[信息]启动完毕","color": "#5fff00"}
|
2020-12-27 15:33:51 +08:00
|
|
|
#info: #5fff00 信息
|
|
|
|
#alert: #d7ff00 提醒
|
|
|
|
#warn: #ffd900 警告
|
2021-07-20 01:52:26 +08:00
|
|
|
#error: #ff6100 错误
|
|
|
|
|
|
|
|
#抖M名单 - 受伤害榜
|
|
|
|
#钩直饵咸 - 钓鱼榜
|
|
|
|
#交♂易榜 - 交易榜
|
|
|
|
#铁头功 - 破基岩榜
|
|
|
|
|
|
|
|
#群p抖M - 总受伤害量
|
|
|
|
#全部木大 - 总死亡数
|
|
|
|
#总交♂易数 - 总交易数
|
|
|
|
#全员头铁 - 总破基岩数
|
|
|
|
|
|
|
|
#{"text": "cm","color": "yellow"} - {"text": "HP"}
|