Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom server path does not work #16

Open
VADemon opened this issue Apr 22, 2019 · 1 comment
Open

Custom server path does not work #16

VADemon opened this issue Apr 22, 2019 · 1 comment

Comments

@VADemon
Copy link

VADemon commented Apr 22, 2019

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.

@Morlok8k Morlok8k closed this as completed May 1, 2019
@Morlok8k Morlok8k reopened this May 1, 2019
@Morlok8k
Copy link
Owner

Morlok8k commented May 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants