From 28ea5e6d2f74e9e754d5250486a48d957c9f3eef Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 31 Aug 2019 14:18:50 +0800 Subject: [PATCH 1/5] Add config file for action source --- ActionSource | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 ActionSource diff --git a/ActionSource b/ActionSource new file mode 100644 index 0000000..562a202 --- /dev/null +++ b/ActionSource @@ -0,0 +1,153 @@ +// ************************************************************************** // +// // +// Action: Source - server.cfg // +// // +// ************************************************************************** // + +// .................................. Basic ................................. // + +// Hostname - Name of the server. +// Be sure to edit phase_combat.cfg and phase_build.cfg +hostname "SERVERNAME" + +// RCON - remote console password. +rcon_password "ADMINPASSWORD" + +// Server password - for private servers. +sv_password "" + +// Email - Server admin email. +// Example: sv_contact "email@example.com" +sv_contact "" + +// LAN mode - If set the server will not show on the internet. +// Default: sv_lan 0 +sv_lan 0 + +// ............................. Server Logging ............................. // + +// 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 + +// One file log - Log server information to only one file. +// Default: sv_log_onefile 0 +// 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 + +// ............................. 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 "" + +// ........................ Action: Source Settings......................... // + +// only allow players on local network to join, if set to 1 +sv_forcelan 0 +sv_lan 0 + +// teamplay +// enable teams (1 = enable) +mp_teamplay 0 + +// use three teams for teamplay (1 = enable) +mp_threeteams 0 + +// allow friendly fire (0 = disable) +mp_friendlyfire 1 + +// punish team killers after 2 unforgiven team kills +mp_tkpunish 1 + +// ping master server list +heartbeat + +// ........................ game modes....................................// + +// enable one hit kill ultimate gib mode (1 = enable) +mp_instagib 0 + +// allow "capture the briefcase" mode on supported maps (0 = disable) +mp_allowctb 1 + +// allow "dante must die" mode on supported maps (0 = disable) +mp_allowdante 1 + +// allow VIP mode on supported maps (0 = disable) +mp_allowvip 1 + +// allow map defined goal modes (0 = disable) +mp_allowcustom 1 + +// ........................ game rules................................// + +// amount of time, in minutes, played on each map +mp_timelimit 20 + +// number of kills a player must get to win the match +mp_fraglimit 0 + +// in rounds mode, number of rounds to be played on each map +mp_maxrounds 0 + +// number of lives each player gets per round (0 = deathmatch) +mp_playerlives 0 + +// amount of time, in minutes, a round is allowed to last +mp_roundtimelimit 5 + +// automatically respawn players without waiting for them to click (0 = disable) +mp_forcerespawn 1 + +// force players to spawn with random equipment +// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout +mp_forcerandom 0 + +// restrict which equipment players can spawn with +// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed +mp_allowequip 3 + +// restrict which equipment can spawn on the map as pickups +// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map. +mp_allowpickup 3 From a1eb131ea21fceda408177425b994c670b83e23d Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 31 Aug 2019 14:20:26 +0800 Subject: [PATCH 2/5] Delete ActionSource --- ActionSource | 153 --------------------------------------------------- 1 file changed, 153 deletions(-) delete mode 100644 ActionSource diff --git a/ActionSource b/ActionSource deleted file mode 100644 index 562a202..0000000 --- a/ActionSource +++ /dev/null @@ -1,153 +0,0 @@ -// ************************************************************************** // -// // -// Action: Source - server.cfg // -// // -// ************************************************************************** // - -// .................................. Basic ................................. // - -// Hostname - Name of the server. -// Be sure to edit phase_combat.cfg and phase_build.cfg -hostname "SERVERNAME" - -// RCON - remote console password. -rcon_password "ADMINPASSWORD" - -// Server password - for private servers. -sv_password "" - -// Email - Server admin email. -// Example: sv_contact "email@example.com" -sv_contact "" - -// LAN mode - If set the server will not show on the internet. -// Default: sv_lan 0 -sv_lan 0 - -// ............................. Server Logging ............................. // - -// 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 - -// One file log - Log server information to only one file. -// Default: sv_log_onefile 0 -// 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 - -// ............................. 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 "" - -// ........................ Action: Source Settings......................... // - -// only allow players on local network to join, if set to 1 -sv_forcelan 0 -sv_lan 0 - -// teamplay -// enable teams (1 = enable) -mp_teamplay 0 - -// use three teams for teamplay (1 = enable) -mp_threeteams 0 - -// allow friendly fire (0 = disable) -mp_friendlyfire 1 - -// punish team killers after 2 unforgiven team kills -mp_tkpunish 1 - -// ping master server list -heartbeat - -// ........................ game modes....................................// - -// enable one hit kill ultimate gib mode (1 = enable) -mp_instagib 0 - -// allow "capture the briefcase" mode on supported maps (0 = disable) -mp_allowctb 1 - -// allow "dante must die" mode on supported maps (0 = disable) -mp_allowdante 1 - -// allow VIP mode on supported maps (0 = disable) -mp_allowvip 1 - -// allow map defined goal modes (0 = disable) -mp_allowcustom 1 - -// ........................ game rules................................// - -// amount of time, in minutes, played on each map -mp_timelimit 20 - -// number of kills a player must get to win the match -mp_fraglimit 0 - -// in rounds mode, number of rounds to be played on each map -mp_maxrounds 0 - -// number of lives each player gets per round (0 = deathmatch) -mp_playerlives 0 - -// amount of time, in minutes, a round is allowed to last -mp_roundtimelimit 5 - -// automatically respawn players without waiting for them to click (0 = disable) -mp_forcerespawn 1 - -// force players to spawn with random equipment -// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout -mp_forcerandom 0 - -// restrict which equipment players can spawn with -// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed -mp_allowequip 3 - -// restrict which equipment can spawn on the map as pickups -// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map. -mp_allowpickup 3 From edc926c81b8a31de3dd4f45224e642f9cc2da39c Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 31 Aug 2019 14:20:47 +0800 Subject: [PATCH 3/5] Add config file for action source --- ActionSource/server.cfg | 153 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 ActionSource/server.cfg diff --git a/ActionSource/server.cfg b/ActionSource/server.cfg new file mode 100644 index 0000000..562a202 --- /dev/null +++ b/ActionSource/server.cfg @@ -0,0 +1,153 @@ +// ************************************************************************** // +// // +// Action: Source - server.cfg // +// // +// ************************************************************************** // + +// .................................. Basic ................................. // + +// Hostname - Name of the server. +// Be sure to edit phase_combat.cfg and phase_build.cfg +hostname "SERVERNAME" + +// RCON - remote console password. +rcon_password "ADMINPASSWORD" + +// Server password - for private servers. +sv_password "" + +// Email - Server admin email. +// Example: sv_contact "email@example.com" +sv_contact "" + +// LAN mode - If set the server will not show on the internet. +// Default: sv_lan 0 +sv_lan 0 + +// ............................. Server Logging ............................. // + +// 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 + +// One file log - Log server information to only one file. +// Default: sv_log_onefile 0 +// 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 + +// ............................. 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 "" + +// ........................ Action: Source Settings......................... // + +// only allow players on local network to join, if set to 1 +sv_forcelan 0 +sv_lan 0 + +// teamplay +// enable teams (1 = enable) +mp_teamplay 0 + +// use three teams for teamplay (1 = enable) +mp_threeteams 0 + +// allow friendly fire (0 = disable) +mp_friendlyfire 1 + +// punish team killers after 2 unforgiven team kills +mp_tkpunish 1 + +// ping master server list +heartbeat + +// ........................ game modes....................................// + +// enable one hit kill ultimate gib mode (1 = enable) +mp_instagib 0 + +// allow "capture the briefcase" mode on supported maps (0 = disable) +mp_allowctb 1 + +// allow "dante must die" mode on supported maps (0 = disable) +mp_allowdante 1 + +// allow VIP mode on supported maps (0 = disable) +mp_allowvip 1 + +// allow map defined goal modes (0 = disable) +mp_allowcustom 1 + +// ........................ game rules................................// + +// amount of time, in minutes, played on each map +mp_timelimit 20 + +// number of kills a player must get to win the match +mp_fraglimit 0 + +// in rounds mode, number of rounds to be played on each map +mp_maxrounds 0 + +// number of lives each player gets per round (0 = deathmatch) +mp_playerlives 0 + +// amount of time, in minutes, a round is allowed to last +mp_roundtimelimit 5 + +// automatically respawn players without waiting for them to click (0 = disable) +mp_forcerespawn 1 + +// force players to spawn with random equipment +// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout +mp_forcerandom 0 + +// restrict which equipment players can spawn with +// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed +mp_allowequip 3 + +// restrict which equipment can spawn on the map as pickups +// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map. +mp_allowpickup 3 From 22362a7f5407ec311a4153e4731758d8fa7db28d Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 31 Aug 2019 14:21:39 +0800 Subject: [PATCH 4/5] Update server.cfg --- ActionSource/server.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ActionSource/server.cfg b/ActionSource/server.cfg index 562a202..e649ba3 100644 --- a/ActionSource/server.cfg +++ b/ActionSource/server.cfg @@ -84,8 +84,8 @@ sv_downloadurl "" // ........................ Action: Source Settings......................... // // only allow players on local network to join, if set to 1 -sv_forcelan 0 -sv_lan 0 +sv_forcelan 0 +sv_lan 0 // teamplay // enable teams (1 = enable) From 673cf3095c2e454850e5a7a0692673849ae6d839 Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 31 Aug 2019 14:22:55 +0800 Subject: [PATCH 5/5] Update server.cfg --- ActionSource/server.cfg | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/ActionSource/server.cfg b/ActionSource/server.cfg index e649ba3..8efad92 100644 --- a/ActionSource/server.cfg +++ b/ActionSource/server.cfg @@ -84,21 +84,21 @@ sv_downloadurl "" // ........................ Action: Source Settings......................... // // only allow players on local network to join, if set to 1 -sv_forcelan 0 -sv_lan 0 +sv_forcelan 0 +sv_lan 0 // teamplay // enable teams (1 = enable) -mp_teamplay 0 +mp_teamplay 0 // use three teams for teamplay (1 = enable) -mp_threeteams 0 +mp_threeteams 0 // allow friendly fire (0 = disable) -mp_friendlyfire 1 +mp_friendlyfire 1 // punish team killers after 2 unforgiven team kills -mp_tkpunish 1 +mp_tkpunish 1 // ping master server list heartbeat @@ -106,48 +106,48 @@ heartbeat // ........................ game modes....................................// // enable one hit kill ultimate gib mode (1 = enable) -mp_instagib 0 +mp_instagib 0 // allow "capture the briefcase" mode on supported maps (0 = disable) -mp_allowctb 1 +mp_allowctb 1 // allow "dante must die" mode on supported maps (0 = disable) -mp_allowdante 1 +mp_allowdante 1 // allow VIP mode on supported maps (0 = disable) -mp_allowvip 1 +mp_allowvip 1 // allow map defined goal modes (0 = disable) -mp_allowcustom 1 +mp_allowcustom 1 // ........................ game rules................................// // amount of time, in minutes, played on each map -mp_timelimit 20 +mp_timelimit 20 // number of kills a player must get to win the match -mp_fraglimit 0 +mp_fraglimit 0 // in rounds mode, number of rounds to be played on each map -mp_maxrounds 0 +mp_maxrounds 0 // number of lives each player gets per round (0 = deathmatch) -mp_playerlives 0 +mp_playerlives 0 // amount of time, in minutes, a round is allowed to last -mp_roundtimelimit 5 +mp_roundtimelimit 5 // automatically respawn players without waiting for them to click (0 = disable) -mp_forcerespawn 1 +mp_forcerespawn 1 // force players to spawn with random equipment // 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout -mp_forcerandom 0 +mp_forcerandom 0 // restrict which equipment players can spawn with // 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed -mp_allowequip 3 +mp_allowequip 3 // restrict which equipment can spawn on the map as pickups // 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map. -mp_allowpickup 3 +mp_allowpickup 3