Mods / NDL TimeTracker
- Tags:
- Author:
- NateDoesLife
- Side:
- Client
- Created:
- Jan 27th 2025 at 8:26 AM
- Last modified:
- May 19th at 4:34 PM
- Downloads:
- 3231
-
Latest release (for Vintage Story 1.22.0 - 1.22.2, potentially outdated):
ndltimetracker_5.0.1.zip 1-click install
***I always recommend you write down your world times before updating versions just incase. There should be no loss of time with any updates (other then a full game reinstall) but you never know!***
About Mod:
This mod tracks your playtime on any given world (hours and minutes). I know it the game tracks for singleplayer but I wanted a mod that tracks time played on multiplayer worlds since there is no built in system for that.
- Displays time on screen via HUD in upper right next to mini-map
Hotkey:
- default key - num8 (8 key on the numberpad)
- can be changed in the controls menu
Commands:
.playtime - type this command in chat and it will display your time!
.playtime "<hr> <min>" This command allows you to set your time (for if you have been keeping track before you added this mod like I have)
- example: ".playtime set 1 20" This sets your playtime to 1hr 20mins
- WARNING: If you do "/playtime <playername>" and don't put in the hours or minutes it will act like you put in 0 0 and reset your playtime.
Migration Instructions (4.0.0 version):
Migration Method 1 (manual)
- Before updating to 1.21
-
- Record all your world times somewhere (notepad, pen paper, where ever)
-
- Update to 1.21 and update mod to 4.0.0
- Go in each world and run the command .playtime <Username> <hrs> <mins>
Migration Method 2 (bulk/less manual)
- Update to 1.21
- Update Mod to 4.0.0
-
- Load into your world
- Your time will show 0hr 0min, this is fine
- Go into your Vintage Story installation path
- Copy the folder named "playtime"
- Go to your "VintagestoryData" folder
- Probably located in your Appdata Folder
- Open File Explorer and type %Appdata% in the path bar
- Look for the folder named "NDL-TimeTracker"
- Past your "playtime" folder in there
- Replace the one in there if there is one
- Probably located in your Appdata Folder
-
- Your time should now be restored
- Reach out if this fails
Planned Workings:
- none at the moment
Feedback/Suggestions/Support:
I livestream on Twitch or Youtube (ad-free) monday-thursday (6pm est - 10pm est) Typically I play vintage story but on occasion might dive into a random game. I welcome suggestion and feedback on the mod in chat there or you can leave a comment below.
- You can also join my personal discord channel via - https://discord.gg/6qQZYPU
- Please use the channel #ndl-timetracker for any comments/chat regarding this mod! (going to be at the bottom of the channel list, in the VS-MODS Category)
Other Mods By Author:
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 5.0.1 | ndltimetracker | 185 | May 19th at 4:34 PM | ndltimetracker_5.0.1.zip | 1-click install | ||
|
New Features:
Updates:
Bug Fixes: | |||||||
| 5.0.0 | ndltimetracker | 215 | Mar 9th at 5:58 PM | ndltimetracker_5.0.0.zip | 1-click install | ||
|
Updated to 1.22
Updates: Bug Fixes: | |||||||
| 4.0.1 | ndltimetracker | 647 | Oct 31st 2025 at 5:07 AM | ndltimetracker_4.0.1.zip | 1-click install | ||
|
New Features:
Updates:
Bug Fixes: | |||||||
| 4.0.0 | ndltimetracker | 425 | Aug 26th 2025 at 4:03 PM | ndltimetracker_4.0.0.zip | 1-click install | ||
|
New Features:
Updates:
Bug Fixes: | |||||||
| 3.2.0 | ndltimetracker | 556 | Feb 28th 2025 at 5:43 PM | ndltimetracker_3.2.0.zip | 1-click install | ||
|
New Features:
| |||||||
| 3.1.2 | ndltimetracker | 281 | Feb 4th 2025 at 10:26 PM | ndltimetracker_3.1.2.zip | 1-click install | ||
|
New Features:
| |||||||
| 3.0.2 | ndltimetracker | 130 | Feb 3rd 2025 at 4:39 PM | ndltimetracker_3.0.2.zip | 1-click install | ||
|
New Features:
| |||||||
| 3.0.1 | ndltimetracker | 116 | Feb 3rd 2025 at 4:14 AM | ndltimetracker_3.0.1.zip | 1-click install | ||
|
New Features:
| |||||||
| 3.0.0 | ndltimetracker | 133 | Feb 2nd 2025 at 11:46 PM | ndltimetracker_3.0.0.zip | 1-click install | ||
|
New Features:
| |||||||
| 2.0.0 | ndltimetracker | 152 | Jan 30th 2025 at 10:26 PM | ndltimetracker_2.0.0.zip | 1-click install | ||
|
New Features:
| |||||||
| 1.1.0 | ndltimetracker | 189 | Jan 28th 2025 at 7:12 PM | ndltimetracker_1.1.0.zip | 1-click install | ||
|
v1.1.0 update
| |||||||
| 1.0.0 | ndltimetracker | 202 | Jan 27th 2025 at 8:27 AM | ndltimetracker_1.0.0.zip | 1-click install | ||
|
v1.0.0 | |||||||












Sadly I cannot figure out why but I'm getting repeat crashes from this mod (5.0.1) on 1.22.2 specifically according to the crash logs. No other major mods loaded and it's on a fresh install/server. Will see if I can get another crash log for it before removing.
It should only need to be on the client side, also test it out with no other mods.
- Post a code snip of your crash log or a link to a pastebin or something so I can see what the issue is
Yeah I only had it client-side. Just ran with no other mods for about triple the time it took to crash before and no issues. Will keep testing with other mods one by one. Sorry about this! Not meaning to be vague, it may just take a while to hunt this down.
Gottcha, if you want to post the crash I can take a look.
Also I do know this mod crashes with Optitine (or whatever its called). Not sure what that mod changes about the game but its on them to fix that conflict
Not sure of any others.
Dragostes Glad you were able to get it fixed up and running! Enjoy!
NateDoesLife I can confirm the issues I was having were from an improperly installed local server/client setup. After correcting mod install paths for the server and reinstalling the mod it now works without issues :D
Dragostes Does it happen when you have no other mods installed?, also assuming you tried on a fresh new sp world as well?
Well the issue in my previous comment was easy enough to fix I had grabbed the wrong version when reinstalling, now I'm back to crashing after a moment of gameplay.
NateDoesLife I have verified the server is running a seperate installation of mods and that time tracker isn't on the server side. However at this time I'm getting a different error(?) and it's likely caused by incompatibility with another mod and I'll have to post back here when I find more.
Error:
at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, MetadataImport& scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1& derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctorWithParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](Assembly element)
at Vintagestory.Common.ModContainer.<>c__DisplayClass37_0.<LoadAssembly>b__1(Assembly ass) in VintagestoryLib\Common\API\ModContainer.cs:line 546
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 543
Dragostes Interesting, yeah that could be. I am not sure why it would be doing that though. You don't have the mod on the server do you? Just installed for your client right?
NateDoesLife I believe the problem is probably caused from my running a dedicated server from the same place as the "singleplayer server" files, probably something about trying to change a file on the server side it shouldn't have access to in client mode.
Running Windows 11, and the crash happens after being on the server for a few moments as far as I can tell I was the only person having the issue as well.
I can attempt to go through my modlist but that will take some time I'll get back with you if I can figure anything out.
Dragostes Interesting crash, I run the same version (game and mod) as you with no issue at the moment.
I need a bit of information to further help you out here
1 - Is YOUR OS system Linux or Windows?
2 - Is this happening on a sever you are joining or singleplayer?
I also need you to try some stuff for me as well
1 - clear out your mods except this one, load up a fresh world and see if it works
1a - if this works, slowly add your mods back until it crashes, then figure out which mod you added back that is causing it and let me know (might be able to do something, might not).
Love the idea and really want a time tracker for gameplay, this however crashes my game when active. I have a relatively large modlist so it may be due to incompatiblity with one of them.
Below is the crash report in full;
https://pastebin.com/9vmHKE7s
Systamatic Try doing .playtime set x x (for the x's use your time)
I belive I updated the command when 1.21 hit I need to update the mod page (will do that now)
I can't use the command to change my playtime?
FlyingPenguin03 Ok give me a little to go through and try to figure out whats going on with it!
edit: So I believe the issue boils down to you using linux as your OS. The mod for some reason isn't liking that.
If you want I have a possible solution to fixing this but would want to drop it to you for testing before pushing out live. You can reach me on discord.
Also you mentioned its tracking other players as well, you say your server is self-hosted....what do you mean by this like your opening your world up to LAN or you are launching the serverclient and launching an actual server.
- Actual server, make sure the mod is not installed on the server (it shouldn't be as its client side only)
- Lan Server, honestly not sure how the mod works with this part, it could be that depending on how it opens your world up to multiplayer that the mod sees them as having it installed and running as well.
NateDoesLife
FlyingPenguin03 Interesting, yeah send me the crash log when you get a chance. I could of sworn I ported the whole mod to client side but maybe something is still ticking server side.
Crash Report: Hello! I really like this mod. I play on a self-hosted server. I've noticed the time tracker is trying to track times for other players when we are on concurrently. What is troubling though, is that I crash every time another player disconnects. I don't have another player on for a while to get the crash log, but I can post it as soon as I get it again if need be.
Snorella hmmm interesting.
I would try the following
1 - Make sure you are using the latest version
2 - Delete your cache file (should be around the same place as your mods folder)
3 - Delete your mod data file (should be around the same place as your mods folder)
Let me know if that helps at all
Hey Nate, I keep getting the following critial error. This doesn't make any sense to me, but not sure if anything screams out to you? Thanks for the help :)
eerino Hmmmmm I dont know of another mod that does this and sadly I don't know that all that would really fit within the idea of this mod.
I can take it onto my board of ideas and such but I've been on a bit of a break from core modding at the moment (unless something needs fixing obviously) and not really looking to start/build new projects that are out of scope of my current ones.
Sorry for that.
I would recommend maybe asking in the VS discord in the #mods-general chat. Someone might be able to help or make a mod that does that.
Hey again Nate, I don't expect you to add this feature but I'm searching for a mod that allowes me to track real time in game and can be started/paused/resumed/recorded. For example if chiseling was your job and you needed to record your hours only chiseling. (timer wouldnt start stop based on activity but maybe could include a reminder in chat every so often asking if you want to continue tracking time)
Do you know if anything like this exists or is it possible to use your mod and add commands that would let me start/pause and see current amount of time?
Thanks :p
El_Neuman Maybe, I can look into it, thats not a bad idea I'd just be weary that if they update that menu in anyway it would break my mod. My mod concept is going with the least likely way that will break in the future.
It's possible to add playtime in menu C ?
So the triple message could be you have more then one saved time session for that world.
One possible way to fix that is to write down your time (for any worlds you want the time for)
- go to your base installation folder for vintage story
- you should see a "playtime" folder in there
- clear all the entires and then when you go into the world do the .playtime
(.playtime NateDoesLife 5 25) and just set your playtime that way.
- This might also fix your crash as it looks like your crashing when its trying to save your playtimedata.
For a followup question, does this crash everyone on the server at the same time or just yourself?
If its easier you can message me on discord, my tag is NateDoesLife with a crown emoji in front of it. You should be able to search it in the VS discord and I should come up easily.
DanceOfBlood
Here's a new one
Crash: https://pastebin.com/37tL7vkv
Client Main: https://pastebin.com/SspGCeCQ
Another one
Crash: https://pastebin.com/vE2rQcYu
Client Main: https://pastebin.com/NTuCBGDS
Here's the the triple message I meant:
For that error, there were only two of us in the server and weirdly enough it crashed both of us.
I'll let you know if I managed to get it happen again
Awesome! Thank you for the error, I will take a look at that method that gets flagged and see if I can find out whats causing it. Just out of curiousity did someone leave the server at the time of the crash?
Also if it happens again, could you send me a pastebin of your client-main log as well? Sorry it just helps me pinpoint exactly whats causing the crash instead of trying to guess.
DanceOfBlood
Somehow I got a crash again, I was just waiting for my tools to cool off.
https://pastebin.com/C3Ch1Zfk
I'll get back to you on it when I play with my friends to recreate the situation.
Just tried to replicate now but the triple welcome message didn't happen.
Wish I had the crash log saved for it.
Hmmm interesting, I will see what I can do to adjust that from happening.
Any chance you can send me a copy of the log file from when you join the server along with the crash your getting.
Can use Pastebin.com - #1 paste tool since 2002! to send them.
DanceOfBlood
Hey! Great mod.
I found myself getting three "welcome your current playtime is x" when joining my server.
I'm guessing this is because the server had gone through three different versions.
I remember reverting back to 1.1.0 after testing out one of the 3.0 versions (cant remember which)
and now I went to 3.1.2, it works but perhaps because of multiple versions that was used this came up.
Just saying it in case you could find some sort of fix to this. Also, I currently get some crashes in 3.1.2.
Could be the problem of multiple time saving
Looks like it fixed it and I was able to use the .playtime command as well.
Ok, I just put up a new release with what I hope is a fix for that.
I believe it was happening when new players data was trying to be saved for the first time.
If it happens to keep happening or another error happens you can always shoot me a message on discord (NateDoesLife with a crown emoji in the front of it, if you search NateDoesLife in the VS discord you should find me easily). Then I can work with you a bit easier then uploading fresh releases each time. If you would like.
PandaPants200
Well my screen didn't go black but...
Running on 64 bit Windows 10.0.26100.0 with 16282 MB RAM
Game Version: v1.20.3 (Stable)
2/2/2025 9:39:22 PM: Critical error occurred in the following mod: ndltimetracker@3.0.0
Loaded Mods: aculinaryartillery@1.2.3, chiseltools@1.14.11, nailsmold@1.0.2, TA_plainsandvalleys@1.0.9, sustainableforestry@1.1.0, game@1.20.3, weaponpackalphaunoff@1.6.0, apegrapes@1.2.3, egocaribautomapmarkers@4.0.1, betterfirepit@1.1.5, carryon@1.8.0-pre.1, commonlib@2.6.1, expandedfoods@1.7.3, fromgoldencombs@1.8.6, ndltimetracker@3.0.0, prospecttogether@2.0.0, stonebakeoven@1.1.5, trailmodcupdate@1.2.1, creative@1.20.3, survival@1.20.3, stonequarry@3.4.3
System.Collections.Generic.KeyNotFoundException: The given key 'PandaPants200' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ndltimetracker.ndltimetrackerModSystem.<>c__DisplayClass12_0.<SavePlaytimeData>b__0() in P:\NDL Mods VS\NDL-TimeTracker\ndltimetracker\ndltimetracker\ndltimetrackerModSystem.cs:line 149
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 786
at Vintagestory.Client.GuiScreenConnectingToServer.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenConnectingToServer.cs:line 254
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 695
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 670
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
NateDoesLife
Everything should be good to go in v3.0.0
- I converted it to a 100% client side mod so you shouldn't need it loaded on the server anymore.
- Let me know if for some reason the black screen issue comes back up and I will investigate further, could be the HUD creation method I am using.
PandaPants200
I was using v2 but it didn't crash or show up in the logs. I will try with v1.1 later. NateDoesLife
Any log errors, crashes or anything. What version are yall using.
Also if you could try using v1.1.0 and let me know if that happens as well that would be great. I added a HUD to v2.0.0 and I think that might be the cause of that.
PandaPants200
I just tried to us this on a LAN server and when another player joined the right half of our screens would go black.
I did not see any performance decreases so far while testing this.
MRGOOSE
does this affect performance?