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

请使用“报告问题”链接将问题提交至 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 天或更久,你将收到这条新消息。
A mod that keeps track of days survived since your last death. When the player dies, a message is shown to the player indicating how long they lived and if the player surpassed the last record. After the player respawns, a message will be sent to the player.

Please use the Report Issues link to report issues to the github issue tracker.
See how long a player has lived
/timelived query player [player]
Check the world record. Only includes players currently playing (for now)
/timelived query worldRecord

Note: As of version 1.1.0, the message config property is deprecated. Use messages. You can add multiple messages separated by a comma. If more than one message is listed, the mod will choose one at random for that minDaysLived entry.
{
"minDaysLived": 100.0,
"messages": [
"Wow! You lived for {daysLived} day(s). That is quite an accomplishment!",
"Great job! You lived for {daysLived} day(s)!"
]
},
For versions less than 1.1.0, use message property. You can customize the messages or even add new ones to the time lived messages. The default configuration settings:
{
"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
}
You can use variables in the customer messages to insert the number of days the player lived, their previous record, and also the player name.
{daysLived}
{previousDaysLived}
{playerName}
To add a new message to the time lived messages, add a new section like this:
{
"minDaysLived": 1000.0,
"message": "Holy moly! You lived for {daysLived} day(s)! You\u0027re a superstar!"
}
Now if you live for 1000 days or more, you will get the new message.
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
下载 Time Lived
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Lived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 增加了对“已生存天数范围”内多条消息的支持。现有配置文件应会自动升级到新的配置版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧