@Generated public class Main extends java.lang.Object
-cgen
When ServerPackCreator is run with the -cgen-argument, you will be guided through a step-by-step
generation of a new configuration file.
This mode is also entered if:
ServerPackCreator is run with the -cli-argument AND if no configuration-file exists.
ServerPackCreator can not find any configuration-file when run in cli-mode, for whatever reason.
-cli
When ServerPackCreator is run with the -cli-argument, it will be executed in commandline-mode only.
Use this argument if you explicitly want to execute ServerPackCreator without GUI. *
-lang
Specifies the locale with which ServerPackCreator is run. If no locale is specified or if this argument is not
used, ServerPackCreator will use the default locale en_us
Correct usage is:
-lang your_locale
Examples:
-lang de_de
-lang en_us
Headless environments
If ServerPackCreator is run in a headless environment, without any graphical environment, it should automatically
enter -cli-mode.
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Runs dependency injection and decides which mode to enter depending on the arguments with which ServerPackCreator
is executed.
|
public static void main(java.lang.String[] args)
args - Commandline arguments with which ServerPackCreator is run. Determines which mode ServerPackCreator
will enter and which locale is used.