/usr/share/doc/dopewars/html/servercommands.html is in dopewars-data 1.5.12-14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 70 71 72 73 74 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Interactive server commands</title>
</head>
<body>
<h1>Interactive server commands</h1>
<p>Available commands are listed below. Please note also that any valid
line from a <a href="configfile.html">configuration file</a> can
be entered at the interactive server's prompt. Note, however, that game
options cannot be changed while players are connected. In addition, the
current value of any option from the configuration files can be displayed
by typing the name of the variable by itself. For example, entering
<i>MetaServer.Comment</i> at the prompt will display the comment that the
server sends to the <a href="metaserver.html">metaserver</a>.</p>
<dl>
<dt><b>help</b></dt>
<dd>Displays a help screen, listing valid server commands and the variables
which can be set in <a href="configfile.html">configuration files</a>.</dd>
<dt><b>list</b></dt>
<dd>Lists the given names of all the players currently logged on to the
server.</dd>
<dt><b>push <i>Bert</i></b></dt>
<dd>Politely asks the player with the given name <i>Bert</i> to leave the
server - i.e. sends a message to the client, which should then finish off
and break the connection at the far end.</dd>
<dt><b>kill <i>Bert</i></b></dt>
<dd>Abruptly breaks the connection to the player with given name <i>Bert</i>.
This is necessary if, for example, the client refuses to acknowledge a
"push" message.</dd>
<dt><b>msg:<i>Hi all!</i></b></dt>
<dd>Broadcasts the message <i>Hi all!</i> to all players currently connected
to this server.</dd>
<dt><b>save <i>my-conf</i></b></dt>
<dd>Saves the current configuration (names of drugs, locations, etc.) to
the file <i>my-conf</i>. If no file name is given, the configuration is
written to the local configuration file - usually <tt>~/.dopewars</tt> on
Unix systems and <tt>dopewars-config.txt</tt> on Windows.</dd>
<dt><b>quit</b></dt>
<dd>Politely quit, by asking all clients to leave, and then terminating once
they have done so. An "impolite" quit, which is necessary if the clients fail
to respond to this message, is performed on receipt of a SIGINT or SIGTERM
signal (i.e. pressing Ctrl-C or killing the process with the "kill"
command).</dd>
</dl>
<hr />
<ul>
<li><a href="index.html">Main index</a>
<ul>
<li><a href="server.html">Setting up and running a dopewars server</a></li>
</ul>
</li>
</ul>
<p>
Last update: <b>15-07-2002</b><br />
Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
</p>
</body>
</html>
|