tservercommands.html - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tservercommands.html (2708B)
---
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
4 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
7
8 <head>
9 <title>Interactive server commands</title>
10 <meta charset="utf-8"/>
11 </head>
12
13 <body>
14 <h1>Interactive server commands</h1>
15
16 <p>Available commands are listed below. Please note also that any valid
17 line from a <a href="configfile.html">configuration file</a> can
18 be entered at the interactive server's prompt. Note, however, that game
19 options cannot be changed while players are connected. In addition, the
20 current value of any option from the configuration files can be displayed
21 by typing the name of the variable by itself. For example, entering
22 <i>MetaServer.Comment</i> at the prompt will display the comment that the
23 server sends to the <a href="metaserver.html">metaserver</a>.</p>
24
25 <dl>
26 <dt><b>help</b></dt>
27 <dd>Displays a help screen, listing valid server commands and the variables
28 which can be set in <a href="configfile.html">configuration files</a>.</dd>
29
30 <dt><b>list</b></dt>
31 <dd>Lists the given names of all the players currently logged on to the
32 server.</dd>
33
34 <dt><b>push <i>Bert</i></b></dt>
35 <dd>Politely asks the player with the given name <i>Bert</i> to leave the
36 server - i.e. sends a message to the client, which should then finish off
37 and break the connection at the far end.</dd>
38
39 <dt><b>kill <i>Bert</i></b></dt>
40 <dd>Abruptly breaks the connection to the player with given name <i>Bert</i>.
41 This is necessary if, for example, the client refuses to acknowledge a
42 "push" message.</dd>
43
44 <dt><b>msg:<i>Hi all!</i></b></dt>
45 <dd>Broadcasts the message <i>Hi all!</i> to all players currently connected
46 to this server.</dd>
47
48 <dt><b>save <i>my-conf</i></b></dt>
49 <dd>Saves the current configuration (names of drugs, locations, etc.) to
50 the file <i>my-conf</i>. If no file name is given, the configuration is
51 written to the local configuration file - usually <tt>~/.dopewars</tt> on
52 Unix systems and <tt>dopewars-config.txt</tt> on Windows.</dd>
53
54 <dt><b>quit</b></dt>
55 <dd>Politely quit, by asking all clients to leave, and then terminating once
56 they have done so. An "impolite" quit, which is necessary if the clients fail
57 to respond to this message, is performed on receipt of a SIGINT or SIGTERM
58 signal (i.e. pressing Ctrl-C or killing the process with the "kill"
59 command).</dd>
60 </dl>
61
62 <hr />
63 <ul>
64 <li><a href="index.html">Main index</a>
65 <ul>
66 <li><a href="server.html">Setting up and running a dopewars server</a></li>
67 </ul>
68 </li>
69 </ul>
70 <p>
71 Last update: <b>15-07-2002</b><br />
72 Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
73 </p>
74 </body>
75 </html>