File: config_sample.sh

package info (click to toggle)
warzone2100 4.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 660,320 kB
  • sloc: cpp: 676,209; ansic: 391,201; javascript: 78,238; python: 16,632; php: 4,294; sh: 4,094; makefile: 2,629; lisp: 1,492; cs: 489; xml: 404; perl: 224; ruby: 156; java: 89
file content (46 lines) | stat: -rw-r--r-- 1,148 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
#!/bin/bash

## Common configuration values
## This file is shared between all games

## Administrators
#################
## adminhashes: the list of admin players' hash
## adminkeys: the list of admin players' public key
## The host is always administrator
## Put keys and/or hashes according to your likings and between quotes.
adminkeys=(
# 'admin1 key'
# 'admin2 key'
)
adminhashes=(
# 'admin3 hash'
# 'admin4 hash'
)

## Ports
########
## portmin: the lowest port to use if available
## portmax: the highest port to use
## Set a range of ports slightly larger than the maximum number of simultaneous
## games in case a game crashes and cannot release the port properly before the
## next game is created.
portmin=2100
portmax=2105

## Game command
###############
## Uncomment or modifiy the command to run Warzone 2100.
## The script will add all the required parameters to run the game.

## Installed from snap
#wz2100cmd="snap run warzone2100"

## Installed from flatpack
#wz2100cmd="flatpak run net.wz2100.wz2100"

## Installed in PATH
#wz2100cmd="warzone2100"

## Built from source
#wz2100cmd="/<path>/<to>/<warzone2100>/bin/warzone2100"