Move UncivServer to own module (and jar) (#6468)

* Move UncivServer to own module (and jar)

* UncivServer isalive logged

* Separate UncivServer - some wiki hints

* Separate UncivServer - how to build UncivServer.jar

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
SomeTroglodyte
2022-05-08 20:22:43 +02:00
committed by GitHub
parent 3ea9c6503b
commit 4290373cf1
12 changed files with 336 additions and 23 deletions

View File

@ -6,8 +6,8 @@ Therefore, you can now host your own Unciv server, when not on Android.
To do so, you must have a JDK installed.
From the directory where the Unciv.jar file is located, create a folder named "MultiplayerFiles", open a terminal and run the following line:
`java -cp Unciv.jar com.unciv.app.desktop.UncivServer`
From the directory where the UncivServer.jar file is located, create a folder named "MultiplayerFiles", open a terminal and run the following line:
`java -jar UncivServer.jar`
Don't forget to use 'cd' to switch to the correct dictionary. Here's an example in Windows.
@ -16,7 +16,7 @@ D:
cd Games
cd unciv
mkdir MultiplayerFiles
java -cp Unciv.jar com.unciv.app.desktop.UncivServer
java -jar UncivServer.jar
```
Your server has now started!