Version number listing/command?

J0nnJ0nes
Member
 
Posts: 16
Joined: Thu Feb 02, 2012 10:48

Version number listing/command?

by J0nnJ0nes » Sun Feb 26, 2012 14:30

Is there a way to get the version number of the minetest you're using? I don't think there is directly, based on discussions I've seen. So far, I know the following for sure:

1) There is no "minetest --version" option.
2) The version is listed in "debug.txt" for minetest, as "VER=0.2.20110618_0_dev".
3) The version can be called when running a minetest server using "/status" (Get server status: version, player list, message of the day).

So, is there a way to retrieve the minetest version, particularly for uses in external scripts and programs? In this case, a mod manager for minetest. If there isn't, I really think there needs to be.

For that matter, how would you go about getting a mod's version as well? Standardizing a variable to do so, required for every mod to have somewhere? If not, then what would it take?
Last edited by J0nnJ0nes on Sun Feb 26, 2012 14:31, edited 1 time in total.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Sun Feb 26, 2012 14:32

Yeah, this would be god, but protocol version usually tells me my client is too old.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 4 guests