aboutsummarylogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1c60dd3880e1..f88bc11aab64 100644
--- a/README.md
+++ b/README.md
@@ -34,16 +34,20 @@ If your computer is behind a router you will need to make sure the port is forwa
Your game configuration is stored in key=value format in a properties file. Copy `default.properties` to a safe location and edit as needed. `mapfile` should reference the filename of a map in *your* `~/dominions4/maps` directory. Once ready:
-1. `dom4 config mygame.properties` loads your config into the server and sets the current game name.
-1. `systemctl start dom4-server` starts the server in pretender upload mode.
+1. `sudo dom4 config mygame.properties` loads your config into the server and sets the current game name.
+1. `sudo systemctl start dom4-server` starts the server in pretender upload mode.
1. If `uploadmaxp` or `uploadtime` are set in your configuration, you're done: the game will start automatically when the appropriate limit is reached. If not, wait for everyone to upload their pretenders and then bring the server down with `systemctl stop dom4-server`.
-1. `dom4 ready` sets the game's start flag.
-1. Restart the server using `systemctl start dom4-server` again to begin the game.
+1. `sudo dom4 ready` sets the server up to host the last configured game, or you can pass in the name of another properties file (without the extension) after all pretenders have been uploaded.
+1. Restart the server using `sudo systemctl start dom4-server` again to begin the game.
-You may also want to `systemctl enable dom4-server` in order to start the server automatically after reboots.
+You may also want to `sudo systemctl enable dom4-server` in order to start the server automatically after reboots.
Note that only one game may be served at a time. If you run `dom4 config` with a config file when a game has already been set up, it will ask if you want to overwrite the existing game.
+### Deleting Games
+
+`sudo dom4 delete mygame` removes the properties file and save directory. Maps are not removed.
+
## SteamCMD
Here's how to download and install Dominions 4 from Steam without needing to let X or a monitor anywhere near your computer: