Add Barotrauma (#324)
This commit is contained in:
parent
85276259d6
commit
a5b707cadb
91
barotrauma.kvp
Normal file
91
barotrauma.kvp
Normal file
@ -0,0 +1,91 @@
|
||||
Meta.DisplayName=Barotrauma
|
||||
Meta.Description=Barotrauma Dedicated Server
|
||||
Meta.OS=Windows, Linux
|
||||
Meta.Arch=x86_64
|
||||
Meta.AarchSupport=NotSupported
|
||||
Meta.Author=Greelan, ThisIslandEarth
|
||||
Meta.URL=https://barotraumagame.com/
|
||||
Meta.DisplayImageSource=steam:602960
|
||||
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$QueryPort}
|
||||
Meta.ConfigManifest=barotraumaconfig.json
|
||||
Meta.MetaConfigManifest=barotraumametaconfig.json
|
||||
Meta.ConfigRoot=barotrauma.kvp
|
||||
Meta.MinAMPVersion=2.4.3.0
|
||||
Meta.SpecificDockerImage=
|
||||
Meta.ContainerPolicy=Supported
|
||||
Meta.ContainerPolicyReason=
|
||||
Meta.ExtraSetupStepsURI=https://discourse.cubecoders.com/docs?topic=3952?utm_source=ampcreate&utm_content=barotrauma
|
||||
Meta.Prerequsites=[]
|
||||
Meta.ExtraContainerPackages=[]
|
||||
Meta.ConfigReleaseState=NotSpecified
|
||||
App.DisplayName=Barotrauma
|
||||
App.RootDir=./barotrauma/
|
||||
App.BaseDirectory=./barotrauma/1026340/
|
||||
App.SteamWorkshopDownloadLocation={{$FullBaseDir}}LocalMods
|
||||
App.ExecutableWin=1026340\DedicatedServer.exe
|
||||
App.ExecutableLinux=1026340/DedicatedServer
|
||||
App.WorkingDir=1026340
|
||||
App.LinuxCommandLineArgs=
|
||||
App.WindowsCommandLineArgs=
|
||||
App.CommandLineArgs={{$PlatformArgs}} {{$FormattedArgs}}
|
||||
App.UseLinuxIOREDIR=False
|
||||
App.AppSettings={}
|
||||
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"602960","XDG_DATA_HOME":"{{$FullBaseDir}}"}
|
||||
App.CommandLineParameterFormat=-{0}={1}
|
||||
App.CommandLineParameterDelimiter=
|
||||
App.ExitMethod=OS_CLOSE
|
||||
App.ExitTimeout=30
|
||||
App.ExitString=quit
|
||||
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":27015,"Ref":"GamePort","Name":"Game Port","Description":"Port for game traffic"},{"Protocol":"UDP","Port":27016,"Ref":"QueryPort","Name":"Query Port","Description":"Port for server query traffic"}]
|
||||
App.PrimaryApplicationPortRef=GamePort
|
||||
App.AdminPortRef=
|
||||
App.UniversalSleepApplicationUDPPortRef=GamePort
|
||||
App.UniversalSleepSteamQueryPortRef=QueryPort
|
||||
App.MaxUsers=10
|
||||
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[barotraumaupdates.json]
|
||||
App.PreStartStages=[]
|
||||
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=
|
||||
Console.AppReadyRegex=^ Server started$
|
||||
Console.UserJoinRegex=^$ (?<username>.+?) has joined the server\.$
|
||||
Console.UserLeaveRegex=^$ (?<username>.+?) has left the server\. Reason: .+$
|
||||
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.SleepOnStart=False
|
||||
Limits.SleepDelayMinutes=5
|
||||
Limits.DozeDelay=2
|
||||
Limits.AutoRetryCount=5
|
||||
Limits.SleepStartThresholdSeconds=25
|
1145
barotraumaconfig.json
Normal file
1145
barotraumaconfig.json
Normal file
File diff suppressed because it is too large
Load Diff
7
barotraumametaconfig.json
Normal file
7
barotraumametaconfig.json
Normal file
@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"ConfigFile":"serversettings.xml",
|
||||
"AutoMap":true,
|
||||
"ConfigType":"xml"
|
||||
}
|
||||
]
|
85
barotraumaserversettings.xml
Normal file
85
barotraumaserversettings.xml
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<serversettings
|
||||
name="AMP Powered Barotrauma Server"
|
||||
port="27015"
|
||||
queryport="27016"
|
||||
password=""
|
||||
enableupnp="false"
|
||||
autorestart="false"
|
||||
LevelDifficulty="20"
|
||||
ServerMessage="Welcome to Barotrauma!"
|
||||
HiddenSubs=""
|
||||
AllowedRandomMissionTypes="Salvage,Monster,Cargo,Beacon,Nest,Mineral,Combat,AbandonedOutpost,Escort,Pirate,ScanAlienRuins,ClearAlienRuins,All"
|
||||
AllowedClientNameChars="32-33,38-46,48-57,65-90,91-91,93-93,95-122,192-255,384-591,1024-1279,19968-21327,21329-40959,13312-19903,131072-173791,173824-178207,178208-183983,63744-64255,194560-195103"
|
||||
IsPublic="False"
|
||||
TickRate="20"
|
||||
RandomizeSeed="True"
|
||||
UseRespawnShuttle="True"
|
||||
RespawnInterval="300"
|
||||
MaxTransportTime="180"
|
||||
MinRespawnRatio="0.2"
|
||||
AutoRestartInterval="60"
|
||||
StartWhenClientsReady="True"
|
||||
StartWhenClientsReadyRatio="0.8"
|
||||
AllowSpectating="True"
|
||||
SaveServerLogs="True"
|
||||
AllowModDownloads="True"
|
||||
AllowRagdollButton="True"
|
||||
AllowFileTransfers="True"
|
||||
VoiceChatEnabled="True"
|
||||
PlayStyle="Casual"
|
||||
LosMode="Transparent"
|
||||
ShowEnemyHealthBars="ShowAll"
|
||||
LinesPerLogFile="800"
|
||||
AllowVoteKick="True"
|
||||
AllowEndVoting="True"
|
||||
AllowRespawn="True"
|
||||
BotCount="0"
|
||||
MaxBotCount="16"
|
||||
BotSpawnMode="Normal"
|
||||
DisableBotConversations="False"
|
||||
AllowDisguises="True"
|
||||
AllowRewiring="True"
|
||||
LockAllDefaultWires="False"
|
||||
AllowLinkingWifiToChat="False"
|
||||
AllowFriendlyFire="True"
|
||||
DestructibleOutposts="False"
|
||||
KillableNPCs="True"
|
||||
BanAfterWrongPassword="True"
|
||||
MaxPasswordRetriesBeforeBan="3"
|
||||
SelectedSubmarine=""
|
||||
SelectedShuttle=""
|
||||
TraitorsEnabled="No"
|
||||
TraitorsMinPlayerCount="1"
|
||||
TraitorsMinStartDelay="90"
|
||||
TraitorsMaxStartDelay="180"
|
||||
TraitorsMinRestartDelay="30"
|
||||
TraitorsMaxRestartDelay="90"
|
||||
Language="English"
|
||||
SubSelectionMode="Manual"
|
||||
ModeSelectionMode="Manual"
|
||||
EndVoteRequiredRatio="0.6"
|
||||
VoteRequiredRatio="0.6"
|
||||
VoteTimeout="30"
|
||||
KickVoteRequiredRatio="0.6"
|
||||
DisallowKickVoteTime="120"
|
||||
KillDisconnectedTime="300"
|
||||
KickAFKTime="600"
|
||||
KarmaEnabled="False"
|
||||
KarmaPreset="default"
|
||||
GameModeIdentifier="sandbox"
|
||||
MissionType="All"
|
||||
MaxPlayers="10"
|
||||
AutoBanTime="3600"
|
||||
MaxAutoBanTime="86400"
|
||||
LootedMoneyDestination="Bank"
|
||||
MaximumMoneyTransferRequest="999999">
|
||||
<campaignsettings
|
||||
PresetName="Normal"
|
||||
TutorialEnabled="True"
|
||||
RadiationEnabled="False"
|
||||
MaxMissionCount="2"
|
||||
StartingBalanceAmount="Medium"
|
||||
Difficulty="Medium"
|
||||
StartItemSet="normal" />
|
||||
</serversettings>
|
31
barotraumaupdates.json
Normal file
31
barotraumaupdates.json
Normal file
@ -0,0 +1,31 @@
|
||||
[
|
||||
{
|
||||
"UpdateStageName":"SteamCMD Download",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"SteamCMD",
|
||||
"UpdateSourceData":"1026340",
|
||||
"UpdateSourceArgs":"602960"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Directory Creation",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"CreateDirectory",
|
||||
"UpdateSourceArgs":"{{$FullBaseDir}}Daedalic Entertainment GmbH/Barotrauma"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Directory Creation",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"cmd.exe",
|
||||
"UpdateSourceArgs":"/C mkdir \"%LocalAppData%\\Daedalic Entertainment GmbH\\Barotrauma\" & mkdir \"{{$FullBaseDir}}Daedalic Entertainment GmbH\" & mklink /J \"{{$FullBaseDir}}Daedalic Entertainment GmbH\\Barotrauma\" \"%LocalAppData%\\Daedalic Entertainment GmbH\\Barotrauma\""
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Config Template Download",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"FetchURL",
|
||||
"OverwriteExistingFiles":false,
|
||||
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/barotraumaserversettings.xml",
|
||||
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
||||
"UpdateSourceArgs":"serversettings.xml"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user