From dc267dee418b6137ff8350830ac0cd19b017887c Mon Sep 17 00:00:00 2001 From: Hiraku Date: Mon, 13 Sep 2021 12:52:37 +0200 Subject: [PATCH] Added variable to validate serverfiles This is required to run once after performing a version change via Beta variable. --- stock_eggs/source-engine/egg-garrys-mod.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/stock_eggs/source-engine/egg-garrys-mod.json b/stock_eggs/source-engine/egg-garrys-mod.json index 1aec6687..8ff1c43c 100644 --- a/stock_eggs/source-engine/egg-garrys-mod.json +++ b/stock_eggs/source-engine/egg-garrys-mod.json @@ -108,6 +108,14 @@ "user_viewable": true, "user_editable": true, "rules": "required|string|max:10" - } - ] + }, + { + "name": "Validate Serverfiles", + "description": "Should be enabled once after changing the server version.\r\n0 = disable validating serverfiles,\r\n1 = enable validating serverfiles", + "env_variable": "VALIDATE", + "default_value": "0", + "user_viewable": true, + "user_editable": true, + "rules": "required|boolean" + } ] }