File: cyphesis.1

package info (click to toggle)
cyphesis-cpp 0.5.16-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,084 kB
  • ctags: 3,627
  • sloc: cpp: 30,418; python: 4,812; xml: 4,674; sh: 4,118; makefile: 902; ansic: 617
file content (170 lines) | stat: -rw-r--r-- 5,971 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.\" This manpage has been automatically generated by docbook2man 
.\" from a DocBook document.  This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "CYPHESIS" "1" "22 October 2006" "" "cyphesis"

.SH NAME
cyphesis \- cyphesis game server process
.SH SYNOPSIS

\fB/usr/bin/cyphesis\fR [ \fB--section:option=value\fR\fI ...\fR ]

.SH "DESCRIPTION"
.PP
The \fBcyphesis\fR program implements the core world server for
WorldForge.
.SH "OPTIONS"
.PP
Configuration options are divided up into named sections, which need to
be specified when modifying or overriding the options. In a config file
the name of a section is specified in square brackets at the beginning
of the section. On the command line the section is given at the
beginning of the option specification, as shown in the synopsis above.
.SS "SERVER OPTIONS"
.PP
The following options are present in the cyphesis section of the config
file, and overriden by specifying the cyphesis section name on the
command line.
.TP
\fBdirectory="/path/to/server/data" \fR
Directory where server data and scripts can be found.

Name of the top level ruleset this server should use.

Normally this directory is set at compile time, but in some rare cases it
may be necessary to tell cyphesis to use a different directory.
.TP
\fBconfdir="/path/to/server/config" \fR
Directory where server config can be found.

Normally this directory is set at compile time, but in some rare cases it
may be necessary to tell cyphesis to use a different directory.
.TP
\fBvardir="/path/to/server/var" \fR
Directory where temporary files can be stored.

Normally this directory is set at compile time, but in some rare cases it
may be necessary to tell cyphesis to use a different directory.
.TP
\fBruleset="mason" \fR
Ruleset name.

Name of the top level ruleset this server should use.

Rulesets are hierarchical, so it is very probable that the top level ruleset
will depend on another ruleset. In order to specify the that ruleset
depends on another ruleset, a section is required in the config file with
the name of the ruleset, which contains an additional ruleset option.
On startup the server will look for dependent rulesets until it reaches
a ruleset which has no dependencies, at which point it is assumed the base
ruleset has been found.

For example, the mason ruleset depends on the basic ruleset, but the
basic ruleset has no dependencies. The required configuration entries for
this arrangement look like this:

.nf
[cyphesis]
ruleset="mason"
[mason]
ruleset="basic"
      
.fi
.TP
\fBservername=hostname \fR
Server name.

Name that identifies this server. If this option is ommited from the config
file, and not provided any other way, then the system hostname will be used.
.TP
\fBtcpport=6767 \fR
Network listen port for TCP connections.

Specifies the port number to use to listen for incoming client connections.
.TP
\fBunixport="cyphesis.sock" \fR
Local liston socket for Unix domain connections.

Specifies the filename to use to listen for local trusted client connections.
.TP
\fBrestricted=false \fR
Flag to control restricted mode.

If this option is true the server is run in restricted mode. This
means that clients will not be able to create new accounts, leaving
account creation entirelu in the hands of the administrator.
.TP
\fBusemetaserver=true \fR
Flag to control use of metaserver.

If this flag is true the server registers its presence with a metaserver.
.TP
\fBmetaserver="metaserver.worldforge.org" \fR
Hostname to use as metaserver.

The hostname is used as the address of the metaserver where the presence of
this server is registered if the usemetaserver option is enabled.
.TP
\fBdaemon=false \fR
Flag to control daemon mode.

If this flag is true the server automatically drop into the background
after startup. For convenience the parent process will not complete
until the server has completed its setup, including reading all config
information, loading all data from the database, setting up internal
data structures and setting up communications. The exit status of the
parent process indicates whether these steps were completed successfully.
.TP
\fBuseaiclient=false \fR
Flag to control use of AI client.

If this flag is true the server does not attempt to do any AI simulation
internally, and instead relies on a specialist AI client. This feature
is not yet implemented.
.TP
\fBdbserver \fR
Remote hostname for the PostgreSQL RDBMS.

If this setting is present the server will use a remote instance of the
PostgreSQL RDBMS for its database requirements at the hostname provided.
Do not use this setting unless you need a remote database for some
reason. Specify "localhost" will cause the database module to use
remote connection even though the connection is to the local machine.
.TP
\fBdbname="cyphesis" \fR
Name of database to use.

This setting provides the database name the server is to use for its data.
If this setting is omitted, the name cyphesis is used.
.TP
\fBdbuser \fR
Database account name for access.

This setting provides the username to be used to authenticate with the
database. If it is not included, the username of the user running the
server is used.
.TP
\fBdbpasswd \fR
Database account password for access.

This setting provides the password to be used to authenticate with the
database. PostgreSQL does not usually require a password when connecting
to a PostgreSQL RDBMS on the same system as the server, when the database
username to be used is the same as the user running the server. If
this is the case then the setting must be omitted from the config file.
.SH "AUTHOR"
.PP
Written by Alistair Riddoch.
.SH "REPORTING BUGS"
.PP
Report bugs to <general@worldforge.org>\&.
.SH "COPYRIGHT"
.PP
Copyright 2004 Alistair Riddoch.
.SH "SEE ALSO"
.PP
\fBcyclient\fR(1),
\fBcyphesis-tools\fR(1),
\fBcycmd\fR(1)