# This file contains global settings for the cyphesis server. Typically it is not
# necessary to modify this file when setting up a server. It is better to override
# settings in this file by adding them to .cyphesis.vconf in the home directory of
# of the user who runs the server. This makes it possible for more than one user
# to run a server on the same machine, by overriding the port number used, and the
# database name.

[cyphesis]

# Default ruleset config file and script directory
ruleset="mason"
# Name to identify this server, please customise and include
# If none is specified here, the machines hostname is used
# servername="Mason server"
# TCP port to listen on
tcpport=6767
# Unix socket to listen on
unixport="cyphesis.sock"
# Resticted mode prevents creation of user accounts
restricted="false"
# Register server with the meta server
usemetaserver="true"
metaserver="metaserver.worldforge.org"
# Run in daemon mode
daemon="false"
# Run at an increased nice level
nice=1
# Leave control of NPCs to AI client
useaiclient="false"
# Database configuration
# Do not specify a host, unless it is something other than localhost
# dbserver = "darkstar"
# Name of the database in the rdbms
dbname = "cyphesis"
# Name of the database user in the rdbms
# dbuser = "cyphesis"
# Password used to access the rdbms, if required
# dbpasswd = ""

[client]
# Client specific options
# Script package
package="define_world"
# Script function
function="default"

[slave]
# Server host to connet to
server="localhost"
# Unix socket to listen on
unixport="cyslave.sock"
# TCP port to listen on
tcpport=6768

[game]
# Can players attack other players
player_vs_player="false"
# Can players attack other players who are currently offline
player_vs_player_offline="false"

[mason]
ruleset="basic"
