Add Longvinter (#166)

This commit is contained in:
Greelan 2022-08-28 16:47:37 +10:00 committed by GitHub
parent 8d645370c2
commit 46cc6a2098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 244 additions and 0 deletions

85
longvinter.kvp Normal file
View File

@ -0,0 +1,85 @@
Meta.DisplayName=Longvinter
Meta.Description=Longvinter Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=Greelan, Tempus Thales
Meta.URL=https://longvinter.com/news
Meta.DisplayImageSource=steam:1635450
Meta.EndpointURIFormat=
Meta.ConfigManifest=longvinterconfig.json
Meta.MetaConfigManifest=longvintermetaconfig.json
Meta.ConfigRoot=longvinter.kvp
Meta.MinAMPVersion=2.3.4.3
Meta.SpecificDockerImage=
Meta.DockerRequired=False
Meta.ContainerPolicy=Recommended
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Longvinter
App.RootDir=./longvinter/
App.BaseDirectory=./longvinter/1639880/
App.ExecutableWin=1639880\Longvinter\Binaries\Win64\LongvinterServer-Win64-Shipping.exe
App.ExecutableLinux=1639880/Longvinter/Binaries/Linux/LongvinterServer-Linux-Shipping
App.WorkingDir=1639880
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} Longvinter -Port={{$GamePort}} -QueryPort={{$QueryPort}} {{$FormattedArgs}} -stdlog
App.UseLinuxIOREDIR=False
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1635450"}
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=[{"Protocol":"UDP","Port":7777,"Ref":"GamePort","Name":"Game Port","Description":"Port for game traffic"},{"Protocol":"Both","Port":27016,"Ref":"QueryPort","Name":"Query Port","Description":"Port for Steam query traffic"}]
App.AdminPortRef=RemoteAdminPort
App.PrimaryApplicationPortRef=GamePort
App.UniversalSleepApplicationUDPPortRef=GamePort
App.UniversalSleepSteamQueryPortRef=QueryPort
App.MaxUsers=32
App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Windows","UpdateSource":"SteamCMD","UpdateSourceData":"1639880"},{"UpdateStageName":"GitHub Update Script Creation","UpdateSourcePlatform":"Linux","UpdateSource":"CreateFile","UpdateSourceData":"#!/bin/bash\ncd ./longvinter/1639880/\n/usr/bin/git clone https://github.com/Uuvana-Studios/longvinter-linux-server.git ./ || /usr/bin/git pull","UpdateSourceArgs":"{{$FullInstanceDir}}github_update.sh","OverwriteExistingFiles":true},{"UpdateStageName":"GitHub Update","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"{{$FullInstanceDir}}github_update.sh"},{"UpdateStageName":"Set Binary Executable Flag","UpdateSourcePlatform":"Linux","UpdateSource":"SetExecutableFlag","UpdateSourceArgs":"{{$FullBaseDir}}Longvinter/Binaries/Linux/LongvinterServer-Linux-Shipping"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Server Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/longvintergame.ini","UpdateSourceTarget":"{{$FullInstanceDir}}","OverwriteExistingFiles":true},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Windows","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Linux","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.MonitorChildProcess=False
App.MonitorChildProcessWaitMs=100
App.MonitorChildProcessName=
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^.*LogInit: Display: Starting Game.$
Console.UserJoinRegex=^$
Console.UserLeaveRegex=^$
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

139
longvinterconfig.json Normal file
View File

@ -0,0 +1,139 @@
[
{
"DisplayName":"Server Name",
"Category":"Server Settings",
"Description":"Sets the name shown in the server browser. Don't use OFFICIAL in the name",
"Keywords":"server,name",
"FieldName":"ServerName",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.ServerName",
"IncludeInCommandLine":false,
"DefaultValue":"AMP Powered Longvinter Server",
"EnumValues":{}
},
{
"DisplayName":"Server Tag",
"Category":"Server Settings",
"Description":"Sets a single tag that allows for easier search for the server. Don't use OFFICIAL",
"Keywords":"server,tag",
"FieldName":"serverTag",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.serverTag",
"IncludeInCommandLine":false,
"DefaultValue":"Default",
"EnumValues":{}
},
{
"DisplayName":"Password",
"Category":"Server Settings",
"Description":"Sets a password for the server. Default is no password. Use only numbers and letters",
"Keywords":"server,password",
"FieldName":"Password",
"InputType":"password",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.Password",
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Server Admins",
"Category":"Server Settings",
"Description":"Space separated list of EOS IDs for server admins. Press ESC > Options > General in-game to find your EOS ID",
"FieldName":"AdminSteamID",
"Keywords":"admin,ids",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gm_longvinter.gm_longvinter_c.AdminSteamID",
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Maximum number of players that can connect to the server at any given time",
"Keywords":"maximum,players,limit",
"FieldName":"$MaxUsers",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.MaxPlayers",
"IncludeInCommandLine":false,
"DefaultValue":"32",
"Suffix":"players"
},
{
"DisplayName":"MOTD",
"Category":"Server Settings",
"Description":"Sets the server message displayed on signs around the island",
"Keywords":"motd",
"FieldName":"ServerMOTD",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.ServerMOTD",
"IncludeInCommandLine":false,
"DefaultValue":"Welcome to Longvinter Island!",
"EnumValues":{}
},
{
"DisplayName":"Community Website",
"Category":"Server Settings",
"Description":"Sets a website that is displayed in-game alongside the MOTD. The website link can be opened in-game",
"Keywords":"community,website",
"FieldName":"CommunityWebsite",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.CommunityWebsite",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"www.longvinter.com",
"EnumValues":{}
},
{
"DisplayName":"Enable PVP",
"Category":"Server Settings",
"Description":"If enabled, Player vs Player fights will be allowed",
"Keywords":"pvp",
"FieldName":"PVP",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gm_longvinter.gm_longvinter_c.PVP",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"False":"false",
"True":"true"
}
},
{
"DisplayName":"Enable Tent Decay",
"Category":"Server Settings",
"Description":"If enabled, tent decay will occur, to ensure there aren't excessive abandoned tents in the server",
"Keywords":"tent,decay",
"FieldName":"TentDecay",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gm_longvinter.gm_longvinter_c.TentDecay",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"False":"false",
"True":"true"
}
},
{
"DisplayName":"Maximum Tents Allowed",
"Category":"Server Settings",
"Description":"Maximum number of tents allowed to be placed in the server",
"Keywords":"maximum,tents",
"FieldName":"MaxTents",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"/game/blueprints/server/gm_longvinter.gm_longvinter_c.MaxTents",
"IncludeInCommandLine":false,
"DefaultValue":"2",
"Suffix":"tents"
}
]

13
longvintergame.ini Normal file
View File

@ -0,0 +1,13 @@
[/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c]
ServerName=AMP Powered Longvinter Server
serverTag=Default
MaxPlayers=32
ServerMOTD=Welcome to Longvinter Island!
Password=
CommunityWebsite=
[/game/blueprints/server/gm_longvinter.gm_longvinter_c]
AdminSteamID=
PVP=true
TentDecay=true
MaxTents=2

View File

@ -0,0 +1,7 @@
[
{
"ConfigFile":"Longvinter/Saved/Config/WindowsServer/Game.ini",
"AutoMap":true,
"ConfigType":"ini"
}
]