Files
assaultcube-/docs/server.html
T
driAn e21ecdf37e no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@447 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-10-18 21:00:49 +00:00

119 lines
3.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>ActionCube README</title>
<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
<link rel="stylesheet" href="docs.css" />
</head>
<body>
<div align="center">
<div id="header">Rabid Viper Productions</div>
<div id="main">
<h2>
Setting up a Server
</h2>
<h3>Command Line Options</h3>
<p>
In the file <i>actioncube_server.bat</i> (or the respective .sh file in linux) you can add or
change command line options. The possible command line options can be obtained from the
<a href="http://cubeengine.com/docs/config.html" target="_blank">cube config documentation</a>.
ActionCube behaves mostly like Cube, there are a few differences though:
</p>
<ul>
<li>Unlike cube, ActionCube uses the ports 28763 and 28764 (UDP)</li>
<li>
The command line option <span class="code">-x</span> specifies the master password:
<div class="code">
-xFOOBAR
</div>
</li>
<li>
The command line option <span class="code">-r</span> specifies a maprotation file:
<div class="code">
-rconfig/maprot.cfg
</div>
</li>
</ul>
<p>
See the next chapter for more information about the effect of new command line options.
</p>
<h3>Maprotation</h3>
<p>
In the maprotation file specified on the command line (default: <i>config/maprot.cfg</i>), you can specify
the map, mode, time and voting for your server. Each line defines one round. Example:
</p>
<pre>
// server side maprotations
// WARNING: You can NOT use CubeScript in there
// use the following scheme:
// map:mode:time:allowVote
// tdm
ac_complex:0:10:1
ac_depot:0:10:1
ac_desert:0:10:1
ac_mines:0:10:1
// ctf
ac_mines:5:10:1
ac_depot:5:10:1
</pre>
<p>
The first line, <span class="code">ac_complex:0:10:1</span>, means, the map <i>ac_complex</i> is played
in mode 0 (Team Deathmatch) for 10 minutes. The connected players are allowed to vote.
</p>
<h2>Administration</h2>
<h3>Master</h3>
<p>
ActionCube comes with a <i>very</i> simple implementation of a master console.
If you set a master password for your server, you can connect to it and login using this command:
</p>
<div class="code">
masterlogin FOOBAR
</div>
<p>
where <span class="code">FOOBAR</span> is the password you set. If your login attempt fails, you will be
kicked from the server.
</p>
<h3>Kick and Ban</h3>
<p>
Once you are logged in as master, you can kick and ban people from the server. Type this command into
the console to get the master menu that lets you select the players to kick/ban:
</p>
<div class="code">
master
</div>
<p>
Banning players means, any connection attempts from their IP will be refused for the next 20 minutes.
To remove the bans, select <i>Remove Bans</i> in the master menu.
</p>
</div>
<div id="footer"><a href="javascript:history.back()">&larr; BACK</a></div>
</div>
</body>
</html>