diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 5 insertions, 23 deletions
@@ -23,6 +23,10 @@ mcwrapper [arguments...] IDENTIFIER Increase verbose level of output. -q, --quiet Decrease verbose level of output. + --config CONFIG_FILE + Specify configuration file to be used. + --configfile + prints used configuration file and exits. IDENTIFIER Identifier for new server. This allows multiple servers running with this @@ -73,26 +77,4 @@ Script is searching for configuration in these files (in order of precedence): * ~/.mcwrapper.conf * ~/.config/mcwrapper.conf * /etc/mcwrapper.conf - -### identifier -This option is string defining identifier of server. If this option is define, no -IDENTIFIER argument is expected on command line. If you have only one server, use -this to make command line commands shorter. - -### server -This variable is expected to be of type dictionary and contains configurations per -server. See example.conf for example. Options for servers are these: -#### directory -Defines directory where will be server executed. This way you can start server from -any directory and it will always start server in right one. -#### command -Defines command to start Minecraft server in `directory`. -#### status -Defines directory in which will be placed all status files generated by this -wrapper. - -### timeout -Numerical value, specifying time in minutes after which will be server -automatically shutdown if no player is on server. If value is less or equal zero, -automatic shutdown is disabled. If value is not specified in configuration file, 0 -is used. +Or you can use `--config` argument to specify any other file with valid content. |