Support configuration file
Opened this issue · 0 comments
othermusketeer commented
- It attempts to read
./ServerStarter.conf
or~/ServerStarter.conf
. Then attempts to read first match found at./*.ServerStarter.conf
or~/*.ServerStarter.conf
- Configuration can be specified
-c FILE
or--config FILE
- Don't reinvent the wheel, use JSON format or XML
- .json is an .conf option
{
"basic": {
"option1": "value1",
"option2": 2,
"option3": [
"Like",
"this",
"I",
"hope"
],
"option4": "blargh"
},
"3rdpartymod": {
"option1": 5
}
}