Worktime Stopwatch screenshot 1
B

Publisher

bypell

Worktime Stopwatch

Tools
Productivity Timer Tracking Windows Focus Workflow Management Distraction

A time tracker plugin made to help you dedicate a set amount of "work time" to your project each day. It can even keep track of the current foreground window and automatically "block" the stopwatch when you get distracted and switch to a non-whitelisted window (this is Windows-only, at the moment). Whitelisted windows are defined using a comma-separated, case insensitive list of keywords, if the active window's title contains any of the keywords, it is considered "productive" and the stopwatc...

Worktime-Stopwatch

A time tracker plugin for the godot engine made to help you dedicate a set amount of "work time" to your project each day.

It can even keep track of the current foreground window and automatically "block" the stopwatch when you get distracted and switch to a non-whitelisted window (this is Windows-only, at the moment).

This plugin only supports Windows and Linux. It should work on macOS if you comment out some code in stopwatch.gd. You could also instead build for mac yourself but there's no point in doing that since the activity limiting feature isn't supported anyway.

[!NOTE] Most of the plugin's UI elements have a tooltip, just hover over them if you want more info about a setting, etc. This includes one or more labels that you wouldn't think have a tooltip.

Installation

Also available in the asset library!

Manual way:

  1. Download the latest release for your godot version here.
  2. Unzip WorktimeStopwatch.zip and drag the addons folder into your project's root directory.
  3. Restart the editor.
  4. Enable the plugin in Project settings -> plugins

Screenshots

Things to note

  • When exporting your game, make sure to exclude the plugin and its related file(s).

    image

  • Also, you may or may not want to exclude the plugin from version control. If you're working in a team, you probably should. You can exclude it locally, without a .gitignore

  • The data for the calendar is kept in a file named "worktime_stopwatch_saved_data.tres" in your project's /addons folder.

  • Your settings are kept in a file named "worktime_stopwatch_settings.cfg" which is also in your project's /addons folder.

Cloning and building godot-cpp + gdextension

git clone --recurse-submodules https://github.com/bypell/Worktime-Stopwatch.git
cd Worktime-Stopwatch
cd godot-cpp
scons
cd ..
scons