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.
How to Install Time Lived (Mod)
Time Lived by neptunecentury is verified for Fabric across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1 (latest release: 1.1.0+26.1, file size: 63 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Time Lived file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Added support for multiple messages per days lived range. Existing configs should automatically upgrade to the new config version.
- Ported to Minecraft 26.1
- Updated for Minecraft 1.21.6-1.21.7
- Bump to Minecraft version 1.21.5
- Small update to codebase
- Bump to Minecraft version 1.21.4
- Small update to codebase
- Small update to codebase
- Removed old debugging logs
- Changed usage from getEntityName to getDisplayName for player
- Update for 1.21.2+
- Removed old debug logging
- Added new command to get player currently playing on the server that lived the longest
- Changed command to query player stats
- Added config options to add custom messages to other players when a player dies. Closes issue [#1](https://github.com/neptunecentury/time-lived/issues/1)
- Added configuration settings for custom messages.
- Code improvements
- Fixed issue where in some cases, a player's death stats would carry over to a new world not previously played.
- Added new message for time lived > 100 days.