Skip to content

Server configuration example

John Behm edited this page Sep 12, 2019 · 11 revisions

# server name
sv_name "zCatch Server"
sv_port 8303

# root password
sv_rcon_password "SECRED_PASSWORD"

# 0: Hammer, 1: Gun, 2: Shotgun, 3:Grenade Launcher, 4: Laser Rifle, 5:Ninja, 6: Everything
sv_weapon_mode 3

# Can be either empty "", "redis" or "sqlite"
sv_db_type "sqlite"

# "Relative path to the sqlite3 database file."
sv_db_sqlite_file "ranking.db"

sv_map "ctf5"
sv_motd "Welcome and have fun. Write /help for more information."

# Whether warmup should automatically start if there are not enough players to end a round.(1 enabled, 0 disabled)
sv_warmup_autostart 1

############################################################################
# Anything below here should not be touched, unless you know what you do
############################################################################

# How many deaths does one suicide cause.
sv_suicide_penalty 5

# When a projectile is shot, this radius is checked, which players can take damage by the projectile.
sv_spray_protection_radius 1000


# 0 disables, 1 enables anticamper.
sv_anticamper 1

# If a player should freeze on camping (and how many seconds) or die
sv_anticamper_freeze 7

# How many seconds to wait till the player dies/freezes
sv_anticamper_time 10

# Distance how far away the player must move to escape anticamper
sv_anticamper_range 200


# A value which is added on each message and decreased on each tick by one(50 ticks/second)
sv_chat_value 250

# If this threshold will exceed by too many messages the player will be muted
sv_chat_threshold 1000

# How long the player will be muted (in seconds)
sv_mute_duration 60


# Hostname of database(currently only DBs without a password)
sv_db_host 127.0.0.1

# Port of the database(here default 'redis' database port)
sv_db_port 6379

Clone this wiki locally