cyphesis/data/cyphesis.vconf.in
2016-12-22 14:39:36 +01:00

85 lines
2.5 KiB
Text

# 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="deeds"
# Automatically import this world if the server is unpopulated.
# The default value relies on the content of the "Worldforge World" project
# being installed.
autoimport="@CMAKE_INSTALL_PREFIX@/share/worldforge/worlds/deeds/braga/world.xml"
# Name to identify this server, please customise and include
# If none is specified here, the machines hostname is used
# servername="Deeds 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"
# How often to check in with the metaserver
msheartbeat=240
# additional attributes to send to MS of Monitor Variables
# as a pipe delimited list
metastats="clients|entities|version|ruleset|buildid"
# 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
usedatabase="true"
# 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 = ""
# List of peers to connect to during startup
# PeerEntry: hostname|port|server_account_username|server_account_password
# PeerList : "PeerEntry1 PeerEntry2 ..."
# peers = "host|6767|server|server"
# The are name, value pairs that will be registered with
# the metaserver
[metaattributes]
server="cyphesis"
[client]
# Client specific options
# Script package
package="main"
# 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"
[deeds]
ruleset="basic"