home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2007 September / maximum-cd-2007-09.iso / Assets / data / AssaultCube_v0.93.exe / docs / server.xml < prev    next >
Encoding:
Extensible Markup Language  |  2007-06-04  |  6.6 KB  |  179 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <?xml-stylesheet type="text/xsl" href="transformations/cubedoc2xhtml.xslt"?>
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="en" xml:lang="en">
  6.   <head><title></title></head>
  7.   <body>
  8.     <h1>
  9.         Setting up a Server
  10.     </h1>
  11.  
  12.     <h2>The AssaultCube Server</h2>
  13.  
  14.     <p>
  15.         Dedicated servers run in the shell only (no graphics), with increased priority yet use very little cpu time and memory, 
  16.         so you can run one in the background, or at the same time with a client if you want to host a game. Server port is 
  17.         fixed at <b>28763</b>, with <b>28764</b> being used for the server info requests (both UDP). 
  18.         See the <a href="getstarted.xml">Get Started Guide</a> to find out how to join a server.
  19.     </p>
  20.  
  21.     <h2>Main Configuration</h2>
  22.  
  23.     <p>
  24.         The AssaultCube server is mainly configured using command line options set in the server script <i>assaultcube_server.bat</i> on windows or 
  25.         <i>assaultcube_server.sh</i> on linux. 
  26.     </p>
  27.  
  28.     <div class="code">
  29.         bin_win32\ac_server.exe -c8 -n"My AC Server"
  30.     </div>
  31.  
  32.     <p>
  33.         Possible command line options can be obtained from the <a href="startup.xml">startup section</a> of this documentation.
  34.         Run the script to start the server.
  35.     </p>
  36.  
  37.     <h2 id="maprotation">Maprotation</h2>
  38.  
  39.     <p>
  40.         In the maprotation file specified on the command line (default: <i>config/maprot.cfg</i>), you can specify
  41.         the map, mode, time and voting for your server. Each line defines one round. Example:
  42.     </p>       
  43.  
  44.     <pre>
  45.     // server side maprotations
  46.     // WARNING: You can NOT use CubeScript in there
  47.     // use the following scheme:
  48.     // map:mode:time:allowVote
  49.  
  50.     // tdm
  51.     ac_complex:0:10:1
  52.     ac_depot:0:10:1
  53.     ac_desert:0:10:1
  54.     ac_mines:0:10:1
  55.  
  56.     // ctf
  57.     ac_mines:5:10:1
  58.     ac_depot:5:10:1
  59.     </pre>
  60.  
  61.     <p>
  62.         The first line, <span class="code">ac_complex:0:10:1</span>, means, the map <i>ac_complex</i> is played 
  63.         in mode 0 (Team Deathmatch) for 10 minutes. The connected players are allowed to vote.
  64.     </p>
  65.  
  66.     <h1>Administration</h1>
  67.  
  68.     <h2>Cheating</h2>
  69.  
  70.     <p>
  71.         Cheating is a problem that can't be solved entirely. 
  72.         AssaultCube is opensource, so everyone that knows how to compile it can easily modify the source to do whatever he wants, 
  73.         thats the problem of opensource games. The fact that the whole game logic is client-side, to save a lot bandwith, makes it even easier to cheat.
  74.         There is no way to avoid this abuse.
  75.     </p>
  76.     
  77.     <h2>Server Master</h2>
  78.  
  79.     <p>
  80.         AssaultCube adapts the useful feature called <i>master mode</i> known from the Cube 2 games. It's implemented in a different way though.
  81.         Servers operate in a so called <i>master mode</i> which allows people to easily and painlessly have games with people they know, 
  82.         without being disturbed by cheaters. The way it works is very simple: the first person to enter a server and use the <span class="code">setmaster</span>
  83.         command becomes the master of that server. The master of a server can force map changes, set a different master mode and perform other
  84.         administrative actions normal players can't.
  85.     </p>
  86.  
  87.     <p>
  88.         There exist two master modes a server master can set:
  89.     </p>
  90.  
  91.     <ul>
  92.       <li>
  93.         <i>open</i> - Anyone can enter the server. This is the default mode. It is good for games with random people, if no cheaters appear to be around.
  94.       </li>
  95.       <li>
  96.         <i>private</i> - Noone can join the server anymore. Good for games with friends when cheaters are around.
  97.       </li>
  98.     </ul>
  99.     
  100.     <p>
  101.         The idea behind this is to avoid the need for 'real' administrators that have to babysit the server 24/7.
  102.         Unlike other games, the players control themselves using the described master role and the master modes.
  103.     </p>
  104.  
  105.     <p>
  106.       Related commands:
  107.     </p>
  108.  
  109.     <ul>
  110.       <li>
  111.         <a href="reference.xml#identifier_setmaster">setmaster</a> - become master on a server
  112.       </li>
  113.       <li>
  114.         <a href="reference.xml#identifier_mastermode">mastermode</a> - change the master mode
  115.       </li>
  116.       <li>
  117.         <a href="reference.xml#identifier_kick">kick</a>
  118.       </li>
  119.       <li>
  120.         <a href="reference.xml#identifier_ban">ban</a>
  121.       </li>
  122.       <li>
  123.         <a href="reference.xml#identifier_removebans">removebans</a>
  124.       </li>
  125.       <li>
  126.         <a href="reference.xml#identifier_autoteam">autoteam</a>
  127.       </li>
  128.       <li>
  129.         <a href="reference.xml#identifier_forceteam">forceteam</a>
  130.       </li>
  131.     </ul>
  132.     
  133.     <h2 id="serveradmin">Server Admin</h2>
  134.  
  135.     <p>
  136.       There is an additional client role a player can claim called <i>admin</i>. 
  137.       It can be claimed by the real owner of a server to control the situation
  138.       if an abusive master is doing bad stuff.
  139.       Claiming admin state works similiar to the master state,
  140.       however it requires a password that matches the server configuration.
  141.     </p>
  142.  
  143.     <p>
  144.       Related commands:
  145.     </p>
  146.     
  147.     <ul>
  148.       <li>
  149.         <a href="reference.xml#identifier_setadmin">setadmin</a> - become admin on a server
  150.       </li>
  151.       <li>
  152.         <a href="reference.xml#identifier_connectadmin">connectadmin</a> - connect to a server and become admin
  153.       </li>
  154.       <li>
  155.         <a href="reference.xml#identifier_givemaster">givemaster</a> - gives the master state to a player
  156.       </li>
  157.     </ul>
  158.  
  159.     <p>
  160.       Use the <span class="code">setadmin</span> command to claim admin if you are already connected to a sever.
  161.       However if you are locked out of your own server because you are banned, master mode is private or because all
  162.       client slots are taken, you can use the <span class="code">connectadmin</span> command to get control
  163.       back though. Once the mess is cleaned up, the command <span class="code">givemaster</span> can be used
  164.       to give back the master state to a honest player.
  165.     </p>
  166.  
  167.     <p>
  168.       The admin password is configured using the <a href="startup.xml">-x command-line option</a>.
  169.     </p>
  170.  
  171.     <h2 id="mastermenu">Server Operator Menu</h2>
  172.  
  173.     <p>
  174.         Some administrative actions can be done using the GUI. To bring up the server operator menu, navigate to <i>Main Menu->Multiplayer->Server Operator</i>
  175.     </p>
  176.  
  177.   </body>
  178. </html>
  179.