xgaming.configs
configs/pvkii
pvkii
1 file

Pirates, Vikings & Knights II Server Config

Ready-to-use server config files for Pirates, Vikings & Knights II dedicated game servers — copy, paste and run.

Config files

server.cfg
// ****************************************************************************
//                                                                            *
//     Pirates, Vikings, and Knights II                                       *
//     Version 150815                                                         *
//                                                                            *
// ****************************************************************************

// ............................. Basic Settings ............................. //

// Hostname for server.
hostname "SERVERNAME"

// RCON - remote console password.
rcon_password "ADMINPASSWORD"

// Server password - for private servers.
sv_password ""

// Email - Server admin email.
sv_contact "email@example.com"

// LAN Mode - If set the server will not show on the internet.
// Default: sv_lan 0
sv_lan 0

// ............................... Mapcycle ................................ //
// info: The .txt file used to cycle the maps on servers.
mapcyclefile "mapcycle.txt"

// ....................... Time Limits/Round Settings ....................... //

// Time spent on a single map (in minutes) before switching to a new one automatically.
// Default: mp_timelimit 0
mp_timelimit 20

// Wait for the end of round before changing map.
// Default: mp_timelimit_waitroundend 0
mp_timelimit_waitroundend 1

// Round duration in minutes.
// Default: mp_roundtime 3
mp_roundtime 3

// Round limit in number of rounds.
// Default: mp_roundlimit 0

// Win limit in number of rounds.
// Default: mp_winlimit 0
mp_winlimit 0

// ........................ Game Specific Commands ........................ //

// Server tags - Tags show up on the in-game server browser. This helps
// users filter servers.
// 		vanilla - he server runs the default settings.
// 		custom - the server runs custom gameplay settings or mods.
// example: sv_tags "custom, fastdl"
sv_tags ""

// Friendly fire - Allows team members to injure other members of their team.
// Default: mp_friendlyfire 0
mp_friendlyfire 0

// ............................. Communication ............................. //

// Enable communication over voice via microphone.
// Default: sv_voiceenable 1
sv_voiceenable 1

// Players can hear all other players, no team restrictions.
// Default: sv_alltalk 0
sv_alltalk 0

// ............................. Fast Download .............................. //
// info: Allows custom maps to be downloaded to the client.

// Allows clients to download custom maps and textures etc. from the server at 20 kbps.
// Default: sv_allowdownload 1
sv_allowdownload 1

// Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
// Example:
// 		server location: maps/custommap.bsp
// 		web server location: http://example.com/custom/maps/custommap.bsp
//		sv_downloadurl "http://example.com/custom"
// Default: sv_downloadurl ""
sv_downloadurl ""

// ................................ Ban List ............................... //

// personal banlist based on user IDs.
exec banned_user.cfg

// personal banlist based on user IPs.
exec banned_ip.cfg

writeid
writeip

// ............................. Server Logging ............................. //

//Enables logging to file, console, and udp < on | off >.
log on

// Log server bans in the server logs.
// Default: sv_logbans 1
sv_logbans 1

// Echo log information to the console.
// Default: sv_logecho 1
sv_logecho 1

// Log server information in the log file.
// Default: sv_logfile 1
sv_logfile 1

// Log server information to only one file.
// Default: sv_log_onefile 0
sv_log_onefile 0

What these settings mean

Quick reference for the 18 most important keys in this Pirates, Vikings & Knights II config. Hover or tap any key to see what it controls — useful when you're tuning a server for the first time and don't want to grep through the upstream wiki.

Core
3 settings
hostname
Server name shown in the in-game browser. Keep it under 64 characters and avoid colour codes if you want clean Steam listings.
sv_password
Optional join password. Empty string means a public server.
sv_contact
Public-facing admin contact email. Shown in the server info reply.
Network
3 settings
sv_lan
1 forces LAN-only mode (no Steam heartbeat). Set 0 for any internet-facing server.
sv_allowdownload
1 lets clients download missing maps / models from the server. Slow — better to pair with sv_downloadurl.
sv_downloadurl
Fast-DL HTTP URL for clients to fetch missing assets. Massively faster than Source's built-in trickle download.
Gameplay
4 settings
mp_timelimit
Map time limit in minutes (TF2 / casual). 0 disables.
mp_roundtime
Round duration in minutes. 1.92 = competitive 5v5; 3.0 = casual.
mp_winlimit
First team to N wins ends the map (TF2 / DM modes).
mp_friendlyfire
1 enables team damage. Required for competitive 5v5; usually off for community DM.
Voice
2 settings
sv_voiceenable
Master switch for in-game voice chat. 1 enabled, 0 disabled server-wide.
sv_alltalk
1 lets dead players hear the living and both teams hear each other. Off by default for competitive integrity.
RCON
1 setting
rcon_password
Remote console password. Use a long random string — Source RCON is unencrypted, so anyone sniffing your wire can grab it if it's weak.
Logging
5 settings
log
Master switch for server logging. `on` writes to logs/L<date>.log — required for SourceMod and stats.
sv_logbans
1 logs ban / kick events. Always on for any moderated server.
sv_logecho
1 mirrors log lines to the server console — handy when tailing via screen / tmux.
sv_logfile
1 writes log lines to disk in addition to stdout.
sv_log_onefile
1 writes all activity into a single log file instead of rotating per map.

More valve / source engine configs

Skip the setup. Host Pirates, Vikings & Knights II with XGamingServer.

Spin up a managed Pirates, Vikings & Knights II server with one click. Backups, mods, control panel and DDoS protection included.