Skip to content

Commit 7f7545d

Browse files
committed
Moved warning about file conflicts
1 parent 91f3c39 commit 7f7545d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/main/java/net/lenni0451/multilaunch/MultiLaunchConfig.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@
1313
@OptConfig(header = {
1414
"Configuration for the MultiLaunch ViaProxy plugin.",
1515
"Used to launch a server jar alongside ViaProxy.",
16-
"Make sure the server jar is in a separate directory to avoid conflicts!",
1716
"",
1817
"Made by Lenni0451",
1918
"Source: https://github.com/ViaVersionAddons/ViaProxyMultiLaunch"
2019
})
2120
public class MultiLaunchConfig {
2221

2322
@Option("ServerJar")
24-
@Description("The path to the server jar to launch")
23+
@Description({
24+
"The path to the server jar to launch",
25+
"Make sure the server is in another folder than ViaProxy itself to avoid file conflicts!"
26+
})
2527
public static String serverJar = "other/server.jar";
2628

2729
@Option("JvmArguments")
@@ -33,11 +35,18 @@ public class MultiLaunchConfig {
3335
public static List<String> serverArguments = List.of("nogui");
3436

3537
@Option("ForwardConsole")
36-
@Description({"If the console input should be forwarded to the server", "This also means that ViaProxy is not able to read the console input!", "If the server process is not running, the input will be handled by ViaProxy"})
38+
@Description({
39+
"If the console input should be forwarded to the server",
40+
"This also means that ViaProxy is not able to read the console input!",
41+
"If the server process is not running, the input will be handled by ViaProxy"
42+
})
3743
public static boolean forwardConsole = true;
3844

3945
@Option("ShutdownTimeout")
40-
@Description({"The time in seconds to wait for the server to shutdown before forcing it", "A force shutdown may cause data loss!"})
46+
@Description({
47+
"The time in seconds to wait for the server to shutdown before forcing it",
48+
"A force shutdown may cause data loss!"
49+
})
4150
public static int shutdownTimeout = 60;
4251

4352
@Option("StopCommand")

0 commit comments

Comments
 (0)