@ -50,7 +50,7 @@ class DevCommand : CliktCommand("dev") {
|
|||||||
val server by argument().help("Server Template")
|
val server by argument().help("Server Template")
|
||||||
val port by option("--port").long().default(
|
val port by option("--port").long().default(
|
||||||
if (System.getProperty("os.name").lowercase() == "windows"
|
if (System.getProperty("os.name").lowercase() == "windows"
|
||||||
) 2050 else UnixSystem().uid
|
) 2050 else (UnixSystem().uid + 1010)
|
||||||
).help("Port for Server")
|
).help("Port for Server")
|
||||||
val world by option("--world", "-w").help("User World")
|
val world by option("--world", "-w").help("User World")
|
||||||
val plugins by option("--plugins", "-p").help("Plugin Dir")
|
val plugins by option("--plugins", "-p").help("Plugin Dir")
|
||||||
|
|||||||
Reference in New Issue
Block a user