Skip to content

Commit 1a8573e

Browse files
committed
Update README
1 parent 2aee439 commit 1a8573e

File tree

1 file changed

+26
-201
lines changed

1 file changed

+26
-201
lines changed

README.md

Lines changed: 26 additions & 201 deletions
Original file line numberDiff line numberDiff line change
@@ -1,210 +1,35 @@
1-
#DarkMultiPlayer ${PROGRAMVERSION}
1+
# DarkMultiPlayer
22

3-
DarkMultiPlayer is a multiplayer mod for KSP 1.0.4. It supports subspace-style (and master controlled warp) warping & career mode, with an easy-to-edit server database.
4-
5-
The DarkMultiPlayer server and client is cross platform, it runs under mono on linux and mac.
6-
7-
8-
##Client
3+
DarkMultiPlayer is a multiplayer mod for Kerbal Space Program. It supports subspace style (and master controlled warp) warping and career mode, with an easy to edit server database.
94

10-
###Installation / Updating
11-
Option a) Extract the [DarkMultiPlayer zip](https://kerbalstuff.com/mod/4) to GameData.
12-
Option b) Download DMPUpdater from http://godarklight.info.tm/dmp/downloads/dmpupdater/, place the program next to KSP.exe (Or KSP.app/KSP.x86_64), and run it.
5+
The DarkMultiPlayer client and server are cross platform, see [Install](#install).
136

14-
###Connecting to a server
15-
The connection window will appear on the main menu. Type in a username, press add server, type in the details, and then hit add.
16-
A player keypair will be generated (At GameData/DarkMultiPlayer/Plugins/Data/private.txt) during the first DMP start. DMP registers your username to the server with this keypair. If you lose your keypair, you will no longer be able to connect to the server with that username until the server administrator deletes you from Universe/Players/.
17-
18-
###Connecting, If you are also running a server
19-
If you are running the server locally, you will want to connect to 127.0.0.1/localhost.
20-
If you are running the server on a networked computer, you will most likely be connecting to a 10.x.x.x or 192.168.x.x address.
21-
Do not type in your public IP, this usually refers to your modem, which won't be running the DMP server (Unless you have the public IP address in your computer, which is rare).
22-
7+
## Install
8+
### Client
9+
* Download the [DMPClient zip](https://spacedock.info/mod/10) and extract to `[KSP root folder]/GameData`
10+
* Download [DMPUpdater](http://godarklight.info.tm/dmp/downloads/dmpupdater/), place the program on your KSP folder and run it.
2311

24-
###Flag sharing
25-
DMP will sync any flags under the GameData/DarkMultiPlayer/Flags folder - Put your local flags in here if you want other players to see them. All other flags will work in any location if all players have the flags installed, but it will get reset to default if a player gets near a vessel with a flag they do not have.
26-
27-
###Chat window
28-
By default, you will join the Global channel (and cannot leave it).
29-
To PM a player, type /query playername or click on their player name in the global chat.
30-
To start a group chat, type /join groupname.
31-
To leave a PM or group chat, type /part or /leave in the window you want to leave. You can also press the 'Leave' button.
32-
Group chats are indicated by the '#' mark, player chats are indicated by the '@' mark.
33-
Newlines can be entered in the chat window with shift+enter.
34-
35-
###Craft sharing window
36-
To upload a craft, press on your user name and then click 'Upload'.
37-
To download a craft, press on the owning player's username and select one of their uploaded vessels.
38-
39-
###Screenshot sharing window
40-
To upload a screenshot, press 'Upload'.
41-
To view a players screenshot, press on their player name.
42-
If the server has screenshot saving enabled, The players name will go red when there is a new screenshot to view.
43-
44-
###Mods
45-
If you try to connect to a modded server, DMP will tell you everything you are missing, and tell you everything you shouldn't have in order to connect. If there is any DLL's that need to be added, you will need to restart KSP.
46-
47-
###Warping
48-
Both regular and physics warp are available. When you warp, you will be put into your own "time" (called a subspace) which other players can sync to. All updates from the past affect future players, but future players will not affect players in the past.
49-
50-
51-
##Server
12+
### Server
13+
The DarkMultiPlayer server is cross platform, meaning you can run it on any platform that supports .NET.
14+
In Linux or macOS, you must have [Mono](http://mono-project.com) installed to be able to run the server.
15+
* Download the [DMPServer zip](https://spacedock.info/mod/11/DarkMultiPlayer%20Server)
16+
* Download [DMPUpdater](http://godarklight.info.tm/dmp/downloads/dmpupdater/), place the program on your server folder and run it.
17+
- NOTE: you must have a previous server version in the folder for DMPUpdater to work.
5218

53-
###Installation
54-
Option a) Extract the DarkMultiPlayer zip to a folder, Not under the KSP or GameData folders.
55-
56-
###Updating
57-
Option a) Extract the zip as above
58-
Option b) Place DMPUpdater next to DMPServer.exe and run it.
59-
60-
###Server console commands
61-
admin - Sets a player as admin/removes admin from the player
62-
ban - Bans a player from the server
63-
banip - Bans an IP Address from the server
64-
bankey - Bans a Guid from the server
65-
connectionstats - Displays network traffic usage
66-
countclients - Counts connected clients
67-
dekessler - Clears out debris from the server
68-
exit - Shuts down the server
69-
help - Displays this help
70-
kick - Kicks a player from the server
71-
listclients - Lists connected clients
72-
nukeksc - Clears ALL vessels from KSC and the Runway
73-
pm - Sends a message to a player
74-
quit - Shuts down the server
75-
restart - Restarts the server
76-
say - Broadcasts a message to clients
77-
shutdown - Shuts down the server
78-
whitelist - Change the server whitelist
79-
80-
###Options
81-
The file is located at DMPServerSettings.txt next to DMPServer.exe. You will need to edit this file while the server is off-line. The file is created on the first server start.
82-
83-
###address
84-
address - The address the server listens on.
85-
WARNING: You do not need to change this unless you are running 2 servers on the same port.
86-
Changing this setting from 0.0.0.0 will only give you trouble if you aren't running multiple servers.
87-
88-
####port
89-
The port to listen on, default 6702.
90-
91-
####warpmode
92-
The warp type.
93-
- Mode 0: MCW_FORCE, You take a warp lock, every player will follow you into warp, and you will create a subspace when you come out of warp that everyone will sync to.
94-
- Mode 1: MCW_VOTE: Same as MCW_FORCE, but you have to vote first - This option may be good for players doing the same thing with voice chat.
95-
- Mode 2: MCW_LOWEST: NOT IMPLEMENTED - Warps to the lowest common warp factor.
96-
- Mode 3: SUBSPACE_SIMPLE: NOT IMPLEMENTED - Allows you to create a subspace in the future, but you can only sync to the latest player with the '>' key.
97-
- Mode 4: SUBSPACE: The default, and most important mode. Each player can warp at will, and they can "sync" to other players times. This is the only mode that allows QuickSaving/QuickLoading
98-
- Mode 5: NONE: Players will be unable to warp.
99-
19+
You can configure your server by editing `Config/Settings.txt`.
20+
If your server's game difficulty is set to `CUSTOM`, you can alter gameplay settings by editing `Config/GameplaySettings.txt`.
10021

101-
####gamemode
102-
- Mode 0: SANDBOX - The default sandbox game mode.
103-
- Mode 1: SCIENCE - Everyone has their own science points. Shared science is currently not implemented.
104-
- Mode 2: CAREER - Everyone has their own career mode points and funds. Shared science is currently not implemented.
105-
22+
## Compiling
23+
- Copy the following assemblies from `[KSP root folder]/KSP_Data/Managed`:
24+
* `Assembly-CSharp`
25+
* `Assembly-CSharp-firstpass`
26+
* `UnityEngine`
27+
* `UnityEngine.UI`
28+
- Paste the copied assemblies where `DarkMultiPlayer.sln` is located at.
10629

107-
####gamedifficulty - Specify the gameplay difficulty of the server.
108-
- Mode 0: EASY
109-
- Mode 1: NORMAL
110-
- Mode 2: MODERATE
111-
- Mode 3: HARD
112-
- Mode 4: CUSTOM - This will generate a DMPGameplaySettings.txt file you can edit.
113-
30+
## Mod Control
31+
Read `DMPModControl.txt`, it's commented. The file can be copied from a development KMPServer (The one where you can use SHA sums, not the one with the !md5 section) as the file format is the same.
11432

115-
####whitelisted
116-
Enable whitelisting on the server. The commands are /whitelist [add|del] playername or /whitelist show.
117-
- 0 : Off
118-
- 1 : On
119-
33+
If you are running a private server, it's safe enough to just add the missing parts.
12034

121-
####modcontrol
122-
Enables or disables modcontrol - Only turn this off if you are running a private server where everyone has the same mods.
123-
- 0 : Off
124-
- 1 : On (Don't sync vessels with invalid parts)
125-
- 2 : On (Prevent vessels with invalid parts from launching)
126-
127-
128-
####keeptickingwhileoffline
129-
Specify if the the server universe 'ticks' while nobody is connected or the server is shut down.
130-
131-
132-
####sendplayertolatestsubspace
133-
If true, sends the player to the latest subspace upon connecting. If false, sends the player to the previous subspace they were in.
134-
NOTE: This may cause time-paradoxes, and will not work across server restarts.
135-
136-
137-
####useutctimeinlog
138-
Use UTC instead of system time in the log. This is useful if you want to co-ordinate logging between the server and client.
139-
140-
141-
####loglevel
142-
Minimum log level to display. While DMP is in alpha, it's recommended to leave this on DEBUG (0) if you want to submit bug reports. ;)
143-
144-
145-
####screenshotsperplayer
146-
Number of screenshots to save. You need to have a number higher than -1 in order for players to view screenshots for players they are not currently watching.
147-
- -1 is disabled.
148-
- 0 is unlimited.
149-
150-
151-
####screenshotheight
152-
The height of the screenshot in pixels.
153-
154-
155-
####cheats
156-
Enable use of cheats in-game.
157-
- 0 : Off
158-
- 1 : On
159-
160-
####httpport
161-
HTTP port for server status. 0 = Disabled
162-
163-
####servername
164-
Name of the server. This is the name that shows up in the JSON output (and server list if added)
165-
166-
####maxplayers
167-
Maximum amount of players that can join the server.
168-
169-
####screenshotdirectory
170-
Specify a custom screenshot directory.
171-
This directory must exist in order to be used. Leave blank to store it in Universe.
172-
173-
####autonuke
174-
Specify in minutes how often /nukeksc automatically runs. 0 = Disabled
175-
176-
####autodekessler
177-
Specify in minutes how often /dekessler automatically runs. 0 = Disabled
178-
179-
####numberofasteroids
180-
How many untracked asteroids to spawn into the universe. 0 = Disabled
181-
182-
####consoleidentifier
183-
Specify the name that will appear when you send a message using the server's console.
184-
185-
####servermotd
186-
Specify the server's MOTD (message of the day).
187-
188-
189-
####expirescreenshots
190-
Specify the amount of days a screenshot should be considered as expired and deleted. 0 = Disabled
191-
192-
193-
####compressionenabled
194-
Specify whether to enable compression. Decreases bandwidth usage but increases CPU usage. 0 = Disabled
195-
196-
197-
####expirelogs
198-
Specify the amount of days a log file should be considered as expired and deleted. 0 = Disabled
199-
200-
201-
202-
203-
##Mods
204-
Read DMPModControl.txt, it's commented/documented. The file can be copied from a *development* KMPServer (The one where you can use SHA sums, not the one with the !md5 section) as the file format is the same.
205-
206-
If you are running a private server, it's safe enough to just add the missing parts.
207-
208-
You can get the DMP client to make a DMPModControl.txt file specific for your GameData directory by pressing Options -> Generate DMPModControl.txt file.
209-
The whitelist option will only allow you to connect with the mods in your GameData directory.
210-
The blacklist option will allow you to connect with any mods.
35+
You can get the DMP client to make a `DMPModControl.txt` file specific for your GameData directory by pressing `Options -> Advanced -> Mod Control -> Generate`. The whitelist option will only allow you to connect with the mods in your GameData directory. The blacklist option will allow you to connect with any mods.

0 commit comments

Comments
 (0)