mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 10:42:24 +00:00
292 lines
9.8 KiB
Groff
292 lines
9.8 KiB
Groff
.\" This program is free software; you can redistribute it and/or modify
|
||
.\" it under the terms of the GNU General Public License as published by
|
||
.\" the Free Software Foundation; either version 2 of the License, or
|
||
.\" (at your option) any later version.
|
||
.\"
|
||
.\" This program is distributed in the hope that it will be useful,
|
||
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
.\" GNU General Public License for more details.
|
||
.\"
|
||
.\" You should have received a copy of the GNU General Public License
|
||
.\" along with this program; if not, write to the Free Software
|
||
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||
.\"
|
||
.
|
||
.\"*******************************************************************
|
||
.\"
|
||
.\" This file was generated with po4a. Translate the source file.
|
||
.\"
|
||
.\"*******************************************************************
|
||
.TH WESNOTHD 6 2009 wesnothd "Taistelu Wesnothista \-monipelipalvelin"
|
||
.
|
||
.SH NIMI
|
||
.
|
||
wesnothd – Taistelu \fBWesnothista\fP \-moninpelipalvelin
|
||
.
|
||
.SH TIIVISTELMÄ
|
||
.
|
||
\fBwesnothd\fP [\|\fB\-dv\fP\|] [\|\fB\-c\fP \fIpolku\fP\|] [\|\fB\-p\fP \fIportti\fP\|] [\|\fB\-t\fP
|
||
\fIluku\fP\|] [\|\fB\-T\fP \fIluku\fP\|]
|
||
.br
|
||
\fBwesnothd\fP \fB\-V\fP
|
||
.
|
||
.SH KUVAUS
|
||
.
|
||
Hallitsee Taistelu Wesnothista \-moninpelejä. Osoitteessa
|
||
http://www.wesnoth.org/wiki/ServerAdministration on lista komennoista, jotka
|
||
palvelin hyväksyy pelin kautta (/query ...) tai FIFOsta.
|
||
.
|
||
.SH VALITSIMET
|
||
.
|
||
.TP
|
||
\fB\-c\ \fP\fIpolku\fP\fB,\ \-\-config\fP\fI\ polku\fP
|
||
Kertoo wesnothdille käytettävän asetustiedoston sijainnin. Osiossa
|
||
\fBPALVELIMEN ASETUKSET\fP alla kerrotaan sen syntaksi. Palvelinprosessin saa
|
||
lukemaan asetustiedoston uudestaan lähettämällä sille SIGHUPin.
|
||
.TP
|
||
\fB\-d, \-\-daemon\fP
|
||
Käynnistää wesnothdin taustaprosessina.
|
||
.TP
|
||
\fB\-h, \-\-help\fP
|
||
Kertoo, mitä komentorivivalitsimet tekevät.
|
||
.TP
|
||
\fB\-\-log\-\fP\fItaso\fP\fB=\fP\fIaihealue1\fP\fB,\fP\fIaihealue2\fP\fB,\fP\fI...\fP
|
||
Asettaa vakavuusasteen lokin aihealueille. Sana \fBall\fP vastaa kaikkia
|
||
aihealueita. Käytettävissä olevat tasot: \fBerror\fP,\ \fBwarning\fP,\ \fBinfo\fP,\
|
||
\fBdebug\fP. Oletuksena käytetään \fBsever\fP\-aihealueella tasoa \fBinfo\fP ja
|
||
muualla tasoa \fBerror\fP.
|
||
.TP
|
||
\fB\-p\ \fP\fIportti\fP\fB,\ \-\-port\fP\fI\ portti\fP
|
||
Sitoo palvelimen annettuun porttiin. Oletuksena käytetään porttia \fB15000\fP.
|
||
.TP
|
||
\fB\-t\ \fP\fIluku\fP\fB,\ \-\-threads\fP\fI\ luku\fP
|
||
Asettaa verkkoyhteyksiä odottavien työläissäikeiden enimmäismäärän (oletus:
|
||
\fB5\fP,\ maksimi:\ \fB30\fP).
|
||
.TP
|
||
\fB\-T\ \fP\fIluku\fP\fB,\ \-\-max\-threads\fP\fI\ luku\fP
|
||
Asettaa luotavien työläissäikeiden enimmäismäärän. Arvo \fB0\fP poistaa
|
||
rajoituksen. (Oletus on \fB0\fP.)
|
||
.TP
|
||
\fB\-V, \-\-version\fP
|
||
Näyttää versionumeron ja lopettaa.
|
||
.TP
|
||
\fB\-v, \-\-verbose\fP
|
||
Laittaa vianjäljityslokin kirjoittamisen päälle.
|
||
.
|
||
.SH "PALVELIMEN ASETUKSET"
|
||
.
|
||
.SS "Yleinen syntaksi on:"
|
||
.
|
||
.P
|
||
[\fItagi\fP]
|
||
.IP
|
||
\fIkey\fP="\fIvalue\fP"
|
||
.IP
|
||
\fIkey\fP="\fIvalue\fP,\fIvalue\fP,..."
|
||
.P
|
||
[/\fItagi\fP]
|
||
.
|
||
.SS "Globaalit avaimet:"
|
||
.
|
||
.TP
|
||
\fBallow_remote_shutdown\fP
|
||
If set to \fBno\fP (default), shut_down and restart requests are ignored unless
|
||
they come from the fifo. Set it to \fByes\fP to allow remote shutdown via a
|
||
/query by an administrator.
|
||
.TP
|
||
\fBban_save_file\fP
|
||
Täydellinen tai suhteellinen polku (gzip\-pakattuun) tiedostoon, jota
|
||
palvelin voi lukea ja kirjoittaa. Estot tallennetaan tähän tiedostoon ja
|
||
luetaan siitä palvelimen käynnistyessä.
|
||
.TP
|
||
\fBcompress_stored_rooms\fP
|
||
Determines whether the rooms file should be read and written to in
|
||
compressed form. Defaults to \fByes\fP.
|
||
.TP
|
||
\fBconnections_allowed\fP
|
||
Sallittujen yhteyksien määrä samasta IP:stä. Arvo \fB0\fP poistaa
|
||
rajoituksen. (Oletus on \fB5\fP.)
|
||
.TP
|
||
\fBdisallow_names\fP
|
||
Names/nicks that are not accepted by the server. \fB*\fP and \fB?\fP from wildcard
|
||
patterns are supported. See \fBglob\fP(7) for more details. Default values
|
||
(used if nothing is specified) are:
|
||
\fB*admin*,*admln*,*server*,ai,ai?,computer,human,network,player\fP.
|
||
.TP
|
||
\fBfifo_path\fP
|
||
The path to the fifo you can echo server commands into (same as /query
|
||
\&... from wesnoth). If not specified defaults to the compile\-time path
|
||
(default: \fB/var/run/socket/wesnothd/socket\fP).
|
||
.TP
|
||
\fBmax_messages\fP
|
||
Sallittu määrä viestejä ajanjaksossa, joka on määritelty asetuksella
|
||
\fBmessages_time_period\fP. (Oletus on \fB4\fP.)
|
||
.TP
|
||
\fBmessages_time_period\fP
|
||
Ajanjakso (sekunneissa), jota käytetään viestitulvinnan
|
||
havaitsemisessa. (Oletus on \fB10\fP.)
|
||
.TP
|
||
\fBmotd\fP
|
||
Päivän viesti.
|
||
.TP
|
||
\fBnew_room_policy\fP
|
||
Determines who can create new rooms on the server. Available values are
|
||
\fBeveryone\fP, \fBregistered\fP, \fBadmin\fP and \fBnobody\fP, and give the permission
|
||
respectively to everyone, registered users, admin users or disables new room
|
||
creation. Default value is \fBeveryone\fP.
|
||
.TP
|
||
\fBpasswd\fP
|
||
The password used to gain admin privileges (via \fB/query admin
|
||
\fP\fIpassword\fP).
|
||
.TP
|
||
\fBreplay_save_path\fP
|
||
Hakemisto, johon palvelin tallentaa pelien uusinnat. (Muista vinoviiva
|
||
lopussa!) Oletus on \*(rq, joka tarkoittaa hakemistoa, jossa wesnothd
|
||
käynnistettiin.
|
||
.TP
|
||
\fBrestart_command\fP
|
||
The command that the server uses to start a new server process via the
|
||
\fBrestart\fP command. (Can only be issued via the fifo. See the
|
||
\fBallow_remote_shutdown\fP setting.)
|
||
.TP
|
||
\fBroom_save_file\fP
|
||
Path to a file where the room info should be stored. This file is read on
|
||
server startup and written to later. If empty or not set, rooms are not
|
||
loaded and not saved.
|
||
.TP
|
||
\fBsave_replays\fP
|
||
Valitsee, tallentaako palvelin automaattisesti pelien uusinnat. (Oletus:
|
||
\fBfalse\fP)
|
||
.TP
|
||
\fBversions_accepted\fP
|
||
A comma separated list of version strings to be accepted by the server. \fB*\fP
|
||
and \fB?\fP from wildcard patterns are supported. (defaults to the
|
||
corresponding wesnoth version)
|
||
.br
|
||
Esimerkki: \fBversions_accepted="*"\fP hyväksyy minkä tahansa version.
|
||
.TP
|
||
\fBuser_handler\fP
|
||
The name of the user handler to use. Currently available user handlers are
|
||
\fBforum\fP (to connect wesnothd to a phpbb forum database) and \fBsample\fP (a
|
||
sample implementation of the user handler interface, if you use this on
|
||
anything real you are insane). The default value is \fBforum\fP. You must also
|
||
add a \fB[user_handler]\fP section, see below.
|
||
.
|
||
.SS "Globaalit tagit:"
|
||
.
|
||
.P
|
||
\fB[redirect]\fP Tällä tagilla määritellään palvelin, jolle uudelleenohjataan
|
||
tietyt asiakasversiot.
|
||
.RS
|
||
.TP
|
||
\fBhost\fP
|
||
Osoite palvelimelle, johon ohjataan.
|
||
.TP
|
||
\fBport\fP
|
||
Portti, johon yhdistetään.
|
||
.TP
|
||
\fBversion\fP
|
||
Pilkuilla eroteltu lista versioista, jotka uudelleenohjataan. Jokerimerkit
|
||
toimivat samoin kuin asetuksessa \fBversions_accepted\fP.
|
||
.RE
|
||
.P
|
||
\fB[ban_time]\fP Tällä tagilla määritellään helppokäyttöisiä avainsanoja
|
||
väliaikaisten estojen pituuksille.
|
||
.RS
|
||
.TP
|
||
\fBname\fP
|
||
Estoajasta käytettävä nimi.
|
||
.TP
|
||
\fBtime\fP
|
||
The time length definition. The format is: %d[%s[%d%s[...]]] where %s is s
|
||
(seconds), m (minutes), h (hours), D (days), M (months) or Y (years) and %d
|
||
is a number. If no time modifier is given minutes (m) are assumed.
|
||
Example: \fBtime="1D12h30m"\fP results in a ban time of 1 day, 12 hours and 30
|
||
minutes.
|
||
.RE
|
||
.P
|
||
\fB[proxy]\fP Tällä tagilla käsketään palvelinta toimimaan välityspalvelimena
|
||
ja ohjaamaan asiakkaiden pyynnöt määrätylle palvelimelle. Hyväksyy samat
|
||
avaimet kuin \fB[redirect]\fP.
|
||
.RE
|
||
.P
|
||
\fB[user_handler]\fP Configures the user handler. Available keys vary depending
|
||
on which user handler is set with the \fBuser_handler\fP key. If no
|
||
\fB[user_handler]\fP section is present in the configuration the server will
|
||
run without any nick registration service.
|
||
.RS
|
||
.TP
|
||
\fBdb_host\fP
|
||
(user_handler=forum) Tietokantapalvelimen konenimi.
|
||
.TP
|
||
\fBdb_name\fP
|
||
(user_handler=forum) Tietokannan nimi.
|
||
.TP
|
||
\fBdb_user\fP
|
||
(user_handler=forum) Käyttäjänimi, jolla kirjaudutaan tietokantaan.
|
||
.TP
|
||
\fBdb_password\fP
|
||
(user_handler=forum) Kyseisen käyttäjän salasana.
|
||
.TP
|
||
\fBdb_users_table\fP
|
||
(user_handler=forum) Taulun nimi, johon phpbb\-foorumisi tallentaa
|
||
käyttäjädatansa. Todennäköisimmin tämä on <tauluetuliite>_users
|
||
(esim. phpbb3_users).
|
||
.TP
|
||
\fBdb_extra_table\fP
|
||
(for user_handler=forum) The name of the table in which wesnothd will save
|
||
its own data about users. You will have to create this table manually, e.g.:
|
||
\fBCREATE TABLE <table\-name>(username VARCHAR(255) PRIMARY KEY,
|
||
user_lastvisit INT UNSIGNED NOT NULL DEFAULT 0, user_is_moderator TINYINT(4)
|
||
NOT NULL DEFAULT 0);\fP
|
||
.TP
|
||
\fBuser_expiration\fP
|
||
(user_handler=sample) Aika, jonka kuluttua rekisteröity nimimerkki vanhenee
|
||
(päivissä).
|
||
.RE
|
||
.P
|
||
\fB[mail]\fP Säätää asetukset SMTP\-palvelimelle, jonka kautta
|
||
käyttäjäkäsittelijä voi lähettää postia. Tällä hetkellä vain
|
||
esimerkkikäsittelijän käytössä.
|
||
.RS
|
||
.TP
|
||
\fBserver\fP
|
||
Postipalvelimesi konenimi.
|
||
.TP
|
||
\fBusername\fP
|
||
Käyttäjänimi, jolla kirjaudutaan postipalvelimelle.
|
||
.TP
|
||
\fBpassword\fP
|
||
Kyseisen käyttäjän salasana.
|
||
.TP
|
||
\fBfrom_address\fP
|
||
Postisi vastausosoite.
|
||
.TP
|
||
\fBmail_port\fP
|
||
Portti, jota postipalvelimesi käyttää. Oletus on 25.
|
||
.
|
||
.SH TEKIJÄT
|
||
.
|
||
Kirjoittanut David White <davidnwhite@verizon.net>. Muokannut Nils
|
||
Kneuper <crazy\-ivanovic@gmx.net>, ott <ott@gaon.net>,
|
||
Soliton <soliton.de@gmail.com> ja Thomas Baumhauer
|
||
<thomas.baumhauer@gmail.com>. Tämän manuaalin alkuperäisversion
|
||
kirjoitti Cyril Bouthors <cyril@bouthors.org>.
|
||
Suomentanut Wesnothin suomennosryhmä
|
||
(http://www.wesnoth.org/wiki/FinnishTranslation).
|
||
.br
|
||
Käy virallisella kotisivulla: http://www.wesnoth.org/
|
||
.
|
||
.SH TEKIJÄNOIKEUS
|
||
.
|
||
Copyright \(co 2003\-2009 David White <davidnwhite@verizon.net>
|
||
.br
|
||
This is Free Software; this software is licensed under the GPL version 2, as
|
||
published by the Free Software Foundation. There is NO warranty; not even
|
||
for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||
.
|
||
.SH "KATSO MYÖS"
|
||
.
|
||
\fBwesnoth\fP(6), \fBwesnoth_editor\fP(6)
|