MinecraftLandGenerator icon indicating copy to clipboard operation
MinecraftLandGenerator copied to clipboard

Custom server path does not work

Open VADemon opened this issue 5 years ago • 1 comments

Usage: java -jar MinecraftLandGenerator.jar x z [serverpath] [switches] serverpath : the path to the directory in which the server runs (takes precedence over the config file setting)

Config: ServerPath=.

The [serverpath] doesn't seem to work from command line. MLG checks for server.properties file with the path from config disregarding the startup argument.

Tried with: java -jar MinecraftLandGenerator.jar 15000 15000 folderA -i1024 -x-15000 -z-15000 and ./folderA/, folderA/ and C:/folderA/ - no success.

VADemon avatar Apr 22 '19 21:04 VADemon

looks like you are right. when the serverpath is on the command line, the variable gets rewritten by the config file.

For now, use the config file.

Morlok8k avatar May 01 '19 22:05 Morlok8k