Add The Front (#488)

This commit is contained in:
Greelan 2023-10-29 19:01:42 +11:00 committed by GitHub
parent d7ee2eb1cd
commit cd5f1b3c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2065 additions and 0 deletions

101
the-front.kvp Normal file
View File

@ -0,0 +1,101 @@
Meta.DisplayName=The Front
Meta.Description=The Front Dedicated Server
Meta.OS=Windows, Linux
Meta.AarchSupport=Unknown
Meta.Arch=x86_64
Meta.Author=Greelan, IceOfWraith, JetFox
Meta.URL=https://www.playthefront.com/
Meta.DisplayImageSource=steam:2285150
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$SteamQueryPort}
Meta.ConfigManifest=the-frontconfig.json
Meta.MetaConfigManifest=the-frontmetaconfig.json
Meta.ConfigRoot=the-front.kvp
Meta.MinAMPVersion=2.4.6.6
Meta.SpecificDockerImage=
Meta.DockerRequired=False
Meta.DockerBaseReadOnly=False
Meta.ContainerPolicy=Supported
Meta.ContainerPolicyReason=
Meta.ExtraSetupStepsURI=
Meta.Prerequsites=[]
Meta.ExtraContainerPackages=[]
Meta.ConfigReleaseState=NotSpecified
Meta.NoCommercialUsage=False
Meta.ConfigVersion=0.0.0.0
Meta.ReleaseNotes=
Meta.BreakingReleaseNotes=
App.DisplayName=The Front
App.RootDir=./the-front/
App.BaseDirectory=./the-front/server/
App.SteamWorkshopDownloadLocation=
App.ExecutableWin=server\ProjectWar\Binaries\Win64\TheFrontServer.exe
App.ExecutableLinux=server/ProjectWar/Binaries/Linux/TheFrontServer
App.WorkingDir=server
App.LinuxCommandLineArgs=-stdout
App.WindowsCommandLineArgs=-stdout -FullStdOutLogOutput
App.CommandLineArgs=ProjectWar ProjectWar_Start?DedicatedServer?MaxPlayers={{$MaxUsers}}{{UseSteamSocket}} -server -game -ConfigServerName="AMP" -Port={{$GamePort}} -QueryPort={{$SteamQueryPort}} -BeaconPort={{$BeaconPort}} -ShutDownServicePort={{$ShutDownServicePort}} -OutIPAddress={{$ExternalIP}} -QueueThreshold={{$MaxUsers}} -ServerAdminAccounts={{ServerAdminAccounts}} -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -fullcrashdumpalways -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate={{GameMaxFrameRate}} -MaxQueueSize=50 -QueueValidTime=120 {{$FormattedArgs}} {{CustomServerArgs}} {{$PlatformArgs}}
App.UseLinuxIOREDIR=False
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"2285150"}
App.CommandLineParameterFormat=-{0}="{1}"
App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE
App.ExitTimeout=30
App.ExitString=stop
App.ExitFile=app_exit.lck
App.HasWriteableConsole=True
App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0
App.Ports=@IncludeJson[the-frontports.json]
App.AdminPortRef=0
App.PrimaryApplicationPortRef=GamePort
App.UniversalSleepApplicationUDPPortRef=GamePort
App.UniversalSleepSteamQueryPortRef=SteamQueryPort
App.MaxUsers=40
App.UseRandomAdminPassword=False
App.PersistRandomPassword=False
App.RemoteAdminPassword=
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.LoginTransformPrefix=
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0}
App.UpdateSources=@IncludeJson[the-frontupdates.json]
App.PreStartStages=[]
App.ForceUpdate=False
App.ForceUpdateReason=
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.MonitorChildProcess=False
App.DumpFullChildProcessTree=False
App.MonitorChildProcessWaitMs=100
App.MonitorChildProcessName=
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=
Console.AppReadyRegex=^\[[\d.]+-[\d.:]+\]\[[\d ]+\]LogLoad: \(Engine Initialization\) Total time: \d+\.\d+ seconds$
Console.UserJoinRegex=^\[[\d.]+-[\d.:]+\]\[[\d ]+\]LogPlayer: load role data success, account=STEAM:(?<userid>\d+?), guid=(?<sessionid>.+?), character guid=.*, save game=.*$
Console.UserLeaveRegex=^\[[\d.]+-[\d.:]+\]\[[\d ]+\]LogPlayer: player leave game, account=STEAM:(?<userid>\d+?), guid=(?<sessionid>.+?)$
Console.UserChatRegex=^$
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.MetricsRegex=
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=True
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5
Limits.SleepStartThresholdSeconds=25

1764
the-frontconfig.json Normal file

File diff suppressed because it is too large Load Diff

7
the-frontmetaconfig.json Normal file
View File

@ -0,0 +1,7 @@
[
{
"ConfigFile":"TheFrontManager/ServerConfig_AMP.ini",
"ConfigType":"ini",
"AutoMap":true
}
]

30
the-frontports.json Normal file
View File

@ -0,0 +1,30 @@
[
{
"Protocol":"UDP",
"Port":"5001",
"Ref":"GamePort",
"Name":"Game Port",
"Description":"Port used for main game traffic"
},
{
"Protocol":"UDP",
"Port":"27015",
"Ref":"SteamQueryPort",
"Name":"Steam Query Port",
"Description":"Port used for Steam query traffic"
},
{
"Protocol":"UDP",
"Port":"5002",
"Ref":"BeaconPort",
"Name":"Beacon Port",
"Description":"Port used for lobby beacon traffic"
},
{
"Protocol":"TCP",
"Port":"5003",
"Ref":"ShutDownServicePort",
"Name":"Shutdown Service Port",
"Description":"Port used for shutdown service"
}
]

View File

@ -0,0 +1,123 @@
[BaseServerConfig]
ServerName=AMP Powered The Front Server
ServerPassword=
QueueThreshold=40
ServerFightModeType=1
IsCanSelfDamage=0
IsCanFriendDamage=0
ClearSeverTime=
UseSteamSocket=0
Port=5001
BeaconPort=5002
ShutDownServicePort=5003
SaveWorldInterval=300
GMOverlapRatio=1
IsUnLockAllTalentAndRecipe=0
GMBagInitGirdNum=40
GreenHand=1
CharacterInitItem=
GMDeathDropMode=1
GMDeathInventoryLifeSpan=1800
CorpsePickAuthority=2
GMCanDropItem=1
GMCanDiscardItem=1
GMDiscardBoxLifeSpan=300
GMRebirthBaseCD=10
GMRebirthExtraCD=1
GMPenaltiesMaxNum=5
GMPenaltiesCD=600
ConstructEnableRot=1
GMAttackCityCdRatio=1
OpenAllHouseFlag=0
IsCanChat=1
IsShowBlood=1
SensitiveWords=1
HealthDyingState=1
UseACE=1
ServerAdminAccounts=
IsShowGmTitle=0
PlayerHotDefAddRate=1
PlayerIceDefAddRate=1
HeadNameDisplayDist_Team=200
HeadNameDisplayDist_Enemy=20
PlayerDeathAvatarItemDurableRate=0
PlayerDeatShortcutItemDurableRate=0
GMCraftTimeRate=1
PlayerAddExpRate=1
PlayerKillAddExpRate=1
PlayerFarmAddExpRate=1
PlayerCraftAddExpRate=1
MoveSpeedRate=1
JumpRate=1
PlayerLandedDamageRate=1
PlayerMaxHealthRate=1
HealthRecoverRate=1
PlayerMaxStaminaRate=1
StaminaRecoverRate=1
PlayerStaminaCostRate=1
PlayerMaxHungerRate=1
GMHungerDecRatio=1
GMBodyHungerAddRate=1
MaxBodyWaterRate=1
GMWaterDecRatio=1
GMBodyWaterAddRate=1
MaxBreathRate=1
BreathRecoverRate=1
PlayerBreathCostRate=1
GMPlayerHealthRate=1
GMFoodDragDurationRate=1
NpcRespawnRatio=1
AnimalBodyStayTime=300
HumanBodyStayTime=10
GMNPCLootableItemRatio=1
NpcSpawnLevelRatio=1
WildNPCDamageRate=1
WildNPCHealthRate=1
WildNPCSpeedRate=1
CityNPCLevelRate=1
CityNPCDamageRate=1
CityNPCHealthRate=1
CityNPCSpeedRate=1
CityNPCNumRate=1
NpcDisplayDistance=50
GMInventoryGainRate=1
GMCityATKNPCLootItemRatio=1
GMMaxHouseFlagNumber=1
GMSetGJConstructMaxNumRatio=1
GMHFTrapMaxNum=0
GMHFTurretMaxNum=0
GMConstructDefenseRatio=1
GMTrapDefenseRatio=1
GMTurretDefenseRatio=1
GMTrapDamageRatio=1
GMTurretDamageRatio=1
GMConstructMaxHealthRatio=1
GMConstructReturnHPRatio=1
GMHouseFlagRepairHealthRatio=1
GMTTC_Oil_Rate=1
GMWaterCollecter_Rate=1
GMTTC_Ore_Rate=1
GMTTC_Fish_Rate=1
CHFDamagedByPlayer=1
CHFDamagedByVehicle=1
CHFDamagedByNpc=1
GMHouseFlagExcitantTime=3
GMMaxRetrieveProductsRate=1
GMTreeGainRate=1
GMBushGainRate=1
GMOreGainRate=1
GMCropVegetableReapRatio=1
GMFleshGainRate=1
GMCropVegetableGrowRatio=1
GMMeleeNpcDamageRatio=1
GMRangedNpcDamageRatio=1
GMMeleePlayerDamageRatio=1
GMRangedPlayerDamageRatio=1
GMMeleeConstructDamageRatio=1
GMRangedConstructDamageRatio=1
GMToolDamageRate=1
GMDurabilityCostRatio=1
GMVehiclePlayerDamageRatio=1
GMVehicleConstructDamageRatio=1
GMVehicleDamageRate=1
IsCanMail=1.000000

40
the-frontupdates.json Normal file
View File

@ -0,0 +1,40 @@
[
{
"UpdateStageName":"SteamCMD Server Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"2612550",
"UpdateSourceArgs":"2285150",
"UpdateSourceTarget":"{{$FullBaseDir}}"
},
{
"UpdateStageName":"SteamCMD Component Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"1007",
"UpdateSourceTarget":"{{$FullBaseDir}}ProjectWar/Binaries/Win64",
},
{
"UpdateStageName":"SteamCMD Server Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"2334200",
"UpdateSourceArgs":"2285150",
"UpdateSourceTarget":"{{$FullBaseDir}}"
},
{
"UpdateStageName":"TheFrontManager Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}TheFrontManager"
},
{
"UpdateStageName":"Config File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/the-frontserverconfig_AMP.ini",
"UpdateSourceTarget":"{{$FullBaseDir}}TheFrontManager",
"UpdateSourceArgs":"ServerConfig_AMP.ini",
"OverwriteExistingFiles":false
}
]