3 changed files with 160 additions and 306 deletions
@ -1,220 +1,68 @@ |
|||||
// ************************************************************************** // |
// **************************************************************************** |
||||
// // |
// Half-Life 2 Deathmatch |
||||
// Half-Life 2 DeathMatch - server.cfg // // |
// Config - server.cfg |
||||
// // |
// Date - 06/12/2023 |
||||
// ************************************************************************** // |
// **************************************************************************** |
||||
|
|
||||
// .................................. Basic ................................. // |
// hostname - Hostname for server. |
||||
|
|
||||
// Hostname - Name of the server. |
|
||||
hostname "SERVERNAME" |
hostname "SERVERNAME" |
||||
|
|
||||
// RCON - remote console password. |
// RCON - remote console password. |
||||
rcon_password "ADMINPASSWORD" |
rcon_password "ADMINPASSWORD" |
||||
|
|
||||
// Server password - for private servers. |
// sv_password - Server password for entry into multiplayer games. |
||||
sv_password "" |
sv_password "" |
||||
|
|
||||
// Email - Server admin email. |
// Default Map - map <mapname> :Load a new map. |
||||
// Example: sv_contact "email@example.com" |
map "dm_lockdown" |
||||
sv_contact "" |
|
||||
|
|
||||
// LAN mode - If set the server will not show on the internet. |
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ). |
||||
// Default: sv_lan 0 |
|
||||
sv_lan 0 |
sv_lan 0 |
||||
|
|
||||
// ............................. Server Logging ............................. // |
// sv_logfile - Log server information in the log file. |
||||
|
|
||||
// Enable log - Enables logging to file, console, and udp < on | off >. |
|
||||
// Recommended: log on |
|
||||
log on |
|
||||
|
|
||||
// Log bans - Log server bans in the server logs. |
|
||||
// Default: sv_logbans 1 |
|
||||
// Recommended: sv_logbans 1 |
|
||||
sv_logbans 1 |
|
||||
|
|
||||
// Log echo - Display log information to the server console. |
|
||||
// Default: sv_logecho 1 |
|
||||
// Recommended: sv_logecho 1 |
|
||||
sv_logecho 1 |
|
||||
|
|
||||
// Log file - Log server information in the log file. |
|
||||
// Default: sv_logfile 1 |
|
||||
// Recommended: sv_logfile 1 |
|
||||
sv_logfile 1 |
sv_logfile 1 |
||||
|
|
||||
// One file log - Log server information to only one file. |
// sv_logbans - Log server bans in the server logs. |
||||
// Default: sv_log_onefile 0 |
sv_logbans 1 |
||||
// Recommended: sv_log_onefile 0 |
|
||||
sv_log_onefile 0 |
|
||||
|
|
||||
// ................................ Ban List ................................ // |
|
||||
|
|
||||
// User ban - Server banlist based on user steam ID. |
|
||||
// Recommended: exec banned_user.cfg |
|
||||
exec banned_user.cfg |
|
||||
|
|
||||
// IP ban - Server banlist based on user IP. |
|
||||
// Recommended: exec banned_ip.cfg |
|
||||
exec banned_ip.cfg |
|
||||
|
|
||||
// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg. |
|
||||
writeid |
|
||||
|
|
||||
// Write IP - Save the ban list to banned_ip.cfg. |
|
||||
writeip |
|
||||
|
|
||||
// ........................ HL2DM Settings...................... // |
|
||||
|
|
||||
// set to 1 if this is a teamplay server |
|
||||
mp_teamplay 1 |
|
||||
|
|
||||
// allow or disallow damage from teammates |
|
||||
mp_friendlyfire 0 |
|
||||
|
|
||||
// how much damage is inflicted from falls, default 0 |
|
||||
mp_falldamage 0 |
|
||||
|
|
||||
// set to 1 if weapons stay (immediate pickup by players without weapons) |
|
||||
// requires that there be additional ammo (can't pick up a weapon to get more ammo) |
|
||||
mp_weaponstay 0 |
|
||||
|
|
||||
// set to force players to respawn after death |
|
||||
mp_forcerespawn 1 |
|
||||
|
|
||||
// enable player footstep sounds |
|
||||
mp_footsteps 1 |
|
||||
|
|
||||
// enable flashlight |
|
||||
mp_flashlight 1 |
|
||||
|
|
||||
// enable autocrosshair (default is 1) |
|
||||
mp_autocrosshair 1 |
|
||||
|
|
||||
// allow bots |
|
||||
mp_allowNPCs 1 |
|
||||
|
|
||||
// world gravity (default 600) |
|
||||
sv_gravity 600 |
|
||||
|
|
||||
// world friction (default 4) |
|
||||
sv_friction 4 |
|
||||
|
|
||||
// world water friction (default 1) |
|
||||
sv_waterfriction 1 |
|
||||
|
|
||||
// Minimum stopping speed when on ground |
|
||||
sv_stopspeed 100 |
|
||||
|
|
||||
// spectator settings |
|
||||
sv_noclipaccelerate 5 |
|
||||
sv_noclipspeed 5 |
|
||||
|
|
||||
sv_specaccelerate 5 |
|
||||
sv_specspeed 3 |
|
||||
sv_specnoclip 1 |
|
||||
|
|
||||
// player movement acceleration rate (default 10) |
|
||||
sv_accelerate 10 |
|
||||
sv_airaccelerate 10 |
|
||||
sv_wateraccelerate 10 |
|
||||
|
|
||||
// max player speed (default 320) |
|
||||
sv_maxspeed 320 |
|
||||
|
|
||||
// misc physics settings, leave them as-is |
|
||||
sv_rollspeed 200 |
|
||||
sv_rollangle 0 |
|
||||
sv_bounce 0 |
|
||||
|
|
||||
// player stepsize - dont mess with this (default 18) |
|
||||
sv_stepsize 18 |
|
||||
|
|
||||
// teamplay talk all (1) or team only (0) |
|
||||
sv_alltalk 1 |
|
||||
|
|
||||
// enable voice on server |
// sv_voiceenable - Enable voice communications. |
||||
sv_voiceenable 1 |
sv_voiceenable 1 |
||||
|
|
||||
// disable pause on server (set this to 0 always) |
// sv_alltalk - Players can hear all other players, no team restrictions. |
||||
sv_pausable 0 |
sv_alltalk 1 |
||||
|
|
||||
// disable cheats (set this to 0 always) |
|
||||
sv_cheats 0 |
|
||||
|
|
||||
// teamserver coop (default 0) |
|
||||
coop 0 |
|
||||
|
|
||||
// deathmatch - set this to 1 |
|
||||
deathmatch 1 |
|
||||
|
|
||||
// allow players to upload sprays (default 1) |
// sv_allowupload - Allow clients to upload customizations files. |
||||
sv_allowupload 1 |
sv_allowupload 1 |
||||
|
|
||||
// allow sprays and map content to be downloaded (default 1) |
// sv_allowdownload - Allow clients to download files. |
||||
sv_allowdownload 1 |
sv_allowdownload 1 |
||||
|
|
||||
// how often players can spray tags (default 20) |
// sv_downloadurl - Location from which clients can download missing files. |
||||
decalfrequency 20 |
|
||||
|
|
||||
// fast http download url address |
|
||||
sv_downloadurl "" |
sv_downloadurl "" |
||||
|
|
||||
// Enable instanced baselines - Saves network overhead |
// mp_allowspectators - Toggles whether the server allows spectator mode or not. |
||||
sv_instancebaselines 0 |
mp_allowspectators 0 |
||||
|
|
||||
//Force server side preloading (default 0) |
|
||||
sv_forcepreload 1 |
|
||||
|
|
||||
// set fraglimit before mapchange |
// mp_fraglimit - The number of kills at which the map ends. |
||||
mp_fraglimit 0 |
mp_fraglimit 0 |
||||
|
|
||||
// set timelimit before map change |
// mp_friendlyfire - Allows team members to injure other members of their team. |
||||
mp_timelimit 30 |
mp_friendlyfire 0 |
||||
|
|
||||
// Max bandwidth rate allowed on server, 0 == unlimited |
|
||||
sv_maxrate 35000 |
|
||||
|
|
||||
// Min bandwidth rate allowed on server, 0 == unlimited |
|
||||
sv_minrate 10000 |
|
||||
|
|
||||
// Maximum updates per second that the server will allow (default 60) |
|
||||
sv_maxupdaterate 66 |
|
||||
|
|
||||
// Minimum updates per second that the server will allow (default 10) |
|
||||
sv_minupdaterate 33 |
|
||||
|
|
||||
// Maximum lag compensation in seconds (default 1) |
|
||||
sv_maxunlag 1 |
|
||||
|
|
||||
// explosion size (default 1) |
|
||||
sv_robust_explosions 1 |
|
||||
|
|
||||
// Maximum speed any ballistically moving object is allowed to attain per axis (default 3500) |
|
||||
sv_maxvelocity 3500 |
|
||||
|
|
||||
// rcon failure settings, uncomment the cvars to enabling settings |
|
||||
//sv_rcon_banpenalty 0 |
|
||||
//sv_rcon_maxfailures 10 |
|
||||
//sv_rcon_minfailures 5 |
|
||||
//sv_rcon_minfailuretime 30 |
|
||||
|
|
||||
//The region of the world to report this server in (255 = world) |
|
||||
sv_region 255 |
|
||||
|
|
||||
// gather server statistics |
// mp_falldamage - Enable fall damage. |
||||
sv_stats 1 |
mp_falldamage 0 |
||||
|
|
||||
//After this many seconds without a message from a client, the client is dropped (default 65) |
// mp_forcerespawn - Force all players to respawn. |
||||
sv_timeout 65 |
mp_forcerespawn 1 |
||||
|
|
||||
//Enables player lag compensation |
// mp_mapcycle_empty_timeout_seconds - If nonzero, server will cycle to the next map if it has been empty on the current map for N seconds. |
||||
sv_unlag 1 |
mp_mapcycle_empty_timeout_seconds 900 |
||||
|
|
||||
//Enables HLTV on this server |
// mp_maxrounds - Max number of rounds to play before server changes maps. |
||||
sv_hltv 0 |
mp_maxrounds 0 |
||||
|
|
||||
//toggles whether the server allows spectator mode or not |
// mp_teamplay - Enable team based gameplay. |
||||
mp_allowspectators 0 |
mp_teamplay 0 |
||||
|
|
||||
|
// mp_timelimit - Game time per map in minutes. |
||||
|
mp_timelimit 20 |
||||
|
@ -1,15 +1,68 @@ |
|||||
// Hostname for server. |
// **************************************************************************** |
||||
|
// Half-Life Deathmatch: Source |
||||
|
// Config - server.cfg |
||||
|
// Date - 06/12/2023 |
||||
|
// **************************************************************************** |
||||
|
|
||||
|
// hostname - Hostname for server. |
||||
hostname "SERVERNAME" |
hostname "SERVERNAME" |
||||
|
|
||||
// RCON - remote console password. |
// RCON - remote console password. |
||||
rcon_password "ADMINPASSWORD" |
rcon_password "ADMINPASSWORD" |
||||
|
|
||||
// Server password - for private servers. |
// sv_password - Server password for entry into multiplayer games. |
||||
sv_password "" |
sv_password "" |
||||
|
|
||||
// Server Logging |
// Default Map - map <mapname> :Load a new map. |
||||
log on |
map "crossfire" |
||||
sv_logbans 1 |
|
||||
sv_logecho 1 |
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ). |
||||
|
sv_lan 0 |
||||
|
|
||||
|
// sv_logfile - Log server information in the log file. |
||||
sv_logfile 1 |
sv_logfile 1 |
||||
sv_log_onefile 0 |
|
||||
|
// sv_logbans - Log server bans in the server logs. |
||||
|
sv_logbans 1 |
||||
|
|
||||
|
// sv_voiceenable - Enable voice communications. |
||||
|
sv_voiceenable 1 |
||||
|
|
||||
|
// sv_alltalk - Players can hear all other players, no team restrictions. |
||||
|
sv_alltalk 1 |
||||
|
|
||||
|
// sv_allowupload - Allow clients to upload customizations files. |
||||
|
sv_allowupload 1 |
||||
|
|
||||
|
// sv_allowdownload - Allow clients to download files. |
||||
|
sv_allowdownload 1 |
||||
|
|
||||
|
// sv_downloadurl - Location from which clients can download missing files. |
||||
|
sv_downloadurl "" |
||||
|
|
||||
|
// mp_allowspectators - Toggles whether the server allows spectator mode or not. |
||||
|
mp_allowspectators 0 |
||||
|
|
||||
|
// mp_fraglimit - The number of kills at which the map ends. |
||||
|
mp_fraglimit 0 |
||||
|
|
||||
|
// mp_friendlyfire - Allows team members to injure other members of their team. |
||||
|
mp_friendlyfire 0 |
||||
|
|
||||
|
// mp_falldamage - Enable fall damage. |
||||
|
mp_falldamage 0 |
||||
|
|
||||
|
// mp_forcerespawn - Force all players to respawn. |
||||
|
mp_forcerespawn 1 |
||||
|
|
||||
|
// mp_mapcycle_empty_timeout_seconds - If nonzero, server will cycle to the next map if it has been empty on the current map for N seconds. |
||||
|
mp_mapcycle_empty_timeout_seconds 900 |
||||
|
|
||||
|
// mp_maxrounds - Max number of rounds to play before server changes maps. |
||||
|
mp_maxrounds 0 |
||||
|
|
||||
|
// mp_teamplay - Enable team based gameplay. |
||||
|
mp_teamplay 0 |
||||
|
|
||||
|
// mp_timelimit - Game time per map in minutes. |
||||
|
mp_timelimit 20 |
||||
|
Loading…
Reference in new issue