forked from white-rabbit-dfplex/dfplex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdfplex.txt
69 lines (52 loc) · 2.31 KB
/
dfplex.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
This is the DFPlex config file, same syntax as DF raws.
All (keyboard) keys are given as their ASCII encoding. A value of 0 will disable that key.
(Don't forget to forward your ports if you're not playing on LAN.)
The port the static site will be served on. Players should connect to this port in their web browsers.
If this is set to 0, the static site server will not start. (You can use this to help identify
what the cause of a crash is, or to run your own static site server, e.g. `python -m SimpleHTTPServer`)
[STATICPORT:8000]
The directory containing static site files to be served.
[STATICDIR:hack/www]
The port the server's websocket will listen on. Don't forget to forward your ports.
If this is set to 0, the websocket will not start. (You can use this to help identify what the cause of a crash is.)
[PORT:1234]
The max number of concurrent connections that the server will accept.
Zero means unbounded.
[MAX_CLIENTS:0]
Enable autosave while nobody is playing. You probably shouldn't use this yet.
[AUTOSAVE_WHILE_IDLE:NO]
This key toggles multiplex mode.
[MULTIPLEXKEY:92]
This key toggles client's debug output
[DEBUGKEY:124]
This key toggles server's debug output
[SERVERDEBUGKEY:0] (125)
Zoom to next client position (from default view)
[PREV_CLIENT_POS_KEY:91]
[NEXT_CLIENT_POS_KEY:93]
Pause behaviour:
ALWAYS: if any player enters a menu, the game will pause.
EXPLICIT: Players can only pause the game by pressing the pause key.
EXPLICIT_DWARFMENU: like "Explicit", but the pause button can be pressed
from any submenu in the main dwarfmode view that doesn't use the key.
*Experimental.*
EXPLICIT_ANYMENU: like "Explicit", but the pause button can be pressed
from *any* menu that doesn't use the key.
*Experimental.*
[PAUSE:EXPLICIT]
Set this to 0 to disable in-game chat.
[CHATKEY:96]
Set this to 0 to disable chat names.
[CHATNAMEKEY:126]
Set this to 0 to disable requiring a name to chat.
(If there is no key for setting a name, names will
not be required.)
[CHAT_NAME_REQUIRED:1]
Display the cursor X as text?
[CURSOR_IS_TEXT:1]
Cap on the number of keys that can be on the stack.
If this is exceeded, the stack will reset (user will be
booted to the dwarf menu.)
Set this to 0 to disable -- caveat emptor, clients could
abuse this to slow down the server.
[KEYSTACK_MAX:10000]