diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 11b2716..8025699 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -36,27 +36,27 @@
-
+
-
+
-
+
-
+
@@ -67,91 +67,43 @@
-
-
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -235,10 +187,11 @@
-
-
+
+
+
@@ -469,7 +422,7 @@
-
+
@@ -488,10 +441,20 @@
-
+
+
+
+
+
+
+
+
+
+
-
+
+
@@ -500,15 +463,15 @@
-
+
-
+
-
+
@@ -617,13 +580,6 @@
-
-
-
-
-
-
-
@@ -631,13 +587,6 @@
-
-
-
-
-
-
-
@@ -652,13 +601,6 @@
-
-
-
-
-
-
-
@@ -722,25 +664,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -748,30 +671,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -779,13 +678,10 @@
-
+
-
-
-
-
-
+
+
@@ -796,6 +692,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/morlok8k/MinecraftLandGenerator/CommandLineMain.java b/src/main/java/morlok8k/MinecraftLandGenerator/CommandLineMain.java
index 9f66a99..8a9d3ee 100644
--- a/src/main/java/morlok8k/MinecraftLandGenerator/CommandLineMain.java
+++ b/src/main/java/morlok8k/MinecraftLandGenerator/CommandLineMain.java
@@ -10,12 +10,28 @@ import picocli.CommandLine.Parameters;
import picocli.CommandLine.RunLast;
import java.nio.file.Path;
+
@Command(name = "mlg", subcommands = {
HelpCommand.class})
public class CommandLineMain implements Runnable {
- @Option(names = { "-v", "--verbose" }, description = "Be verbose.")
+
+ @Option(names = {"-v", "--verbose"}, description = "Be verbose.")
private boolean verbose = false;
+ @Option(names = {"-r", "--region"}, description = "Regionfiles instead of chunks")
+ private boolean regionFile = false;
+
+ @Option(names = {"-s", "--customspawn"}, description = "Customized SpawnPoints")
+ private String[] customSpawnPoints;
+
+ @Option(names = "-i", description = "override the iteration spawn offset increment", defaultValue = "380", showDefaultValue = CommandLine.Help.Visibility.ALWAYS)
+ private int increment = 380;
+
+ @Option(names = {"--x-offset", "-xoff"}, description = "set the X offset to generate land around")
+ private int xOffset = 0;
+
+ @Option(names = {"--y-offset", "-yoff"}, description = "set the Z offset to generate land around")
+ private int zOffset = 0;
@Parameters(index = "0", description = "X-coordinate")
private int X;
@@ -26,14 +42,8 @@ public class CommandLineMain implements Runnable {
@Parameters(index = "2", description = "path to the directory in which the server runs")
private Path serverPath;
- @Option(names = "-i", description = "override the iteration spawn offset increment", defaultValue = "380", showDefaultValue = CommandLine.Help.Visibility.ALWAYS)
- private int increment = 380;
-
- @Option(names = {"--x-offset", "-xoff"}, description = "set the X offset to generate land around")
- private int xOffset = 0;
-
- @Option(names = {"--y-offset", "-yoff"}, description = "set the Z offset to generate land around")
- private int zOffset = 0;
+ @Parameters(index = "3", description = "path to the to be generated world")
+ private Path worldPath;
public CommandLineMain() {