44 changed files with 2188 additions and 2 deletions
@ -0,0 +1,135 @@ |
|||
[ServerSettings] |
|||
AllowFlyerCarryPvE=False |
|||
AllowThirdPersonPlayer=False |
|||
AlwaysNotifyPlayerLeft=False |
|||
AutoSavePeriodMinutes=15.000000 |
|||
ClampResourceHarvestDamage=False |
|||
DayCycleSpeedScale=1.000000 |
|||
DayTimeSpeedScale=1.000000 |
|||
DifficultyOffset=0.200000 |
|||
DinoCharacterFoodDrainMultiplier=1.000000 |
|||
DinoCharacterHealthRecoveryMultiplier=1.000000 |
|||
DinoCharacterStaminaDrainMultiplier=1.000000 |
|||
DinoCountMultiplier=1.000000 |
|||
DinoDamageMultiplier=1.000000 |
|||
DinoResistanceMultiplier=1.000000 |
|||
DisableStructureDecayPvE=False |
|||
DontAlwaysNotifyPlayerJoined=False |
|||
EnablePvPGamma=False |
|||
GlobalVoiceChat=False |
|||
HarvestAmountMultiplier=1.000000 |
|||
HarvestHealthMultiplier=1.000000 |
|||
KickIdlePlayersPeriod=2400.000000 |
|||
NewMaxStructuresInRange=6000.000000 |
|||
NightTimeSpeedScale=1.000000 |
|||
NoTributeDownloads=False |
|||
PlayerCharacterFoodDrainMultiplier=1.000000 |
|||
PlayerCharacterHealthRecoveryMultiplier=1.000000 |
|||
PlayerCharacterStaminaDrainMultiplier=1.000000 |
|||
PlayerCharacterWaterDrainMultiplier=1.000000 |
|||
PlayerDamageMultiplier=1.000000 |
|||
PlayerResistanceMultiplier=1.000000 |
|||
ProximityChat=False |
|||
ProximityVoiceChat=False |
|||
PvEStructureDecayDestructionPeriod=0.000000 |
|||
PvEStructureDecayPeriodMultiplier=1.000000 |
|||
RCONEnabled=True |
|||
RCONPort=32330 |
|||
ResourcesRespawnPeriodMultiplier=1.000000 |
|||
ServerAdminPassword=adminpassword |
|||
ServerCrosshair=False |
|||
ServerForceNoHUD=False |
|||
ServerHardcore=False |
|||
ServerPassword= |
|||
ServerPVE=False |
|||
ShowMapPlayerLocation=False |
|||
StructureDamageMultiplier=1.000000 |
|||
StructureResistanceMultiplier=1.000000 |
|||
TamedDinoDamageMultiplier=1.000000 |
|||
TamedDinoResistanceMultiplier=1.000000 |
|||
TamingSpeedMultiplier=1.000000 |
|||
XPMultiplier=1.000000 |
|||
|
|||
[/Script/ShooterGame.ShooterGameUserSettings] |
|||
MasterAudioVolume=1.000000 |
|||
MusicAudioVolume=1.000000 |
|||
SFXAudioVolume=1.000000 |
|||
VoiceAudioVolume=1.000000 |
|||
CameraShakeScale=1.000000 |
|||
bFirstPersonRiding=False |
|||
bThirdPersonPlayer=False |
|||
bShowStatusNotificationMessages=True |
|||
TrueSkyQuality=0.270000 |
|||
FOVMultiplier=1.000000 |
|||
GroundClutterDensity=1.000000 |
|||
bFilmGrain=False |
|||
bMotionBlur=True |
|||
bUseDFAO=True |
|||
bUseSSAO=True |
|||
bShowChatBox=True |
|||
bCameraViewBob=True |
|||
bInvertLookY=False |
|||
bFloatingNames=True |
|||
bChatBubbles=True |
|||
bHideServerInfo=False |
|||
bJoinNotifications=False |
|||
bCraftablesShowAllItems=True |
|||
LookLeftRightSensitivity=1.000000 |
|||
LookUpDownSensitivity=1.000000 |
|||
GraphicsQuality=2 |
|||
ActiveLingeringWorldTiles=10 |
|||
ClientNetQuality=3 |
|||
LastServerSearchType=0 |
|||
LastServerSearchHideFull=False |
|||
LastServerSearchProtected=False |
|||
HideItemTextOverlay=False |
|||
bDistanceFieldShadowing=True |
|||
LODScalar=1.000000 |
|||
HighQualityMaterials=True |
|||
HighQualitySurfaces=True |
|||
bTemperatureF=False |
|||
bDisableTorporEffect=False |
|||
bChatShowSteamName=False |
|||
bChatShowTribeName=True |
|||
EmoteKeyBind1=0 |
|||
EmoteKeyBind2=0 |
|||
bUseVSync=False |
|||
ResolutionSizeX=1280 |
|||
ResolutionSizeY=720 |
|||
LastUserConfirmedResolutionSizeX=1280 |
|||
LastUserConfirmedResolutionSizeY=720 |
|||
WindowPosX=-1 |
|||
WindowPosY=-1 |
|||
bUseDesktopResolutionForFullscreen=False |
|||
FullscreenMode=2 |
|||
LastConfirmedFullscreenMode=2 |
|||
Version=5 |
|||
|
|||
[ScalabilityGroups] |
|||
sg.ResolutionQuality=100 |
|||
sg.ViewDistanceQuality=3 |
|||
sg.AntiAliasingQuality=3 |
|||
sg.ShadowQuality=3 |
|||
sg.PostProcessQuality=3 |
|||
sg.TextureQuality=3 |
|||
sg.EffectsQuality=3 |
|||
sg.TrueSkyQuality=3 |
|||
sg.GroundClutterQuality=3 |
|||
sg.IBLQuality=1 |
|||
sg.HeightFieldShadowQuality=3 |
|||
|
|||
[SessionSettings] |
|||
SessionName=arkserver |
|||
QueryPort=27015 |
|||
Port=7777 |
|||
;MultiHome=INSERT_IPv4_HERE ;Example:192.168.0.9. If not just remove any line containing MultiHome. |
|||
|
|||
[/Script/Engine.GameSession] |
|||
MaxPlayers=127 |
|||
|
|||
[MultiHome] |
|||
;MultiHome=True ;If MultiHome=IPv4 is filled in. If not just remove any line containing MultiHome. |
|||
|
|||
[MessageOfTheDay] |
|||
Message=Welcome to ARK Server |
|||
Duration=5 |
@ -0,0 +1,24 @@ |
|||
// Black Mesa server.cfg file |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
mp_timelimit 900 |
|||
mp_warmup_time 30 |
|||
// sv_lan 0 |
|||
// mp_flashlight 1 |
|||
// mp_forcerespawn 0 |
|||
// mp_friendlyfire 0 |
|||
// mp_fraglimit 45 |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,201 @@ |
|||
// **************************************************************************** |
|||
// * |
|||
// BrainBread 2 - server.cfg * |
|||
// Version 080116 * |
|||
// * |
|||
// **************************************************************************** |
|||
|
|||
// ............................. Basic Settings ............................. // |
|||
|
|||
// Hostname for server. |
|||
hostname "<hostname>" |
|||
|
|||
// RCON - remote console password. |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server password - for private servers. |
|||
sv_password "" |
|||
|
|||
// Contact email for server sysop. |
|||
sv_contact "[email protected]" |
|||
|
|||
// LAN Mode - If set the server will not show on the internet. |
|||
// Default: sv_lan 0 |
|||
sv_lan 0 |
|||
|
|||
// Cheats - Allows cheats on the server. Steam achievements and stats are disabled. |
|||
// Default: 0 |
|||
sv_cheats 0 |
|||
|
|||
// Friendly Fire - Allows team members to injure other members of their team. |
|||
// 0 = Friendly fire off. |
|||
// 1 = Friendly fire on. |
|||
// Default: 0 |
|||
mp_friendlyfire 0 |
|||
|
|||
// ........................ Game Specific Commands ........................ // |
|||
// info: any commands that only apply to this game. |
|||
|
|||
|
|||
// Mercy Value - Sets how many deaths until the players become human once again. |
|||
// Default: bb2_allow_mercy 0 |
|||
bb2_allow_mercy 3 |
|||
|
|||
// Late Joining - Allows players to spawn late. |
|||
// default bb2_allow_latejoin 0 |
|||
bb2_allow_latejoin 1 |
|||
|
|||
// Player Spawn Protection - Time in seconds after Spawn. |
|||
// default bb2_spawn_protection 1 |
|||
bb2_spawn_protection 15 |
|||
|
|||
// Profile System - Allow players to save and load there skills. |
|||
// 0 = Disabled, skills are not saved. |
|||
// 1 = Global, players can load there global skills. |
|||
// 2 = Server, players save there skills to the server. Steam achievements and stats are disabled. |
|||
// Default 1 |
|||
bb2_allow_profile_system 1 |
|||
|
|||
// Allow NPC to score - Allow friendly npcs to affect scoring. For example for quests. |
|||
// Default 1 |
|||
bb2_allow_npc_to_score 0 |
|||
|
|||
// Vote Settings |
|||
|
|||
// Voting: Passing Votes - Percentage of players that are required to pass a vote. |
|||
// Minimum: 0 |
|||
// Maximum: 100 |
|||
// Default 50 |
|||
bb2_votes_required 50 |
|||
|
|||
// Voting: Ban Time - Number of minutes a player be banned if a vaote ban passes. |
|||
// minimum: 0 (permanent) |
|||
// default 30 |
|||
bb2_ban_time 30 |
|||
|
|||
|
|||
// Arena Settings |
|||
|
|||
// Arena: Respawn Interval Time (Seconds). |
|||
// Minimum: 20 |
|||
// Default 40 |
|||
bb2_arena_respawn_time 25 |
|||
|
|||
// Arena: Number of Reinforcements. |
|||
// Minimum: 0 |
|||
// Maximum: 100 |
|||
// Default 14 |
|||
bb2_arena_reinforcement_count 14 |
|||
|
|||
|
|||
// Classic Mode Settings |
|||
|
|||
// Classic: Zombie No Team Change. |
|||
// 0 = Players can become zombies. |
|||
// 1 = Players cannot become zombies. |
|||
// Default 0 |
|||
bb2_classic_zombie_noteamchange 1 |
|||
|
|||
|
|||
// Elimination Settings |
|||
|
|||
// Elimination: Team Fraglimit - Number of frags for a team to win a game. |
|||
// Minimum: 10 |
|||
// Default 200 |
|||
bb2_elimination_fraglimit 200 |
|||
|
|||
// Elimination: Respawn Time (Seconds). |
|||
// Minimum: 1 |
|||
// Maximum: 30 |
|||
// Default 4 |
|||
bb2_elimination_respawn_time 5 |
|||
|
|||
// Elimination: Respawn Time Scale - Increase the respawn timer in seconds when a player joins. |
|||
// Example: respawn_timer + (joined_players x time_scale) = new_respawn_timer. 14 + (20 x 2) = 54. |
|||
// Minimum: 0 |
|||
// Maximum: 10 |
|||
// Default 1 |
|||
bb2_elimination_respawn_time_scale 1 |
|||
|
|||
// Elimination: Extermination Score - The score a team should be awarded for exterminating (kill everyone before respawn) the other team. |
|||
// Minimum: 0 |
|||
// Maximum: 50 |
|||
// Default 25 |
|||
bb2_elimination_score_from_extermination 25 |
|||
|
|||
// Elimination: Zombie Score - Number of point a zombie gets for a kill. |
|||
// Minimum: 2 |
|||
// Maximum: 10 |
|||
// Default 5 |
|||
bb2_elimination_score_zombies 5 |
|||
|
|||
// Elimination: Team Perk Duration - Number of seconds a team perk lasts. |
|||
// Minimum: 5 |
|||
// Maximum: 60 |
|||
// Default 30 |
|||
bb2_elimination_teamperk_duration 30 |
|||
|
|||
// Elimination: Team Perk Required Kills - Number of kills a team need to get in order to activate a team perk. |
|||
// Minimum: 25 |
|||
// Maximum: 500 |
|||
// Default 50 |
|||
bb2_elimination_teamperk_kills_required 50 |
|||
|
|||
|
|||
// Zombie Settings |
|||
|
|||
// Zombie Lifespan - Number of minutes a regular zombie will last before dying. |
|||
// Minimum: 1 |
|||
// Default 5 |
|||
bb2_zombie_lifespan 2 |
|||
|
|||
// Max Zombies - Maximum number of zombies allowed in the game. |
|||
// Minimum: 1 |
|||
// Maximum: 128 |
|||
// Default 50 |
|||
bb2_zombie_max 45 |
|||
|
|||
|
|||
// M1A1 Abrams Settings |
|||
|
|||
// M1A1 Abrams: Main Cannon Damage. |
|||
// Minimum: 100 |
|||
// Maximum: 10000 |
|||
// Default 3000 |
|||
bb2_m1a1_damage 200 |
|||
|
|||
// M1A1 Abrams: Machinegun Damage. |
|||
// Minimum: 25 |
|||
// Maximum: 1000 |
|||
// Default 30 |
|||
bb2_m1a1_damage_machinegun 25 |
|||
|
|||
// M1A1 Abrams: Friendly Fire (Including NPC's). |
|||
// Minimum: 0 |
|||
// Maximum: 1 |
|||
// Default 1 |
|||
bb2_m1a1_friendly 1 |
|||
|
|||
// M1A1 Abrams: Machinegun Rate of Fire. |
|||
// Minimum: 0.01 |
|||
// Maximum: 1 |
|||
// Default 0.08 |
|||
bb2_m1a1_machinegun_firerate 1 |
|||
|
|||
// M1A1 Abrams: Explosion Radius. |
|||
// Minimum: 200 |
|||
// Maximum: 10000 |
|||
// Default 500 |
|||
bb2_m1a1_radius 500 |
|||
|
|||
// M1A1 Abrams: Max Sight Range. |
|||
// Minimum: 500 |
|||
// Maximum: 10000 |
|||
// Default 2000 |
|||
bb2_m1a1_range_max 1000 |
|||
|
|||
// M1A1 Abrams: Min Sight Range. |
|||
// Minimum: 250 |
|||
// Maximum: 5000 |
|||
// Default 400 |
|||
bb2_m1a1_range_min 250 |
@ -0,0 +1,105 @@ |
|||
// **************************************************************************** |
|||
// * |
|||
// CodenameCURE - server.cfg * |
|||
// Version 100216 * |
|||
// * |
|||
// **************************************************************************** |
|||
|
|||
// ............................. Basic Settings ............................. // |
|||
|
|||
// Hostname for server. |
|||
hostname "<hostname>" |
|||
|
|||
// RCON - remote console password. |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server password - for private servers. |
|||
sv_password "" |
|||
|
|||
// Contact email for server sysop. |
|||
sv_contact "[email protected]" |
|||
|
|||
// LAN Mode - If set the server will not show on the internet. |
|||
// Default: sv_lan 0 |
|||
sv_lan 0 |
|||
|
|||
// ............................... Map Cycles ............................... // |
|||
// info: There are several predefined mapcycles available that are listed below. |
|||
// You can also create your own custom mapcycle. |
|||
|
|||
// "mapcycle.txt" - all maps |
|||
mapcyclefile "mapcycle.txt" |
|||
|
|||
// ........................ Game Specific Commands ........................ // |
|||
// info: any commands that only apply to this game. |
|||
|
|||
// Difficulty |
|||
// 0 - Easy |
|||
// 1 - Average |
|||
// 2 - Skilled |
|||
// 3 - Insane |
|||
sv_difficulty "1" |
|||
|
|||
// 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 "" |
|||
|
|||
// ............................. 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 1 |
|||
|
|||
// ............................. 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 |
@ -0,0 +1,38 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,38 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,31 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// Server Hibernation |
|||
sv_hibernate_when_empty 1 |
|||
sv_hibernate_ms 5 |
|||
|
|||
// Server Query |
|||
// More info at: https://www.gametracker.com/games/csgo/forum.php?thread=91691 |
|||
host_name_store 1 |
|||
host_info_show 1 |
|||
host_players_show 2 |
|||
|
|||
|
|||
exec banned_user.cfg |
|||
exec banned_ip.cfg |
|||
writeid |
|||
writeip |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,38 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,38 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,16 @@ |
|||
"hostname" "<hostname>" |
|||
"rcon_password" "<rconpassword>" |
|||
"mapcyclefile" "mapcycle_tactical_operation.txt" // "tactical operation" mapcycle - firefight, vip, search and destroy |
|||
"mp_friendlyfire" "1" // friendly fire |
|||
"mp_tkpunish" "1" // How to punish team killing ( 0 = none, 1 = warning, 2 = kill ) |
|||
"sv_hud_deathmessages" "0" // death messages |
|||
"sv_hud_scoreboard_show_kd" "1" // show k:d on scoreboard |
|||
"sv_hud_targetindicator" "1" // show friendly player names when looking at them |
|||
"mp_timer_pregame" "10" // timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1) |
|||
"mp_timer_preround" "15" // timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1) |
|||
"mp_timer_postround" "15" // timer for the post-round (after the round starts) |
|||
"mp_timer_postgame" "21" // timer for the post-game (at the end of a game / map rotation) |
|||
"ins_bot_quota" "0" // if set higher than 0, the server will add this many bots to each team |
|||
"sv_deadvoice" "0" // enabling this will allow the dead and living to VOIP each other |
|||
"sv_deadchat" "0" // enabling this will allow the dead and living to chat text each other |
|||
"sv_deadchat_team" "1" // is deadchat limited to just your team? |
@ -0,0 +1,35 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
@ -0,0 +1,39 @@ |
|||
[network] |
|||
default_server_name = dstserver |
|||
default_server_description = Welcome to dstserver |
|||
server_port = 10999 |
|||
server_password = password |
|||
|
|||
# max_players = 1 .. 64 |
|||
max_players = 16 |
|||
|
|||
# pvp = true | false |
|||
pvp = false |
|||
|
|||
# game_mode = endless | survival | wilderness |
|||
game_mode = endless |
|||
|
|||
# enable_autosaver = true | false |
|||
enable_autosaver = true |
|||
|
|||
# tick_rate = [ 10 | 15 | 30 | 60 ] |
|||
tick_rate = 30 |
|||
|
|||
connection_timeout = 8000 |
|||
server_save_slot = 1 |
|||
|
|||
# enable_vote_kick = true | false |
|||
enable_vote_kick = true |
|||
|
|||
# pause_when_empty = true | false |
|||
pause_when_empty = true |
|||
|
|||
[account] |
|||
dedicated_lan_server = false |
|||
|
|||
[STEAM] |
|||
DISABLECLOUD = true |
|||
|
|||
[MISC] |
|||
CONSOLE_ENABLED = true |
|||
autocompiler_enabled = true |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,86 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
lua_log_sv 0 |
|||
|
|||
sv_rcon_banpenalty 0 |
|||
sv_rcon_maxfailures 20 |
|||
sv_rcon_minfailures 20 |
|||
sv_rcon_minfailuretime 20 |
|||
|
|||
// Network Settings |
|||
sv_downloadurl "" |
|||
sv_loadingurl "" |
|||
net_maxfilesize 64 |
|||
sv_maxrate 40000 |
|||
sv_minrate 40000 |
|||
sv_maxupdaterate 66 |
|||
sv_minupdaterate 10 |
|||
sv_maxcmdrate 60 |
|||
sv_mincmdrate 10 |
|||
|
|||
// Server Settings |
|||
sv_airaccelerate 100 |
|||
sv_gravity 600 |
|||
sv_allow_wait_command 0 |
|||
sv_allow_voice_from_file 0 |
|||
sv_turbophysics 0 |
|||
sv_max_usercmd_future_ticks 12 |
|||
gmod_physiterations 4 |
|||
sv_client_min_interp_ratio 1 |
|||
sv_client_max_interp_ratio 2 |
|||
think_limit 20 |
|||
sv_region 0 |
|||
sv_noclipspeed 5 |
|||
sv_noclipaccelerate 5 |
|||
sv_lan 0 |
|||
sv_alltalk 1 |
|||
sv_contact [email protected] |
|||
sv_cheats 0 |
|||
sv_allowcslua 0 |
|||
sv_pausable 0 |
|||
sv_filterban 1 |
|||
sv_forcepreload 1 |
|||
sv_footsteps 1 |
|||
sv_voiceenable 1 |
|||
sv_voicecodec vaudio_speex |
|||
sv_timeout 120 |
|||
sv_deltaprint 0 |
|||
sv_allowupload 0 |
|||
sv_allowdownload 0 |
|||
|
|||
// Sandbox Settings |
|||
sbox_noclip 0 |
|||
sbox_godmode 0 |
|||
sbox_weapons 0 |
|||
sbox_playershurtplayers 0 |
|||
sbox_maxprops 100 |
|||
sbox_maxragdolls 50 |
|||
sbox_maxnpcs 10 |
|||
sbox_maxballoons 10 |
|||
sbox_maxeffects 0 |
|||
sbox_maxdynamite 0 |
|||
sbox_maxlamps 5 |
|||
sbox_maxthrusters 20 |
|||
sbox_maxwheels 20 |
|||
sbox_maxhoverballs 20 |
|||
sbox_maxvehicles 1 |
|||
sbox_maxbuttons 20 |
|||
sbox_maxemitters 0 |
|||
|
|||
// Misc Config |
|||
exec banned_user.cfg |
|||
exec banned_ip.cfg |
|||
heartbeat |
@ -0,0 +1,126 @@ |
|||
// *********** SERVER & PASSWORD INFO *************** |
|||
// Change it to 1 if you want a LAN only Server |
|||
// NOTE: You must do "changelevel [levelname]" AFTER starting the server for |
|||
// a lan-only server to begin broadcasting |
|||
sv_lan 0 |
|||
|
|||
// Change the number to the region you live in! |
|||
// 0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world |
|||
sv_region 0 |
|||
|
|||
// Give your server a name here |
|||
hostname "<hostname>" |
|||
|
|||
// Rcon password is used to give your server orders by using console, so think of a good password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// If you want your server to be private, fill in a password and delete the // in front of sv_password |
|||
// sv_password "mi6" |
|||
|
|||
// All talk allows clients to talk to each other via voice even if they are dead, |
|||
// spectating, or on the other team |
|||
sv_alltalk 1 |
|||
|
|||
// *********** GOLDENEYE: SOURCE SPECIFIC ********* |
|||
|
|||
// Radar will show on clients if enabled. Some gameplay scenarios |
|||
// force the radar to be visible |
|||
ge_allowradar 1 |
|||
ge_radar_showenemyteam 1 |
|||
|
|||
// Paintball mode (for fun!) |
|||
ge_paintball 0 |
|||
|
|||
// Teamplay can be overriden by the current gameplay, but |
|||
// this sets our "desired" teamplay state |
|||
ge_teamplay 0 |
|||
|
|||
// *********** GAME SETTINGS, YOU CAN CHANGE THESE THE WAY YOU LIKE IT *************** |
|||
|
|||
// Allow the use of a flashlight (discouraged for GE:S) |
|||
mp_flashlight 0 |
|||
|
|||
// Disable footstep sounds by uncommenting below |
|||
// mp_footsteps 0 |
|||
|
|||
// 1 enables falling damage, 0 disables it |
|||
mp_falldamage 1 |
|||
|
|||
// Map/match time, in minutes |
|||
mp_timelimit 15 |
|||
|
|||
// Round time, in seconds |
|||
ge_roundtime 300 |
|||
|
|||
// 1 = Forces the engine to use light physics for better server preformance |
|||
sv_turbophysics 0 |
|||
|
|||
// Server round, map, and delay times are defined in Valve.rc |
|||
// If you want these times to be reset every map change copy them |
|||
// to this file instead (Valve.rc is only executed once on server start) |
|||
|
|||
|
|||
// ********************************************************** |
|||
// *********** Load Specific Server Type Settings *********** |
|||
// ********************************************************** |
|||
|
|||
// Uncomment ONE server type to load. This takes care of all settings, map cycles, and gameplay types |
|||
|
|||
//-- Normal server, recommended settings |
|||
exec server_normal.cfg |
|||
|
|||
//-- N64 Classic Mode ( DM|YOLT|MWGG|LD|LTK, NO Jump ) |
|||
// **Use with -maxplayers 4 |
|||
//exec server_n64_classic.cfg |
|||
|
|||
//-- For server with > 24 players |
|||
//exec server_large.cfg |
|||
|
|||
//-- For servers with < 10 players |
|||
//exec server_small.cfg |
|||
|
|||
//-- Vanilla DM only w/ auto teamplay |
|||
// **Should be used in conjunction with one of the sizes above |
|||
//exec server_dm_only.cfg |
|||
|
|||
//-- Advanced game modes (LALD, LD, CTK) only |
|||
// **Should be used in conjunction with one of the sizes above |
|||
//exec server_adv_gamemode.cfg |
|||
|
|||
//-- Teamplay only! (No MWGG or LALD) |
|||
// **Should be used in conjunction with one of the sizes above |
|||
//exec server_teamplay.cfg |
|||
|
|||
//-- Tournament Use Only (Tournament DM) |
|||
// **Should be used ALONE only! |
|||
//exec server_tournament.cfg |
|||
|
|||
// Load network settings |
|||
exec server_netvalues |
|||
|
|||
// *********** server logging *********** |
|||
log on |
|||
sv_logbans 0 |
|||
sv_logecho 0 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
|
|||
// *********** DOWNLOAD *********** |
|||
|
|||
// Allow clients to download files |
|||
sv_allowdownload 1 |
|||
|
|||
// Allow clients to upload customizations files |
|||
sv_allowupload 1 |
|||
|
|||
// VOICE enabled, if you want VOICE disabled then change 1 to 0 |
|||
sv_voiceenable 1 |
|||
|
|||
// *********** CHEATS *********** |
|||
|
|||
// Enables the use of cheats. ex. "impulse 101" "noclip" |
|||
sv_cheats 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
sv_pausable 0 |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,35 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,179 @@ |
|||
-- Welcome to the JC2-MP server configuration file! |
|||
|
|||
--[[ |
|||
SERVER OPTIONS |
|||
|
|||
Server-related options. |
|||
--]] |
|||
Server = |
|||
{ |
|||
-- The maximum number of players that can be on the server at any |
|||
-- given time. Make sure your connection and server can handle it! |
|||
-- Default value: 5000 |
|||
MaxPlayers = 5000, |
|||
-- Used to control what IP this server binds to. Unless you're a dedicated |
|||
-- game host, you don't need to worry about this. |
|||
-- Default value: "" |
|||
BindIP = "", |
|||
-- The port the server uses. |
|||
-- Default value: 7777 |
|||
BindPort = 7777, |
|||
-- The time before a player is timed out after temporarily losing |
|||
-- connection, or crashing without properly disconnecting. |
|||
-- Default value (in milliseconds): 10000 |
|||
Timeout = 10000, |
|||
|
|||
-- The name of the server, as seen by players and the server browser. |
|||
-- Default value: "JC2-MP Server" |
|||
Name = "JC2-MP Server", |
|||
-- The server description, as seen by players and the server browser. |
|||
-- Default value: "No description available" |
|||
Description = "No description available.", |
|||
-- The server password. |
|||
-- Default value: "" |
|||
Password = "", |
|||
|
|||
-- Controls whether the server announces its presence to the master server |
|||
-- and therefore to the server browser. |
|||
-- Default value: true |
|||
Announce = true, |
|||
|
|||
-- Controls how often synchronization packets are broadcast by the server |
|||
-- in milliseconds |
|||
-- Default value (in milliseconds): 180 |
|||
SyncUpdate = 180, |
|||
|
|||
-- CAUTION: Setting this variable to true unlocks a number of potentially |
|||
-- unsafe operations, which include: |
|||
-- * Native Lua packages (.dll, .so) |
|||
-- * Execution of Lua from arbitrary paths (Access to loadfile/dofile) |
|||
-- * Unbound io functions, allowing for access to the entire file-system |
|||
-- Default value: false |
|||
IKnowWhatImDoing = false |
|||
} |
|||
|
|||
--[[ |
|||
SYNCRATE OPTIONS |
|||
|
|||
Sync rate options. These values control how often synchronization |
|||
packets are sent by the clients, in milliseconds. This lets you |
|||
control how frequent the sync comes in, which may result in a |
|||
smoother or less laggy experience |
|||
--]] |
|||
SyncRates = |
|||
{ |
|||
-- Default value (in milliseconds): 75 |
|||
Vehicle = 75, |
|||
-- Default value (in milliseconds): 120 |
|||
OnFoot = 120, |
|||
-- Default value (in milliseconds): 1000 |
|||
Passenger = 1000, |
|||
-- Default value (in milliseconds): 250 |
|||
MountedGun = 250, |
|||
-- Default value (in milliseconds): 350 |
|||
StuntPosition = 350 |
|||
} |
|||
|
|||
--[[ |
|||
STREAMER OPTIONS |
|||
|
|||
Streamer-related options. The streamer is responsible for controlling the |
|||
visibility of objects (including players and vehicles) for other players. |
|||
|
|||
What this means is that if you want to extend the distance at which objects |
|||
remain visible for players, you need to change the StreamDistance. |
|||
--]] |
|||
Streamer = |
|||
{ |
|||
-- The default distance before objects are streamed out. |
|||
-- Default value (in metres): 500 |
|||
StreamDistance = 500 |
|||
} |
|||
|
|||
--[[ |
|||
VEHICLE OPTIONS |
|||
|
|||
Vehicle-related options. |
|||
--]] |
|||
Vehicle = |
|||
{ |
|||
-- The number of seconds required for a vehicle to respawn after |
|||
-- vehicle death. |
|||
-- Default value (in seconds): 10 |
|||
-- For instant respawn: 0 |
|||
-- For no respawning: nil |
|||
DeathRespawnTime = 10, |
|||
-- Controls whether to remove the vehicle if respawning is turned off, |
|||
-- and the vehicle dies. |
|||
-- Default value: false |
|||
DeathRemove = false, |
|||
|
|||
-- The number of seconds required for a vehicle to respawn after it is |
|||
-- left unoccupied. |
|||
-- Default value (in seconds): 45 |
|||
-- For instant respawn: 0 |
|||
-- For no respawning: nil |
|||
UnoccupiedRespawnTime = 45, |
|||
-- Controls whether to remove the vehicle if respawning is turned off, |
|||
-- and the vehicle is left unoccupied. |
|||
-- Default value: false |
|||
UnoccupiedRemove = false, |
|||
} |
|||
|
|||
--[[ |
|||
PLAYER OPTIONS |
|||
|
|||
Player-related options. |
|||
--]] |
|||
Player = |
|||
{ |
|||
-- The default spawn position for players. If you do not use a script |
|||
-- to handle spawns, such as the freeroam script, then this spawn position |
|||
-- will be used. |
|||
-- Default value: Vector3( -6550, 209, -3290 ) |
|||
SpawnPosition = Vector3( -6550, 209, -3290 ) |
|||
} |
|||
|
|||
--[[ |
|||
MODULE OPTIONS |
|||
|
|||
Lua module-related options. |
|||
--]] |
|||
Module = |
|||
{ |
|||
--[[ |
|||
To prevent a large number of errors building up, modules are automatically |
|||
unloaded after a certain number of errors in a given timespan. Each error |
|||
adds to a counter, which is decremented if there has not been an error |
|||
in a certain amount of time. |
|||
|
|||
This allows you to adjust the number of errors before the module is unloaded, |
|||
as well as the time since the last error for the counter to be decremented. |
|||
--]] |
|||
|
|||
-- The maximum number of errors before a module is unloaded. |
|||
-- Default value: 5 |
|||
MaxErrorCount = 5, |
|||
-- The time from the last error necessary for the error counter to be decremented. |
|||
-- Default value (in milliseconds): 500 |
|||
ErrorDecrementTime = 500 |
|||
} |
|||
|
|||
--[[ |
|||
WORLD OPTIONS |
|||
|
|||
Default settings for worlds. |
|||
--]] |
|||
World = |
|||
{ |
|||
-- The default time of day at world creation. |
|||
-- Default value (in hours): 0.0 |
|||
Time = 0.0, |
|||
|
|||
-- The increment added to the time of day each second. |
|||
-- Default value (in minutes): 1 |
|||
TimeStep = 1, |
|||
|
|||
-- The default weather severity at world creation. |
|||
-- Default value: 0 |
|||
WeatherSeverity = 0 |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,40 @@ |
|||
#Minecraft server properties (LGSM 210516) |
|||
#Sat Aug 20 17:30:15 CEST 2016 |
|||
allow-flight=false |
|||
allow-nether=true |
|||
announce-player-achievements=true |
|||
difficulty=1 |
|||
enable-command-block=false |
|||
enable-query=false |
|||
enable-rcon=false |
|||
force-gamemode=false |
|||
gamemode=0 |
|||
generate-structures=true |
|||
generator-settings= |
|||
hardcore=false |
|||
level-name=world |
|||
level-seed= |
|||
level-type=DEFAULT |
|||
max-build-height=256 |
|||
max-players=20 |
|||
max-tick-time=60000 |
|||
max-world-size=29999984 |
|||
motd=A Minecraft Server |
|||
network-compression-threshold=256 |
|||
online-mode=true |
|||
op-permission-level=4 |
|||
player-idle-timeout=0 |
|||
pvp=true |
|||
rcon.password= |
|||
rcon.port=25575 |
|||
resource-pack-sha1= |
|||
resource-pack= |
|||
server-ip= |
|||
server-port=25565 |
|||
snooper-enabled=true |
|||
spawn-animals=true |
|||
spawn-monsters=true |
|||
spawn-npcs=true |
|||
use-native-transport=true |
|||
view-distance=10 |
|||
white-list=false |
@ -0,0 +1,35 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
@ -0,0 +1,156 @@ |
|||
#!/bin/bash |
|||
# No More Room in Hell |
|||
# Server Management Script |
|||
# Author: Daniel Gibbs |
|||
# Website: https://gameservermanagers.com |
|||
if [ -f ".dev-debug" ]; then |
|||
exec 5>dev-debug.log |
|||
BASH_XTRACEFD="5" |
|||
set -x |
|||
fi |
|||
|
|||
version="210516" |
|||
|
|||
#### Variables #### |
|||
|
|||
# Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Email |
|||
emailalert="off" |
|||
email="[email protected]" |
|||
|
|||
# Pushbullet |
|||
# https://www.pushbullet.com/#settings |
|||
pushbulletalert="off" |
|||
pushbullettoken="accesstoken" |
|||
|
|||
# Steam login |
|||
steamuser="anonymous" |
|||
steampass="" |
|||
|
|||
# Start Variables |
|||
defaultmap="bt_island" |
|||
maxplayers="24" |
|||
port="27015" |
|||
sourcetvport="27020" |
|||
clientport="27005" |
|||
ip="0.0.0.0" |
|||
updateonstart="off" |
|||
|
|||
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server |
|||
fn_parms(){ |
|||
parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|||
} |
|||
|
|||
#### Advanced Variables #### |
|||
|
|||
# Github Branch Select |
|||
# Allows for the use of different function files |
|||
# from a different repo and/or branch. |
|||
githubuser="GameServerManagers" |
|||
githubrepo="LinuxGSM" |
|||
githubbranch="master" |
|||
|
|||
# Steam |
|||
appid="17575" |
|||
|
|||
# Server Details |
|||
servicename="pvkii-server" |
|||
gamename="Pirates, Vikings, and Knights II" |
|||
engine="source" |
|||
|
|||
# Directories |
|||
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" |
|||
selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
|||
lockselfname=".${servicename}.lock" |
|||
lgsmdir="${rootdir}/lgsm" |
|||
functionsdir="${lgsmdir}/functions" |
|||
libdir="${lgsmdir}/lib" |
|||
filesdir="${rootdir}/serverfiles" |
|||
systemdir="${filesdir}/pvkii" |
|||
executabledir="${filesdir}" |
|||
executable="./srcds_run" |
|||
servercfg="${servicename}.cfg" |
|||
servercfgdir="${systemdir}/cfg" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
servercfgdefault="${servercfgdir}/lgsm-default.cfg" |
|||
backupdir="${rootdir}/backups" |
|||
|
|||
# Logging |
|||
logdays="7" |
|||
gamelogdir="${systemdir}/logs" |
|||
scriptlogdir="${rootdir}/log/script" |
|||
consolelogdir="${rootdir}/log/console" |
|||
consolelogging="on" |
|||
|
|||
scriptlog="${scriptlogdir}/${servicename}-script.log" |
|||
consolelog="${consolelogdir}/${servicename}-console.log" |
|||
emaillog="${scriptlogdir}/${servicename}-email.log" |
|||
|
|||
scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log" |
|||
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%H-%M-%S').log" |
|||
|
|||
##### Script ##### |
|||
# Do not edit |
|||
|
|||
# Fetches core_dl for file downloads |
|||
fn_fetch_core_dl(){ |
|||
github_file_url_dir="lgsm/functions" |
|||
github_file_url_name="${functionfile}" |
|||
filedir="${functionsdir}" |
|||
filename="${github_file_url_name}" |
|||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${github_file_url_name}" |
|||
# If the file is missing, then download |
|||
if [ ! -f "${filedir}/${filename}" ]; then |
|||
if [ ! -d "${filedir}" ]; then |
|||
mkdir -p "${filedir}" |
|||
fi |
|||
echo -e " fetching ${filename}...\c" |
|||
# Check curl exists and use available path |
|||
curlpaths="$(command -v curl 2>/dev/null) $(which curl >/dev/null 2>&1) /usr/bin/curl /bin/curl /usr/sbin/curl /sbin/curl)" |
|||
for curlcmd in ${curlpaths} |
|||
do |
|||
if [ -x "${curlcmd}" ]; then |
|||
break |
|||
fi |
|||
done |
|||
# If curl exists download file |
|||
if [ "$(basename ${curlcmd})" == "curl" ]; then |
|||
curlfetch=$(${curlcmd} -s --fail -o "${filedir}/${filename}" "${githuburl}" 2>&1) |
|||
if [ $? -ne 0 ]; then |
|||
echo -e "\e[0;31mFAIL\e[0m\n" |
|||
echo "${curlfetch}" |
|||
echo -e "${githuburl}\n" |
|||
exit 1 |
|||
else |
|||
echo -e "\e[0;32mOK\e[0m" |
|||
fi |
|||
else |
|||
echo -e "\e[0;31mFAIL\e[0m\n" |
|||
echo "Curl is not installed!" |
|||
echo -e "" |
|||
exit 1 |
|||
fi |
|||
chmod +x "${filedir}/${filename}" |
|||
fi |
|||
source "${filedir}/${filename}" |
|||
} |
|||
|
|||
core_dl.sh(){ |
|||
# Functions are defined in core_functions.sh. |
|||
functionfile="${FUNCNAME}" |
|||
fn_fetch_core_dl |
|||
} |
|||
|
|||
core_functions.sh(){ |
|||
# Functions are defined in core_functions.sh. |
|||
functionfile="${FUNCNAME}" |
|||
fn_fetch_core_dl |
|||
} |
|||
|
|||
core_dl.sh |
|||
core_functions.sh |
|||
|
|||
getopt=$1 |
|||
core_getopt.sh |
@ -0,0 +1,66 @@ |
|||
nightlengthmodifier=1.0 |
|||
PVP=true |
|||
PauseEmpty=false |
|||
GlobalChat=true |
|||
Open=true |
|||
ServerWelcomeMessage= <RGB:1,0,0> Welcome to Project Zomboid MP ! to chat locally press "t", to global chat press "y" or add "/all" before chatting <LINE> Press /help to have a list of server commands <LINE> <RGB:1,1,1> |
|||
LogLocalChat=false |
|||
AutoCreateUserInWhiteList=false |
|||
DisplayUserName=true |
|||
SpawnPoint=0,0,0 |
|||
SafetySystem=true |
|||
ShowSafety=true |
|||
SafetyToggleTimer=100 |
|||
SafetyCooldownTimer=120 |
|||
SpawnItems= |
|||
DefaultPort=16261 |
|||
Mods= |
|||
Map=Muldraugh, KY |
|||
DoLuaChecksum=true |
|||
Public=false |
|||
PublicName=pzserver |
|||
PublicDescription= |
|||
MaxPlayers=64 |
|||
PingFrequency=10 |
|||
PingLimit=400 |
|||
HoursForLootRespawn=0 |
|||
MaxItemsForLootRespawn=4 |
|||
ConstructionPreventsLootRespawn=true |
|||
DropOffWhiteListAfterDeath=false |
|||
NoFireSpread=false |
|||
NoFire=false |
|||
AnnounceDeath=false |
|||
MinutesPerPage=1.0 |
|||
HoursForCorpseRemoval=0.0 |
|||
SaveWorldEveryMinutes=0 |
|||
PlayerSafehouse=false |
|||
AdminSafehouse=false |
|||
SafehouseAllowTrepass=true |
|||
SafehouseAllowFire=true |
|||
SafehouseAllowLoot=true |
|||
SafehouseAllowRespawn=false |
|||
SafehouseDaySurvivedToClaim=0 |
|||
SafeHouseRemovalTime=144 |
|||
AllowDestructionBySledgehammer=true |
|||
KickFastPlayers=false |
|||
RCONPort=27015 |
|||
RCONPassword= |
|||
Password= |
|||
MaxAccountsPerUser=0 |
|||
SleepAllowed=false |
|||
SleepNeeded=false |
|||
SteamPort1=8766 |
|||
SteamPort2=8767 |
|||
WorkshopItems= |
|||
SteamScoreboard=true |
|||
SteamVAC=true |
|||
UPnP=true |
|||
UPnPLeaseTime=86400 |
|||
UPnPZeroLeaseTimeFallback=true |
|||
UPnPForce=true |
|||
CoopServerLaunchTimeout=20 |
|||
CoopMasterPingTimeout=60 |
|||
server_browser_announced_ip= |
|||
UseTCPForMapDownloads=false |
|||
PlayerRespawnWithSelf=false |
|||
PlayerRespawnWithOther=false |
@ -0,0 +1,103 @@ |
|||
// Servers have the ability to run multiple gametypes, known as "factories." You should not add gameplay related |
|||
// cvars in the server config: they may get overwritten by the factory. For creating your own sets of gameplay rules, |
|||
// create a file ending in ".factories" inside baseq3/scripts, and refer to "Creating custom gametypes" in the |
|||
// server_readme.txt file. |
|||
|
|||
// Be aware that factories can override any cvar, including ones specified in this config file. |
|||
|
|||
set sv_hostname "<hostname>" |
|||
set sv_tags "" // Comma delimited field of server tags to show in server browser. |
|||
// Will automatically include gametype and some gameplay modifications. |
|||
// ex. "crouch slide, classic, space" |
|||
set sv_mapPoolFile "mappool.txt" // Map pool that the server will use. See default mapcycle.txt for format. |
|||
// Built in map pools: mappool.txt, mappool_ca.txt, mappool_ctf.txt, mappool_duel.txt, |
|||
// mappool_ffa.txt, mappool_race.txt, mappool_tdm.txt |
|||
set g_accessFile "access.txt" // Used to determine which 64-bit Steam IDs have admin access, or are banned. |
|||
|
|||
set sv_maxClients "16" // How many players can connect at once. |
|||
set g_password "" // Set a server-wide password, and stop all users from connecting without it. |
|||
set sv_privateClients "0" // Reserve slots that can be used with sv_privatePassword. |
|||
set sv_privatePassword "" // Password to use in conjunction with sv_privateClients. |
|||
set com_hunkMegs "60" // May need to be increased for additional players. |
|||
|
|||
// Flood protection will increment everytime the user sends a client command, ex. dropweapon, changing name, color |
|||
// model, or chatting. Set g_floodprot_maxcount to 0 to disable completely, but this will allow uncontrolled spam. |
|||
set sv_floodprotect "10" // Kick the player when they reach x commands, decreases by 1 every second |
|||
set g_floodprot_maxcount "10" // Kick the player when their userinfo flood counter reaches this level. |
|||
set g_floodprot_decay "1000" // Decrease the userinfo flood counter by 1 this often, in milliseconds. |
|||
|
|||
// Add the below values for which callvotes should be DISABLED: |
|||
// map 1 |
|||
// map_restart 2 |
|||
// nextmap 4 |
|||
// gametype 8 (ex: "/callvote map campgrounds" will be allowed, but "/callvote map campgrounds ca" will fail) |
|||
// kick 16 |
|||
// timelimit 32 |
|||
// fraglimit 64 |
|||
// shuffle 128 |
|||
// teamsize 256 |
|||
// cointoss/random 512 |
|||
// loadouts 1024 |
|||
// end-game voting 2048 |
|||
// ammo (global) 4096 |
|||
// timers (item) 8192 |
|||
set g_voteFlags "0" |
|||
set g_allowVote "1" // Turn off all votes |
|||
set g_voteDelay "0" // Delay allowing votes for x milliseconds after map load. |
|||
set g_voteLimit "0" // Limit users to x votes per map. |
|||
set g_allowVoteMidGame "0" // Don't allow callvotes once the map has started |
|||
set g_allowSpecVote "0" // Allow spectators to call votes |
|||
|
|||
set sv_warmupReadyPercentage "0.51" // Ratio of players that must be ready before the match starts. |
|||
set g_warmupDelay "15" // Wait x seconds before allowing match to start to allow all players to connect. |
|||
set g_warmupReadyDelay "0" // Force the game to start after x seconds after someone readies up. |
|||
set g_warmupReadyDelayAction "1" // Set to 1 to force players to spectator after g_warmupReady Delay, 2 to force ready up. |
|||
|
|||
set g_inactivity "0" // Kick players who are inactive for x amount of seconds. |
|||
set g_alltalk "0" // 0: Limit voice comms to teams during match |
|||
// 1: Allow all players to talk to each other always |
|||
// 2: 1+ send back your own voice to yourself for testing |
|||
|
|||
// System settings |
|||
|
|||
// Uncomment and set below to use (server.cfg will override commandline!) |
|||
// set net_strict "1" // Quit out immediately if we can't bind the IP and port. |
|||
// set net_ip "" // Which IP to bind to. Blank will bind to all interfaces. |
|||
// set net_port "55555" // Which UDP port to bind to. Blank will start at 27960 and keep going up, if net_strict is 0. |
|||
set sv_serverType "2" // 0 = Offline, 1 = LAN, 2 = Internet |
|||
set sv_master "1" // Whether the server should respond to queries. Disable this to stop server from appearing in browser. |
|||
// (This will affect the LAN browser!) |
|||
|
|||
set sv_fps "40" // Change how many frames the server runs per second. WARNING: Has not been tested extensively, and |
|||
// will have a direct impact on CPU and network usage! |
|||
|
|||
// Exit the server if idle (not running a map) for a specified time. This will allow it to automatically restart |
|||
// in the case of a game error or other problem. A value of "1" is recommended, but not default, when you are running |
|||
// the server detached from the terminal. |
|||
|
|||
set sv_idleExit "120" |
|||
|
|||
// Enable remote console, provided through ZeroMQ. See zmq_rcon.py for simple client. |
|||
// ZMQ rcon binds on a separate port from the game server, and uses TCP. It must differ from the stats port if used. |
|||
// Rcon can not be enabled or disabled after launch, nor can the IP and port change. Password can, however. |
|||
|
|||
// Uncomment and set below to use (server.cfg will override commandline!) |
|||
set zmq_rcon_enable "1" |
|||
// set zmq_rcon_ip "" |
|||
// set zmq_rcon_port "28960" |
|||
set zmq_rcon_password "<rconpassword>" |
|||
|
|||
// Enable ZeroMQ stats socket. This will not be much use without a client listening. |
|||
// See zmq_stats_verbose.py for example connect and stats printing. |
|||
// If not specified, the stats socket will default to the same IP and port as the game server, but on TCP. |
|||
|
|||
// Uncomment and set below to use (server.cfg will override commandline!) |
|||
// set zmq_stats_enable "1" |
|||
// set zmq_stats_ip "" |
|||
// set zmq_stats_port "" |
|||
// set zmq_stats_password "" |
|||
|
|||
// The server will run serverstartup when it finishes initializing, so start a random map from the map pool. |
|||
set serverstartup "startRandomMap" |
|||
// Or, start a map of your choosing (factory is required) |
|||
// set serverstartup "map campgrounds ffa" |
@ -0,0 +1,35 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
@ -0,0 +1,48 @@ |
|||
# This file does not include all possible commands but it includes the most common/useful ones. |
|||
# If you want to see all possible comands, in the server console type: find . |
|||
|
|||
# Before some variables are a # symbol. This means it is disabled. Remove the # symbol to enable them. |
|||
|
|||
######################################### |
|||
# Important Settings You Need To Change # |
|||
######################################### |
|||
|
|||
# A text description of your server. For a new line add: \n |
|||
server.description "LGSM Server\nRust support : UltimateByte" |
|||
|
|||
# A URL to the image which shows up on the server details screen (dimensions are 512x256). |
|||
server.headerimage "https://github.com/GameServerManagers/LinuxGSM/raw/master/images/logo/lgsm-full-light.png" |
|||
|
|||
# The URL to your servers website. |
|||
server.url "https://gameservermanagers.com/" |
|||
|
|||
#################################### |
|||
# Optional Settings You Can Change # |
|||
#################################### |
|||
|
|||
# A value of false makes text chat location based only (players need to be close to each other). |
|||
# Values: true, false |
|||
#server.globalchat true |
|||
|
|||
# Controls if player vs player damage is allowed. If your server is primarily for building, you'll want to set this to false |
|||
# Values: true, false |
|||
#server.pve false |
|||
|
|||
# Controls fall damage. |
|||
# Values: true, false |
|||
#falldamage.enabled true |
|||
|
|||
# Helicopter bullet accuracy. Higher numbers are less accurate. |
|||
#heli.bulletAccuracy 2 |
|||
|
|||
################################################ |
|||
# Settings That Will Lag Server Is Set Too Low # |
|||
################################################ |
|||
|
|||
# Changes how often resources respawn. |
|||
#spawn.min_rate 0.1 |
|||
#spawn.max_rate 1 |
|||
|
|||
# Changes how close resources spawn to each other. |
|||
#spawn.min_density 0.1 |
|||
#spawn.max_density 1 |
@ -0,0 +1,139 @@ |
|||
Serious Engine Dedicated Server |
|||
=============================== |
|||
|
|||
1. Starting and stopping the dedicated server |
|||
--------------------------------------------- |
|||
|
|||
You can launch the dedicated server either from the Steam client's Tools tab, or by directly starting its executable file. In either case, a Steam client needs to be running on that machine, though the user logged in doesn't have to actually own the game. |
|||
|
|||
In absence of any further configuration, the server will start the first level of the Coop campaign, with all default settings, on the default port. |
|||
|
|||
The server will pause immediately after the first level is loaded, and wait for players to join, to conserve the game state. When the first player joins, the game will unpause. |
|||
|
|||
When all players disconnect, the server will restart its session from the first level again. |
|||
|
|||
To stop the server, press Ctrl+C in its console window and wait until it shuts down. |
|||
|
|||
2. Server ports |
|||
--------------- |
|||
|
|||
The server will be immediately visible on your LAN, but to make sure it is also visible on the internet, you need to open the port 27016. Note that this is only game enumeration port, as the game traffic port cannot be specified at the moment, thus this will not alleviate the need for NAT punching. I.e. it is not recommended to run a dedicated server behind a NAT/router that doesn't properly support NAT punching, or otherwise all connections to it will have very high pings. We expect the game traffic port to be specifiable in one of the future updates, but it is not currently possible. |
|||
|
|||
If you want to allow remote administration (see the section about remote administration below), you need to also forward port 27015 (TCP-only). |
|||
|
|||
You can change the port that the server is running on using the command-line option "+port". The server will use the given port for Rcon administration and the given port +1 for game enumeration (see above). So, e.g. if you use "+port 25600", game enumeration will work on port 25601 and rcon on port 25600. When game traffic specification becomes possible, it will be on port 25600 in the example, but this is currently not supported. |
|||
|
|||
You can change the network interface that the server will bind to using the command-line option "+ip". This is used both fr Rcon administration and for game enumeration. When game traffic specification becomes possible, it will also use this, but this is currently not supported (game traffic chooses an interface automatically). |
|||
|
|||
3. Command line |
|||
--------------- |
|||
|
|||
Command line options can be used to modify any cvar using this format: |
|||
|
|||
SamHD_DedicatedServer.exe +cvarname1 cvarvalue1 +cvarname2 cvarvalue2 ... +cvarnameN cvarvalueN |
|||
|
|||
Quotes are needed around values that contain spaces. Cvar names in the command line can be either short names (e.g. +level "Path/Level") where available, or long names (+gam_strLevel "Path/Level"). |
|||
|
|||
4. Configuration scripts |
|||
------------------------ |
|||
|
|||
When starting, in addition to the command line option, the server will read configuration parameters from the following sources (in this order): |
|||
* Content/SeriousSamHD/Config/dedicatedserver.cfg, |
|||
* eventual custom script specified via the +exec command line option, |
|||
* eventual per-session script specified via the +gameoptions command line option. |
|||
The first two are read once on boot, the last one is read on each session start and restart. (When all player's disconnect, the server will load this again before starting the first level.) |
|||
|
|||
All of those scripts are fully-featured console scripts, i.e. they use the Lua programming language, so you can put ifs, functions and other programming constructs in them. For a full syntax description and other documentation regarding the Lua programming language, please visit: http://www.lua.org . |
|||
|
|||
Dedicated server does not load or save any .ini files. |
|||
|
|||
5. Most relevant command line options and cvars |
|||
----------------------------------------------- |
|||
(long name shown in parentheses) |
|||
* +gamemode (gam_idGameMode) - Valid values are: |
|||
(cooperative group) |
|||
Cooperative (this is the default) |
|||
CooperativeCoinOp |
|||
TeamSurvival |
|||
(versus group) |
|||
BeastHunt |
|||
CaptureTheFlag |
|||
Deathmatch |
|||
InstantKill |
|||
LastManStanding |
|||
LastTeamStanding |
|||
MyBurden |
|||
TeamBeastHunt |
|||
TeamDeathmatch |
|||
Note that players can vote to change the game mode, but they cannot switch a server from Cooperative modes to Versus modes or vice versa. |
|||
IMPORTANT: Changing this option resets all other gam_ options to defaults for that game mode. If you are also customizing other gam_ options from a script or via Rcon, make sure you change gam_idGameMode first, and then change all others! |
|||
* +level (gam_strLevel) - Specifies which level to start. Path is relative to the folder the game was installed in. If not specified, the server will start the default first level. |
|||
* +maxplayers (gam_ctMaxPlayers) - Max number of players in the session. Cannot be higher than 16. |
|||
* +port (prj_uwPort) - Specifies the port number to start the server on. Default is 27015. |
|||
* +ip (net_strLocalHost) - Specifies the network interface to start the server on. Default is empty, meaning automatic. |
|||
* +fps (prj_iDedicatedFPS) - Specifies the framerate the dedicated server will run in (min 10). |
|||
* +exec (prj_strExecCfg) - Specifies the configuration file to execute when the server first starts. |
|||
* +gameoptions (prj_strOptionsScript) - Specifies the game options script to execute. It is executed whenever the server (re)starts the first level. |
|||
* +sessionname (prj_strMultiplayerSessionName) - Session name that will be displayed in the server browser. If you don't set this, current username from Windows will be shown. |
|||
* +rconpass (rcts_strAdminPassword) - Password used to connect to the server via Rcon (see "Remote administration" above). |
|||
* +logfile (prj_strLogFile) - Save the DedicatedServer.log into a different file. Useful if you want to run multiple servers from the same installation. |
|||
|
|||
NOTE: You can use any of the standard game options like gam_bInifiniteAmmo that customize the gameplay, but note that gam_bCustomizeDifficulty is required for them to take effect! |
|||
|
|||
6. Some other useful console variables and functions |
|||
---------------------------------------------------- |
|||
|
|||
* gamListPlayers() - print the list of all players to the console in format: 'playerindex: playername' |
|||
* gamKickByName() - kick the client with the given player name out of the game |
|||
* gamKickByIndex() - kick the client with the given index out of the game |
|||
* gamBanByName() - ban the client with the given player name out of the game |
|||
* gamBanByIndex() - ban the client with the given index out of the game |
|||
|
|||
* gamRestartServer() - restarts the dedicated server (disconnects all players) so any changes to game settings or other server options can take effect |
|||
* gamRestartGame() - restart game with new session params without disconnecting players |
|||
* samRestartMap() - restart the current map (without disconnecting all players) so any changes to game difficulty and similar options can take effect |
|||
* gamStop() - stops the current game |
|||
* gamStart() - start game with new session params without disconnecting players |
|||
* samVotePass() - force the current vote to pass |
|||
* samVoteFail() - force the current vote to fail |
|||
|
|||
* ser_iMaxClientBPS - limit the bandwidth used by each individual client on the server. This caps the cli_iMaxBPS on the server side. |
|||
* prj_strMapList - Semicolon separated list of maps used for multiplayer map rotation. |
|||
* prj_strMapListFile - Path to the file containing a list of maps used for multiplayer map rotation. |
|||
* prj_strDefaultMapDir - Default map folder to use for the map list (specified either by prj_strMapList or prj_strMapListFile). To make it posible to specify map names in a short form, if a '#' prefix is used in a map path, the '#' char will be replaced by the value of this cvar. |
|||
|
|||
All other cvars and cfuncs can be used, most notable are cvars with "gam_" prefix which can be used to setup difficulty options and similar. To get the list of those or more details about them, use the game client's console with its autocompletion and help. |
|||
|
|||
7. Remote administration (RCon) |
|||
------------------------------- |
|||
|
|||
Remote administration of Serious Sam HD dedicated servers is implemented via the Telnet protocol. Use any telnet client (e.g. telnet.exe) to connect to the IP and port the server is running on (default is 27015). |
|||
|
|||
Example: |
|||
C:\> telnet my.server.ip 27015 |
|||
|
|||
(*) NOTE: On Vista and Win7, the telnet command is not installed by default. You need to enable it using the "Turn Windows features on or off" section of the Control Panel. |
|||
|
|||
You need to specify the rcon password (using the +rconpass "password" command-line option) when starting the server, otherwise it won't allow you to connect to it via Rcon. Also make sure the appropriate port is open, as explained above. |
|||
|
|||
After entering the correct rcon password, the telnet client will behave similarly to the in-game console (except that SHIFT+TAB combo doesn't work). Additionally you can type a question mark ("?"), followed by a cvar or cfunc to get the help about it. |
|||
|
|||
8. Example configuration script |
|||
------------------------------- |
|||
|
|||
Here's an example config script. Put that in a text file named "server.cfg" in the root of the game installation (parent of Bin/), and specify "+exec server.cfg" in the command line (without quotes). |
|||
|
|||
--------8<----- cut here ----------- |
|||
|
|||
rconpass = "SuperSecretPassword"; -- MAKE SURE YOU CHANGE THIS!!!! |
|||
sessionname = "My Server Name" -- set this to the name of your server |
|||
|
|||
gam_ctMaxPlayers = 8 |
|||
gamemode="Deathmatch" |
|||
gam_bAutoCycleMaps = 1 |
|||
|
|||
local prj_strMapList = { |
|||
"#SunPalace.wld", -- put a list of map file names for rotation here |
|||
} |
|||
|
|||
--------8<------cut here ---------- |
@ -0,0 +1,49 @@ |
|||
-- Generated with Server GUI 3 |
|||
-- http://mrag.nl/sgui3/ |
|||
|
|||
-- General |
|||
rcts_strWelcomeNote = "Server RCON MOTD"; |
|||
rcts_strAdminPassword = "rconpassword"; |
|||
prj_strLogFile = ""; |
|||
net_strLocalHost = ""; |
|||
gam_idGameMode = "Cooperative"; |
|||
ser_iMaxClientBPS = 11000; |
|||
prj_iDedicatedFPS = 100; |
|||
gam_ctMaxPlayers = 12; |
|||
prj_uwPort = 27015; |
|||
prj_strMultiplayerSessionName = "Serious Sam 3 Server"; |
|||
|
|||
-- Options |
|||
gam_bAllowJoinInProgress = 1; |
|||
gam_bAllowPowerupItems = 1; |
|||
gam_bAllowArmorItems = 1; |
|||
gam_bWeaponsStay = 1; |
|||
gam_bAmmoStays = 1; |
|||
gam_bArmorStays = 1; |
|||
gam_bHealthStays = 1; |
|||
gam_bAllowHealthItems = 1; |
|||
gam_bInfiniteAmmo = 0; |
|||
|
|||
-- Levels |
|||
local mapList = ""; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\01_CairoSquare\01_CairoSquare.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\02_CairoMuseum\02_CairoMuseum.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\03_IbnTulun\03_IbnTulun.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\04_IbnTulun\04_Medina.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\05_CairoTown\05_CairoTown.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\06_Pyramids\06_Pyramids.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\07_Karnak1\07_Karnak1.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\08_Karnak2\08_Karnak2.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\09_Luxor\09_Luxor.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\10_LostNubianTemples\10_LostNubianTemples.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\11_Ramesseum\11_Ramesseum.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\01_BFE\12_HatshepsutTemple\12_HatshepsutTemple.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\01_Philae\01_Philae.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\02_AbuSimbel\02_AbuSimbel.wld;"; |
|||
mapList = mapList .. "Content\SeriousSam3\Levels\02_DLC\03_TempleOfSethirkopshef\03_TempleOfSethirkopshef.wld;"; |
|||
prj_StrMapList = mapList; |
|||
|
|||
-- Scripts |
|||
|
|||
-- Custom |
|||
|
@ -0,0 +1,49 @@ |
|||
{ |
|||
"allowAdminCommands" : true, |
|||
"allowAdminCommandsFromAnyone" : false, |
|||
"allowAnonymousConnections" : true, |
|||
"allowAssetsMismatch" : true, |
|||
"anonymousConnectionsAreAdmin" : false, |
|||
"bannedIPs" : [], |
|||
"bannedUuids" : [], |
|||
"checkAssetsDigest" : false, |
|||
"clearPlayerFiles" : false, |
|||
"clearUniverseFiles" : false, |
|||
"clientIPJoinable" : false, |
|||
"clientP2PJoinable" : true, |
|||
"configurationVersion" : { |
|||
"basic" : 1, |
|||
"server" : 4 |
|||
}, |
|||
"crafting" : { |
|||
"filterHaveMaterials" : false |
|||
}, |
|||
"gameServerBind" : "::", |
|||
"gameServerPort" : 21025, |
|||
"interactiveHighlight" : true, |
|||
"inventory" : { |
|||
"pickupToActionBar" : true |
|||
}, |
|||
"maxPlayers" : 8, |
|||
"maxTeamSize" : 4, |
|||
"playerBackupFileCount" : 3, |
|||
"queryServerBind" : "::", |
|||
"queryServerPort" : 21025, |
|||
"rconServerBind" : "::", |
|||
"rconServerPassword" : "<rconpassword>", |
|||
"rconServerPort" : 21026, |
|||
"rconServerTimeout" : 1000, |
|||
"runQueryServer" : false, |
|||
"runRconServer" : false, |
|||
"safeScripts" : true, |
|||
"scriptInstructionLimit" : 10000000, |
|||
"scriptInstructionMeasureInterval" : 10000, |
|||
"scriptProfilingEnabled" : false, |
|||
"scriptRecursionLimit" : 100, |
|||
"serverFidelity" : "automatic", |
|||
"serverName" : "<hostname>", |
|||
"serverOverrideAssetsDigest" : null, |
|||
"serverUsers" : { |
|||
}, |
|||
"tutorialMessages" : true |
|||
} |
@ -0,0 +1,36 @@ |
|||
//---------------------------------------------- |
|||
// Sven Co-op v5.0 Default Server CFG |
|||
//---------------------------------------------- |
|||
|
|||
//---------------------------------------------- |
|||
// See server_example.cfg for more available |
|||
// commands and settings. |
|||
//---------------------------------------------- |
|||
|
|||
hostname "<hostname>" |
|||
log "on" |
|||
|
|||
rcon_password "<rconpassword>" |
|||
//sv_password "" |
|||
|
|||
sys_ticrate 100 |
|||
deathmatch 1 |
|||
decalfrequency 30 |
|||
hpk_maxsize 2 |
|||
pausable 0 |
|||
|
|||
sv_aim 0 |
|||
sv_allowdownload 1 |
|||
sv_allowupload 1 |
|||
sv_region 255 |
|||
sv_send_resources 1 |
|||
sv_voicecodec "voice_speex" |
|||
sv_voiceenable 1 |
|||
sv_voicequality 5 |
|||
|
|||
mp_telefrag 1 |
|||
mp_timelimit 99 |
|||
mp_weaponstay 1 |
|||
|
|||
exec banned.cfg |
|||
exec listip.cfg |
@ -0,0 +1,15 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
@ -0,0 +1,38 @@ |
|||
// Server Name |
|||
hostname "<hostname>" |
|||
|
|||
// RCON Password |
|||
rcon_password "<rconpassword>" |
|||
|
|||
// Server Password |
|||
sv_password "" |
|||
|
|||
// Server Logging |
|||
log on |
|||
sv_logbans 1 |
|||
sv_logecho 1 |
|||
sv_logfile 1 |
|||
sv_log_onefile 0 |
|||
|
|||
// disable autoaim |
|||
sv_aim 0 |
|||
|
|||
// disable clients' ability to pause the server |
|||
pausable 0 |
|||
|
|||
// maximum client movement speed |
|||
sv_maxspeed 320 |
|||
|
|||
// 20 minute timelimit |
|||
mp_timelimit 20 |
|||
|
|||
// cheats off |
|||
sv_cheats 0 |
|||
|
|||
// load ban files |
|||
exec listip.cfg |
|||
exec banned.cfg |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,20 @@ |
|||
machine_id= |
|||
default_voice_port=9987 |
|||
voice_ip=0.0.0.0, :: |
|||
licensepath= |
|||
filetransfer_port=30033 |
|||
filetransfer_ip=0.0.0.0, :: |
|||
query_port=10011 |
|||
query_ip=0.0.0.0, :: |
|||
query_ip_whitelist=query_ip_whitelist.txt |
|||
query_ip_blacklist=query_ip_blacklist.txt |
|||
dbplugin=ts3db_sqlite3 |
|||
dbpluginparameter= |
|||
dbsqlpath=sql/ |
|||
dbsqlcreatepath=create_sqlite/ |
|||
dbconnections=10 |
|||
logpath=logs |
|||
logquerycommands=0 |
|||
dbclientkeepdays=30 |
|||
logappend=0 |
|||
query_skipbruteforcecheck=0 |
@ -0,0 +1,68 @@ |
|||
#this is an example config file for TerrariaServer.exe |
|||
#use the command 'TerrariaServer.exe -config serverconfig.txt' to use this configuration or run start-server.bat |
|||
#please report crashes by emailing crashlog.txt to [email protected] |
|||
|
|||
#the following is a list of available command line parameters: |
|||
|
|||
#-config <config file> Specifies the configuration file to use. |
|||
#-port <port number> Specifies the port to listen on. |
|||
#-players <number> / -maxplayers <number> Sets the max number of players |
|||
#-pass <password> / -password <password> Sets the server password |
|||
#-world <world file> Load a world and automatically start the server. |
|||
#-autocreate <#> Creates a world if none is found in the path specified by -world. World size is specified by: 1(small), 2(medium), and 3(large). |
|||
#-banlist <path> Specifies the location of the banlist. Defaults to "banlist.txt" in the working directory. |
|||
#-worldname <world name> Sets the name of the world when using -autocreate. |
|||
#-secure Adds addition cheat protection to the server. |
|||
#-noupnp Disables automatic port forwarding |
|||
#-steam Enables Steam Support |
|||
#-lobby <friends> or <private> Allows friends to join the server or sets it to private if Steam is enabled |
|||
#-ip <ip address> Sets the IP address for the server to listen on |
|||
#-forcepriority <priority> Sets the process priority for this task. If this is used the "priority" setting below will be ignored. |
|||
|
|||
#remove the # in front of commands to enable them. |
|||
|
|||
#Load a world and automatically start the server. |
|||
world=~/.local/share/Terraria/Worlds/world1.wld |
|||
|
|||
#Creates a new world if none is found. World size is specified by: 1(small), 2(medium), and 3(large). |
|||
autocreate=1 |
|||
|
|||
#Sets the name of the world when using autocreate |
|||
worldname=Terraria |
|||
|
|||
#Sets the difficulty of the world when using autocreate 0(normal), 1(expert) |
|||
difficulty=0 |
|||
|
|||
#Sets the max number of players allowed on a server. Value must be between 1 and 255 |
|||
maxplayers=8 |
|||
|
|||
#Set the port number |
|||
port=7777 |
|||
|
|||
#Set the server password |
|||
password=p@55w0rd |
|||
|
|||
#Set the message of the day |
|||
motd=Please don’t cut the purple trees! |
|||
|
|||
#Sets the folder where world files will be stored |
|||
worldpath=~/.local/share/Terraria/Worlds/ |
|||
|
|||
#The location of the banlist. Defaults to "banlist.txt" in the working directory. |
|||
banlist=banlist.txt |
|||
|
|||
#Adds addition cheat protection. |
|||
secure=1 |
|||
|
|||
#Sets the server language 1:English, 2:German, 3:Italian, 4:French, 5:Spanish |
|||
lang=1 |
|||
|
|||
#Automatically forward ports with uPNP |
|||
#upnp=1 |
|||
|
|||
#Reduces enemy skipping but increases bandwidth usage. The lower the number the less skipping will happen, but more data is sent. 0 is off. |
|||
#npcstream=60 |
|||
|
|||
#Default system priority 0:Realtime, 1:High, 2:AboveNormal, 3:Normal, 4:BelowNormal, 5:Idle |
|||
#priority=1 |
|||
|
@ -0,0 +1,3 @@ |
|||
[/Script/UnrealTournament.UTGameEngine] |
|||
bFirstRun=False |
|||
RconPassword="<rconpassword>" |
@ -0,0 +1,4 @@ |
|||
[/Script/UnrealTournament.UTGameState] |
|||
ServerName="<hostname>" |
|||
ServerMOTD=<UT.Font.NormalText.Huge>WELCOME</>\n\n<UT.Font.NormalText.Medium>Headshots for everyone.</> |
|||
ServerDescription=This is my server, have fun |
Loading…
Reference in new issue