mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 14:57:38 +00:00
151 lines
5.0 KiB
Groff
151 lines
5.0 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 2007 wesnothd 韋諾之戰多人遊戲伺服器
|
||
.
|
||
.SH 命名
|
||
.
|
||
wesnothd \- 韋諾之戰 \fBWesnoth\fP 多人游戲伺服器
|
||
.
|
||
.SH 摘要
|
||
.
|
||
\fBwesnothd\fP [\|\fB\-dv\fP\|] [\|\fB\-c\fP \fIpath\fP\|] [\|\fB\-p\fP \fIport\fP\|] [\|\fB\-t\fP
|
||
\fInumber\fP\|] [\|\fB\-T\fP \fInumber\fP\|]
|
||
.br
|
||
\fBwesnothd\fP \fB\-V\fP
|
||
.
|
||
.SH 描述
|
||
.
|
||
控制韋諾之戰多人遊戲。
|
||
官方wiki上的ServerAdministration頁面上取得更多可以經由韋諾之戰客戶端或者socket在伺服器上運行的指令。對應wiki:
|
||
http://www.wesnoth.org/wiki/ServerAdministration
|
||
.
|
||
.SH 選項
|
||
.
|
||
.TP
|
||
\fB\-c\ \fP\fIpath\fP\fB,\ \-\-config\fP\fI\ path\fP
|
||
指定韋諾找到的檔案配置目錄。下面的\fBSERVER CONFIG\fP通過發送SIGHUP信號給伺服器程序可以重新裝載檔案配置。
|
||
.TP
|
||
\fB\-d, \-\-daemon\fP
|
||
以安全模式執行韋諾。
|
||
.TP
|
||
\fB\-h, \-\-help\fP
|
||
顯示指令的功用。
|
||
.TP
|
||
\fB\-\-log\-\fP\fIlevel\fP\fB=\fP\fIdomain1\fP\fB,\fP\fIdomain2\fP\fB,\fP\fI...\fP
|
||
設定日誌記錄的類別。\fBall\fP可以用來支援任何日誌域的類別。可選的類別有:\fBerror\fP,\ \fBwarning\fP,\ \fBinfo\fP,\
|
||
\fBdebug\fP。預設的類別是\fBerror\fP,對\fBserver\fP域預設類別是\fBinfo\fP。
|
||
.TP
|
||
\fB\-p\ \fP\fIport\fP\fB,\ \-\-port\fP\fI\ port\fP
|
||
設定伺服器到指定的埠。如果不指定埠將使用\fB15000\fP。
|
||
.TP
|
||
\fB\-t\ \fP\fInumber\fP\fB,\ \-\-threads\fP\fI\ number\fP
|
||
設定網路I/O的最大等待工作流程數為 n (預設值為\fB5\fP,\ 最大值為\ \fB30\fP)。
|
||
.TP
|
||
\fB\-T\ \fP\fInumber\fP\fB,\ \-\-max\-threads\fP\fI\ number\fP
|
||
允許創造最大等待工作流程數。如果設定為\fB0\fP則不限制流程數(預設值:\fB0\fP)
|
||
.TP
|
||
\fB\-V, \-\-version\fP
|
||
顯示版本並退出。
|
||
.TP
|
||
\fB\-v, \-\-verbose\fP
|
||
開啟偵測日誌記錄。
|
||
.
|
||
.SH 伺服器設定
|
||
.
|
||
.SS 常用語法是:
|
||
.
|
||
.P
|
||
[\fItag\fP]
|
||
.IP
|
||
key="\fIvalue\fP"
|
||
.IP
|
||
key="\fIvalue\fP,\fIvalue\fP,..."
|
||
.P
|
||
[/\fItag\fP]
|
||
.
|
||
.SS 全球關鍵字:
|
||
.
|
||
.TP
|
||
\fBconnections_allowed\fP
|
||
同一IP允許的連接數。(預設值:\fB5\fP)
|
||
.TP
|
||
\fBdisallow_names\fP
|
||
伺服器不允許使用的使用者名稱/暱稱。可以使用 "*" 和 "?"符號。更多資料請查看 \fBglob\fP(7) 。預設值(如果使用者沒有指定則自動使用)是:
|
||
\fB*admin*,*admln*,*server*,ai,ai?,computer,human,network,player\fP。
|
||
.TP
|
||
\fBmax_messages\fP
|
||
\fBmessages_time_period\fP中允許存在的訊息數。 (默認值: \fB4\fP)
|
||
.TP
|
||
\fBmessages_time_period\fP
|
||
訊息檢測間隔(秒)。 (預設值: \fB10\fP 秒)
|
||
.TP
|
||
\fBmotd\fP
|
||
當日訊息。
|
||
.TP
|
||
\fBpasswd\fP
|
||
取得管理員權限的密碼。通常以"admin"開頭。
|
||
.TP
|
||
\fBversions_accepted\fP
|
||
用逗號分隔的伺服器接受版本列表。支援 "*" 和 "?" 符號。(預設為相同版本)
|
||
.br
|
||
例如: \fBversions_accepted="*"\fP 允許所有版本連接。
|
||
.
|
||
.SS 全球標籤:
|
||
.
|
||
.P
|
||
\fB[redirect]\fP 伺服器用來重定向特定客戶端版本的標簽。
|
||
.RS
|
||
.TP
|
||
\fBhost\fP
|
||
重定向到的伺服器地址。
|
||
.TP
|
||
\fBport\fP
|
||
連接埠口
|
||
.TP
|
||
\fBversion\fP
|
||
重定向用逗號分隔列表的版本。顯示同樣的模式包括\fBversions_accepted\fP在符號模式。
|
||
.RE
|
||
.P
|
||
\fB[proxy]\fP 這個標簽告訴伺服器扮演代理伺服器角色,把使用者連接重定向到另一台伺服器。與\fB[redirect]\fP接受一樣的參數。
|
||
.
|
||
.SH 作者
|
||
.
|
||
由 David White <davidnwhite@verizon.net>編寫。經 Nils Kneuper
|
||
<crazy\-ivanovic@gmx.net>, ott <ott@gaon.net> 和 Soliton
|
||
<soliton.de@gmail.com>修改。這個說明頁最早由Cyril Bouthors
|
||
<cyril@bouthors.org>編寫。
|
||
.br
|
||
官方網站: http://www.wesnoth.org/繁體中文翻譯團隊:http://wesnoth\-tw.blogspot.com/
|
||
.
|
||
.SH 版權
|
||
.
|
||
版權 \(co 2003\-2007 David White <davidnwhite@verizon.net>
|
||
.br
|
||
這是一個免費遊戲;使用由FSF發布的GPL v2協議授權。原文如下: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.There is NO warranty; not even for MERCHANTABILITY
|
||
or FITNESS FOR A PARTICULAR PURPOSE.
|
||
.
|
||
.SH 參見
|
||
.
|
||
\fBwesnoth\fP(6), \fBwesnoth_editor\fP(6)
|