You are not logged in.

#1 2015-09-08 08:37:46

freanux
Administrator
Registered: 2015-09-07
Posts: 33
Website

Setting up configuration files

Example

This is an example, how a configuration file can look like:

server_name=schlachttempel DM #1
server_message=hello player :)|welcome to schlachttempel DM #1 in switzerland.||please play fair and behave respectfully towards|your fellow combatants.||good luck.
server_password=12345
num_players=12
port=25111
master_server=master.goatattack.net
hold_disconnected_player=1
reconnect_kills=10
shuffle_maps=1
map_count=2
name0=dm1
warmup0=30
duration0=10
name1=dm2
warmup1=30
duration1=10

Save this file as eg. server_dm.conf. Run the dedicated build of goatattack with that configuration file as parameter:

$ goatattack server_dm.conf
Valid fields

server_name (required)

server_name=schlachttempel DM #1

Enter here the name of your server.


server_message (optional)

server_message=hello player :)|welcome to schlachttempel DM #1 in switzerland.

If a player connects to your server, this greeting message will be shown. Use the pipe symbol to break lines.


server_password (optional)

server_password=12345

You can protect your server with a password. The ingame server list will mark your server as password protected.


num_players (required)

num_players=12

Define here, how many players can connect to your server.


port (required)

port=25111

Your dedicated server will listen on this port.


master_server (optional)

master_server=master.goatattack.net

Fill out this field, if you want to register your dedicated server to the master server. The official master is master.goatattack.net.


hold_disconnected_player (optional)

hold_disconnected_player=1

If a player disconnects (in due to network lags) and reconnects again, the score is preserved. The server will hold the scores for about 60 seconds.


reconnect_kills (optional)

reconnect_kills=10

Here you can define a reconnect penalty, how many kills the reconnecting player will get.


shuffle_maps (optional)

shuffle_maps=1

Set to 1 (true), if you want to shuffle the map rotation list.


map_count (required)

map_count=2

Define, how many maps in your rotation list are.


nameX (required)

name0=dm1

Define the name of the map (do not use the map description). Set X to the index of the current map, zero based.


warmupX (optional)

warmup0=30

If you want to begin with a warm up, define it in seconds. Set X to the index of the current map, zero based.


durationX (required)

duration0=10

Define the duration in minutes. Set X to the index of the current map, zero based.


logfile (optional)

logfile=/var/log/serverstat.log

Define a log output file for dedicated server mode.


clan_red_name (optional)

clan_red_name=sharks

Define the name of the red team.


blue_red_name (optional)

blue_red_name=jets

Define the name of the blue team.


admin_password (optional)

admin_password=master

Define the password to authenticate to manage the dedicated server.


friendly_fire_alarm (optional)

friendly_fire_alarm=1

Set to 1, if you want to hear an alarm if a team mate is shot. Set to 0 to turn the alarm off.

Offline

Board footer

Powered by FluxBB