Consider re-adding the ability to select the game to configuration file #15682
Labels
Feature request
Issues that request the addition or enhancement of a feature
@ Startup / Config / Util
Problem
#13550 dropped the
default_game
setting fromminetest.conf
. This setting was useful for situations like runningminetestserver
in a template systemd unit.For example, suppose I have a systemd template unit configured to start a server with the config in
/etc/minetest/pvp.conf
when[email protected]
is started or in/etc/minetest/mineclonia.conf
when[email protected]
is started. Previously, I could use the same template service file and set the game in the configuration file. Now, if I want to run different games it seems I have to create individual service files that have--gameid
set to the appropriate value, which defeats the purpose of the template units.Perhaps I am missing some configuration option that allows this.
Solutions
Add a configuration option back to set the game from the configuration file.
Alternatives
#13550 mentions it should "automatically pick the first non-devtest game", but this doesn't seem to be the case for the dedicated server, which errors out if--gameid
is not set even if MTG is installed and available.(has been fixed)
Additional context
Related to setting the game, hopefully the
map-dir
setting in the configuration file is not deprecated like the CLI option tominetestserver
is?The text was updated successfully, but these errors were encountered: