一个记录自上次死亡以来存活天数的模组。当玩家死亡时,会向玩家显示一条消息,告知其存活时长以及是否打破了之前的记录。 玩家重生后,也会收到一条发送的消息。

请使用“报告问题”链接将问题提交至 GitHub Issue 跟踪器。
查看玩家的存活时长
/timelived query player [player]
查看世界纪录。目前仅包含当前正在游戏的玩家(暂时如此)
/timelived query worldRecord

注意: 从版本 1.1.0 开始,message 配置属性已被弃用。请使用 messages。你可以添加多条消息,并用逗号分隔。如果列出了多条消息,模组将为该 minDaysLived 条目随机选择其中一条。
{
"minDaysLived": 100.0,
"messages": [
"Wow! You lived for {daysLived} day(s). That is quite an accomplishment!",
"Great job! You lived for {daysLived} day(s)!"
]
},
对于低于 1.1.0 的版本,请使用 message 属性。
你可以自定义消息,甚至为存活时间消息添加新消息。默认配置设置如下:
{
"timeLivedMessages": [
{
"minDaysLived": 500.0,
"message": "Incredible! You lived for {daysLived} day(s)! You\u0027re a legend!"
},
{
"minDaysLived": 366.0,
"message": "Amazing! You lived for {daysLived} day(s). That\u0027s seriously impressive!"
},
{
"minDaysLived": 365.0,
"message": "Amazing! You lived for {daysLived} day(s). That\u0027s a whole Minecraft year!"
},
{
"minDaysLived": 100.0,
"message": "Wow! You lived for {daysLived} day(s). That is quite an accomplishment!"
},
{
"minDaysLived": 1.0,
"message": "Congrats, you lived for {daysLived} day(s)."
},
{
"minDaysLived": 0.5,
"message": "You lived for {daysLived} day(s). How about we try that again, shall we?"
},
{
"minDaysLived": 0.1,
"message": "You lived for {daysLived} day(s). Let\u0027s see if we can last a bit longer next time."
},
{
"minDaysLived": 0.0,
"message": "You lived for {daysLived} day(s). Maybe next time will be better."
}
],
"timeLivedMessagesToOthers": [
{
"minDaysLived": 500.0,
"message": "Incredible! {playerName} lived for {daysLived} day(s)! Legendary!"
},
{
"minDaysLived": 366.0,
"message": "Amazing! {playerName} lived for {daysLived} day(s). That\u0027s seriously impressive!"
},
{
"minDaysLived": 365.0,
"message": "Amazing! {playerName} lived for {daysLived} day(s). That\u0027s a whole Minecraft year!"
},
{
"minDaysLived": 100.0,
"message": "Wow! {playerName} lived for {daysLived} day(s). That is quite an accomplishment!"
},
{
"minDaysLived": 1.0,
"message": "{playerName} lived for {daysLived} day(s)."
},
{
"minDaysLived": 0.0,
"message": "{playerName} only lived for {daysLived} day(s). Let\u0027s give them some encouragement!"
}
],
"newRecordMessage": "All right! New record! You surpassed your previous record of {previousDaysLived} day(s)!",
"newRecordMessageToOthers": "All right! {playerName} surpassed their previous record of {previousDaysLived} day(s)!",
"queryPlayerMessage": "{playerName} has lived for {daysLived} day(s). Previous record is {previousDaysLived} day(s).",
"queryWorldRecordMessage": "The current record holder for longest time lived is {playerName}, surviving a total of {daysLived} day(s).",
"statsNotFoundMessage": "Statistics not found for {playerName}.",
"timeTravelMessage": "Wait... did you travel back in time?",
"enableMessagesToOthers": true
}
你可以在自定义消息中使用变量来插入玩家存活的天数、之前的记录以及玩家名称。
{daysLived}
{previousDaysLived}
{playerName}
要向存活时间消息中添加新消息,请添加如下新部分:
{
"minDaysLived": 1000.0,
"message": "Holy moly! You lived for {daysLived} day(s)! You\u0027re a superstar!"
}
现在,如果你存活了 1000 天或更久,你将收到这条新消息。
你是这个资源的作者?登录后可认领此资源。
相似资源
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
AE2:一款流行的自动化与存储模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧