Verified Commit 6922ab97 authored by Dirk's avatar Dirk 💬
Browse files

make mTimer game-agnostic

Before this commit mTimer depended on Minetest Game’s `default` mod just
for the reason because it was common practice depending mods on it.

Since Minetest Game will be discontinued and put in maintenance mode
mTimer was sucessfully tested to run without the `default` dependency.

Tests were done using “Development Test” and paramat’s “minipeli”.

https://github.com/minetest/minetest/tree/master/games/devtest
https://github.com/paramat/minipeli
parent 663ba849
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@

Use it on your public server to give your players additional value (players can individually hide the timer if they want) while being on your server or use it in your singleplayer world to stay informed or – when creating creative content for others to watch – give your viewers a hint on when the footage was recorded.

The mod is game-agnostic and does not have any dependencies. The mod only interfaces with Minetest’s *HUD API*, the *player meta data API* and the *Formspec API*.

## Configuration

The timer display and settings are entirely configured on a per-player basis via configuration formspecs. Configurations are set when leaving the formspec via the buttons or when pressing enter or clicking the apply button (where available). Pressing the escape key cancels the changes.
+0 −1
Original line number Diff line number Diff line
name = mtimer
depends = default
description = Ingame timer for showing current playtime, current day time, ingame time, etc.