The Forest Updates (#161)

* The Forest Updates

Updated the config to current features. Added Linux and Docker support. Added metaconfig.

* Finalizing config changes

* One line got lost, get back in there little line

* Heh how did I forget?

* Resolve suggestions by Greelan

* Tidying up the config settings

* Change update stage to CC
This commit is contained in:
IceOfWraith
2022-07-16 19:56:38 -05:00
committed by GitHub
parent 0e3f7e7adc
commit e9ca09d1ce
4 changed files with 472 additions and 124 deletions

View File

@@ -1,150 +1,382 @@
[
{
"DisplayName": "Server Admin Password",
"Category": "Server Config",
"Description": "",
"DisplayName": "serverIP",
"Category": "Forest - Server Config",
"Description": "serverIP is the binding IP",
"Keywords": "",
"FieldName": "serverpassword_admin",
"FieldName": "$ApplicationIPBinding",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "serverIP",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Hidden": true,
"EnumValues": {}
},
{
"DisplayName": "serverSteamPort",
"Category": "Forest - Server Config",
"Description": "serverSteamPort is the main Steam port",
"Keywords": "",
"FieldName": "$steamPort",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "serverSteamPort",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Hidden": true,
"EnumValues": {}
},
{
"DisplayName": "serverGamePort",
"Category": "Forest - Server Config",
"Description": "serverGamePort is the main game port",
"Keywords": "",
"FieldName": "$gamePort",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "serverGamePort",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Hidden": true,
"EnumValues": {}
},
{
"DisplayName": "serverQueryPort",
"Category": "Forest - Server Config",
"Description": "serverQueryPort is Steam's query port",
"Keywords": "",
"FieldName": "$queryPort",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "serverQueryPort",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Hidden": true,
"EnumValues": {}
},
{
"DisplayName": "Server Name",
"Category": "Forest - Server Config",
"Description": "Server display name.",
"Keywords": "server,Name",
"FieldName": "serverName",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "serverName",
"IncludeInCommandLine": false,
"DefaultValue": "AMP Forest Server",
"Placeholder": "AMP Forest Server",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Forest - Server Config",
"Description": "Maximum number of players.",
"Keywords": "server,Players",
"FieldName": "$MaxUsers",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "serverPlayers",
"IncludeInCommandLine": false,
"DefaultValue": "4",
"Placeholder": "4",
"Suffix": "Players",
"EnumValues": {}
},
{
"DisplayName": "Server Password",
"Category": "Forest - Server Config",
"Description": "Server password. Blank means no password.",
"Keywords": "server,password",
"FieldName": "serverPassword",
"InputType": "password",
"IsFlagArgument": false,
"ParamFieldName": "serverpassword_admin",
"IncludeInCommandLine": true,
"ParamFieldName": "serverPassword",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Server Admin Password",
"Category": "Forest - Server Config",
"Description": "Server administration password. Blank means no password.",
"Keywords": "server,admin,password",
"FieldName": "serverPasswordAdmin",
"InputType": "RandomPassword",
"IsFlagArgument": false,
"ParamFieldName": "serverPasswordAdmin",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Server Steam Account",
"Category": "Server Config",
"Description": "",
"Keywords": "",
"FieldName": "serversteamaccount",
"Category": "Forest - Server Config",
"Description": "Use appid 242760 to create a [Steam Server Login Token](https://steamcommunity.com/dev/managegameservers)",
"Keywords": "server,steam,account",
"FieldName": "serverSteamAccount",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "serversteamaccount",
"IncludeInCommandLine": true,
"ParamFieldName": "serverSteamAccount",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Placeholder": "A375E0CE4E8AB079638DADA3871BEF1B",
"EnumValues": {}
},
{
"DisplayName": "Save Slot",
"Category": "Server Config",
"Description": "",
"Keywords": "",
"Category": "Forest - Server Config",
"Description": "Slot to save the game.",
"Keywords": "save,slot",
"FieldName": "slot",
"InputType": "number",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "slot",
"IncludeInCommandLine": true,
"IncludeInCommandLine": false,
"DefaultValue": "1",
"EnumValues": {}
"EnumValues": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5"
}
},
{
"DisplayName": "Vegan Mode",
"Category": "Forest - Gameplay Config",
"Description": "No enemies.",
"Keywords": "vegan,mode",
"FieldName": "veganMode",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "veganMode",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Vegetarian Mode",
"Category": "Gameplay Config",
"Description": "Disables enemies during the daytime",
"Keywords": "",
"FieldName": "vegetarianmode",
"Category": "Forest - Gameplay Config",
"Description": "No enemies during day time.",
"Keywords": "vegetarian,mode",
"FieldName": "vegetarianMode",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "vegetarianmode",
"IncludeInCommandLine": true,
"DefaultValue": "-vegetarianmode"
"IsFlagArgument": false,
"ParamFieldName": "vegetarianMode",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "No building destruction",
"Category": "Gameplay Config",
"Description": "Prevents buildings from being damaged by players or enemies",
"Keywords": "",
"FieldName": "nobuildingdestruction",
"DisplayName": "Allow Building Destruction",
"Category": "Forest - Gameplay Config",
"Description": "Allow building destruction.",
"Keywords": "allow,building,destruction",
"FieldName": "allowBuildingDestruction",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "nobuildingdestruction",
"IncludeInCommandLine": true,
"DefaultValue": "-nobuildingdestruction"
"IsFlagArgument": false,
"ParamFieldName": "allowBuildingDestruction",
"IncludeInCommandLine": false,
"DefaultValue": "on",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Trees grow while sleeping",
"Category": "Gameplay Config",
"Description": "Trees will regrow overnight while you sleep if enabled",
"Keywords": "",
"FieldName": "treeregrowmode",
"DisplayName": "Tree Regrow Mode",
"Category": "Forest - Gameplay Config",
"Description": "Regrow 10% of cut down trees when sleeping.",
"Keywords": "tree,regrow,mode",
"FieldName": "treeRegrowMode",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "treeregrowmode",
"IncludeInCommandLine": true,
"DefaultValue": "-treeregrowmode"
"IsFlagArgument": false,
"ParamFieldName": "treeRegrowMode",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Allow Cheats",
"Category": "Gameplay Config",
"Description": "Allow clients to use the development console (Use with caution!)",
"Keywords": "",
"FieldName": "allowcheats",
"Category": "Forest - Gameplay Config",
"Description": "Allow clients to use the built in debug console.",
"Keywords": "allow,cheats",
"FieldName": "allowCheats",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "allowcheats",
"IncludeInCommandLine": true,
"DefaultValue": "-allowcheats"
"IsFlagArgument": false,
"ParamFieldName": "allowCheats",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Reset Holes",
"Category": "Gameplay Config",
"Description": "Reset all existing floor holes when loading a save",
"Keywords": "",
"FieldName": "resetholesmode",
"DisplayName": "Reset Holes Mode",
"Category": "Forest - Gameplay Config",
"Description": "Reset all structure holes when loading a save.",
"Keywords": "reset,holes,mode",
"FieldName": "resetHolesMode",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "resetholesmode",
"IncludeInCommandLine": true,
"DefaultValue": "-resetholesmode"
"IsFlagArgument": false,
"ParamFieldName": "resetHolesMode",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Allow enemies in creative",
"Category": "Gameplay Config",
"Description": "Enemies will spawn even when creative mode is enabled",
"Keywords": "",
"FieldName": "allowenemiescreative",
"DisplayName": "Allow Enemies in Creative Mode",
"Category": "Forest - Gameplay Config",
"Description": "Allow enemies in creative games.",
"Keywords": "allow,enemies,creative,mode",
"FieldName": "allowEnemiesCreativeMode",
"InputType": "checkbox",
"IsFlagArgument": true,
"ParamFieldName": "allowenemiescreative",
"IncludeInCommandLine": true,
"DefaultValue": "-allowenemiescreative"
"IsFlagArgument": false,
"ParamFieldName": "allowEnemiesCreativeMode",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Realistic Player Damage",
"Category": "Gameplay Config",
"Description": "Players take more damage",
"Keywords": "",
"Category": "Forest - Gameplay Config",
"Description": "Players take more damage.",
"Keywords": "realistic,player,damage",
"FieldName": "realisticPlayerDamage",
"InputType": "checkbox",
"IsFlagArgument": true,
"IsFlagArgument": false,
"ParamFieldName": "realisticPlayerDamage",
"IncludeInCommandLine": true,
"DefaultValue": "-realisticPlayerDamage"
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Enable VAC",
"Category": "Server Config",
"Description": "Use Valve Anti-Cheat to help protect against cheaters and to use VAC bans",
"Keywords": "",
"Category": "Forest - Server Config",
"Description": "Enable VAC (Valve Anti-cheat System) on the server.",
"Keywords": "enable,vac,valve,anti,cheat",
"FieldName": "enableVAC",
"InputType": "checkbox",
"IsFlagArgument": true,
"IsFlagArgument": false,
"ParamFieldName": "enableVAC",
"IncludeInCommandLine": true,
"DefaultValue": "-enableVAC"
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Server save interval",
"Category": "Server Config",
"Description": "How often in minutes the server should save changes to disk",
"Keywords": "",
"FieldName": "serverautosaveinterval",
"DisplayName": "Server Save Interval",
"Category": "Forest - Server Config",
"Description": "Time between server auto saves in minutes - The minumum time is 15 minutes, the default time is 30.",
"Keywords": "server,auto,save,interval",
"FieldName": "serverAutoSaveInterval",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "serverautosaveinterval",
"IncludeInCommandLine": true,
"DefaultValue": "15",
"ParamFieldName": "serverAutoSaveInterval",
"IncludeInCommandLine": false,
"DefaultValue": "30",
"Placeholder` ": "30",
"Suffix": "Minutes",
"EnumValues": {}
},
{
"DisplayName": "Game Difficulty",
"Category": "Forest - Server Config",
"Description": "Game difficulty mode.",
"Keywords": "game,difficulty",
"FieldName": "difficulty",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "difficulty",
"IncludeInCommandLine": false,
"DefaultValue": "Normal",
"EnumValues": {
"Peaceful": "Peaceful",
"Normal": "Normal",
"Hard": "Hard"
}
},
{
"DisplayName": "Show Logs",
"Category": "Forest - Server Config",
"Description": "Show event log.",
"Keywords": "Show,event,log",
"FieldName": "showLogs",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "showLogs",
"IncludeInCommandLine": false,
"DefaultValue": "off",
"EnumValues": {
"False": "off",
"True": "on"
}
},
{
"DisplayName": "Server Contact",
"Category": "Forest - Server Config",
"Description": "Contact email for server admin.",
"Keywords": "server,contact,email",
"FieldName": "serverContact",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "serverContact",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Placeholder": "email@gmail.com",
"EnumValues": {}
},
{
"DisplayName": "Target Idle FPS",
"Category": "Forest - Server Config",
"Description": "Target FPS when no client is connected.",
"Keywords": "target,idle,fps",
"FieldName": "targetFpsIdle",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "targetFpsIdle",
"IncludeInCommandLine": false,
"DefaultValue": "5",
"Placeholder": "5",
"Suffix": "FPS",
"EnumValues": {}
},
{
"DisplayName": "Target Active FPS",
"Category": "Forest - Server Config",
"Description": "Target FPS when there is at least one client connected.",
"Keywords": "target,active,fps",
"FieldName": "targetFpsActive",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "targetFpsActive",
"IncludeInCommandLine": false,
"DefaultValue": "60",
"Placeholder": "60",
"Suffix": "FPS",
"EnumValues": {}
}
]