Add Dev Command
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-10-26 00:09:21 +02:00
parent da20fc10bc
commit fb2ef0cb86

View File

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