mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 16:38:01 +00:00
293 lines
9.9 KiB
Groff
293 lines
9.9 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 "Serveur multijoueur de Bataille pour Wesnoth"
|
|
.
|
|
.SH NOM
|
|
.
|
|
wesnothd \- Serveur pour jeu multijoueur en réseau de Bataille pour
|
|
\fBWesnoth\fP
|
|
.
|
|
.SH SYNOPSIS
|
|
.
|
|
\fBwesnothd\fP [\|\fB\-dv\fP\|] [\|\fB\-c\fP \fIchemin\fP\|] [\|\fB\-p\fP \fIport\fP\|] [\|\fB\-t\fP
|
|
\fInombre\fP\|] [\|\fB\-T\fP \fInombre\fP\|]
|
|
.br
|
|
\fBwesnothd\fP \fB\-V\fP
|
|
.
|
|
.SH DESCRIPTION
|
|
.
|
|
Gère les jeux multijoueurs de Bataille pour Wesnoth. Voir les commandes que
|
|
le serveur accepte via le client wesnoth ou via une fifo sur
|
|
http://www.wesnoth.org/wiki/ServerAdministration.
|
|
.
|
|
.SH OPTIONS
|
|
.
|
|
.TP
|
|
\fB\-c\ \fP\fIchemin\fP\fB,\ \-\-config\fP\fI\ chemin\fP
|
|
Indique le fichier de configuration à utiliser par wesnothd. Voir la syntaxe
|
|
ci\-dessous dans la section \fBCONFIGURATION DU SERVEUR\fP. Vous pouvez
|
|
recharger la configuration en envoyant un signal SIGHUP au processus du
|
|
serveur.
|
|
.TP
|
|
\fB\-d, \-\-daemon\fP
|
|
Exécute wesnothd en tant que démon.
|
|
.TP
|
|
\fB\-h, \-\-help\fP
|
|
Aide sur les options de la ligne de commande.
|
|
.TP
|
|
\fB\-\-log\-\fP\fIniveau\fP\fB=\fP\fIdomaine1\fP\fB,\fP\fIdomaine2\fP\fB,\fP\fI...\fP
|
|
Définit le niveau d'alerte du débogueur. \fBall\fP permet de suivre tous les
|
|
niveaux de déboguage. Niveaux disponibles : \fBerror\fP,\ \fBwarning\fP,\
|
|
\fBinfo\fP,\ \fBdebug\fP. Le niveau utilisé par défaut est \fBerror\fP et \fBinfo\fP est
|
|
utilisé par le \fBserveur\fP.
|
|
.TP
|
|
\fB\-p,\ \fP\fIport\fP\fB,\ \-\-port\fP\fI\ port\fP
|
|
Assigne au serveur le port spécifié (par défaut\ : \fB15000\fP).
|
|
.TP
|
|
\fB\-t,\ \fP\fInombre\fP\fB,\ \-\-threads\fP\fI\ nombre\fP
|
|
Positionne le nombre maximal de threads pour les entrées/sorties réseau à la
|
|
valeur n (par défaut\ : \fB5\fP,\ max\ :\ \fB30\fP).
|
|
.TP
|
|
\fB\-T\ \fP\fInombre\fP\fB,\ \-\-max\-threads\fP\fI\ nombre\fP
|
|
Définit le nombre maximal de threads qui seront créés. Si ce nombre est nul,
|
|
il n'y a pas de limite (par défaut\ : \fB0\fP).
|
|
.TP
|
|
\fB\-V, \-\-version\fP
|
|
Affiche le numéro de version et quitte le programme.
|
|
.TP
|
|
\fB\-v, \-\-verbose\fP
|
|
Active une journalisation maximale.
|
|
.
|
|
.SH "CONFIGURATION DU SERVEUR"
|
|
.
|
|
.SS "La syntaxe générale est\ : "
|
|
.
|
|
.P
|
|
[\fItag\fP]
|
|
.IP
|
|
\fIkey\fP="\fIvalue\fP"
|
|
.IP
|
|
\fIkey\fP="\fIvalue\fP,\fIvalue\fP,..."
|
|
.P
|
|
[/\fItag\fP]
|
|
.
|
|
.SS "Clés globales\ : "
|
|
.
|
|
.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
|
|
Chemin complet ou relatif vers un fichier compressé (au format gzip) que le
|
|
serveur peut lire et écrire. Les bannissements seront sauvegardés dans ce
|
|
fichier et relu à chaque démarrage du serveur.
|
|
.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
|
|
Nombre maximum de connexions ayant la même adresse IP. \fB0\fP pour infini (par
|
|
défaut : \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
|
|
Nombre maximum de messages permis en \fBmessages_time_period\fP (par défaut :
|
|
\fB4\fP).
|
|
.TP
|
|
\fBmessages_time_period\fP
|
|
Période, en secondes, après laquelle un surnombre de messages est détecté
|
|
(par défaut : \fB10\fP secondes).
|
|
.TP
|
|
\fBmotd\fP
|
|
Le message du jour.
|
|
.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
|
|
Répertoire où le serveur sauvegarde les films des parties (n'oubliez pas le
|
|
/ final). La valeur par défaut `' indique que ce répertoire est celui où a
|
|
été démarré wesnothd.
|
|
.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
|
|
Définit si le serveur va automatiquement sauvegarder les films des parties
|
|
(par défaut\ : \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
|
|
Exemple\ : \fBversions_accepted="*"\fP autorise tout type de 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 "Balises globales\ : "
|
|
.
|
|
.P
|
|
\fB[redirect]\fP Balise pour permettre au serveur de rediriger certaines
|
|
versions du client.
|
|
.RS
|
|
.TP
|
|
\fBhost\fP
|
|
Adresse du serveur de redirection.
|
|
.TP
|
|
\fBport\fP
|
|
Port de connexion.
|
|
.TP
|
|
\fBversion\fP
|
|
Liste des versions redirigées, séparées par des virgules. Fonctionne comme
|
|
\fBversions_accepted\fP au niveau des caractères génériques.
|
|
.RE
|
|
.P
|
|
\fB[ban_time]\fP Balise pour définir des mots clés utilisables pour des durées
|
|
temporaires de bannissement.
|
|
.RS
|
|
.TP
|
|
\fBname\fP
|
|
Nom utilisé pour référencer une durée de bannissement.
|
|
.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 Balise pour demander au serveur de se comporter comme un proxy et
|
|
de rediriger les requêtes des clients vers le serveur spécifié. Fonctionne
|
|
comme \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
|
|
(pour user_handler=forum) Nom d'hôte du serveur de base de données
|
|
.TP
|
|
\fBdb_name\fP
|
|
(pour user_handler=forum) Nom de la base de donnée
|
|
.TP
|
|
\fBdb_user\fP
|
|
(pour user_handler=forum) Nom d'utilisateur se connectant à la base de
|
|
données
|
|
.TP
|
|
\fBdb_password\fP
|
|
(pour user_handler=forum) Mot de passe de l'utilisateur
|
|
.TP
|
|
\fBdb_users_table\fP
|
|
(pour user_handler=forum) Nom de la table des données utilisateurs de vos
|
|
forums phpbb, probablement sous la forme
|
|
<table\-prefix>_users. Exemple\ : 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
|
|
(for user_handler=sample) Temps de validité de l'alias ('nick', en anglais),
|
|
en jours.
|
|
.RE
|
|
.P
|
|
\fB[mail]\fP Configure un serveur SMTP pour permettre à l'utilisateur d'envoyer
|
|
des mails. Actuellement uniquement utilisé pour l'identifiant 'sample'.
|
|
.RS
|
|
.TP
|
|
\fBserver\fP
|
|
Nom d'hôte du serveur mail
|
|
.TP
|
|
\fBusername\fP
|
|
Nom d'utilisateur utilisé pour vous connecter au serveur mail.
|
|
.TP
|
|
\fBpassword\fP
|
|
Mot de passe de cet utilisateur
|
|
.TP
|
|
\fBfrom_address\fP
|
|
Adresse de réponse de votre mail.
|
|
.TP
|
|
\fBmail_port\fP
|
|
Port de votre serveur mail (par défaut\ : 25).
|
|
.
|
|
.SH AUTEUR
|
|
.
|
|
Écrit par David White <davidnwhite@verizon.net>. Édité par Nils
|
|
Kneuper <crazy\-ivanovic@gmx.net>, ott <ott@gaon.net>,
|
|
Soliton <soliton.de@gmail.com> et Thomas Baumhauer
|
|
<thomas.baumhauer@gmail.com>. Ce manuel a été à l'origine écrit par
|
|
Cyril Bouthors <cyril@bouthors.org>.
|
|
.br
|
|
Rendez\-vous sur la page d'accueil officielle\ : http://www.wesnoth.org/
|
|
.
|
|
.SH COPYRIGHT
|
|
.
|
|
Copyright \(co 2003\-2009 David White <davidnwhite@verizon.net>
|
|
.br
|
|
Ceci est un logiciel libre\ ; ce logiciel est sous la licence GPL version 2,
|
|
comme définie par la Free Software Foundation. Il n'offre AUCUNE GARANTIE, y
|
|
compris\ en ce qui concerne la COMMERCIABILITÉ et la CONFORMITÉ À UNE
|
|
UTILISATION PARTICULIÈRE.
|
|
.
|
|
.SH "VOIR AUSSI"
|
|
.
|
|
\fBwesnoth\fP(6), \fBwesnoth_editor\fP(6)
|