mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 08:21:36 +07:00
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:
@ -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!
|
||||
|
Reference in New Issue
Block a user