diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2022-08-02 21:34:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 21:34:17 +0200 |
commit | a81259d19a434752614e5a430fdebf86f07c1cfc (patch) | |
tree | fcb83c0aa14c645c0050d683b54131bc598556f3 /builtin/settingtypes.txt | |
parent | f22d40975e907d9f0e84b67b21256953333a6cc8 (diff) | |
download | hax-minetest-server-a81259d19a434752614e5a430fdebf86f07c1cfc.tar.gz hax-minetest-server-a81259d19a434752614e5a430fdebf86f07c1cfc.zip |
Run Minetest update checker on startup (#7629)
This feature is enabled by default for non-Android release builds. Package
maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it.
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r-- | builtin/settingtypes.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index caa6e4db3..52b4b4d9d 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -571,6 +571,19 @@ serverlist_url (Serverlist URL) string servers.minetest.net # If disabled, new accounts will be registered automatically when logging in. enable_split_login_register (Enable split login/register) bool true +# URL to JSON file which provides information about the newest Minetest release +update_information_url (Update information URL) string https://www.minetest.net/release_info.json + +# Unix timestamp (integer) of when the client last checked for an update +# Set this value to "disabled" to never check for updates. +update_last_checked (Last update check) string + +# Version number which was last seen during an update check. +# +# Representation: MMMIIIPPP, where M=Major, I=Minor, P=Patch +# Ex: 5.5.0 is 005005000 +update_last_known (Last known version update) int 0 + [*Server] # Name of the player. |