diff --git a/the-forest.kvp b/the-forest.kvp new file mode 100644 index 0000000..94e2d2e --- /dev/null +++ b/the-forest.kvp @@ -0,0 +1,35 @@ +App.AdminMethod=STDIO +App.ApplicationPort1=27015 +App.ApplicationPort2=8766 +App.ApplicationPort3=27016 +App.ApplicationReadyMode=Immediate +App.BaseDirectory=./the-forest/556450/ +App.LinuxCommandLineArgs=run {{$ExecutableWin}} +App.CommandLineArgs={{$PlatformArgs}}-showlogs -batchmode -configfilepath server.cfg -savefolderpath saves -serverip {{$ApplicationIPBinding}} -servergameport {{$ApplicationPort1}} -serversteamport {{$ApplicationPort2}} -serverqueryport {{$ApplicationPort3}} -serverplayers {{$MaxUsers}} {{$FormattedArgs}} +App.CommandLineParameterDelimiter= +App.CommandLineParameterFormat=-{0} "{1}" +App.DisplayName=The Forest +App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "242760", "STEAM_COMPAT_DATA_PATH": "{{$FullRootDir}}1580130", "STEAM_COMPAT_CLIENT_INSTALL_PATH": "{{$FullRootDir}}1580130"} +App.ExecutableLinux=1580130/proton +App.ExecutableWin=556450\TheForestDedicatedServer.exe +App.ExitMethod=OS_CLOSE +App.HasReadableConsole=true +App.HasWritableConsole=false +App.RapidStartup=false +App.RootDir=./the-forest/ +App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "556450", "ForceDownloadPlatform": "Windows"}, {"UpdateStageName": "Proton Compatibility Layer", "UpdateSourcePlatform": "Linux", "UpdateSource": "SteamCMD", "UpdateSourceData":"1580130"}] +App.WorkingDir=556450 +Console.AppReadyRegex=^Server is ready.$ +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.UserChatRegex=^(?.+?): (?.+)$ +Console.UserJoinRegex=^User (?.+?) \((?-?d+)\) connected from \[::ffff:(?.+?)\]$ +Console.UserLeaveRegex=^User (?.+?) \((?-?d+)\) disconnected\. Reason: (.+?)$ +Meta.Author=CubeCoders Limited +Meta.ConfigManifest=the-forestconfig.json +Meta.ConfigRoot=the-forest.kvp +Meta.Description= +Meta.DisplayImageSource=steam:242760 +Meta.DisplayName=The Forest +Meta.EndpointURIFormat=steam://connect/{ip}/{GenericModule.App.ApplicationPort3} +Meta.OS=1 +Meta.URL=https://store.steampowered.com/app/242760/The_Forest/ \ No newline at end of file diff --git a/the-forestconfig.json b/the-forestconfig.json new file mode 100644 index 0000000..755c26c --- /dev/null +++ b/the-forestconfig.json @@ -0,0 +1,150 @@ +[ + { + "DisplayName": "Server Admin Password", + "Category": "Server Config", + "Description": "", + "Keywords": "", + "FieldName": "serverpassword_admin", + "InputType": "password", + "IsFlagArgument": false, + "ParamFieldName": "serverpassword_admin", + "IncludeInCommandLine": true, + "DefaultValue": "", + "EnumValues": {} + }, + { + "DisplayName": "Server Steam Account", + "Category": "Server Config", + "Description": "", + "Keywords": "", + "FieldName": "serversteamaccount", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "serversteamaccount", + "IncludeInCommandLine": true, + "DefaultValue": "", + "EnumValues": {} + }, + { + "DisplayName": "Save Slot", + "Category": "Server Config", + "Description": "", + "Keywords": "", + "FieldName": "slot", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "slot", + "IncludeInCommandLine": true, + "DefaultValue": "1", + "EnumValues": {} + }, + { + "DisplayName": "Vegetarian Mode", + "Category": "Gameplay Config", + "Description": "Disables enemies during the daytime", + "Keywords": "", + "FieldName": "vegetarianmode", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "vegetarianmode", + "IncludeInCommandLine": true, + "DefaultValue": "-vegetarianmode" + }, + { + "DisplayName": "No building destruction", + "Category": "Gameplay Config", + "Description": "Prevents buildings from being damaged by players or enemies", + "Keywords": "", + "FieldName": "nobuildingdestruction", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "nobuildingdestruction", + "IncludeInCommandLine": true, + "DefaultValue": "-nobuildingdestruction" + }, + { + "DisplayName": "Trees grow while sleeping", + "Category": "Gameplay Config", + "Description": "Trees will regrow overnight while you sleep if enabled", + "Keywords": "", + "FieldName": "treeregrowmode", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "treeregrowmode", + "IncludeInCommandLine": true, + "DefaultValue": "-treeregrowmode" + }, + { + "DisplayName": "Allow Cheats", + "Category": "Gameplay Config", + "Description": "Allow clients to use the development console (Use with caution!)", + "Keywords": "", + "FieldName": "allowcheats", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "allowcheats", + "IncludeInCommandLine": true, + "DefaultValue": "-allowcheats" + }, + { + "DisplayName": "Reset Holes", + "Category": "Gameplay Config", + "Description": "Reset all existing floor holes when loading a save", + "Keywords": "", + "FieldName": "resetholesmode", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "resetholesmode", + "IncludeInCommandLine": true, + "DefaultValue": "-resetholesmode" + }, + { + "DisplayName": "Allow enemies in creative", + "Category": "Gameplay Config", + "Description": "Enemies will spawn even when creative mode is enabled", + "Keywords": "", + "FieldName": "allowenemiescreative", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "allowenemiescreative", + "IncludeInCommandLine": true, + "DefaultValue": "-allowenemiescreative" + }, + { + "DisplayName": "Realistic Player Damage", + "Category": "Gameplay Config", + "Description": "Players take more damage", + "Keywords": "", + "FieldName": "realisticPlayerDamage", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "realisticPlayerDamage", + "IncludeInCommandLine": true, + "DefaultValue": "-realisticPlayerDamage" + }, + { + "DisplayName": "Enable VAC", + "Category": "Server Config", + "Description": "Use Valve Anti-Cheat to help protect against cheaters and to use VAC bans", + "Keywords": "", + "FieldName": "enableVAC", + "InputType": "checkbox", + "IsFlagArgument": true, + "ParamFieldName": "enableVAC", + "IncludeInCommandLine": true, + "DefaultValue": "-enableVAC" + }, + { + "DisplayName": "Server save interval", + "Category": "Server Config", + "Description": "How often in minutes the server should save changes to disk", + "Keywords": "", + "FieldName": "serverautosaveinterval", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "serverautosaveinterval", + "IncludeInCommandLine": true, + "DefaultValue": "15", + "EnumValues": {} + } +] \ No newline at end of file